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.20.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ac4b464e98c
branches:  trunk
changeset: 461038:9ac4b464e98c
user:      agc <agc%pkgsrc.org@localhost>
date:      Tue Sep 09 17:31:34 2003 +0000

description:
Update audit-packages to 1.20.

Support wget and curl as FETCH_CMDs, as discussed in PR 19103.

diffstat:

 doc/CHANGES                                               |   3 ++-
 security/audit-packages/Makefile                          |   4 ++--
 security/audit-packages/files/download-vulnerability-list |  11 +++++++++--
 3 files changed, 13 insertions(+), 5 deletions(-)

diffs (53 lines):

diff -r 20c4cfa3a976 -r 9ac4b464e98c doc/CHANGES
--- a/doc/CHANGES       Tue Sep 09 17:11:16 2003 +0000
+++ b/doc/CHANGES       Tue Sep 09 17:31:34 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.3298 2003/09/09 15:16:03 adam Exp $
+$NetBSD: CHANGES,v 1.3299 2003/09/09 17:32:27 agc Exp $
 
 Changes to the packages collection and infrastructure in 2003:
 
@@ -3596,3 +3596,4 @@
        Updated gdeskcal to 0.55 [recht 2003-09-09]
        Updated rocksndiamonds to 3.0.3 [adam 2003-09-09]
        Added rocksndiamonds-sdl-3.0.3 [adam 2003-09-09]
+       Updated audit-packages to 1.20 [agc 2003-09-09]
diff -r 20c4cfa3a976 -r 9ac4b464e98c security/audit-packages/Makefile
--- a/security/audit-packages/Makefile  Tue Sep 09 17:11:16 2003 +0000
+++ b/security/audit-packages/Makefile  Tue Sep 09 17:31:34 2003 +0000
@@ -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 -r 20c4cfa3a976 -r 9ac4b464e98c security/audit-packages/files/download-vulnerability-list
--- a/security/audit-packages/files/download-vulnerability-list Tue Sep 09 17:11:16 2003 +0000
+++ b/security/audit-packages/files/download-vulnerability-list Tue Sep 09 17:31:34 2003 +0000
@@ -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 @@
 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=""



Home | Main Index | Thread Index | Old Index