public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] squid: Update to 4.7
@ 2019-05-24 18:46 Matthias Fischer
  2019-05-26 11:01 ` Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Fischer @ 2019-05-24 18:46 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2247 bytes --]

For details see:

http://www.squid-cache.org/Versions/v4/changesets/

Fixes among other things the old 'filedescriptors' problem, so this patch was deleted.

Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
---
 lfs/squid                                     |  5 ++---
 .../squid-4.6-fix-max-file-descriptors.patch  | 21 -------------------
 2 files changed, 2 insertions(+), 24 deletions(-)
 delete mode 100644 src/patches/squid/squid-4.6-fix-max-file-descriptors.patch

diff --git a/lfs/squid b/lfs/squid
index 780f16548..92392ea21 100644
--- a/lfs/squid
+++ b/lfs/squid
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 4.6
+VER        = 4.7
 
 THISAPP    = squid-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -46,7 +46,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = e25e7cc37754ad14d8aa368c0c210e54
+$(DL_FILE)_MD5 = ec7be696032b962eac9ba5726940a3aa
 
 install : $(TARGET)
 
@@ -76,7 +76,6 @@ $(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-4.6-fix-max-file-descriptors.patch
 
 	cd $(DIR_APP) && autoreconf -vfi
 	cd $(DIR_APP)/libltdl && autoreconf -vfi
diff --git a/src/patches/squid/squid-4.6-fix-max-file-descriptors.patch b/src/patches/squid/squid-4.6-fix-max-file-descriptors.patch
deleted file mode 100644
index 57fd0a6a6..000000000
--- a/src/patches/squid/squid-4.6-fix-max-file-descriptors.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- configure.ac.~	Wed Apr 20 14:26:07 2016
-+++ configure.ac	Fri Apr 22 17:20:46 2016
-@@ -3160,6 +3160,9 @@
-     ;;
- esac
- 
-+SQUID_CHECK_DEFAULT_FD_SETSIZE
-+SQUID_CHECK_MAXFD
-+
- dnl --with-maxfd present for compatibility with Squid-2.
- dnl undocumented in ./configure --help  to encourage using the Squid-3 directive
- AC_ARG_WITH(maxfd,,
-@@ -3190,8 +3193,6 @@
-     esac
- ])
- 
--SQUID_CHECK_DEFAULT_FD_SETSIZE
--SQUID_CHECK_MAXFD
- if test "x$squid_filedescriptors_num" != "x"; then
-   AC_MSG_NOTICE([Default number of fieldescriptors: $squid_filedescriptors_num])
- fi
-- 
2.18.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] squid: Update to 4.7
  2019-05-24 18:46 [PATCH] squid: Update to 4.7 Matthias Fischer
@ 2019-05-26 11:01 ` Michael Tremer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Tremer @ 2019-05-26 11:01 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2475 bytes --]

Merged :)

> On 24 May 2019, at 19:46, Matthias Fischer <matthias.fischer(a)ipfire.org> wrote:
> 
> For details see:
> 
> http://www.squid-cache.org/Versions/v4/changesets/
> 
> Fixes among other things the old 'filedescriptors' problem, so this patch was deleted.
> 
> Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
> ---
> lfs/squid                                     |  5 ++---
> .../squid-4.6-fix-max-file-descriptors.patch  | 21 -------------------
> 2 files changed, 2 insertions(+), 24 deletions(-)
> delete mode 100644 src/patches/squid/squid-4.6-fix-max-file-descriptors.patch
> 
> diff --git a/lfs/squid b/lfs/squid
> index 780f16548..92392ea21 100644
> --- a/lfs/squid
> +++ b/lfs/squid
> @@ -24,7 +24,7 @@
> 
> include Config
> 
> -VER        = 4.6
> +VER        = 4.7
> 
> THISAPP    = squid-$(VER)
> DL_FILE    = $(THISAPP).tar.xz
> @@ -46,7 +46,7 @@ objects = $(DL_FILE)
> 
> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
> 
> -$(DL_FILE)_MD5 = e25e7cc37754ad14d8aa368c0c210e54
> +$(DL_FILE)_MD5 = ec7be696032b962eac9ba5726940a3aa
> 
> install : $(TARGET)
> 
> @@ -76,7 +76,6 @@ $(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-4.6-fix-max-file-descriptors.patch
> 
> 	cd $(DIR_APP) && autoreconf -vfi
> 	cd $(DIR_APP)/libltdl && autoreconf -vfi
> diff --git a/src/patches/squid/squid-4.6-fix-max-file-descriptors.patch b/src/patches/squid/squid-4.6-fix-max-file-descriptors.patch
> deleted file mode 100644
> index 57fd0a6a6..000000000
> --- a/src/patches/squid/squid-4.6-fix-max-file-descriptors.patch
> +++ /dev/null
> @@ -1,21 +0,0 @@
> ---- configure.ac.~	Wed Apr 20 14:26:07 2016
> -+++ configure.ac	Fri Apr 22 17:20:46 2016
> -@@ -3160,6 +3160,9 @@
> -     ;;
> - esac
> - 
> -+SQUID_CHECK_DEFAULT_FD_SETSIZE
> -+SQUID_CHECK_MAXFD
> -+
> - dnl --with-maxfd present for compatibility with Squid-2.
> - dnl undocumented in ./configure --help  to encourage using the Squid-3 directive
> - AC_ARG_WITH(maxfd,,
> -@@ -3190,8 +3193,6 @@
> -     esac
> - ])
> - 
> --SQUID_CHECK_DEFAULT_FD_SETSIZE
> --SQUID_CHECK_MAXFD
> - if test "x$squid_filedescriptors_num" != "x"; then
> -   AC_MSG_NOTICE([Default number of fieldescriptors: $squid_filedescriptors_num])
> - fi
> -- 
> 2.18.0
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-26 11:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-24 18:46 [PATCH] squid: Update to 4.7 Matthias Fischer
2019-05-26 11:01 ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox