Notes from Jacob K (FreeBSD):

pkg_version: summarizes installed versions of packages and used to produce a report of non-base software packages installed using the pkg_add command.

Default index file: /usr/ports/INDEX-6

pkg_version shows a list of all installed packages with <, >, or = for the result of the package

  • = means that the installed version of the package is current
  • < means the installed version of the package is older than the current version
  • > means the installed version of the package is newer than the current version
  • ? means the package does not show up in the index file
  • * means multiple versions of the package in the index file

pkg_version -l "limchar" shows packages that match limchar (like =, >, <)

portaudit: system to check installed packages for known vulnerabilities

portaudit -a prints a vulnerability report for all installed packages

portaudit -F getches current database from FreeBSD servers

portaudit -Fa (does both at one time, very useful)