Skip to content

Commit

Permalink
Fix references to rc.d scripts. This package uses RCD_SCRIPTS
Browse files Browse the repository at this point in the history
which installs to ${RCD_SCRIPTS_EXAMPLEDIR}. But the MESSAGE
referred to wrong hard-coded location if the RCD_SCRIPTS_EXAMPLEDIR
was not the default. So use RCD_SCRIPTS_EXAMPLEDIR instead.

PKGREVISION not bumped because if someone had changed
RCD_SCRIPTS_EXAMPLEDIR before recent change of autoregistration
of rc.d script in PLIST, then it could not have been packaged
in first place.

Note that this commit does not imply that the MESSAGE is correct.
In some cases, the MESSAGE is clearly wrong such as suggesting
running the rc.d script from the example directory (which will work
although).
  • Loading branch information
reedjc committed Apr 23, 2004
1 parent 6c929c0 commit 2d4122d
Show file tree
Hide file tree
Showing 14 changed files with 31 additions and 31 deletions.
4 changes: 2 additions & 2 deletions inputmethod/canna-server/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2003/09/23 15:14:55 uebayasi Exp $
$NetBSD: MESSAGE,v 1.2 2004/04/23 22:43:20 reed Exp $

If you want Canna server to boot automatically,

1) Copy ${PREFIX}/etc/rc.d/canna to /etc/rc.d/.
1) Copy ${RCD_SCRIPTS_EXAMPLEDIR}/canna to /etc/rc.d/.
2) Add the following line to /etc/rc.conf.

canna=YES canna_flags="-u ${CANNA_USER}"
Expand Down
4 changes: 2 additions & 2 deletions mail/exim/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
===========================================================================
$NetBSD: MESSAGE,v 1.5 2004/02/13 23:46:25 snj Exp $
$NetBSD: MESSAGE,v 1.6 2004/04/23 22:43:20 reed Exp $

To use exim, you will need to perform the following steps manually; it is
inappropriate for this package to make the changes for you.
Expand All @@ -11,7 +11,7 @@ inappropriate for this package to make the changes for you.
Copy ${EXAMPLESDIR}/mailer.conf to /etc/mailer.conf.
4. Set 'sendmail=NO', 'exim=YES' and exim_flags to some sane value in
/etc/rc.conf (previously it was "-bd -q15m").
Copy ${PREFIX}/etc/rc.d/exim to /etc/rc.d.
Copy ${RCD_SCRIPTS_EXAMPLEDIR}/exim to /etc/rc.d.
5. Configuring log rotation is dependent on personal taste and the version
of NetBSD in use. See weekly.conf(5), newsyslog(8), exicyclog and
eximstats.
Expand Down
4 changes: 2 additions & 2 deletions mail/nullmailer/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
===========================================================================
$NetBSD: MESSAGE,v 1.2 2003/02/17 05:20:20 salo Exp $
$NetBSD: MESSAGE,v 1.3 2004/04/23 22:43:20 reed Exp $

To use nullmailer, you will need to perform the following steps:

Expand All @@ -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
${PREFIX}etc/rc.d/nullmailer to /etc/rc.d/nullmailer and add
${RCD_SCRIPTS_EXAMPLEDIR}/nullmailer to /etc/rc.d/nullmailer and add

nullmailer=YES

Expand Down
4 changes: 2 additions & 2 deletions mail/teapop/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
===========================================================================
$NetBSD: MESSAGE,v 1.4 2002/07/15 22:57:28 heinz Exp $
$NetBSD: MESSAGE,v 1.5 2004/04/23 22:43:20 reed Exp $

You may also wish to:
cp ${PREFIX}/etc/rc.d/teapop /etc/rc.d/teapop
cp ${RCD_SCRIPTS_EXAMPLEDIR}/teapop /etc/rc.d/teapop
echo "teapop=YES" >> /etc/rc.conf

===========================================================================
4 changes: 2 additions & 2 deletions net/delegate/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
===========================================================================
$NetBSD: MESSAGE,v 1.4 2003/07/30 11:37:01 jmmv Exp $
$NetBSD: MESSAGE,v 1.5 2004/04/23 22:43:20 reed Exp $

