summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-09-16 09:06:03 +0000
committeragc <agc@pkgsrc.org>2003-09-16 09:06:03 +0000
commit4842dd4749f2e4617a86c63e05512507abfe2d6d (patch)
treee89d341c21469869ab543864931bd92ec56bd856
parent5fd5d7578c523ae38e3d3a246de41b5041d1663b (diff)
downloadpkgsrc-4842dd4749f2e4617a86c63e05512507abfe2d6d.tar.gz
Update audit-packages to 1.23.
Use the first word of ${FETCH_CMD} to determine which utility is used. Addresses PR 22760 from Todd Vierling.
-rw-r--r--doc/CHANGES5
-rw-r--r--security/audit-packages/Makefile4
-rw-r--r--security/audit-packages/files/download-vulnerability-list5
3 files changed, 8 insertions, 6 deletions
diff --git a/doc/CHANGES b/doc/CHANGES
index 61da9c770b1..13f75601fcb 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.3392 2003/09/16 08:01:12 xtraeme Exp $
+$NetBSD: CHANGES,v 1.3393 2003/09/16 09:07:49 agc Exp $
Changes to the packages collection and infrastructure in 2003:
@@ -3708,5 +3708,6 @@ Changes to the packages collection and infrastructure in 2003:
Updated rocksndiamonds-sdl to 3.0.4 [adam 2003-09-15]
Added py-TPG 2.1.6 [recht 2003-09-15]
Removed samba20 [jlam 2003-09-16]
- Updated audit-packages to 1.22 [adam 2003-09-16]
+ Updated audit-packages to 1.22 [agc 2003-09-16]
Updated tsclient to 0.124 [xtraeme 2003-09-16]
+ Updated audit-packages to 1.23 [agc 2003-09-16]
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile
index e1aaf8e4e56..a9ee712a577 100644
--- a/security/audit-packages/Makefile
+++ b/security/audit-packages/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2003/09/16 07:21:01 agc Exp $
+# $NetBSD: Makefile,v 1.32 2003/09/16 09:06:03 agc Exp $
-DISTNAME= audit-packages-1.22
+DISTNAME= audit-packages-1.23
WRKSRC= ${WRKDIR}
CATEGORIES= security pkgtools
MASTER_SITES= # empty
diff --git a/security/audit-packages/files/download-vulnerability-list b/security/audit-packages/files/download-vulnerability-list
index 0af6f51b7a4..9ea91ef8115 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.18 2003/09/16 07:21:03 agc Exp $
+# $NetBSD: download-vulnerability-list,v 1.19 2003/09/16 09:06:04 agc Exp $
: ${PKGVULNDIR=@PKGVULNDIR@}
@@ -14,7 +14,8 @@ NEW_VUL_LIST=pkg-vulnerabilities.$$
EXIST_VUL_LIST=pkg-vulnerabilities
cd ${PKGVULNDIR}
-case "@FETCH_CMD@" in
+utility=`echo "@FETCH_CMD@" | @AWK@ '{ print $1 }'`
+case "$utility" in
*curl) @FETCH_CMD@ -o ${NEW_VUL_LIST} ${VUL_SOURCE} ;;
*ftp) @FETCH_CMD@ -o ${NEW_VUL_LIST} ${VUL_SOURCE} ;;
*wget) @FETCH_CMD@ -O ${NEW_VUL_LIST} ${VUL_SOURCE} ;;