diff options
author | agc <agc@pkgsrc.org> | 2003-10-17 09:45:28 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2003-10-17 09:45:28 +0000 |
commit | ee3914192c1119eb9dba20eb98abeed0cb7f2a48 (patch) | |
tree | 76be25808dc38eb1681f1fa6a69baf08bd43f633 | |
parent | 56c3e68353c93cebc3f85eeb683b15a75cf6bd03 (diff) | |
download | pkgsrc-ee3914192c1119eb9dba20eb98abeed0cb7f2a48.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.
-rw-r--r-- | doc/CHANGES | 3 | ||||
-rw-r--r-- | security/audit-packages/Makefile | 4 | ||||
-rwxr-xr-x | security/audit-packages/files/audit-packages | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/doc/CHANGES b/doc/CHANGES index ee24b7267b4..78b8d1c4973 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,4 +1,4 @@ -$NetBSD: CHANGES,v 1.3699 2003/10/17 05:33:13 itojun Exp $ +$NetBSD: CHANGES,v 1.3700 2003/10/17 09:46:18 agc Exp $ Changes to the packages collection and infrastructure in 2003: @@ -4210,3 +4210,4 @@ Changes to the packages collection and infrastructure in 2003: Updated silc-client-icb to 0.14nb2 [salo 2003-10-16] Updated slurm to 0.3.1 [cube 2003-10-16] Updated quagga to 0.96.3 [itojun 2003-10-17] + Updated audit-packages to 1.24 [agc 2003-10-17] 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 |