]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/squid
proxy: Set number of file descriptors much higher.
[people/teissler/ipfire-2.x.git] / lfs / squid
index bc0ef7162f8c5bd9b9d19788734b50bac9f331d4..1c17c0c3b81c400c1a92821334877bdb88da0d34 100644 (file)
--- a/lfs/squid
+++ b/lfs/squid
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 3.3.9
+VER        = 3.3.10
 
 THISAPP    = squid-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 6c4ba0d63c3a6d94de2da689f361cdab
+$(DL_FILE)_MD5 = 28058812d722cac303517a643e28bcb0
 
 install : $(TARGET)
 
@@ -70,6 +70,9 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xaf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/squid-3.3.10-optional-ssl-options.patch
+
        cd $(DIR_APP) && ./configure \
                --prefix=/usr \
                --sysconfdir=/etc/squid \
@@ -101,8 +104,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                --enable-eui \
                --with-pthreads \
                --with-dl \
-               --with-maxfd="65536" \
-               --with-filedescriptors=65536 \
+               --with-filedescriptors=$$(( 16384 * 64 )) \
                --with-large-files \
                --with-aio \
                --enable-async-io=8 \