From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] squid: Update to 3.5.24 Date: Sat, 28 Jan 2017 23:31:50 +0100 Message-ID: <20170128223150.14736-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1529203580215724533==" List-Id: --===============1529203580215724533== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Matthias Fischer --- lfs/squid | 9 +++-- ...=3D> squid-3.5.24-fix-max-file-descriptors.patch} | 0 src/patches/squid/squid-3.5-14129.patch | 41 --------------------= -- 3 files changed, 4 insertions(+), 46 deletions(-) rename src/patches/{squid-3.5.23-fix-max-file-descriptors.patch =3D> squid-3= .5.24-fix-max-file-descriptors.patch} (100%) delete mode 100644 src/patches/squid/squid-3.5-14129.patch diff --git a/lfs/squid b/lfs/squid index 00152080c..4a8d9d8e0 100644 --- a/lfs/squid +++ b/lfs/squid @@ -1,7 +1,7 @@ ############################################################################= ### # = # # IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2016 IPFire Team = # +# Copyright (C) 2007-2017 IPFire Team = # # = # # This program is free software: you can redistribute it and/or modify = # # it under the terms of the GNU General Public License as published by = # @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 3.5.23 +VER =3D 3.5.24 =20 THISAPP =3D squid-$(VER) DL_FILE =3D $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_MD5 =3D 9b68f689e3d9578932b9c6a4041037c2 +$(DL_FILE)_MD5 =3D 3fae511e16b6379b61c011914673973d =20 install : $(TARGET) =20 @@ -70,8 +70,7 @@ $(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 -i $(DIR_SRC)/src/patches/squid/squid-3.5-14129= .patch - cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.5.23-fix-max-= file-descriptors.patch + cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.5.24-fix-max-= file-descriptors.patch =20 cd $(DIR_APP) && autoreconf -vfi cd $(DIR_APP)/libltdl && autoreconf -vfi diff --git a/src/patches/squid-3.5.23-fix-max-file-descriptors.patch b/src/pa= tches/squid-3.5.24-fix-max-file-descriptors.patch similarity index 100% rename from src/patches/squid-3.5.23-fix-max-file-descriptors.patch rename to src/patches/squid-3.5.24-fix-max-file-descriptors.patch diff --git a/src/patches/squid/squid-3.5-14129.patch b/src/patches/squid/squi= d-3.5-14129.patch deleted file mode 100644 index b930aca91..000000000 --- a/src/patches/squid/squid-3.5-14129.patch +++ /dev/null @@ -1,41 +0,0 @@ ------------------------------------------------------------- -revno: 14129 -revision-id: squid3(a)treenet.co.nz-20161226022200-u1dnvhu0rdby78u2 -parent: squid3(a)treenet.co.nz-20161216043137-lsk9s4fq21sqsdfo -fixes bug: http://bugs.squid-cache.org/show_bug.cgi?id=3D3940 -committer: Amos Jeffries -branch nick: 3.5 -timestamp: Mon 2016-12-26 15:22:00 +1300 -message: - Bug 3940 pt2: Make 'cache deny' do what is documented - =20 - Instead of overriding whatever cacheability was previously set to - (including changing non-cacheables to be cacheable) actually - prevent both cache read and write. ------------------------------------------------------------- -# Bazaar merge directive format 2 (Bazaar 0.90) -# revision_id: squid3(a)treenet.co.nz-20161226022200-u1dnvhu0rdby78u2 -# target_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 -# testament_sha1: 579020c4bb34961317f8fd0498393aba4a797b14 -# timestamp: 2016-12-26 02:23:14 +0000 -# source_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 -# base_revision_id: squid3(a)treenet.co.nz-20161216043137-\ -# lsk9s4fq21sqsdfo -#=20 -# Begin patch -=3D=3D=3D modified file 'src/client_side_request.cc' ---- src/client_side_request.cc 2016-09-23 15:28:42 +0000 -+++ src/client_side_request.cc 2016-12-26 02:22:00 +0000 -@@ -1407,7 +1407,10 @@ - ClientRequestContext::checkNoCacheDone(const allow_t &answer) - { - acl_checklist =3D NULL; -- http->request->flags.cachable =3D (answer =3D=3D ACCESS_ALLOWED); -+ if (answer =3D=3D ACCESS_DENIED) { -+ http->request->flags.noCache =3D true; // dont read reply from cache -+ http->request->flags.cachable =3D false; // dont store reply into c= ache -+ } - http->doCallouts(); - } -=20 - --=20 2.11.0 --===============1529203580215724533==--