freebsd-ports/ports-mgmt/portaudit
Simon L. B. Nielsen 75654bee2f Avoid unnecessary invocations of pkg_info by checking whether the
package is installed or not using a precalculated regex.

This speeds up "portaudit -a" with around a factor of 10.

The change is slightly modified from the one from the PR by using
pkg_info -aE instead of ls /var/db/pkg for determining installed
packages.

Submitted by:	Kuang-che Wu <kcwu@csie.org>
PR:		ports/92942
2006-04-16 13:32:28 +00:00
..
files Avoid unnecessary invocations of pkg_info by checking whether the 2006-04-16 13:32:28 +00:00
Makefile Avoid unnecessary invocations of pkg_info by checking whether the 2006-04-16 13:32:28 +00:00
pkg-deinstall
pkg-descr
pkg-install
pkg-plist
pkg-req