pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Update audit-packages to 1.33:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08c62ef8afa4
branches:  trunk
changeset: 488900:08c62ef8afa4
user:      agc <agc%pkgsrc.org@localhost>
date:      Fri Feb 11 16:51:16 2005 +0000

description:
Update audit-packages to 1.33:

In download-vulnerability-list, first set the PKGVULNDIR, then create
the directory if it doesn't already exist.

Pointed out by Geert Hendrickx on tech-pkg@

diffstat:

 doc/CHANGES                                               |   3 ++-
 security/audit-packages/Makefile                          |   4 ++--
 security/audit-packages/files/download-vulnerability-list |  12 ++++++------
 3 files changed, 10 insertions(+), 9 deletions(-)

diffs (61 lines):

diff -r 0bb8f3fc3ad8 -r 08c62ef8afa4 doc/CHANGES
--- a/doc/CHANGES       Fri Feb 11 16:49:24 2005 +0000
+++ b/doc/CHANGES       Fri Feb 11 16:51:16 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.9113 2005/02/11 16:43:25 minskim Exp $
+$NetBSD: CHANGES,v 1.9114 2005/02/11 16:52:27 agc Exp $
 
 Changes to the packages collection and infrastructure in 2005:
 
@@ -848,3 +848,4 @@
        Updated gtk-send-pr to 0.4.4 [jmmv 2005-02-11]
        Updated squid to 2.5.8 [taca 2005-02-11]
        Added pgpool-2.5 [minskim 2005-02-11]
+       Updated audit-packages to 1.33 [agc 2005-02-11]
diff -r 0bb8f3fc3ad8 -r 08c62ef8afa4 security/audit-packages/Makefile
--- a/security/audit-packages/Makefile  Fri Feb 11 16:49:24 2005 +0000
+++ b/security/audit-packages/Makefile  Fri Feb 11 16:51:16 2005 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2004/10/07 02:01:38 jlam Exp $
+# $NetBSD: Makefile,v 1.51 2005/02/11 16:51:16 agc Exp $
 
-DISTNAME=      audit-packages-1.32
+DISTNAME=      audit-packages-1.33
 CATEGORIES=    security pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 0bb8f3fc3ad8 -r 08c62ef8afa4 security/audit-packages/files/download-vulnerability-list
--- a/security/audit-packages/files/download-vulnerability-list Fri Feb 11 16:49:24 2005 +0000
+++ b/security/audit-packages/files/download-vulnerability-list Fri Feb 11 16:51:16 2005 +0000
@@ -1,6 +1,6 @@
 #! @SH@
 
-# $NetBSD: download-vulnerability-list,v 1.25 2004/10/29 10:45:45 grant Exp $
+# $NetBSD: download-vulnerability-list,v 1.26 2005/02/11 16:51:16 agc Exp $
 #
 # Copyright (c) 2000-2003 Alistair Crooks.  All rights reserved.
 #
@@ -35,11 +35,6 @@
 
 : ${PKGVULNDIR=@PKGVULNDIR@}
 
-if [ ! -d ${PKGVULNDIR}/. ]; then
-       echo "Creating ${PKGVULNDIR}"
-       @MKDIR@ ${PKGVULNDIR} || (echo "Can't create ${PKGVULNDIR}" 1>&2; exit 1)
-fi
-
 VUL_SOURCE="ftp://ftp.NetBSD.org/pub/NetBSD/packages/distfiles/pkg-vulnerabilities";
 NEW_VUL_LIST=pkg-vulnerabilities.$$
 EXIST_VUL_LIST=pkg-vulnerabilities
@@ -49,6 +44,11 @@
        . @PKG_SYSCONFDIR@/audit-packages.conf
 fi
 
+if [ ! -d ${PKGVULNDIR}/. ]; then
+       echo "Creating ${PKGVULNDIR}"
+       @MKDIR@ ${PKGVULNDIR} || (echo "Can't create ${PKGVULNDIR}" 1>&2; exit 1)
+fi
+
 cd ${PKGVULNDIR}
 utility=`echo "@FETCH_CMD@" | @AWK@ '{ print $1 }'`
 case "$utility" in



Home | Main Index | Thread Index | Old Index