summaryrefslogtreecommitdiff
path: root/package/squid/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-18 11:52:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-18 11:52:06 +0200
commit428fa60f2f9456e977c9221650023d178c4e0c4f (patch)
tree68ffce14ab88e8f59f6894873b37a261b1a7b07c /package/squid/patches
parentd664ba7c246248d0bc22f8d76aa5b4c56411764f (diff)
fix cross-compile of basic_auth_ldap, fileuser_ip
Diffstat (limited to 'package/squid/patches')
-rw-r--r--package/squid/patches/patch-helpers_basic_auth_LDAP_config_test12
-rw-r--r--package/squid/patches/patch-helpers_external_acl_file_userip_config_test9
-rw-r--r--package/squid/patches/patch-src_Makefile_in6
3 files changed, 24 insertions, 3 deletions
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)