diff options
author | agc <agc> | 2003-10-17 09:45:28 +0000 |
---|---|---|
committer | agc <agc> | 2003-10-17 09:45:28 +0000 |
commit | 953f7067cdf993374caeb6997d94d0d841e14f55 (patch) | |
tree | 76be25808dc38eb1681f1fa6a69baf08bd43f633 /security/audit-packages | |
parent | 38aee7babf666de0c75f44a65686ffe14096a096 (diff) | |
download | pkgsrc-953f7067cdf993374caeb6997d94d0d841e14f55.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/Makefile | 4 | ||||
-rwxr-xr-x | security/audit-packages/files/audit-packages | 4 |
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 |