diff options
author | abs <abs> | 2000-10-02 17:51:07 +0000 |
---|---|---|
committer | abs <abs> | 2000-10-02 17:51:07 +0000 |
commit | d5b05e39a37f20f74851cde41b56147294b518bc (patch) | |
tree | d8cf4725e7e0f04311976eea63cfa42838d25968 /security | |
parent | 2861a77b234c38e5948c224796d5291c25b8b27d (diff) | |
download | pkgsrc-d5b05e39a37f20f74851cde41b56147294b518bc.tar.gz |
Update to 1.1 - Give a slightly more friendly error message if vulnerabilities
file not present.
Diffstat (limited to 'security')
-rw-r--r-- | security/audit-packages/Makefile | 4 | ||||
-rwxr-xr-x | security/audit-packages/files/audit-packages | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile index 2a13a4d12e1..d56a8ccea8c 100644 --- a/security/audit-packages/Makefile +++ b/security/audit-packages/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/09/19 19:23:17 agc Exp $ +# $NetBSD: Makefile,v 1.2 2000/10/02 17:51:07 abs Exp $ -DISTNAME= audit-packages-1.0 +DISTNAME= audit-packages-1.1 CATEGORIES= security pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/security/audit-packages/files/audit-packages b/security/audit-packages/files/audit-packages index cb08a0285c7..727a8aa8050 100755 --- a/security/audit-packages/files/audit-packages +++ b/security/audit-packages/files/audit-packages @@ -1,5 +1,10 @@ #! /bin/sh +if [ ! -f ${DISTDIR}/vulnerabilities ] ;then + echo "** Missing ${DISTDIR}/vulnerabilities" + echo "** run download-vulnerability-list" + exit 1 +fi ${AWK} ' /^#.*/ { next } NF == 0 { next } |