pkgutils is a collection of utilities such as pkgadd(1),
pkgrm(8), and pkginfo(1) for managing software packages:
installing, removing, and retrieving basic information.
This distribution is a fork of CRUX pkgutils at commit 9ca0da6
(Sat Nov 17 2018) with the following differences:
- Code organized into a library (
libpkgutils) and utilities - GNU-style options, help, and usage output
- Improved adherence to GNU Coding Standards
- Manual pages in
scdoc(5)format - Split
pkgadd(8)manual intopkgadd(8)andpkgadd.conf(5) - Support for
zstdpackages - Vim syntax highlighting for
pkgadd.conf - Optional support for preserving ACLs and xattrs in
pkgadd(8)
See the git log for full history.
Original sources:
- C++11 compiler (GCC 4.8.1+, Clang 3.3+)
- POSIX
sh(1p),make(1p), and "mandatory utilities" libarchive(3)to unpack archive filesscdoc(1)to generate manual pagespkg-config(1)(optional, for static linking)
Also see [rejmerge][https://github.com/zeppe-lin/rejmerge], a utility
for merging files rejected by pkgadd(8) during package upgrades.
To build and install:
make
make install # as rootFor static linking, ensure pkg-config(1) is available and run:
make LDFLAGS="-static $(pkg-config --static --libs libarchive)"Configuration parameters are defined in config.mk.
Default file paths and settings are specified in src/pathnames.h.
Manual pages are provided in /man and installed under the system
manual hierarchy.
pkgutils is licensed under the
GNU General Public License v2 or later.
See COPYING for license terms and COPYRIGHT for notices.