diff options
author | agc <agc@pkgsrc.org> | 2003-09-09 17:31:34 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2003-09-09 17:31:34 +0000 |
commit | 4b67b74873383b20da142fa08eeca40a1dc61282 (patch) | |
tree | 1df024c62fa6c20ba23ab5d6416070541c68d52e /security | |
parent | 497504f84a8f28b78ce3a0cc065f5167337eefdb (diff) | |
download | pkgsrc-4b67b74873383b20da142fa08eeca40a1dc61282.tar.gz |
Update audit-packages to 1.20.
Support wget and curl as FETCH_CMDs, as discussed in PR 19103.
Diffstat (limited to 'security')
-rw-r--r-- | security/audit-packages/Makefile | 4 | ||||
-rw-r--r-- | security/audit-packages/files/download-vulnerability-list | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile index 4ce3ceebb8c..7be9056f616 100644 --- a/security/audit-packages/Makefile +++ b/security/audit-packages/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.28 2003/09/03 15:06:59 tron Exp $ +# $NetBSD: Makefile,v 1.29 2003/09/09 17:31:34 agc Exp $ -DISTNAME= audit-packages-1.19 +DISTNAME= audit-packages-1.20 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 fe4a2108e28..3f2960a173e 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.16 2003/09/02 10:20:29 agc Exp $ +# $NetBSD: download-vulnerability-list,v 1.17 2003/09/09 17:31:34 agc Exp $ : ${PKGVULNDIR=@PKGVULNDIR@} @@ -14,7 +14,14 @@ NEW_VUL_LIST=pkg-vulnerabilities.$$ EXIST_VUL_LIST=pkg-vulnerabilities cd ${PKGVULNDIR} -@FETCH_CMD@ -o ${NEW_VUL_LIST} ${VUL_SOURCE} +case "@FETCH_CMD@" 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} ;; +*) echo "Unknown fetch command - please use send-pr to send in support for your fetch command" 1>&2 + exit 1 + ;; +esac # see if the file got damaged while it was being downloaded errmsg="" |