head	1.7;
access;
symbols
	RELEASE_4_4_0:1.6
	RELEASE_4_3_0:1.6
	RELEASE_4_2_0:1.6
	RELEASE_4_1_1:1.6
	RELEASE_4_1_0:1.6
	RELEASE_3_5_0:1.6
	RELEASE_4_0_0:1.6
	RELEASE_3_4_0:1.6
	RELEASE_3_3_0:1.6
	RELEASE_3_2_0:1.5
	RELEASE_3_1_0:1.5
	RELEASE_2_2_8:1.5
	RELEASE_3_0_0:1.5
	RELEASE_2_2_7:1.5
	RELEASE_2_2_6:1.5
	RELEASE_2_2_5:1.3
	RELEASE_2_2_1:1.3
	RELEASE_2_2_2:1.3
	squid_1_0b11:1.1.1.1
	SQUID:1.1.1;
locks; strict;
comment	@# @;


1.7
date	2001.10.03.10.48.04;	author adrian;	state dead;
branches;
next	1.6;

1.6
date	99.06.22.17.21.59;	author steve;	state Exp;
branches;
next	1.5;

1.5
date	97.12.20.10.34.32;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	97.12.06.12.28.09;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	96.11.06.16.37.23;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	96.07.10.21.50.14;	author asami;	state Exp;
branches;
next	1.1;

1.1
date	96.06.03.02.21.13;	author asami;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.06.03.02.21.13;	author asami;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Properly delete the squid23 port. Oops.
@
text
@#!/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
	if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi
	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

@


1.6
log
@Don't require interaction on install while PACKAGE_BUILDING.
@
text
@@


1.5
log
@Unteach pkg/INSTALL about the fictitious mib.txt.default too. :-]
@
text
@d23 1
a23 1
	read skip
@


1.4
log
@Initial squid 1.2beta8 port.  As the squid www page says:
"We are currently in a beta-test period for Squid-1.2. If you like
seeing Squid coredump frequently, please join us!"

"This is BETA software. Do not run this on your production systems.
Logfile formats are subject (and likely) to change at any time without
warning.

Here is a brief list of the major features of this version:
   HTTP/1.1 persisitent connections.
   Lower VM usage; in-transit objects are not held fully in memory.
   Totally independent swap directories.
   Customizable error texts.
   FTP supported internally; no more ftpget.
   Asynchronous disk operations (optional, requires pthreads library).
   Internal icons for FTP and gopher directories.
   snprintf() used everywhere instead of sprintf().
   ...and many more!
"
As well, there is support for using MD5 or SHA hashes of URL's in the
cache index for space (and speed?) savings, SNMP support, poll(2) is
used by default, etc.

Please see  http://squid.nlanr.net/Squid/1.2.beta/  before using.
@
text
@d32 2
a33 4
	[ -f ${PREFIX:-/usr/local}/etc/squid/mib.txt ] || \
		cp -fp	${PREFIX:-/usr/local}/etc/squid/mib.txt.default \
			${PREFIX:-/usr/local}/etc/squid/mib.txt
	${EDITOR:-vi} ${PREFIX:-/usr/local}/etc/squid/squid.conf
@


1.3
log
@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.
@
text
@d29 6
@


1.2
log
@Upgrade from 1.0 beta11 to 1.0 release.

Submitted by:	Andrew Stesin <stesin@@elvisti.kiev.ua>
@
text
@a11 4
	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) &"
d24 6
a29 6
	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
@


1.1
log
@Initial revision
@
text
@d23 4
a26 2
	echo "    You'd probably like to pay attention to the"
	echo "    ACTUAL locations of BOTH cache \"spool\" AND logfiles."
d30 3
@


1.1.1.1
log
@A post-harvest www cache proxy.

Submitted by:	Andrew V. Stesin <stesin@@elvisti.kiev.ua> and Peter Stubbs <PETERS@@staidan.qld.edu.au>
@
text
@@
