From a4228a753ab8dd01000d6d4477a87dbce925d53b Mon Sep 17 00:00:00 2001 From: naddy Date: Thu, 23 Oct 2003 00:30:01 +0000 Subject: [PATCH] /usr/local -> ${PREFIX} From: Xavier Santolaria --- comms/hylafax/pkg/MESSAGE | 2 +- mail/imap-uw/pkg/MESSAGE | 10 +++++----- security/stel/pkg/MESSAGE | 2 +- sysutils/LPRng/pkg/MESSAGE | 4 ++-- sysutils/nut/pkg/MESSAGE | 8 ++++---- www/mod_frontpage/pkg/MESSAGE | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/comms/hylafax/pkg/MESSAGE b/comms/hylafax/pkg/MESSAGE index 954f640d4ac..77d165a96d0 100644 --- a/comms/hylafax/pkg/MESSAGE +++ b/comms/hylafax/pkg/MESSAGE @@ -14,7 +14,7 @@ Setting up: (for the impatient) For accepting incoming FAX/data calls, modify /etc/ttys(5) to contain something like this: - cua00 "/usr/local/sbin/faxgetty" dialup on + cua00 "${PREFIX}/sbin/faxgetty" dialup on and send a SIGHUP to init(8). diff --git a/mail/imap-uw/pkg/MESSAGE b/mail/imap-uw/pkg/MESSAGE index 24bfbd475c6..56495f52398 100644 --- a/mail/imap-uw/pkg/MESSAGE +++ b/mail/imap-uw/pkg/MESSAGE @@ -1,16 +1,16 @@ The ipop2d, ipop3d, and imapd daemons should be invoked by your /etc/inetd.conf file with lines such as: - pop2 stream tcp nowait root /usr/local/libexec/ipop2d ipop2d - pop3 stream tcp nowait root /usr/local/libexec/ipop3d ipop3d - imap stream tcp nowait root /usr/local/libexec/imapd imapd + pop2 stream tcp nowait root ${PREFIX}/libexec/ipop2d ipop2d + pop3 stream tcp nowait root ${PREFIX}/libexec/ipop3d ipop3d + imap stream tcp nowait root ${PREFIX}/libexec/imapd imapd To use SSL as default transport you need to add the lines below to /etc/inetd.conf. - pop3s stream tcp nowait root /usr/local/libexec/ipop3d ipop3d - imaps stream tcp nowait root /usr/local/libexec/imapd imapd + pop3s stream tcp nowait root ${PREFIX}/libexec/ipop3d ipop3d + imaps stream tcp nowait root ${PREFIX}/libexec/imapd imapd You also need to install files containing an RSA certificate and private key to /etc/ssl/ipop3d.pem and /etc/ssl/imapd.pem. See ssl(8) for how to do this. diff --git a/security/stel/pkg/MESSAGE b/security/stel/pkg/MESSAGE index 4c0d5a629ec..d02f1415b8d 100644 --- a/security/stel/pkg/MESSAGE +++ b/security/stel/pkg/MESSAGE @@ -6,5 +6,5 @@ stel 10005/tcp # Secure Telnet and something like this to /etc/inetd.conf -stel stream tcp nowait root /usr/local/sbin/steld steld -t 28800 +stel stream tcp nowait root ${PREFIX}/sbin/steld steld -t 28800 diff --git a/sysutils/LPRng/pkg/MESSAGE b/sysutils/LPRng/pkg/MESSAGE index 24cc2f02165..4a5964103f3 100644 --- a/sysutils/LPRng/pkg/MESSAGE +++ b/sysutils/LPRng/pkg/MESSAGE @@ -8,8 +8,8 @@ To activate the new printing system do the following: - add the following lines to /etc/rc.local: -if [ -x /usr/local/sbin/lpd ]; then - echo -n ' LPRng'; /usr/local/sbin/lpd +if [ -x ${PREFIX}/sbin/lpd ]; then + echo -n ' LPRng'; ${PREFIX}/sbin/lpd fi - reboot or kill the old lpd and start the new one diff --git a/sysutils/nut/pkg/MESSAGE b/sysutils/nut/pkg/MESSAGE index 45ebc67eddf..4fc7d19cfb8 100644 --- a/sysutils/nut/pkg/MESSAGE +++ b/sysutils/nut/pkg/MESSAGE @@ -5,11 +5,11 @@ | following block can be added to your /etc/rc.local file to start nut. | | # Start Nut -| if [ -x /usr/local/bin/upsdrvctl ]; then +| if [ -x ${PREFIX}/bin/upsdrvctl ]; then | echo -n ' nut' -| /usr/local/bin/upsdrvctl start > /dev/null -| /usr/local/sbin/upsd > /dev/null 2>&1 -| /usr/local/sbin/upsmon > /dev/null 2>&1 +| ${PREFIX}/bin/upsdrvctl start > /dev/null +| ${PREFIX}/sbin/upsd > /dev/null 2>&1 +| ${PREFIX}/sbin/upsmon > /dev/null 2>&1 | fi | | You may also be interested in the "-i" flag to upsd, see upsd(8). diff --git a/www/mod_frontpage/pkg/MESSAGE b/www/mod_frontpage/pkg/MESSAGE index 3000acd568f..f78cbdd394c 100755 --- a/www/mod_frontpage/pkg/MESSAGE +++ b/www/mod_frontpage/pkg/MESSAGE @@ -15,8 +15,8 @@ | installed using the following instructions. | | # ftp ftp://ftp.microsoft.com/products/frontpage/fp50.bsdi.tar.Z -| # tar -C /usr/local -xzpvf fp50.bsdi.tar.Z -| # cd /usr/local/frontpage/version5.0 +| # tar -C ${PREFIX} -xzpvf fp50.bsdi.tar.Z +| # cd ${PREFIX}/frontpage/version5.0 | # dd if=/dev/arandom of=apache-fp/suidkey bs=129 count=1 | # sh set_default_perms.sh | # find . -type f -perm -4000 -exec chmod u-s {} \;