summaryrefslogtreecommitdiff
path: root/security/audit-packages
diff options
context:
space:
mode:
authorwiz <wiz>2001-06-25 18:31:19 +0000
committerwiz <wiz>2001-06-25 18:31:19 +0000
commitbad817db7af7eedac139e45b2430bdd926681e04 (patch)
tree9ced9d656de9b4b1807c8b9505379a8612705fa0 /security/audit-packages
parent574d2ebf1467ff1b94fd0c432bfdb1731a4df7ea (diff)
downloadpkgsrc-bad817db7af7eedac139e45b2430bdd926681e04.tar.gz
Apply patch from pkg/13295; seems not to hurt NetBSD, and should help
Solaris. Bump to 1.10.
Diffstat (limited to 'security/audit-packages')
-rw-r--r--security/audit-packages/Makefile5
-rwxr-xr-xsecurity/audit-packages/files/audit-packages4
-rw-r--r--security/audit-packages/files/download-vulnerability-list2
3 files changed, 6 insertions, 5 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile
index 148e1fe590c..7573070fcea 100644
--- a/security/audit-packages/Makefile
+++ b/security/audit-packages/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2001/06/06 23:37:52 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2001/06/25 18:31:19 wiz Exp $
-DISTNAME= audit-packages-1.9
+DISTNAME= audit-packages-1.10
CATEGORIES= security pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
@@ -19,6 +19,7 @@ do-configure:
-e 's|\$${AWK}|${AWK}|g' \
-e 's|\$${FETCH_CMD}|${FETCH_CMD}|g' \
-e 's|\$${PKG_INFO}|${PKG_INFO}|g' \
+ -e 's|\$${SH}|${SH}|g' \
-e 's|\$${TOUCH}|${TOUCH}|g' \
${FILESDIR}/$$f > ${WRKSRC}/$$f; \
done
diff --git a/security/audit-packages/files/audit-packages b/security/audit-packages/files/audit-packages
index a9b29468801..63393a0f4eb 100755
--- a/security/audit-packages/files/audit-packages
+++ b/security/audit-packages/files/audit-packages
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! ${SH}
if [ ! -f ${DISTDIR}/vulnerabilities ] ;then
echo "** Missing ${DISTDIR}/vulnerabilities" 1>&2
@@ -16,7 +16,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_INFO} -qe \"%s\" && echo Package \"`${PKG_INFO} -e '\''%s\'\''`\" has a %s vulnerability, see %s", $1, $1, $2, $3);
system(cmd); }
' ${DISTDIR}/vulnerabilities
diff --git a/security/audit-packages/files/download-vulnerability-list b/security/audit-packages/files/download-vulnerability-list
index 26be7dedab2..cfc6bf063ad 100644
--- a/security/audit-packages/files/download-vulnerability-list
+++ b/security/audit-packages/files/download-vulnerability-list
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! ${SH}
if [ ! -e ${DISTDIR} ]; then
echo "Creating ${DISTDIR}"