pkg_sort
— sort
lines of package names in dependency order
The pkg_sort
command reads lines of
package names from the standard input and sorts them in dependency order.
For every combination of packages A and B where the former is required by
the latter, A will appear prior to B.
The following command line arguments are supported:
-h
-
--help
- Show help and exit.
-q
-
--noconfig
- Do not read the configuration file. ($PREFIX/etc/pkgtools.conf)
PKG_DBDIR
- Alternative location for the installed package database. Default is
“/var/db/pkg”.
PKGTOOLS_CONF
- Configuration file for the pkgtools suite. Default is
“$PREFIX/etc/pkgtools.conf”.
- /var/db/pkg
- Default location of the installed package database.
- $PREFIX/etc/pkgtools.conf
- Default location of the pkgtools configuration file.
Akinori MUSHA
⟨knu@iDaemons.org⟩