summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2002-07-04 23:51:26 +0000
committerwiz <wiz>2002-07-04 23:51:26 +0000
commit390dbb85c713110159e61f15bd9be3f638c33ff9 (patch)
tree31e1fa37b2568cd80efb9dfa8ec8d0841723762b
parentb62eb3e6a63913cbfa7a1d33a85513040e013c9f (diff)
downloadpkgsrc-390dbb85c713110159e61f15bd9be3f638c33ff9.tar.gz
Add chmod a+r after downloading the new vulnerability file.
Addresses part of pkg/17368. Bump to 1.14.
-rw-r--r--security/audit-packages/Makefile4
-rw-r--r--security/audit-packages/files/download-vulnerability-list3
2 files changed, 4 insertions, 3 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile
index 3c412013df8..c827a69f0be 100644
--- a/security/audit-packages/Makefile
+++ b/security/audit-packages/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2002/06/04 23:01:34 kim Exp $
+# $NetBSD: Makefile,v 1.17 2002/07/04 23:51:26 wiz Exp $
-DISTNAME= audit-packages-1.13
+DISTNAME= audit-packages-1.14
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 88daea584cf..10621e02266 100644
--- a/security/audit-packages/files/download-vulnerability-list
+++ b/security/audit-packages/files/download-vulnerability-list
@@ -1,5 +1,5 @@
#! ${SH}
-# $NetBSD: download-vulnerability-list,v 1.11 2002/04/26 12:45:24 lukem Exp $
+# $NetBSD: download-vulnerability-list,v 1.12 2002/07/04 23:51:28 wiz Exp $
if [ ! -e ${PKGVULNDIR} ]; then
echo "Creating ${PKGVULNDIR}"
@@ -25,6 +25,7 @@ if [ $newsize -lt $existsize ]; then
exit 1
fi
+chmod a+r ${NEW_VUL_LIST}
/bin/mv -f ${NEW_VUL_LIST} ${EXIST_VUL_LIST}
exit 0