summaryrefslogtreecommitdiff
path: root/www/squid22/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/squid22/pkg-install
parentUpgrade to version 3.2 (diff)
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.
Notes
Notes: svn path=/head/; revision=4314
Diffstat (limited to 'www/squid22/pkg-install')
-rw-r--r--www/squid22/pkg-install16
1 files changed, 6 insertions, 10 deletions
diff --git a/www/squid22/pkg-install b/www/squid22/pkg-install
index 8f5ca748d66f..d85e7bbe68b7 100644
--- a/www/squid22/pkg-install
+++ b/www/squid22/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!!!"