pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/bind9 Fix permission problems:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8aa381ca0a75
branches:  trunk
changeset: 524698:8aa381ca0a75
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Jan 30 15:04:33 2007 +0000

description:
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.

diffstat:

 net/bind9/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r aa5dfa0309df -r 8aa381ca0a75 net/bind9/Makefile
--- a/net/bind9/Makefile        Tue Jan 30 14:59:08 2007 +0000
+++ b/net/bind9/Makefile        Tue Jan 30 15:04:33 2007 +0000
@@ -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 @@
        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 ) | \



Home | Main Index | Thread Index | Old Index