pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ntp4 Update post-install target and MESSAGE for ch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14f972306621
branches:  trunk
changeset: 463337:14f972306621
user:      fredb <fredb%pkgsrc.org@localhost>
date:      Thu Nov 06 20:32:57 2003 +0000

description:
Update post-install target and MESSAGE for churn in the documentation,
and especially fix permissions on the new directories.  Should close
PR pkg/23378, by Wolfgang S. Rupprecht.

diffstat:

 net/ntp4/MESSAGE  |   4 ++--
 net/ntp4/Makefile |  17 +++++++----------
 2 files changed, 9 insertions(+), 12 deletions(-)

diffs (47 lines):

diff -r 0b7f502ed437 -r 14f972306621 net/ntp4/MESSAGE
--- a/net/ntp4/MESSAGE  Thu Nov 06 20:00:12 2003 +0000
+++ b/net/ntp4/MESSAGE  Thu Nov 06 20:32:57 2003 +0000
@@ -1,10 +1,10 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2002/09/24 12:30:26 wiz Exp $
+$NetBSD: MESSAGE,v 1.3 2003/11/06 20:32:57 fredb Exp $
 
 THERE ARE NO MAN PAGES. All installed documentation
 is accessible through
 
-       file://localhost${PREFIX}/share/doc/html/ntp4/index.htm
+       file://localhost${PREFIX}/share/doc/html/ntp4/index.html
 
 User to user support is available at
 
diff -r 0b7f502ed437 -r 14f972306621 net/ntp4/Makefile
--- a/net/ntp4/Makefile Thu Nov 06 20:00:12 2003 +0000
+++ b/net/ntp4/Makefile Thu Nov 06 20:32:57 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2003/11/01 00:52:50 kristerw Exp $
+# $NetBSD: Makefile,v 1.27 2003/11/06 20:32:57 fredb Exp $
 #
 
 DISTNAME=      ntp-4.2.0
@@ -20,15 +20,12 @@
 EXAMPLESDIR=   ${PREFIX}/share/examples
 
 post-install:
-       cd ${WRKSRC} &&                                         \
-           ${RM} conf/.cvsignore* 2> /dev/null || ${TRUE};     \
-           ${RM} html/.cvsignore* 2> /dev/null || ${TRUE};     \
-           ${PAX} -rw -s "/html/ntp4/" html ${DOCDIR};         \
-           ${PAX} -rw -s "/conf/ntp4/" conf ${EXAMPLESDIR}
-       ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
-       ${CHMOD} -R ${SHAREMODE} ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
-       ${CHMOD} a+x ${DOCDIR}/ntp4 ${DOCDIR}/ntp4/hints ${DOCDIR}/ntp4/pic
-       ${CHMOD} a+x ${EXAMPLESDIR}/ntp4
+       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}; \
+           ${PAX} -rw -pe -s "/html/ntp4/" html ${DOCDIR};                     \
+           ${PAX} -rw -pe -s "/conf/ntp4/" conf ${EXAMPLESDIR}
 
 .include "../../mk/bsd.prefs.mk"
 



Home | Main Index | Thread Index | Old Index