#Installation of squid-2.5.STABLE5
#mef 14/12/04

# First make sure that you have the distribution and
# the necessary patch files in an appropriate place.
# We use /usr/local/src.
# You will need:
#     squid-2.5.STABLE5.tar.gz
#     wccpv2-L2.patch

# unpack the distribution
cd /usr/local/src
umask 22
gzcat squid-2.5.STABLE5.tar.gz | tar xf -

# We are running transparent proxying with Layer2
# redirection to avoid the use of GRE tunnels so
# we need to apply the wccpv2-L2 patch. This is a
# locally hacked and enhanced version of the patch
# referenced in the squid faq.

cd /usr/local/src/squid-2.5.STABLE5
patch -b -p1 < ../wccpv2-L2.patch

./configure \
--prefix=/usr/local/squid-2.5.STABLE5 \
--enable-snmp \
--enable-cache-digests \
--enable-kill-parent-hack \
--enable-basic-auth-helpers=LDAP \
--enable-wccpv2

make

#now we can do the install...

make install
