summaryrefslogtreecommitdiff
path: root/www/squid/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'www/squid/pkg-install')
-rw-r--r--www/squid/pkg-install41
1 files changed, 0 insertions, 41 deletions
diff --git a/www/squid/pkg-install b/www/squid/pkg-install
deleted file mode 100644
index f2088a460b3a..000000000000
--- a/www/squid/pkg-install
+++ /dev/null
@@ -1,41 +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 "==> 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
- read skip
- 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
- [ -f ${PREFIX:-/usr/local}/etc/squid/mime.conf ] || \
- cp -fp ${PREFIX:-/usr/local}/etc/squid/mime.conf.default \
- ${PREFIX:-/usr/local}/etc/squid/mime.conf
- ${EDITOR:-vi} ${PREFIX:-/usr/local}/etc/squid/squid.conf \
- ${PREFIX:-/usr/local}/etc/squid/mime.conf
- ;;
- *)
- echo "Unexpected Argument $2!!!"
- exit 1
- ;;
-esac
-exit 0
-