diff options
author | agc <agc> | 2003-09-16 09:06:03 +0000 |
---|---|---|
committer | agc <agc> | 2003-09-16 09:06:03 +0000 |
commit | 16eca4b773696ae44d910af8641bd88e3d5cabc8 (patch) | |
tree | e89d341c21469869ab543864931bd92ec56bd856 /security | |
parent | 090950c315fc846bee299306068bb439d42c733e (diff) | |
download | pkgsrc-16eca4b773696ae44d910af8641bd88e3d5cabc8.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.
Diffstat (limited to 'security')
-rw-r--r-- | security/audit-packages/Makefile | 4 | ||||
-rw-r--r-- | security/audit-packages/files/download-vulnerability-list | 5 |
2 files changed, 5 insertions, 4 deletions
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} ;; |