make -C /usr/ports index
. The actual contents of the INDEX-* depends on DEFAULT_VERSIONS for example. If you didn't change any of these you could just make -C /usr/ports fetchindex
. See ports(7). index Create /usr/ports/INDEX, which is used by the
pretty-print-* and search targets. Running the index
target will ensure your INDEX file is up to date with
your ports tree.
fetchindex Fetch the INDEX file from the FreeBSD cluster.
pkg version -vR
The database of available packages and versions to compare against the
installed packages may be chosen by specifying one of -P, -R or -I or by
setting VERSION_SOURCE in pkg.conf(5). If not specified then the ports
index file will be used if it exists (-I). Otherwise, should a ports
tree exist that will be used to compare versions (-P). Failing either of
those two choices, the repository catalogue will be used (-R).