diff options
author | peter <peter@FreeBSD.org> | 1996-11-07 00:37:26 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-11-07 00:37:26 +0800 |
commit | 2acfbc7f7127972c002d3eb821c2fa5063e371a9 (patch) | |
tree | 35b4ca552c9c179c6911cc77901c627d4681254e /www/squid27/pkg-install | |
parent | 283abde7cd945e9792af69d7cc235599317def47 (diff) | |
download | freebsd-ports-gnome-2acfbc7f7127972c002d3eb821c2fa5063e371a9.tar.gz freebsd-ports-gnome-2acfbc7f7127972c002d3eb821c2fa5063e371a9.tar.zst freebsd-ports-gnome-2acfbc7f7127972c002d3eb821c2fa5063e371a9.zip |
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-install | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/www/squid27/pkg-install b/www/squid27/pkg-install index 8f5ca748d66f..d85e7bbe68b7 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!!!" |