aboutsummaryrefslogtreecommitdiff
path: root/www/squid25/pkg-install
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-11-06 16:37:26 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-11-06 16:37:26 +0000
commita6d6133eb72fcd6b8e86a25adeb96df2174b83e1 (patch)
treec0f8e957cc2d4ccbd4c9df42903cc906fe942f7d /www/squid25/pkg-install
parent2ce979f7dae8d9aafd1668b37c6141624b426600 (diff)
downloadports-a6d6133eb72fcd6b8e86a25adeb96df2174b83e1.tar.gz
ports-a6d6133eb72fcd6b8e86a25adeb96df2174b83e1.zip
Notes
Diffstat (limited to 'www/squid25/pkg-install')
-rw-r--r--www/squid25/pkg-install16
1 files changed, 6 insertions, 10 deletions
diff --git a/www/squid25/pkg-install b/www/squid25/pkg-install
index 8f5ca748d66f..d85e7bbe68b7 100644
--- a/www/squid25/pkg-install
+++ b/www/squid25/pkg-install
@@ -9,10 +9,6 @@ case $2 in
echo "==> Post-installation configuration of ${PKGNAME}"
echo ""
echo " o you DO need running nameservice to start and run ${PKGNAME}"
- echo " o add the following line to /etc/rc.local to start"
- echo " ${PKGNAME} automatically:"
- echo ""
- echo " (cd /tmp; exec ${PREFIX:-/usr/local}/bin/RunCache) &"
echo ""
echo " o use the ${PKGNAME} proxy and caching WWW Server by"
echo " configuring your WWW Navigator (Netscape, Mosaic,...)"
@@ -25,12 +21,12 @@ case $2 in
echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!"
tput me
read skip
- chown root:wheel ${PREFIX:-/usr/local}/etc/squid.conf*
- chmod 644 ${PREFIX:-/usr/local}/etc/squid.conf*
- [ -f ${PREFIX:-/usr/local}/etc/squid.conf ] || \
- cp -fp ${PREFIX:-/usr/local}/etc/squid.conf.default \
- ${PREFIX:-/usr/local}/etc/squid.conf
- ${EDITOR:-vi} ${PREFIX:-/usr/local}/etc/squid.conf
+ chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf*
+ chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf*
+ [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \
+ cp -fp ${PREFIX:-/usr/local}/etc/squid/squid.conf.default \
+ ${PREFIX:-/usr/local}/etc/squid/squid.conf
+ ${EDITOR:-vi} ${PREFIX:-/usr/local}/etc/squid/squid.conf
;;
*)
echo "Unexpected Argument $2!!!"