diff options
author | itojun <itojun> | 2000-11-11 02:23:00 +0000 |
---|---|---|
committer | itojun <itojun> | 2000-11-11 02:23:00 +0000 |
commit | 00372185ba3277a68ad9bf47cff973c1b335bc5f (patch) | |
tree | 0fd87c99456dbe08213c41fba8ab4d6b82ddca1e /security/audit-packages | |
parent | b8cbfc68711d498126001bafdf47a12c9c96bad1 (diff) | |
download | pkgsrc-00372185ba3277a68ad9bf47cff973c1b335bc5f.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/audit-packages')
-rw-r--r-- | security/audit-packages/Makefile | 5 | ||||
-rw-r--r-- | security/audit-packages/files/download-vulnerability-list | 3 |
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 |