pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/horde3 Honor PKGDIRMODE and SHAREMODE.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1983cbcd8905
branches:  trunk
changeset: 492784:1983cbcd8905
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Apr 19 15:04:54 2005 +0000

description:
Honor PKGDIRMODE and SHAREMODE.

diffstat:

 www/horde3/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r d14458b6c622 -r 1983cbcd8905 www/horde3/Makefile
--- a/www/horde3/Makefile       Tue Apr 19 14:55:30 2005 +0000
+++ b/www/horde3/Makefile       Tue Apr 19 15:04:54 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:47:53 tv Exp $
+# $NetBSD: Makefile,v 1.6 2005/04/19 15:04:54 minskim Exp $
 
 DISTNAME=      horde-3.0.4
 CATEGORIES=    www
@@ -99,7 +99,8 @@
        ${INSTALL_DATA} ${WRKSRC}/config/*.dist ${HORDEDIR}/config
        ${INSTALL_DATA} ${WRKSRC}/*.php ${HORDEDIR}
        ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${HORDEDIR}
-       ${CHMOD} -R a-w ${HORDEDIR}
+       ${FIND} ${HORDEDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+       ${FIND} ${HORDEDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
        ${CHOWN} ${APACHE_USER}:${SHAREGRP} ${HORDEDIR}/config
        ${CHMOD} 0750 ${HORDEDIR}/config
 



Home | Main Index | Thread Index | Old Index