diff options
author | wiz <wiz@pkgsrc.org> | 2001-06-25 18:31:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-06-25 18:31:19 +0000 |
commit | 681e1a69a4c4b13e68166acf9dd0bee328825c6a (patch) | |
tree | 9ced9d656de9b4b1807c8b9505379a8612705fa0 /security/audit-packages | |
parent | a29aa2a005941a936f2fe7fc51c0901cd802df09 (diff) | |
download | pkgsrc-681e1a69a4c4b13e68166acf9dd0bee328825c6a.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/Makefile | 5 | ||||
-rwxr-xr-x | security/audit-packages/files/audit-packages | 4 | ||||
-rw-r--r-- | security/audit-packages/files/download-vulnerability-list | 2 |
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}" |