From f9a9561a7c21d3109b02135f611cc2f652d7aa46 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Mon, 3 Jun 1996 02:21:13 +0000 Subject: A post-harvest www cache proxy. Submitted by: Andrew V. Stesin and Peter Stubbs --- www/squid25/pkg-install | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 www/squid25/pkg-install (limited to 'www/squid25/pkg-install') diff --git a/www/squid25/pkg-install b/www/squid25/pkg-install new file mode 100644 index 000000000000..e476199106d7 --- /dev/null +++ b/www/squid25/pkg-install @@ -0,0 +1,36 @@ +#!/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 " 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,...)" + 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)" + echo " You'd probably like to pay attention to the" + echo " ACTUAL locations of BOTH cache \"spool\" AND logfiles." + read skip + chown root:wheel ${PREFIX:-/usr/local}/etc/squid.conf* + chmod 644 ${PREFIX:-/usr/local}/etc/squid.conf* + ${EDITOR:-vi} ${PREFIX:-/usr/local}/etc/squid.conf + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 + -- cgit v1.2.3