aboutsummaryrefslogtreecommitdiff
path: root/www/squid31/pkg-install
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2004-02-14 07:18:35 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2004-02-14 07:18:35 +0000
commit00535086d3a922b17e2beead589f92e6cd585ff8 (patch)
tree39749b1efaaad8c42f3be50320a00cac0799aacc /www/squid31/pkg-install
parentb6deb36621300a80aab2d23031a1a259f9b0ce01 (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_2_1'.release/5.2.1
Notes
Notes: svn path=/head/; revision=100899 svn path=/tags/RELEASE_5_2_1/; revision=100900; tag=release/5.2.1
Diffstat (limited to 'www/squid31/pkg-install')
-rw-r--r--www/squid31/pkg-install44
1 files changed, 0 insertions, 44 deletions
diff --git a/www/squid31/pkg-install b/www/squid31/pkg-install
deleted file mode 100644
index 7efd84949fd2..000000000000
--- a/www/squid31/pkg-install
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-
-PKGNAME=$1
-
-case $2 in
- PRE-INSTALL)
- ;;
- POST-INSTALL)
- echo "==> Post-installation configuration of ${PKGNAME}"
- echo ""
- echo " o you DO need running nameservice to start and run ${PKGNAME}"
- echo ""
- echo " o use the ${PKGNAME} proxy and caching WWW Server by"
- echo " configuring your WWW Navigator (Netscape, Mosaic,...)"
- echo " to use it as a proxy server."
- echo ""
- echo " o Note that before you can run ${PKGNAME} you will"
- echo " need to initialise the cache directory."
- echo " You can do this by typing \"squid -z\"."
- echo ""
- echo "==> Press Enter to edit the ${PKGNAME} config file."
- echo " (The defaults are reasonable; and the file is well commented)"
- tput md
- echo " You'd certainly like to pay attention to the"
- echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!"
- tput me
- if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi
- chown root:wheel ${PREFIX}/etc/squid/squid.conf*
- chmod 644 ${PREFIX}/etc/squid/squid.conf*
- [ -f ${PREFIX}/etc/squid/squid.conf ] || \
- cp -fp ${PREFIX}/etc/squid/squid.conf.default \
- ${PREFIX}/etc/squid/squid.conf
- [ -f ${PREFIX}/etc/squid/mime.conf ] || \
- cp -fp ${PREFIX}/etc/squid/mime.conf.default \
- ${PREFIX}/etc/squid/mime.conf
- ${EDITOR:-vi} ${PREFIX}/etc/squid/squid.conf \
- ${PREFIX}/etc/squid/mime.conf
- ;;
- *)
- echo "Unexpected Argument $2!!!"
- exit 1
- ;;
-esac
-exit 0