diff options
Diffstat (limited to 'security/audit-packages')
-rw-r--r-- | security/audit-packages/Makefile | 4 | ||||
-rw-r--r-- | security/audit-packages/files/download-vulnerability-list | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile index c4a629b1ff4..140dcac9853 100644 --- a/security/audit-packages/Makefile +++ b/security/audit-packages/Makefile @@ -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 --git a/security/audit-packages/files/download-vulnerability-list b/security/audit-packages/files/download-vulnerability-list index 3ce13ae10ab..7a2c566e4c2 100644 --- a/security/audit-packages/files/download-vulnerability-list +++ b/security/audit-packages/files/download-vulnerability-list @@ -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 @@ if [ -r @PKG_SYSCONFDIR@/audit-packages.conf ]; then . @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 |