pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/imap-uw Use PKGDIRMODE and SHAREMODE to ensure th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b1f902cd086
branches:  trunk
changeset: 468652:7b1f902cd086
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Sun Feb 15 21:33:15 2004 +0000

description:
Use PKGDIRMODE and SHAREMODE to ensure the installed documentation files can be
properly deleted on operating systems which are picky about permissions.

diffstat:

 mail/imap-uw/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 907ed3f40af9 -r 7b1f902cd086 mail/imap-uw/Makefile
--- a/mail/imap-uw/Makefile     Sun Feb 15 21:02:45 2004 +0000
+++ b/mail/imap-uw/Makefile     Sun Feb 15 21:33:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2004/02/08 03:00:29 jlam Exp $
+# $NetBSD: Makefile,v 1.74 2004/02/15 21:33:15 sketch Exp $
 # ATTENTION:
 # The Kerberos support in this software is known to be problematic. If you
 # upgrade this package you *must* test it on a system *without* Kerberos
@@ -157,7 +157,8 @@
        ${INSTALL_DATA_DIR} ${DOC_DIR}
        ${CP} -R ${WRKSRC}/docs/* ${DOC_DIR}
        ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOC_DIR}
-       ${CHMOD} -R a=rX ${DOC_DIR}
+       ${FIND} ${DOC_DIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+       ${FIND} ${DOC_DIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
 
 .if !defined(IMAP_UW_NO_SSL) || ${IMAP_UW_NO_SSL} != "YES"
 .include "../../security/openssl/buildlink2.mk"



Home | Main Index | Thread Index | Old Index