summaryrefslogtreecommitdiffstats
path: root/www/squid27/pkg-install
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-11-06 16:37:26 +0000
committerpeter <peter@FreeBSD.org>1996-11-06 16:37:26 +0000
commit2acfbc7f7127972c002d3eb821c2fa5063e371a9 (patch)
tree35b4ca552c9c179c6911cc77901c627d4681254e /www/squid27/pkg-install
parent283abde7cd945e9792af69d7cc235599317def47 (diff)
downloadFreeBSD-ports-2acfbc7f7127972c002d3eb821c2fa5063e371a9.zip
FreeBSD-ports-2acfbc7f7127972c002d3eb821c2fa5063e371a9.tar.gz
Update from squid-1.0.0 to 1.0.20. There are a large number of bug fixes
and stability measures. This port installs in a "FreeBSD-native" tree (like apache) rather than with a mini hierarchy under /usr/local/squid/{bin,etc,cache,logs,...} (the default behavior seems to have changed between 1.0.0 and 1.0.20) Also, build a rc.d/squid.sh script.
Diffstat (limited to 'www/squid27/pkg-install')
-rw-r--r--www/squid27/pkg-install16
1 files changed, 6 insertions, 10 deletions
diff --git a/www/squid27/pkg-install b/www/squid27/pkg-install
index 8f5ca74..d85e7bb 100644
--- a/www/squid27/pkg-install
+++ b/www/squid27/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!!!"
OpenPOWER on IntegriCloud