summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2010-07-31 23:41:17 +0000
committerdholland <dholland@pkgsrc.org>2010-07-31 23:41:17 +0000
commit9e59634e171e8cb44e91f689a965d7f5797d1e02 (patch)
tree1f162e3b6e55b784598653cac8d24b04e5deecef /www
parente7a6e62ba284da87bb4d87da157b3da4af22026b (diff)
downloadpkgsrc-9e59634e171e8cb44e91f689a965d7f5797d1e02.tar.gz
Apply chmod to prevent installation of world-writable files. Should fix
PR 38909.
Diffstat (limited to 'www')
-rw-r--r--www/hiawatha/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/hiawatha/Makefile b/www/hiawatha/Makefile
index 443685199ca..98966dd90bd 100644
--- a/www/hiawatha/Makefile
+++ b/www/hiawatha/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2009/08/25 11:57:46 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2010/07/31 23:41:17 dholland Exp $
#
DISTNAME= hiawatha
@@ -49,6 +49,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/simple.cfg ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/SeeAlso/pault_com.cfg ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKDIR}/hiawatha.cfg ${DESTDIR}${EGDIR}
+ cd ${WRKSRC} && chmod -R go-w WEBROOT
cd ${WRKSRC} && pax -s '/^WEBROOT/pault.com/' -rw WEBROOT ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${FILESDIR}/index.xml ${DESTDIR}${EGDIR}/WEBROOT
${INSTALL_DATA} ${FILESDIR}/index.xsl ${DESTDIR}${EGDIR}/WEBROOT