This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
yalpack-0.1.3
yalpack is a simple set of package management tools for LFS/BLFS-based systems. It consists of POSIX-compliant scripts and man pages designed to make managing upgrades and trying out new software easier:
- Install compiled software as a package
- Easily remove unwanted software
- Make upgrades simple(r)
- No space to keep package tarballs? No problem.
- Manage and log .new files
- Generate and retrieve dynamic library information to help with dependency management
- Retrieve a list of installed packages (with or without version information)
yalpack can be used at any point once all temporary tools have been built. This has been tested successfully on LFS 10.1 (sysvinit). Under no circumstances should yalpack be used on the "host" system.
See INSTALL or run "make all" for details about installation!
Changes
The main changes have to do with the handling of file ownership at package installation time:
- Any .new file is now installed with the same ownership and permissions as the already-existing file on the system.
- Ownership is always preserved from the package tarball. This is necessary for packages such as CUPS.
- pkginst and pkgup can now be called with the option --root-own (-r), which changes the ownership of all files and new directories in the package tarball to root:root before installation (the ownership of existing directories will not be changed). This is potentially useful if the package contents are owned by a non-privileged user.
Other changes include:
- Bugfix: The upgrade workflow was altered when pkgup was modified to handle upgrade operations without the outgoing package tarball (pre-release). This introduced package upgrade bugs related to libraries and the correct workflow has been restored.
- A customization guide is now included for build destination and data directory location.
- Reworked variable names to make customizing the location of the yalpack data directory more convenient.
- The build destination top-level directory (/tmp by default) can now be passed when calling "make package" to install yalpack.
- Man pages have been updated to reflect new information and functionality.