diff options
author | agc <agc@pkgsrc.org> | 2001-04-02 10:35:25 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-04-02 10:35:25 +0000 |
commit | f8d07c2f7ff1a54b45ef3a69f688bd41a91c40f0 (patch) | |
tree | 3d2f7a7127cf247c6c3cd8591b3c00326fe71415 /security | |
parent | 72a57e326c3115b004437308dad0d0e025a08870 (diff) | |
download | pkgsrc-f8d07c2f7ff1a54b45ef3a69f688bd41a91c40f0.tar.gz |
Bump audit-packages to 1.6.
Always touch the downloaded vulnerability list, so that the audit-packages
script doesn't moan erroneously.
From Jim Bernard, in PR 12457.
Diffstat (limited to 'security')
-rw-r--r-- | security/audit-packages/Makefile | 4 | ||||
-rw-r--r-- | security/audit-packages/files/download-vulnerability-list | 10 |
2 files changed, 8 insertions, 6 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile index f53ca349eb6..4f0325427ca 100644 --- a/security/audit-packages/Makefile +++ b/security/audit-packages/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2001/03/27 10:54:33 agc Exp $ +# $NetBSD: Makefile,v 1.8 2001/04/02 10:35:25 agc Exp $ -DISTNAME= audit-packages-1.5 +DISTNAME= audit-packages-1.6 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 4fd3c1d51f6..e7271ef7baa 100644 --- a/security/audit-packages/files/download-vulnerability-list +++ b/security/audit-packages/files/download-vulnerability-list @@ -10,10 +10,12 @@ fi ${FETCH_CMD} -o ${NEW_VUL_LIST} ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/vulnerabilities || \ (echo "Can't download vulnerability list"; exit 1) -/usr/bin/cmp -s ${NEW_VUL_LIST} ${DISTDIR}/vulnerabilities > /dev/null 2>&1 || \ - (/bin/mv ${NEW_VUL_LIST} ${DISTDIR}/vulnerabilities; \ - ${TOUCH} ${DISTDIR}/vulnerabilities) +if /usr/bin/cmp -s ${NEW_VUL_LIST} ${DISTDIR}/vulnerabilities > /dev/null 2>&1; then + /bin/rm -f ${NEW_VUL_LIST} +else + /bin/mv ${NEW_VUL_LIST} ${DISTDIR}/vulnerabilities +fi -/bin/rm -f ${NEW_VUL_LIST} +${TOUCH} ${DISTDIR}/vulnerabilities exit 0 |