summaryrefslogtreecommitdiff
path: root/security/audit-packages
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-10-17 09:45:28 +0000
committeragc <agc@pkgsrc.org>2003-10-17 09:45:28 +0000
commitde7fca893936b07b6aa79e1f537d0de70a62bd6a (patch)
tree76be25808dc38eb1681f1fa6a69baf08bd43f633 /security/audit-packages
parent518a164a851b1a872b5af4cc3690a129c8e051a1 (diff)
downloadpkgsrc-de7fca893936b07b6aa79e1f537d0de70a62bd6a.tar.gz
Update audit-packages to 1.24:
Simplify quoting syntax in the awk command, so that gawk-3.1.3 (as found in NetBSD-current) doesn't have a problem with a malformed escape sequence. With thanks to Johnny Lam for testing with an older version of gawk.
Diffstat (limited to 'security/audit-packages')
-rw-r--r--security/audit-packages/Makefile4
-rwxr-xr-xsecurity/audit-packages/files/audit-packages4
2 files changed, 4 insertions, 4 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile
index a9ee712a577..2756289f921 100644
--- a/security/audit-packages/Makefile
+++ b/security/audit-packages/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2003/09/16 09:06:03 agc Exp $
+# $NetBSD: Makefile,v 1.33 2003/10/17 09:45:28 agc Exp $
-DISTNAME= audit-packages-1.23
+DISTNAME= audit-packages-1.24
WRKSRC= ${WRKDIR}
CATEGORIES= security pkgtools
MASTER_SITES= # empty
diff --git a/security/audit-packages/files/audit-packages b/security/audit-packages/files/audit-packages
index 80316122615..8510ad8a564 100755
--- a/security/audit-packages/files/audit-packages
+++ b/security/audit-packages/files/audit-packages
@@ -1,6 +1,6 @@
#! @SH@
-# $NetBSD: audit-packages,v 1.12 2003/09/03 15:07:00 tron Exp $
+# $NetBSD: audit-packages,v 1.13 2003/10/17 09:45:28 agc Exp $
: ${PKGVULNDIR=@PKGVULNDIR@}
@@ -19,7 +19,7 @@ fi
@AWK@ '
/^#.*/ { next }
NF == 0 { next }
- { cmd = sprintf("@PKG_TOOLS_BIN@/pkg_info -qe \"%s\" && echo Package \"`@PKG_TOOLS_BIN@/pkg_info -e '\''%s\'\''`\" has a %s vulnerability, see %s ; wait", $1, $1, $2, $3);
+ { cmd = sprintf("@PKG_TOOLS_BIN@/pkg_info -qe \"%s\" && echo Package \"`@PKG_TOOLS_BIN@/pkg_info -e %c%s%c`\" has a %s vulnerability, see %s ; wait", $1, 39, $1, 39, $2, $3);
system(cmd); }
' ${PKGVULNDIR}/pkg-vulnerabilities