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!)
This commit is contained in:
parent
15fee44a6c
commit
62071c8b2f
15 changed files with 33 additions and 33 deletions
|
@ -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 @@ post-install:
|
|||
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}
|
||||
|
||||
|
|
|
@ -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 @@ post-install:
|
|||
${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"
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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 @@ To use nullmailer, you will need to perform the following steps:
|
|||
${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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 @@ nessus daemon, nessusd, and use the "nessus" GUI program to direct the
|
|||
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.
|
||||
|
||||
===========================================================================
|
||||
|
|
|
@ -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 @@ Quick Client Setup:
|
|||
|
||||
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 @@ sfssd=YES
|
|||
${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
|
||||
|
||||
===========================================================================
|
||||
|
|
|
@ -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 @@ post-install:
|
|||
${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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 @@ To use xfstt, you will need to perform the following steps:
|
|||
${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
|
||||
|
|
Loading…
Reference in a new issue