Now copy the sample script in ${PREFIX}/etc/rc.d/delegated to
Now copy the sample script in ${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.
Expand Down
4 changes: 2 additions & 2 deletions net/pure-ftpd/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2003/07/12 14:43:08 salo Exp $
$NetBSD: MESSAGE,v 1.2 2004/04/23 22:43:20 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
${PREFIX}/etc/rc.d/pure_ftpd to /etc/rc.d/pure_ftpd and add
${RCD_SCRIPTS_EXAMPLEDIR}/pure_ftpd to /etc/rc.d/pure_ftpd and add

pure_ftpd=YES

Expand Down
4 changes: 2 additions & 2 deletions net/snort/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2003/03/04 01:02:25 salo Exp $
$NetBSD: MESSAGE,v 1.2 2004/04/23 22:43:20 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
${PREFIX}/etc/rc.d/snort to /etc/rc.d/snort and add
${RCD_SCRIPTS_EXAMPLEDIR}/snort to /etc/rc.d/snort and add

snort=YES

Expand Down
6 changes: 3 additions & 3 deletions security/sfs/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
===========================================================================
$NetBSD: MESSAGE,v 1.4 2003/09/08 13:38:12 itojun Exp $
$NetBSD: MESSAGE,v 1.5 2004/04/23 22:43:20 reed Exp $

Quick Client Setup:

1. Add to /etc/rc.conf:

sfscd=YES

2. Run: ${PREFIX}/etc/rc.d/sfscd start
2. Run: ${RCD_SCRIPTS_EXAMPLEDIR}/sfscd start
3. cd /sfs/sfs.fs.net:eu4cvv6wcnzscer98yn4qjpjnn9iv6pi
4. cat CONGRATULATIONS

Expand All @@ -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 ${PREFIX}/etc/rc.d/sfssd start
6. Run ${RCD_SCRIPTS_EXAMPLEDIR}/sfssd start

===========================================================================
4 changes: 2 additions & 2 deletions sysutils/bkpupsd/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
===========================================================================
$NetBSD: MESSAGE,v 1.3 2003/07/31 11:07:30 jmmv Exp $
$NetBSD: MESSAGE,v 1.4 2004/04/23 22:43:20 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 ${PREFIX}/etc/rc.d/bkpupsd to ${RCD_SCRIPTS_DIR}/rc.d/bkpupsd.
(1) Copy ${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.
Expand Down
4 changes: 2 additions & 2 deletions www/jakarta-tomcat/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
===========================================================================
$NetBSD: MESSAGE,v 1.3 2002/12/28 21:09:15 jlam Exp $
$NetBSD: MESSAGE,v 1.4 2004/04/23 22:43:20 reed Exp $

For detailed instructions on how to run Tomcat, either as a
standalone server or in conjunction with Apache (using the
Expand All @@ -13,6 +13,6 @@ For more information on application development with Tomcat, see

Note that tomcat may be started with the following command:

${PREFIX}/etc/rc.d/tomcat start
${RCD_SCRIPTS_EXAMPLEDIR}/tomcat start

===========================================================================
4 changes: 2 additions & 2 deletions www/tinyproxy/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2003/03/07 23:46:01 salo Exp $
$NetBSD: MESSAGE,v 1.2 2004/04/23 22:43:20 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
${PREFIX}/etc/rc.d/tinyproxy to /etc/rc.d/tinyproxy and add
${RCD_SCRIPTS_EXAMPLEDIR}/tinyproxy to /etc/rc.d/tinyproxy and add

tinyproxy=YES

Expand Down
8 changes: 4 additions & 4 deletions www/wwwoffle/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
===========================================================================
$NetBSD: MESSAGE,v 1.3 2002/09/24 12:30:51 wiz Exp $
$NetBSD: MESSAGE,v 1.4 2004/04/23 22:43:20 reed Exp $

1) To enable "wwwwoffled" to start on boot on NetBSD-1.5 or newer,
please copy "${PREFIX}/etc/rc.d/wwwoffled" to "/etc/rc.d/" and add
please copy "${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 ${PREFIX}/etc/rc.d/wwwoffle ]; then
${PREFIX}/etc/rc.d/wwwoffle
if [ -x ${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle ]; then
${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle
fi

2) The hooks are present to to use the package version of "htdig",
Expand Down
4 changes: 2 additions & 2 deletions x11/wdm/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2003/02/23 17:33:31 salo Exp $
$NetBSD: MESSAGE,v 1.2 2004/04/23 22:43:20 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
${PREFIX}/etc/rc.d/wdm to /etc/rc.d/wdm and add the following
${RCD_SCRIPTS_EXAMPLEDIR}/wdm to /etc/rc.d/wdm and add the following
line into your /etc/rc.conf

wdm=YES
Expand Down
4 changes: 2 additions & 2 deletions x11/xfstt/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
===========================================================================
$NetBSD: MESSAGE,v 1.4 2004/01/25 20:46:19 wiz Exp $
$NetBSD: MESSAGE,v 1.5 2004/04/23 22:43:20 reed Exp $

To use xfstt, you will need to perform the following steps:

Expand All @@ -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
${PREFIX}/etc/rc.d/xfstt to /etc/rc.d/xfstt and add the following
${RCD_SCRIPTS_EXAMPLEDIR}/xfstt to /etc/rc.d/xfstt and add the following
line into your /etc/rc.conf

xfstt=YES
Expand Down

0 comments on commit 2d4122d

Please sign in to comment.