pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/audit-packages Fixed the number of backslashe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/391a1efc4273
branches:  trunk
changeset: 497782:391a1efc4273
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Aug 04 12:02:59 2005 +0000

description:
Fixed the number of backslashes in the version checking code.

diffstat:

 security/audit-packages/Makefile             |  4 ++--
 security/audit-packages/files/audit-packages |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 41292fa37923 -r 391a1efc4273 security/audit-packages/Makefile
--- a/security/audit-packages/Makefile  Thu Aug 04 11:36:10 2005 +0000
+++ b/security/audit-packages/Makefile  Thu Aug 04 12:02:59 2005 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2005/06/20 09:29:44 tron Exp $
+# $NetBSD: Makefile,v 1.59 2005/08/04 12:02:59 rillig Exp $
 
-DISTNAME=      audit-packages-1.37
+DISTNAME=      audit-packages-1.38
 CATEGORIES=    security pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 41292fa37923 -r 391a1efc4273 security/audit-packages/files/audit-packages
--- a/security/audit-packages/files/audit-packages      Thu Aug 04 11:36:10 2005 +0000
+++ b/security/audit-packages/files/audit-packages      Thu Aug 04 12:02:59 2005 +0000
@@ -1,6 +1,6 @@
 #! @SH@
 #
-# $NetBSD: audit-packages,v 1.21 2005/06/19 12:14:39 adrianp Exp $
+# $NetBSD: audit-packages,v 1.22 2005/08/04 12:02:59 rillig Exp $
 #
 # Copyright (c) 2000-2003 Alistair Crooks.  All rights reserved.
 #
@@ -88,8 +88,8 @@
 
 case "$errmsg" in
 "")    # check format version of vulnerabilities file
-       file_major=`@AWK@ '$1 == "#FORMAT" { split($2, a, "\\."); print a[1] }' "$vuls"`
-       file_minor=`@AWK@ '$1 == "#FORMAT" { split($2, a, "\\."); print a[2] }' "$vuls"`
+       file_major=`@AWK@ '$1 == "#FORMAT" { split($2, a, "\\\\."); print a[1] }' "$vuls"`
+       file_minor=`@AWK@ '$1 == "#FORMAT" { split($2, a, "\\\\."); print a[2] }' "$vuls"`
        if [ "x$file_major" = "x" -o "x$file_minor" = "x" ]
        then
                errmsg="No file format version found in $vuls"



Home | Main Index | Thread Index | Old Index