From eb1254a3a0e57fe894f56417038ae9e4a80f8a2f Mon Sep 17 00:00:00 2001 From: Marko Ratkaj Date: Thu, 24 Sep 2015 11:02:18 +0200 Subject: [PATCH] squild: bump version to 3.5.9 Signed-off-by: Marko Ratkaj --- net/squid/Makefile | 6 +-- net/squid/patches/001-cross_compile.patch | 61 +++++++---------------- 2 files changed, 21 insertions(+), 46 deletions(-) diff --git a/net/squid/Makefile b/net/squid/Makefile index aeab76570..4e2004359 100644 --- a/net/squid/Makefile +++ b/net/squid/Makefile @@ -8,15 +8,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:=squid -PKG_VERSION:=3.5.2 -PKG_RELEASE:=2 +PKG_VERSION:=3.5.9 +PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 PKG_MAINTAINER:=Luka Perkov PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://www.squid-cache.org/Versions/v3/3.5/ -PKG_MD5SUM:=0330ec9f69e333c2a81fa4502ba96a22 +PKG_MD5SUM:=fe7306a90a0ba2fc906e9a8c741cc8ea PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 diff --git a/net/squid/patches/001-cross_compile.patch b/net/squid/patches/001-cross_compile.patch index a6cc6e23c..4acf6b135 100644 --- a/net/squid/patches/001-cross_compile.patch +++ b/net/squid/patches/001-cross_compile.patch @@ -1,49 +1,24 @@ +--- a/configure ++++ b/configure +@@ -20208,3 +20208,3 @@ if test "$cross_compiling" = yes; then : + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "cannot run test program while cross compiling ++_as_fn_error $? "cannot run test program while cross compiling + See \`config.log' for more details" "$LINENO" 5; } +@@ -28364,3 +28364,3 @@ else + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "cannot run test program while cross compiling ++_as_fn_error $? "cannot run test program while cross compiling + See \`config.log' for more details" "$LINENO" 5; } +@@ -28389,3 +28389,3 @@ else + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "cannot run test program while cross compiling ++_as_fn_error $? "cannot run test program while cross compiling + See \`config.log' for more details" "$LINENO" 5; } --- a/src/Makefile.in +++ b/src/Makefile.in -@@ -7759,7 +7759,7 @@ cache_cf.o: cf_parser.cci - - # cf_gen builds the configuration files. +@@ -7980,3 +7980,3 @@ cache_cf.o: cf_parser.cci cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) cf_gen_defines.cci - $(BUILDCXX) $(BUILDCXXFLAGS) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src + g++ -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src - # squid.conf.default is built by cf_gen when making cf_parser.cci - squid.conf.default squid.conf.documented: cf_parser.cci ---- a/configure -+++ b/configure -@@ -22935,7 +22935,7 @@ $as_echo_n "checking whether the SSL_get - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} --as_fn_error $? "cannot run test program while cross compiling -+_as_fn_error $? "cannot run test program while cross compiling - See \`config.log' for more details" "$LINENO" 5; } - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -@@ -22983,7 +22983,7 @@ $as_echo_n "checking whether the workaro - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} --as_fn_error $? "cannot run test program while cross compiling -+_as_fn_error $? "cannot run test program while cross compiling - See \`config.log' for more details" "$LINENO" 5; } - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -@@ -28201,7 +28201,7 @@ else - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} --as_fn_error $? "cannot run test program while cross compiling -+_as_fn_error $? "cannot run test program while cross compiling - See \`config.log' for more details" "$LINENO" 5; } - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -@@ -28226,7 +28226,7 @@ else - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} --as_fn_error $? "cannot run test program while cross compiling -+_as_fn_error $? "cannot run test program while cross compiling - See \`config.log' for more details" "$LINENO" 5; } - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext