pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc RCD_SCRIPTS_EXAMPLEDIR was just changed to be a relati...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8517662879df
branches:  trunk
changeset: 481763:8517662879df
user:      reed <reed%pkgsrc.org@localhost>
date:      Mon Oct 11 22:14:51 2004 +0000

description:
RCD_SCRIPTS_EXAMPLEDIR was just changed to be a relative directory
under ${PREFIX} instead of being an absolute path.

So fix the references using RCD_SCRIPTS_EXAMPLEDIR to be
${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}.

This should have no changes to use before.

Please note that the MESSAGE files in most cases are wrong in the
first place. We have automated mechanisms and could have an automated
message for explaining rc.d script usage. (This is something to do!)

diffstat:

 comms/fidogate/Makefile          |  4 ++--
 graphics/cambevao/Makefile       |  4 ++--
 inputmethod/canna-server/MESSAGE |  4 ++--
 mail/nullmailer/MESSAGE          |  4 ++--
 net/delegate/MESSAGE             |  4 ++--
 net/pure-ftpd/MESSAGE            |  4 ++--
 net/snort/MESSAGE                |  4 ++--
 security/nessus-core/MESSAGE     |  4 ++--
 security/sfs/MESSAGE             |  6 +++---
 sysutils/apcupsd/Makefile        |  4 ++--
 sysutils/bkpupsd/MESSAGE         |  4 ++--
 www/tinyproxy/MESSAGE            |  4 ++--
 www/wwwoffle/MESSAGE             |  8 ++++----
 x11/wdm/MESSAGE                  |  4 ++--
 x11/xfstt/MESSAGE                |  4 ++--
 15 files changed, 33 insertions(+), 33 deletions(-)

diffs (269 lines):

diff -r 354abf26d783 -r 8517662879df comms/fidogate/Makefile
--- a/comms/fidogate/Makefile   Mon Oct 11 22:04:19 2004 +0000
+++ b/comms/fidogate/Makefile   Mon Oct 11 22:14:51 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2004/08/23 15:18:02 tv Exp $
+# $NetBSD: Makefile,v 1.35 2004/10/11 22:14:52 reed Exp $
 #
 
 DISTNAME=      fidogate-4.4.9
@@ -62,7 +62,7 @@
        cd ${WRKSRC}/sendmail/mailer && ${INSTALL_DATA} ffx.m4 ftn.m4 \
                ${PREFIX}/share/fidogate/sendmail/mailer
        ${INSTALL_SCRIPT} ${WRKSRC}/scripts/maintenance/rc.fidogate \
-               ${RCD_SCRIPTS_EXAMPLEDIR}/fidogate
+               ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/fidogate
        ${INSTALL_DATA} ${WRKSRC}/doc/fidogate.txt ${PREFIX}/share/doc/fidogate
        ${INSTALL_DATA} ${WRKSRC}/fidogate.conf ${EGDIR}
 
diff -r 354abf26d783 -r 8517662879df graphics/cambevao/Makefile
--- a/graphics/cambevao/Makefile        Mon Oct 11 22:04:19 2004 +0000
+++ b/graphics/cambevao/Makefile        Mon Oct 11 22:14:51 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/10/03 00:14:49 tv Exp $
+# $NetBSD: Makefile,v 1.3 2004/10/11 22:14:52 reed Exp $
 #
 
 DISTNAME=              cambevao-2.0
@@ -21,7 +21,7 @@
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cambevao
        ${INSTALL_DATA} ${WRKSRC}/cambevao.xml ${PREFIX}/share/examples/cambevao
        ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cambevao.README
-       ${INSTALL_SCRIPT} ${WRKSRC}/cambevao.rc.d ${RCD_SCRIPTS_EXAMPLEDIR}/cambevao
+       ${INSTALL_SCRIPT} ${WRKSRC}/cambevao.rc.d ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/cambevao
 
 .include "../../graphics/jpeg/buildlink3.mk"
 .include "../../textproc/expat/buildlink3.mk"
diff -r 354abf26d783 -r 8517662879df inputmethod/canna-server/MESSAGE
--- a/inputmethod/canna-server/MESSAGE  Mon Oct 11 22:04:19 2004 +0000
+++ b/inputmethod/canna-server/MESSAGE  Mon Oct 11 22:14:51 2004 +0000
@@ -1,9 +1,9 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.3 2004/10/11 22:14:52 reed Exp $
 
 If you want Canna server to boot automatically, 
 
-       1) Copy ${RCD_SCRIPTS_EXAMPLEDIR}/canna to /etc/rc.d/.
+       1) Copy ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/canna to /etc/rc.d/.
        2) Add the following line to /etc/rc.conf.
 
                canna=YES       canna_flags="-u ${CANNA_USER}"
diff -r 354abf26d783 -r 8517662879df mail/nullmailer/MESSAGE
--- a/mail/nullmailer/MESSAGE   Mon Oct 11 22:04:19 2004 +0000
+++ b/mail/nullmailer/MESSAGE   Mon Oct 11 22:14:51 2004 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.3 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.4 2004/10/11 22:14:51 reed Exp $
 
 To use nullmailer, you will need to perform the following steps:
 
@@ -13,7 +13,7 @@
    ${PREFIX}/share/examples/nullmailer/mailer.conf
 
 3. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy
-   ${RCD_SCRIPTS_EXAMPLEDIR}/nullmailer to /etc/rc.d/nullmailer and add
+   ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/nullmailer to /etc/rc.d/nullmailer and add
 
        nullmailer=YES
 
diff -r 354abf26d783 -r 8517662879df net/delegate/MESSAGE
--- a/net/delegate/MESSAGE      Mon Oct 11 22:04:19 2004 +0000
+++ b/net/delegate/MESSAGE      Mon Oct 11 22:14:51 2004 +0000
@@ -1,7 +1,7 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.5 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.6 2004/10/11 22:14:51 reed Exp $
 
-Now copy the sample script in ${RCD_SCRIPTS_EXAMPLEDIR}/delegated to
+Now copy the sample script in ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/delegated to
 /etc/rc.d/delegated and edit it according to your needs.
 
 Don't forget to specify a correct e-mail address for ADMIN.
diff -r 354abf26d783 -r 8517662879df net/pure-ftpd/MESSAGE
--- a/net/pure-ftpd/MESSAGE     Mon Oct 11 22:04:19 2004 +0000
+++ b/net/pure-ftpd/MESSAGE     Mon Oct 11 22:14:51 2004 +0000
@@ -1,10 +1,10 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.3 2004/10/11 22:14:51 reed Exp $
 
 To use pure-ftpd, you will need to perform the following steps:
 
 1. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy
-   ${RCD_SCRIPTS_EXAMPLEDIR}/pure_ftpd to /etc/rc.d/pure_ftpd and add
+   ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/pure_ftpd to /etc/rc.d/pure_ftpd and add
 
        pure_ftpd=YES
 
diff -r 354abf26d783 -r 8517662879df net/snort/MESSAGE
--- a/net/snort/MESSAGE Mon Oct 11 22:04:19 2004 +0000
+++ b/net/snort/MESSAGE Mon Oct 11 22:14:51 2004 +0000
@@ -1,10 +1,10 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.3 2004/10/11 22:14:51 reed Exp $
 
 To use snort, you will need to perform the following steps:
 
 1. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy
-   ${RCD_SCRIPTS_EXAMPLEDIR}/snort to /etc/rc.d/snort and add
+   ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/snort to /etc/rc.d/snort and add
 
        snort=YES
 
diff -r 354abf26d783 -r 8517662879df security/nessus-core/MESSAGE
--- a/security/nessus-core/MESSAGE      Mon Oct 11 22:04:19 2004 +0000
+++ b/security/nessus-core/MESSAGE      Mon Oct 11 22:14:51 2004 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.6 2004/07/22 15:00:50 adam Exp $
+$NetBSD: MESSAGE,v 1.7 2004/10/11 22:14:51 reed Exp $
 
 Nessus may have placed some files in /var/nessus, ${PREFIX}/etc/nessus,
 ${PREFIX}/com/nessus and ${PREFIX}/lib/nessus/reports. If you do not need
@@ -16,7 +16,7 @@
 daemon.
 
 If you want to start nessusd automatically on system boot, please copy
-${RCD_SCRIPTS_EXAMPLEDIR}/nessusd to /etc/rc.d and set
+${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/nessusd to /etc/rc.d and set
 nessusd=YES in /etc/rc.conf.
 
 ===========================================================================
diff -r 354abf26d783 -r 8517662879df security/sfs/MESSAGE
--- a/security/sfs/MESSAGE      Mon Oct 11 22:04:19 2004 +0000
+++ b/security/sfs/MESSAGE      Mon Oct 11 22:14:51 2004 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.5 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.6 2004/10/11 22:14:51 reed Exp $
 
 Quick Client Setup:
 
@@ -7,7 +7,7 @@
 
 sfscd=YES
 
-2. Run: ${RCD_SCRIPTS_EXAMPLEDIR}/sfscd start
+2. Run: ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/sfscd start
 3. cd /sfs/sfs.fs.net:eu4cvv6wcnzscer98yn4qjpjnn9iv6pi
 4. cat CONGRATULATIONS
 
@@ -24,6 +24,6 @@
    ${PKG_SYSCONFDIR}/sfsrwsd_config and modify.
 4. Modify /etc/exports to match your sfsrwsd_config.
 5. Create the root directories in ${SFSDIR}/root.
-6. Run ${RCD_SCRIPTS_EXAMPLEDIR}/sfssd start
+6. Run ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/sfssd start
 
 ===========================================================================
diff -r 354abf26d783 -r 8517662879df sysutils/apcupsd/Makefile
--- a/sysutils/apcupsd/Makefile Mon Oct 11 22:04:19 2004 +0000
+++ b/sysutils/apcupsd/Makefile Mon Oct 11 22:14:51 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2004/10/03 00:18:14 tv Exp $
+# $NetBSD: Makefile,v 1.30 2004/10/11 22:14:51 reed Exp $
 
 DISTNAME=              apcupsd-3.8.6
 PKGREVISION=           2
@@ -96,7 +96,7 @@
        ${INSTALL_DATA} ${WRKDIR}/apcupsd.slave.conf \
                ${PREFIX}/share/examples/apcupsd
        ${INSTALL_SCRIPT} ${WRKSRC}/distributions/netbsd/apcupsd \
-               ${RCD_SCRIPTS_EXAMPLEDIR}
+               ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/apcupsd
 .for file in ${DOCS}
        ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/apcupsd
diff -r 354abf26d783 -r 8517662879df sysutils/bkpupsd/MESSAGE
--- a/sysutils/bkpupsd/MESSAGE  Mon Oct 11 22:04:19 2004 +0000
+++ b/sysutils/bkpupsd/MESSAGE  Mon Oct 11 22:14:51 2004 +0000
@@ -1,12 +1,12 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.4 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.5 2004/10/11 22:14:51 reed Exp $
 
 ${DOCDIR}/rc.conf.d.sample contains some shell variables
 for helping bkpupsd start up.
 
 Simple way to install NetBSD 1.5 or later is below.
 
-(1) Copy ${RCD_SCRIPTS_EXAMPLEDIR}/bkpupsd to ${RCD_SCRIPTS_DIR}/rc.d/bkpupsd.
+(1) Copy ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/bkpupsd to ${RCD_SCRIPTS_DIR}/rc.d/bkpupsd.
 (2) Append ${DOCDIR}/rc.conf.d.sample to /etc/rc.conf.
 (3) Edit /etc/rc.conf for your needs, serial device and UPS type for
     example.
diff -r 354abf26d783 -r 8517662879df www/tinyproxy/MESSAGE
--- a/www/tinyproxy/MESSAGE     Mon Oct 11 22:04:19 2004 +0000
+++ b/www/tinyproxy/MESSAGE     Mon Oct 11 22:14:51 2004 +0000
@@ -1,10 +1,10 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.3 2004/10/11 22:14:51 reed Exp $
 
 To use tinyproxy, you will need to perform the following steps:
 
 1. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy
-   ${RCD_SCRIPTS_EXAMPLEDIR}/tinyproxy to /etc/rc.d/tinyproxy and add
+   ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/tinyproxy to /etc/rc.d/tinyproxy and add
 
        tinyproxy=YES
 
diff -r 354abf26d783 -r 8517662879df www/wwwoffle/MESSAGE
--- a/www/wwwoffle/MESSAGE      Mon Oct 11 22:04:19 2004 +0000
+++ b/www/wwwoffle/MESSAGE      Mon Oct 11 22:14:51 2004 +0000
@@ -1,13 +1,13 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.4 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.5 2004/10/11 22:14:51 reed Exp $
 
 1) To enable "wwwwoffled" to start on boot on NetBSD-1.5 or newer,
-please copy "${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffled" to "/etc/rc.d/" and add
+please copy "${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffled" to "/etc/rc.d/" and add
 "wwwoffled=YES" to /etc/rc.conf. To do the same on older systems,
 add the following to /etc/rc.local:
 
-if [ -x ${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle ]; then
-    ${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle
+if [ -x ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle ]; then
+    ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle
 fi
 
 2) The hooks are present to to use the package version of "htdig",
diff -r 354abf26d783 -r 8517662879df x11/wdm/MESSAGE
--- a/x11/wdm/MESSAGE   Mon Oct 11 22:04:19 2004 +0000
+++ b/x11/wdm/MESSAGE   Mon Oct 11 22:14:51 2004 +0000
@@ -1,10 +1,10 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.3 2004/10/11 22:14:51 reed Exp $
 
 To use wdm, you will need to perform the following steps:
 
 1. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy
-   ${RCD_SCRIPTS_EXAMPLEDIR}/wdm to /etc/rc.d/wdm and add the following
+   ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/wdm to /etc/rc.d/wdm and add the following
    line into your /etc/rc.conf
 
        wdm=YES
diff -r 354abf26d783 -r 8517662879df x11/xfstt/MESSAGE
--- a/x11/xfstt/MESSAGE Mon Oct 11 22:04:19 2004 +0000
+++ b/x11/xfstt/MESSAGE Mon Oct 11 22:14:51 2004 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.5 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.6 2004/10/11 22:14:51 reed Exp $
 
 To use xfstt, you will need to perform the following steps:
 
@@ -10,7 +10,7 @@
        ${PREFIX}/lib/X11/fonts/TTF/
 
 2. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy
-   ${RCD_SCRIPTS_EXAMPLEDIR}/xfstt to /etc/rc.d/xfstt and add the following
+   ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/xfstt to /etc/rc.d/xfstt and add the following
    line into your /etc/rc.conf
 
        xfstt=YES



Home | Main Index | Thread Index | Old Index