summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-01-30 15:04:33 +0000
committertron <tron@pkgsrc.org>2007-01-30 15:04:33 +0000
commitc22c17a3c2ba62323b756431210e28d00a503b98 (patch)
tree17362ae65d309edb0750d6b887d2ddcc1800ec97
parent5753a9e071d7aa8bbf0bae153d40d48622cdcfad (diff)
downloadpkgsrc-c22c17a3c2ba62323b756431210e28d00a503b98.tar.gz
Fix permission problems:
- "share/doc/bind9" shouldn't be group-writable. - "share/doc/bind9/arm/Bv9ARM.pdf" shouldn't be executable. Bump package revision because of these fixes.
-rw-r--r--net/bind9/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/bind9/Makefile b/net/bind9/Makefile
index 999b2a9de05..407021d20c2 100644
--- a/net/bind9/Makefile
+++ b/net/bind9/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.85 2007/01/28 01:31:52 adrianp Exp $
+# $NetBSD: Makefile,v 1.86 2007/01/30 15:04:33 tron Exp $
DISTNAME= bind-${BIND_VERSION}
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/
@@ -59,6 +60,8 @@ post-install:
set -e; cd ${WRKSRC}/doc && ${PAX} -rwppm \
-s ',.*xsl.*,,' -s ',Makefile.*,,' -s ',.*\.pl,,' \
. ${PREFIX}/share/doc/bind9
+ ${CHMOD} -R g-w ${PREFIX}/share/doc/bind9
+ ${CHMOD} -x ${PREFIX}/share/doc/bind9/arm/Bv9ARM.pdf
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
(cd ${PREFIX}; ${FIND} share/doc/bind9 -type f -print ) >> ${PLIST_SRC}
(cd ${PREFIX}; ${FIND} share/doc/bind9 -type d -print ) | \