squid 3.4.14: latest patches, sorted options

The 'configure'-options were sorted (kind of) to get a better overview.

Added latest patches from upstream.

Changed '--enable-async-io=8' to '--enable-async-io=16' because of
http://www.squid-cache.org/mail-archive/squid-users/200705/0768.html :

"The default number of threads is dependent on the number of aufs
cache_dir lines, based on a reasonable estimate of how the code behaves."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Matthias Fischer
2016-04-26 18:50:14 +02:00
committed by Michael Tremer
parent 916cf307b1
commit 198c39265b
4 changed files with 420 additions and 12 deletions

View File

@@ -75,6 +75,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.4-13230.patch
cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.4-13231.patch
cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.4-13232.patch
cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.4-13233.patch
cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.4-13234.patch
cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.4-13235.patch
cd $(DIR_APP) && autoreconf -vfi
cd $(DIR_APP)/libltdl && autoreconf -vfi
@@ -85,11 +89,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
--mandir=/usr/share/man \
--libexecdir=/usr/lib/squid \
--localstatedir=/var \
--disable-ipv6 \
--disable-ssl \
--enable-poll \
--disable-icmp \
--disable-wccp \
--disable-wccpv2 \
--disable-kqueue \
--disable-esi \
--disable-arch-native \
--disable-ipv6 \
--enable-poll \
--enable-ident-lookups \
--enable-storeio="aufs,diskd,ufs" \
--enable-underscores \
@@ -107,26 +115,22 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
--enable-url-rewrite-helpers \
--enable-build-info \
--enable-eui \
--with-pthreads \
--with-dl \
--with-filedescriptors=$$(( 16384 * 64 )) \
--with-large-files \
--with-aio \
--enable-async-io=8 \
--enable-async-io=16 \
--enable-unlinkd \
--enable-internal-dns \
--enable-epoll \
--disable-kqueue \
--enable-select \
--enable-cache-digests \
--enable-forw-via-db \
--enable-htcp \
--enable-kill-parent-hack \
--disable-wccpv2 \
--enable-icap-client \
--disable-esi \
--enable-zph-qos \
--disable-arch-native
--with-pthreads \
--with-dl \
--with-filedescriptors=$$(( 16384 * 64 )) \
--with-large-files \
--with-aio
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install