|=||The installed version of the package is current.|
|<||The installed version of the package is older than the current version.|
|>||The installed version of the package is newer than the current version. This situation can arise with using an out-of-date INDEX file, or when testing new ports.|
|?||The installed package does not appear in the database nor does the port directory exist. This could be because the port has been removed from the official ports tree, or because the package was installed from an unofficial (or not yet committed) port, or because the INDEX file has not been synchronized (updated) with the ports tree yet.|
|!||The installed package does not appear in the database, the port directory actually exists, the ports Makefile is broken and the latest version number cannot be obtained.|
|#||The installed package does not have an origin recorded. This could be because the package was installed before the concept of 'origin' was introduced. You can run "pkgdb -F" to complete missing origins.|
You can resolve most out-of-date situations by updating the ports tree and running "portsdb-U ". (See portsdb(1) for details)
Before reading these instructions, you must understand that a port/package can have the following two types of related ports/packages:
|required||Ports/packages that a port/package needs for it to be built and/or run. Port Makefiles refer to this type of ports/packages using the BUILD_DEPENDS and RUN_DEPENDS macros, respectively.|
|Ports/packages that need this port/package.|
The following command line arguments are supported:
pkgname_glob Specify one of these: a full pkgname, a pkgname without version, a shell glob pattern in which you can use wildcards '*', '?', and '[..]', an extended regular expression preceded by a colon ':', or a date range specification preceded by either '<' or '>'. See pkg_glob(1) for details and concrete examples.
If none is specified, portversion checks all the installed packages.
In any case, the results will be listed in alphabetical order, not in dependency order as with other tools.
Show help and exit.
Enable command output. Command output includes a command of portupgrade(1) you should run to upgrade your installed packages to the latest versions in the ports system. This feature does not constitute an automated packages upgrading system. Edit the list of packages to upgrade and the options for portupgrade(1) and run it to perform the upgrade.
Specify options to pass to portupgrade(1) to be used in the command output.
--ignore-moved Do not read MOVED file.
Display a package full name.
Only include the packages with the specified status flags.
Exclude the packages with the specified status flags.
Omit sanity checks for dependencies. By default, portversion checks whether all packages it is to check have consistent dependencies, though it takes extra time to calculate dependencies. If you are sure you have run "pkgdb -F" in advance, you can specify this option to omit the sanity checks.
Display package origin instead of package name.
Do not read the configuration file. ($PREFIX/etc/pkgtools.conf)
Do not display status chars.
Check all packages depending on the given packages as well.
Check all packages required by the given packages as well.
Compare the version with the following one(s), and print the result(s).
Turn on verbose output.
Exclude packages matching the specified glob pattern. Exclusion is performed after recursing dependency in response to -r and/or -R , which means, for example, the following command will check for all the packages depending on XFree86 but not for XFree86:
portupgrade -rx XFree86 XFree86
PKG_DBDIR Alternative location for the installed package database. The default is "/var/db/pkg".
PORTSDIR Alternative location for the ports tree and the ports database files. The default is "/usr/ports".
PKGTOOLS_CONF Configuration file for the pkgtools suite. The default is "$PREFIX/etc/pkgtools.conf".
/var/db/pkg Default location of the installed package database. /usr/ports Default location of the ports tree and the ports database files.
$PREFIX/etc/pkgtools.conf Default location of the pkgtools configuration file.
pkg_glob(1), pkg_info(1), pkg_sort(1), pkg_version(1), pkgdb(1), portsdb(1), portupgrade(1), pkgtools.conf(5), ports(7)
.An Akinori MUSHA Aq knu@iDaemons.org
|June 15, 2001||PORTVERSION (1)||FreeBSD|