pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail chmod directories and other files



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c89786334c39
branches:  trunk
changeset: 486069:c89786334c39
user:      martti <martti%pkgsrc.org@localhost>
date:      Wed Dec 22 08:08:08 2004 +0000

description:
chmod directories and other files

diffstat:

 mail/ja-squirrelmail/Makefile |  7 ++++---
 mail/squirrelmail/Makefile    |  7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r 92120779b0e2 -r c89786334c39 mail/ja-squirrelmail/Makefile
--- a/mail/ja-squirrelmail/Makefile     Wed Dec 22 07:27:07 2004 +0000
+++ b/mail/ja-squirrelmail/Makefile     Wed Dec 22 08:08:08 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/12/22 07:27:07 martti Exp $
+# $NetBSD: Makefile,v 1.9 2004/12/22 08:08:08 martti Exp $
 
 DISTNAME=      squirrelmail-1.4.3a
 PKGNAME=       ja-${DISTNAME}
@@ -76,9 +76,10 @@
                ${EGDIR}/squirrelmail.conf
        ${CP} -R ${WRKSRC}/* ${SMDIR}
        ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${SMDIR}
+       ${FIND} ${SMDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
        ${FIND} ${SMDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
-       ${CP} ${WRKSRC}/data/index.php ${USER_PREFS_DIR}/
-       ${CP} ${WRKSRC}/data/.htaccess ${USER_PREFS_DIR}/
+       ${INSTALL_DATA} ${WRKSRC}/data/index.php ${USER_PREFS_DIR}/
+       ${INSTALL_DATA} ${WRKSRC}/data/.htaccess ${USER_PREFS_DIR}/
 
 .include "../../lang/perl5/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 92120779b0e2 -r c89786334c39 mail/squirrelmail/Makefile
--- a/mail/squirrelmail/Makefile        Wed Dec 22 07:27:07 2004 +0000
+++ b/mail/squirrelmail/Makefile        Wed Dec 22 08:08:08 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2004/12/22 07:27:07 martti Exp $
+# $NetBSD: Makefile,v 1.48 2004/12/22 08:08:08 martti Exp $
 
 DISTNAME=      squirrelmail-1.4.3a
 PKGREVISION=   1
@@ -66,9 +66,10 @@
                ${EGDIR}/squirrelmail.conf
        ${CP} -R ${WRKSRC}/* ${SMDIR}
        ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${SMDIR}
+       ${FIND} ${SMDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
        ${FIND} ${SMDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE} 
-       ${CP} ${WRKSRC}/data/index.php ${USER_PREFS_DIR}/
-       ${CP} ${WRKSRC}/data/.htaccess ${USER_PREFS_DIR}/
+       ${INSTALL_DATA} ${WRKSRC}/data/index.php ${USER_PREFS_DIR}/
+       ${INSTALL_DATA} ${WRKSRC}/data/.htaccess ${USER_PREFS_DIR}/
 
 .include "../../lang/perl5/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index