pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/ntp4 Don't change the permissions of files in the ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d909e8e1e6ca
branches: trunk
changeset: 463622:d909e8e1e6ca
user: fredb <fredb%pkgsrc.org@localhost>
date: Fri Nov 21 01:02:24 2003 +0000
description:
Don't change the permissions of files in the work directory,
so that "make clean" after just-in-time "su" works. Closes
PR pkg/23477 by Adrian Portelli.
diffstat:
net/ntp4/Makefile | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r a618cc96870f -r d909e8e1e6ca net/ntp4/Makefile
--- a/net/ntp4/Makefile Fri Nov 21 00:14:00 2003 +0000
+++ b/net/ntp4/Makefile Fri Nov 21 01:02:24 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2003/11/20 12:09:09 fredb Exp $
+# $NetBSD: Makefile,v 1.30 2003/11/21 01:02:24 fredb Exp $
#
DISTNAME= ntp-4.2.0
@@ -19,14 +19,15 @@
DOCDIR= ${PREFIX}/share/doc/html
EXAMPLESDIR= ${PREFIX}/share/examples
+ALL_NTP_DOCS= ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
post-install:
- cd ${WRKSRC} && \
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} conf html; \
- ${FIND} conf html -type d -printx | ${XARGS} ${CHMOD} ${PKGDIRMODE}; \
- ${FIND} conf html -type f -printx | ${XARGS} ${CHMOD} ${SHAREMODE}; \
+ (cd ${WRKSRC} && \
${PAX} -rw -pe -s "/html/ntp4/" html ${DOCDIR}; \
- ${PAX} -rw -pe -s "/conf/ntp4/" conf ${EXAMPLESDIR}
+ ${PAX} -rw -pe -s "/conf/ntp4/" conf ${EXAMPLESDIR}); \
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${ALL_NTP_DOCS}; \
+ ${FIND} ${ALL_NTP_DOCS} -type d -printx | ${XARGS} ${CHMOD} ${PKGDIRMODE}; \
+ ${FIND} ${ALL_NTP_DOCS} -type f -printx | ${XARGS} ${CHMOD} ${SHAREMODE};
.include "../../mk/bsd.prefs.mk"
Home |
Main Index |
Thread Index |
Old Index