summaryrefslogtreecommitdiff
path: root/recipes/squid
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-09-13 17:56:59 +0400
committerRoman I Khimov <khimov@altell.ru>2010-09-14 00:16:11 +0400
commitaaa9c089af2aa6b46d22e94fdd9063129f3e4014 (patch)
tree18667ebb8f5320a5702141c18f0edecb52450679 /recipes/squid
parent8662dc3a3f0c952659501ac16a48a0108179c331 (diff)
squid: update 3.1.7 to 3.1.8
* fixes SQUID-2010:3 DoS (http://www.squid-cache.org/Advisories/SQUID-2010_3.txt) * hardenes DNS client * fixes other bugs * considered as safe upgrade Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/squid')
-rw-r--r--recipes/squid/squid-3.1.8/fix-runs-in-configure.patch (renamed from recipes/squid/squid-3.1.7/fix-runs-in-configure.patch)22
-rw-r--r--recipes/squid/squid-3.1.8/squidv3-build-cf_gen.patch (renamed from recipes/squid/squid-3.1.7/squidv3-build-cf_gen.patch)0
-rw-r--r--recipes/squid/squid_3.1.8.bb (renamed from recipes/squid/squid_3.1.7.bb)5
3 files changed, 13 insertions, 14 deletions
diff --git a/recipes/squid/squid-3.1.7/fix-runs-in-configure.patch b/recipes/squid/squid-3.1.8/fix-runs-in-configure.patch
index 3ae771f3f5..35744a3f68 100644
--- a/recipes/squid/squid-3.1.7/fix-runs-in-configure.patch
+++ b/recipes/squid/squid-3.1.8/fix-runs-in-configure.patch
@@ -1,14 +1,14 @@
-Index: squid-3.1.6/configure.in
+Index: squid-3.1.8/configure.in
===================================================================
---- squid-3.1.6.orig/configure.in 2010-08-19 23:19:52.000000000 +0400
-+++ squid-3.1.6/configure.in 2010-08-19 23:22:44.000000000 +0400
+--- squid-3.1.8.orig/configure.in 2010-09-13 17:51:04.000000000 +0400
++++ squid-3.1.8/configure.in 2010-09-13 17:53:04.000000000 +0400
@@ -364,10 +364,6 @@
fi
])
-dnl Nasty hack to get autoconf 2.64 on Linux to run.
-dnl all other uses of RUN_IFELSE are wrapped inside CACHE_CHECK which breaks on 2.64
--AC_RUN_IFELSE([AC_LANG_SOURCE([[ int main(int argc, char **argv) { return 0; } ]])],[],[],[])
+-AC_RUN_IFELSE([AC_LANG_SOURCE([[ int main(int argc, char **argv) { return 0; } ]])],[],[],[:])
-
dnl This is a developer only option.. developers know how to set defines
dnl
@@ -22,7 +22,7 @@ Index: squid-3.1.6/configure.in
#include <sys/epoll.h>
#include <stdlib.h>
#include <stdio.h>
-@@ -3070,7 +3066,7 @@
+@@ -3072,7 +3068,7 @@
dnl setresuid() but doesn't implement it.
dnl
AC_CACHE_CHECK(if setresuid is implemented, ac_cv_func_setresuid,
@@ -31,7 +31,7 @@ Index: squid-3.1.6/configure.in
#include <stdlib.h>
int main(int argc, char **argv) {
if(setresuid(-1,-1,-1)) {
-@@ -3090,7 +3086,7 @@
+@@ -3092,7 +3088,7 @@
dnl copy that crashes with a buffer over-run!
dnl
AC_CACHE_CHECK(if strnstr is well implemented, ac_cv_func_strnstr,
@@ -40,7 +40,7 @@ Index: squid-3.1.6/configure.in
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-@@ -3116,7 +3112,7 @@
+@@ -3118,7 +3114,7 @@
dnl Test for va_copy
dnl
AC_CACHE_CHECK(if va_copy is implemented, ac_cv_func_va_copy,
@@ -49,7 +49,7 @@ Index: squid-3.1.6/configure.in
#include <stdarg.h>
#include <stdlib.h>
int f (int i, ...) {
-@@ -3139,7 +3135,7 @@
+@@ -3141,7 +3137,7 @@
dnl Some systems support __va_copy
dnl
AC_CACHE_CHECK(if __va_copy is implemented, ac_cv_func___va_copy,
@@ -58,10 +58,10 @@ Index: squid-3.1.6/configure.in
#include <stdarg.h>
#include <stdlib.h>
int f (int i, ...) {
-Index: squid-3.1.6/helpers/negotiate_auth/squid_kerb_auth/configure.in
+Index: squid-3.1.8/helpers/negotiate_auth/squid_kerb_auth/configure.in
===================================================================
---- squid-3.1.6.orig/helpers/negotiate_auth/squid_kerb_auth/configure.in 2010-08-01 18:01:38.000000000 +0400
-+++ squid-3.1.6/helpers/negotiate_auth/squid_kerb_auth/configure.in 2010-08-19 23:20:34.000000000 +0400
+--- squid-3.1.8.orig/helpers/negotiate_auth/squid_kerb_auth/configure.in 2010-09-04 07:25:58.000000000 +0400
++++ squid-3.1.8/helpers/negotiate_auth/squid_kerb_auth/configure.in 2010-09-13 17:52:15.000000000 +0400
@@ -367,13 +367,13 @@
CPPFLAGS="$CPPFLAGS -I../../../ -I../../../include/ -I$squid_dir/include -I$squid_dir/src -I$squid_dir"
diff --git a/recipes/squid/squid-3.1.7/squidv3-build-cf_gen.patch b/recipes/squid/squid-3.1.8/squidv3-build-cf_gen.patch
index 955acf8007..955acf8007 100644
--- a/recipes/squid/squid-3.1.7/squidv3-build-cf_gen.patch
+++ b/recipes/squid/squid-3.1.8/squidv3-build-cf_gen.patch
diff --git a/recipes/squid/squid_3.1.7.bb b/recipes/squid/squid_3.1.8.bb
index 3c831dfeae..005d776152 100644
--- a/recipes/squid/squid_3.1.7.bb
+++ b/recipes/squid/squid_3.1.8.bb
@@ -11,9 +11,8 @@ SRC_URI += " \
file://fix-runs-in-configure.patch \
"
-SRC_URI[squid-3.1.7.md5sum] = "83e7aabc1b5bb5b7c83f6dc2f32ca418"
-SRC_URI[squid-3.1.7.sha256sum] = "5252180a262bdd2cc4ab8afe40c1989c21035bdfe4eaa0bcb19589e3d316d4ac"
-
+SRC_URI[squid-3.1.8.md5sum] = "a8160dfba55ab7c400c622b72d39fc13"
+SRC_URI[squid-3.1.8.sha256sum] = "088d4e798ca49e11713facccbd7ef3e7f9b16fc6eb86d59d0c43aa14d66501fe"
do_configure_prepend() {
export ac_cv_epoll_ctl=yes