summaryrefslogtreecommitdiff
path: root/security/audit-packages
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-12-29 10:07:30 +0000
committeragc <agc@pkgsrc.org>2001-12-29 10:07:30 +0000
commit4854c9d84ec8a737a8322c71d6d9b6c5612f3278 (patch)
tree0ae6652c5bec22b3f82277eba83b210dc771f6f3 /security/audit-packages
parent1eceda98270c891fff7903ec01312c64c0d6a968 (diff)
downloadpkgsrc-4854c9d84ec8a737a8322c71d6d9b6c5612f3278.tar.gz
Don't hardcode the PKG_DBDIR value at package installation time.
Bump version to 1.11
Diffstat (limited to 'security/audit-packages')
-rw-r--r--security/audit-packages/Makefile6
-rwxr-xr-xsecurity/audit-packages/files/audit-packages4
2 files changed, 5 insertions, 5 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile
index 7573070fcea..30319201a1c 100644
--- a/security/audit-packages/Makefile
+++ b/security/audit-packages/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2001/06/25 18:31:19 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2001/12/29 10:07:30 agc Exp $
-DISTNAME= audit-packages-1.10
+DISTNAME= audit-packages-1.11
CATEGORIES= security pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
@@ -18,7 +18,7 @@ do-configure:
${SED} -e 's|\$${DISTDIR}|${DISTDIR}|g' \
-e 's|\$${AWK}|${AWK}|g' \
-e 's|\$${FETCH_CMD}|${FETCH_CMD}|g' \
- -e 's|\$${PKG_INFO}|${PKG_INFO}|g' \
+ -e 's|\$${PKG_TOOLS_BIN}|${PKG_TOOLS_BIN}|g' \
-e 's|\$${SH}|${SH}|g' \
-e 's|\$${TOUCH}|${TOUCH}|g' \
${FILESDIR}/$$f > ${WRKSRC}/$$f; \
diff --git a/security/audit-packages/files/audit-packages b/security/audit-packages/files/audit-packages
index 88c0e7b4e21..6d8794e4018 100755
--- a/security/audit-packages/files/audit-packages
+++ b/security/audit-packages/files/audit-packages
@@ -1,5 +1,5 @@
#! ${SH}
-# $NetBSD: audit-packages,v 1.6 2001/12/17 18:08:21 wiz Exp $
+# $NetBSD: audit-packages,v 1.7 2001/12/29 10:07:31 agc Exp $
if [ ! -f ${DISTDIR}/vulnerabilities ] ;then
echo "** Missing ${DISTDIR}/vulnerabilities" 1>&2
@@ -17,7 +17,7 @@ fi
${AWK} '
/^#.*/ { next }
NF == 0 { next }
- { cmd = sprintf("${PKG_INFO} -qe \"%s\" && echo Package \"`${PKG_INFO} -e '\''%s\'\''`\" has a %s vulnerability, see %s", $1, $1, $2, $3);
+ { cmd = sprintf("${PKG_TOOLS_BIN}/pkg_info -qe \"%s\" && echo Package \"`${PKG_TOOLS_BIN}/pkg_info -e '\''%s\'\''`\" has a %s vulnerability, see %s", $1, $1, $2, $3);
system(cmd); }
' ${DISTDIR}/vulnerabilities