# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: squid,v 1.4.2.21 2005/10/24 22:19:58 gespinasse Exp $
-# #
###############################################################################
###############################################################################
include Config
-VER = 2.5.STABLE12
+VER = 2.6.STABLE3
THISAPP = squid-$(VER)
DL_FILE = $(THISAPP).tar.bz2
-DL_FROM = http://www.squid-cache.org/Versions/v2/2.5
+DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 7354255015b3772a1e024dfac173e48c
+$(DL_FILE)_MD5 = 5b181e9c08f35d098e53e54b01fbd092
install : $(TARGET)
--datadir=/usr/lib/squid \
--mandir=/usr/share/man --libexecdir=/usr/lib/squid \
--localstatedir=/var --sysconfdir=/etc/squid \
- --disable-poll --disable-snmp --disable-icmp \
+ --disable-poll --disable-snmp --disable-icmp --disable-wccp \
--disable-http-violations --disable-ident-lookups \
--enable-storeio="aufs,coss,diskd,ufs" --enable-ssl \
- --enable-underscores --enable-ntlm-fail-open \
+ --enable-underscores --enable-ntlm-fail-open --enable-arp-acl \
+ --enable-http-violations --enable-auth=basic,ntlm \
--enable-removal-policies="heap,lru" \
--enable-delay-pools --enable-linux-netfilter \
- --enable-basic-auth-helpers="NCSA,SMB,MSNT" \
- --enable-ntlm-auth-helpers="SMB,winbind" \
+ --enable-basic-auth-helpers="NCSA,SMB,MSNT,LDAP,multi-domain-NTLM" \
+ --enable-ntlm-auth-helpers="SMB" \
--enable-useragent-log \
--enable-referer-log \
- --with-pthreads
- cd $(DIR_APP) && make -j 3
+ --with-pthreads --with-dl
+
+ cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
rm -f /etc/squid/squid.conf