summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoritojun <itojun>2000-11-11 02:23:00 +0000
committeritojun <itojun>2000-11-11 02:23:00 +0000
commit920bc2cc56685052d75dce4ead13da07939ad58e (patch)
tree0fd87c99456dbe08213c41fba8ab4d6b82ddca1e /security
parent9979b95fe9da0f6801050adc7f03d9d2532fbb53 (diff)
downloadpkgsrc-920bc2cc56685052d75dce4ead13da07939ad58e.tar.gz
touch vulnerability list after update, to make audit-package happier
when vulnerability list is not updated for more than a week. solves PR 11463 (there are other ways to solve this, i'm open to your opinion).
Diffstat (limited to 'security')
-rw-r--r--security/audit-packages/Makefile5
-rw-r--r--security/audit-packages/files/download-vulnerability-list3
2 files changed, 5 insertions, 3 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile
index 713a73efe17..787404d0f40 100644
--- a/security/audit-packages/Makefile
+++ b/security/audit-packages/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2000/10/26 17:33:45 sommerfeld Exp $
+# $NetBSD: Makefile,v 1.4 2000/11/11 02:23:00 itojun Exp $
-DISTNAME= audit-packages-1.2
+DISTNAME= audit-packages-1.3
CATEGORIES= security pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
@@ -18,6 +18,7 @@ do-configure:
-e 's|\$${AWK}|${AWK}|g' \
-e 's|\$${FETCH_CMD}|${FETCH_CMD}|g' \
-e 's|\$${PKG_INFO}|${PKG_INFO}|g' \
+ -e 's|\$${TOUCH}|${TOUCH}|g' \
${FILESDIR}/$$f > ${WRKSRC}/$$f; \
done
diff --git a/security/audit-packages/files/download-vulnerability-list b/security/audit-packages/files/download-vulnerability-list
index 86270469396..54b46a0f18b 100644
--- a/security/audit-packages/files/download-vulnerability-list
+++ b/security/audit-packages/files/download-vulnerability-list
@@ -6,6 +6,7 @@ ${FETCH_CMD} -o ${NEW_VUL_LIST} ftp://ftp.netbsd.org/pub/NetBSD/packages/distfil
(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)
+ (/bin/mv ${NEW_VUL_LIST} ${DISTDIR}/vulnerabilities; \
+ ${TOUCH} ${DISTDIR}/vulnerabilities)
exit 0