summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-05-09 16:15:06 +0000
committerminskim <minskim@pkgsrc.org>2005-05-09 16:15:06 +0000
commitd00207f2e98f45a7d15bebb89a78f30e1bf0d323 (patch)
tree09137be1fd8ca36a2105eed30668f4a8487d06f5 /mail
parentf4820a4c1760b99f3b839ea1dc170542f5c047c3 (diff)
downloadpkgsrc-d00207f2e98f45a7d15bebb89a78f30e1bf0d323.tar.gz
Honor PKGDIRMODE and SHAREMODE.
Diffstat (limited to 'mail')
-rw-r--r--mail/imp/Makefile5
-rw-r--r--mail/imp4/Makefile5
-rw-r--r--mail/turba/Makefile5
3 files changed, 9 insertions, 6 deletions
diff --git a/mail/imp/Makefile b/mail/imp/Makefile
index 300eecdb3b1..8597cb04ece 100644
--- a/mail/imp/Makefile
+++ b/mail/imp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2005/05/01 17:36:26 adrianp Exp $
+# $NetBSD: Makefile,v 1.30 2005/05/09 16:15:06 minskim Exp $
DISTNAME= imp-3.2.8
CATEGORIES= mail www
@@ -67,6 +67,7 @@ do-install:
cd ${WRKSRC}/config; ${INSTALL_DATA} * ${IMPDIR}/config
cd ${WRKSRC}; ${INSTALL_DATA} *.php ${IMPDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${IMPDIR}
- ${CHMOD} -R a-w ${IMPDIR}
+ ${FIND} ${IMPDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+ ${FIND} ${IMPDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/imp4/Makefile b/mail/imp4/Makefile
index 21785092ef6..c1bca2bb20a 100644
--- a/mail/imp4/Makefile
+++ b/mail/imp4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/05/01 19:07:36 adrianp Exp $
+# $NetBSD: Makefile,v 1.5 2005/05/09 16:15:06 minskim Exp $
DISTNAME= imp-h3-${IMPVER}
PKGNAME= imp-${IMPVER}
@@ -93,7 +93,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/config/*.dist ${IMPDIR}/config
${INSTALL_DATA} ${WRKSRC}/*.php ${IMPDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${IMPDIR}
- ${CHMOD} -R a-w ${IMPDIR}
+ ${FIND} ${IMPDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+ ${FIND} ${IMPDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
${CHOWN} ${APACHE_USER}:${ROOT_GROUP} ${IMPDIR}/config
${CHMOD} 0750 ${IMPDIR}/config
diff --git a/mail/turba/Makefile b/mail/turba/Makefile
index 90cb5c6b1f5..22eea64c332 100644
--- a/mail/turba/Makefile
+++ b/mail/turba/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/03/25 13:21:43 adrianp Exp $
+# $NetBSD: Makefile,v 1.2 2005/05/09 16:15:06 minskim Exp $
DISTNAME= turba-h3-${TURBAVER}
PKGNAME= turba-${TURBAVER}
@@ -83,7 +83,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/config/*.dist ${TURBADIR}/config
${INSTALL_DATA} ${WRKSRC}/*.php ${TURBADIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TURBADIR}
- ${CHMOD} -R a-w ${TURBADIR}
+ ${FIND} ${TURBADIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+ ${FIND} ${TURBADIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
${CHOWN} ${APACHE_USER}:${SHAREGRP} ${TURBADIR}/config
${CHMOD} 0750 ${TURBADIR}/config