1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
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 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry 2006-01-22 03:01:03 +00:00
pkg-req