From 428fa60f2f9456e977c9221650023d178c4e0c4f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 18 Jul 2013 11:52:06 +0200 Subject: fix cross-compile of basic_auth_ldap, fileuser_ip --- .../squid/patches/patch-helpers_basic_auth_LDAP_config_test | 12 ++++++++++++ .../patch-helpers_external_acl_file_userip_config_test | 9 +++++++++ package/squid/patches/patch-src_Makefile_in | 6 +++--- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 package/squid/patches/patch-helpers_basic_auth_LDAP_config_test create mode 100644 package/squid/patches/patch-helpers_external_acl_file_userip_config_test (limited to 'package/squid/patches') diff --git a/package/squid/patches/patch-helpers_basic_auth_LDAP_config_test b/package/squid/patches/patch-helpers_basic_auth_LDAP_config_test new file mode 100644 index 000000000..7bcdcb33b --- /dev/null +++ b/package/squid/patches/patch-helpers_basic_auth_LDAP_config_test @@ -0,0 +1,12 @@ +--- squid-3.2.3.orig/helpers/basic_auth/LDAP/config.test 2012-10-20 14:39:49.000000000 +0200 ++++ squid-3.2.3/helpers/basic_auth/LDAP/config.test 2013-07-18 11:45:46.000000000 +0200 +@@ -1,8 +1,2 @@ + #!/bin/sh +-if [ -f /usr/include/ldap.h ]; then +- exit 0 +-fi +-if [ -f /usr/include/winldap.h ]; then +- exit 0 +-fi +-exit 1 ++exit 0 diff --git a/package/squid/patches/patch-helpers_external_acl_file_userip_config_test b/package/squid/patches/patch-helpers_external_acl_file_userip_config_test new file mode 100644 index 000000000..6b9d5aaa3 --- /dev/null +++ b/package/squid/patches/patch-helpers_external_acl_file_userip_config_test @@ -0,0 +1,9 @@ +--- squid-3.2.3.orig/helpers/external_acl/file_userip/config.test 2012-10-20 14:39:49.000000000 +0200 ++++ squid-3.2.3/helpers/external_acl/file_userip/config.test 2013-07-18 11:50:54.000000000 +0200 +@@ -1,5 +1,2 @@ + #!/bin/sh +-if [ -f /usr/include/sys/socket.h ]; then +- exit 0 +-fi +-exit 1 ++exit 0 diff --git a/package/squid/patches/patch-src_Makefile_in b/package/squid/patches/patch-src_Makefile_in index f9b01dcb6..64ae13836 100644 --- a/package/squid/patches/patch-src_Makefile_in +++ b/package/squid/patches/patch-src_Makefile_in @@ -1,6 +1,6 @@ ---- squid-3.1.16.orig/src/Makefile.in 2011-10-13 10:35:44.000000000 +0200 -+++ squid-3.1.16/src/Makefile.in 2011-11-10 14:36:55.421109832 +0100 -@@ -4815,7 +4815,7 @@ cache_cf.o: cf_parser.cci +--- squid-3.2.3.orig/src/Makefile.in 2012-10-20 14:40:18.000000000 +0200 ++++ squid-3.2.3/src/Makefile.in 2013-07-18 11:37:59.000000000 +0200 +@@ -6573,7 +6573,7 @@ cache_cf.o: cf_parser.cci # cf_gen builds the configuration files. cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) -- cgit v1.2.3