Skip to content

zeppe-lin/pkgutils

Repository files navigation

OVERVIEW

pkgutils is a collection of utilities for working with software packages:

  • pkgadd(8) - install package
  • pkgrm(8) - remove package
  • pkginfo(1) - show package information
  • pkgchk(1) - check package integrity

This distribution is a fork of CRUX pkgutils at commit 9ca0da6 (Sat Nov 17 2018) with the following differences:

  • Code organized into a library libpkgcore 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 into pkgadd(8) and pkgadd.conf(5)
  • Vim syntax highlighting for pkgadd.conf
  • New utility pkgchk(1) for integrity checks

See the git log for full history.

Original sources:


REQUIREMENTS

Build-time

  • C++11 compiler (GCC 4.8.1+, Clang 3.3+)
  • Meson
  • Ninja
  • pkg-config(1)
  • libpkgcore
  • libpkgaudit
  • scdoc(1) to generate manual pages

Also see rejmerge, a utility for merging files rejected by pkgadd(8) during package upgrades.


INSTALLATION

General

# Configure
meson setup build

# Compile
meson compile -C build

# Install
meson install -C build

Link Mode

pkgutils can be built against shared or static libpkgcore, and libpkgaudit.

Shared:

meson setup build -D link_mode=shared
meson compile -C build

Static:

meson setup build -D link_mode=static
meson compile -C build

For generic static packaging, keep LTO disabled unless the whole toolchain is prepared for static LTO archives.


DOCUMENTATION

Manual pages are provided in /man and installed under the system manual hierarchy.


LICENSE

pkgutils is licensed under the GNU General Public License v2 or later.

See COPYING for license terms and COPYRIGHT for notices.

About

Set of utilities to manage software packages

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors