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).
This commit is contained in:
parent
b525469aae
commit
208afaebf0
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue