pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail Honor PKGDIRMODE and SHAREMODE.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8c34fe004f05
branches: trunk
changeset: 493556:8c34fe004f05
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon May 09 16:15:06 2005 +0000
description:
Honor PKGDIRMODE and SHAREMODE.
diffstat:
mail/imp/Makefile | 5 +++--
mail/imp4/Makefile | 5 +++--
mail/turba/Makefile | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
diffs (56 lines):
diff -r a9a59094797d -r 8c34fe004f05 mail/imp/Makefile
--- a/mail/imp/Makefile Mon May 09 16:09:26 2005 +0000
+++ b/mail/imp/Makefile Mon May 09 16:15:06 2005 +0000
@@ -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 @@
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 -r a9a59094797d -r 8c34fe004f05 mail/imp4/Makefile
--- a/mail/imp4/Makefile Mon May 09 16:09:26 2005 +0000
+++ b/mail/imp4/Makefile Mon May 09 16:15:06 2005 +0000
@@ -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 @@
${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 -r a9a59094797d -r 8c34fe004f05 mail/turba/Makefile
--- a/mail/turba/Makefile Mon May 09 16:09:26 2005 +0000
+++ b/mail/turba/Makefile Mon May 09 16:15:06 2005 +0000
@@ -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 @@
${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
Home |
Main Index |
Thread Index |
Old Index