cvs commit: ports/security/portaudit Makefile
ports/security/portaudit/files portaudit-cmd.sh
Simon L. Nielsen
simon at FreeBSD.org
Sun Apr 16 13:32:29 UTC 2006
simon 2006-04-16 13:32:28 UTC
FreeBSD ports repository
Modified files:
security/portaudit Makefile
security/portaudit/files portaudit-cmd.sh
Log:
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 at csie.org>
PR: ports/92942
Revision Changes Path
1.21 +1 -1 ports/security/portaudit/Makefile
1.13 +5 -1 ports/security/portaudit/files/portaudit-cmd.sh
More information about the cvs-ports
mailing list