prt-utils(1)

NAME
prt-utils - a collection of port related utilites for CRUX

DESCRIPTION
prt-utils is a collection of useful scripts dealing with CRUX ports and packages. The currently available tools are:

• dllist
    Lists the files to be downloaded to install a port

• finddeps
    Finds the actual dependencies for a port

• findredundantdeps
    Finds unnecessary dependencies listed in the Pkgfile

• oldfiles
    Scans centralized dirs and reports any outdated sources, packages, build logs

• pkg_installed
    Symlinks the installed ports to /usr/ports/installed

• pkgexport
    Creates a binary package from installed files

• pkgfoster
    Cleans up packages outside core that do not satisfy a dependency

• pkg-not
    Lists files on disk not associated with any installed package

• pkgsize
    Calculates the disk usage of a installed package, or the total download size of the sources for a not-yet-installed package

• portspage
    Generates a html index for a directory containing ports

• prtcheck
    Does some sanity checks on a complete port: it checks the footprint file, the important fields in a Pkgfile, and whether all sources are listed in the signature

• prtcheckmissing
    Checks for files listed in the package database but not present on disk

• prtcheckperms
    Checks for permissions that differ between the port's footprint and what was found on disk

• prtcreate
    Creates a Pkgfile from a template for new ports

• prtorphan
    Checks for orphaned packages or files on your system. Orphaned packages are installed packages for which no port exists in the active repositories. Orphaned files are files under the specified directory, which are not claimed by any installed package.

• prtrej
    Presents an interactive menu for merging onto the rootfs any config files that have been rejected by pkgadd (i.e., stashed in /var/lib/pkg/rejected)

• prtsweep
    Removes old files from the ports tree

• prtverify
    Validates individual CRUX ports or an entire collection with an extensive set of tests

• prtwash
    Cleans up a ports tree

• revdep
    Checks for missing / wrong libraries of installed packages

• prtreverse (No longer installed by default)
    This predecessor of pkgexport also creates a binary package from the files on disk, but in a more convoluted manner. Offers the unique feature of being able to populate the binary package with files from the pkgadd(1) rejection dir. Its intended use-case is handled more efficiently by pkgexport, which can even be combined with prtrej or rejmerge if rejection dir recovery is desired. To obtain the prtreverse script, simply unpack the prt-utils tarball and navigate to the scripts directory.

AUTHORS
Separate manual pages contain detailed author information.

SEE ALSO
dllist(1), finddeps(1), findredundantdeps(1), oldfiles(1), pkg_installed(1), pkgexport(1), pkgfoster(1), pkgsize(1), portspage(1), prtcheck(1), prtcheckmissing(1), prtcheckperms(1), prtcreate(1), prtorphan(1), prtsweep(1), prtverify(1), prtwash(1), revdep(1)