diff options
author | Eray Aslan <eras@gentoo.org> | 2016-05-24 06:55:39 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2016-05-24 06:56:20 +0000 |
commit | 4888b6cd5b8f72753e30f7a6f22fdd2549a14214 (patch) | |
tree | 8f2402dd57c722449e860c18f84963d2ecdada49 /net-proxy/squid/files | |
parent | net-proxy/squid: version bump to squid-3.5.19 - bug 582814 (diff) | |
download | gentoo-4888b6cd5b8f72753e30f7a6f22fdd2549a14214.tar.gz gentoo-4888b6cd5b8f72753e30f7a6f22fdd2549a14214.tar.bz2 gentoo-4888b6cd5b8f72753e30f7a6f22fdd2549a14214.zip |
net-proxy/squid: remove old
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'net-proxy/squid/files')
-rw-r--r-- | net-proxy/squid/files/squid-3.3.4-gentoo.patch | 131 | ||||
-rw-r--r-- | net-proxy/squid/files/squid-kernel-headers-4.2.patch | 14 |
2 files changed, 0 insertions, 145 deletions
diff --git a/net-proxy/squid/files/squid-3.3.4-gentoo.patch b/net-proxy/squid/files/squid-3.3.4-gentoo.patch deleted file mode 100644 index fb049e9ce5d6..000000000000 --- a/net-proxy/squid/files/squid-3.3.4-gentoo.patch +++ /dev/null @@ -1,131 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index a863327..deb44ed 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -26,9 +26,9 @@ PRESET_CFLAGS="$CFLAGS" - PRESET_LDFLAGS="$LDFLAGS" - - dnl Set default LDFLAGS --if test "x$LDFLAGS" = "x" ; then -- LDFLAGS="-g" --fi -+dnl if test "x$LDFLAGS" = "x" ; then -+dnl LDFLAGS="-g" -+dnl fi - - # Check for GNU cc - AC_PROG_CC -diff --git a/helpers/basic_auth/SMB/basic_smb_auth.sh b/helpers/basic_auth/SMB/basic_smb_auth.sh -index 2a1abb3..b3ebb7a 100755 ---- a/helpers/basic_auth/SMB/basic_smb_auth.sh -+++ b/helpers/basic_auth/SMB/basic_smb_auth.sh -@@ -24,7 +24,7 @@ read NMBCAST - read AUTHSHARE - read AUTHFILE - read SMBUSER --read SMBPASS -+read -r SMBPASS - - # Find domain controller - echo "Domain name: $DOMAINNAME" -@@ -47,7 +47,7 @@ else - addropt="" - fi - echo "Query address options: $addropt" --dcip=`nmblookup $addropt "$PASSTHROUGH#1c" | awk '/^[0-9.]+ / { print $1 ; exit }'` -+dcip=`nmblookup $addropt "$PASSTHROUGH#1c" | awk '/^[0-9.]+\..+ / { print $1 ; exit }'` - echo "Domain controller IP address: $dcip" - [ -n "$dcip" ] || exit 1 - -diff --git a/src/Makefile.am b/src/Makefile.am -index 6b69267..10f506a 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -867,8 +867,8 @@ DEFAULT_LOG_PREFIX = $(DEFAULT_LOG_DIR) - DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log - DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log - DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log --DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state --DEFAULT_SSL_DB_DIR = $(localstatedir)/lib/ssl_db -+DEFAULT_NETDB_FILE = $(localstatedir)/lib/squid/netdb.state -+DEFAULT_SSL_DB_DIR = $(localstatedir)/lib/squid/ssl_db - DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'` - DEFAULT_UNLINKD = $(libexecdir)/`echo unlinkd | sed '$(transform);s/$$/$(EXEEXT)/'` - DEFAULT_LOGFILED = $(libexecdir)/`echo log_file_daemon | sed '$(transform);s/$$/$(EXEEXT)/'` -diff --git a/src/debug.cc b/src/debug.cc -index 64ab0ba..062119a 100644 ---- a/src/debug.cc -+++ b/src/debug.cc -@@ -450,7 +450,7 @@ _db_init(const char *logfile, const char *options) - #if HAVE_SYSLOG && defined(LOG_LOCAL4) - - if (Debug::log_syslog) -- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, syslog_facility); -+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, syslog_facility); - - #endif /* HAVE_SYSLOG */ - -diff --git a/src/main.cc b/src/main.cc -index d6eb01a..0b93f0e 100644 ---- a/src/main.cc -+++ b/src/main.cc -@@ -1657,7 +1657,7 @@ watch_child(char *argv[]) - if (!IamMasterProcess()) - return; - -- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, LOG_LOCAL4); -+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, LOG_LOCAL4); - - if ((pid = fork()) < 0) - syslog(LOG_ALERT, "fork failed: %s", xstrerror()); -@@ -1720,7 +1720,7 @@ watch_child(char *argv[]) - - if ((pid = fork()) == 0) { - /* child */ -- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, LOG_LOCAL4); -+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, LOG_LOCAL4); - prog = argv[0]; - argv[0] = const_cast<char*>(kid.name().termedBuf()); - execvp(prog, argv); -@@ -1733,7 +1733,7 @@ watch_child(char *argv[]) - } - - /* parent */ -- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, LOG_LOCAL4); -+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, LOG_LOCAL4); - - squid_signal(SIGINT, SIG_IGN, SA_RESTART); - ---- a/src/cf.data.pre 2013-04-29 11:17:59.256167134 +0300 -+++ b/src/cf.data.pre 2013-04-29 11:20:17.043924313 +0300 -@@ -1019,6 +1019,7 @@ - acl Safe_ports port 488 # gss-http - acl Safe_ports port 591 # filemaker - acl Safe_ports port 777 # multiling http -+acl Safe_ports port 901 # SWAT - acl CONNECT method CONNECT - NOCOMMENT_END - DOC_END -@@ -5300,11 +5301,11 @@ - - NAME: cache_mgr - TYPE: string --DEFAULT: webmaster -+DEFAULT: root - LOC: Config.adminEmail - DOC_START - Email-address of local cache manager who will receive -- mail if the cache dies. The default is "webmaster". -+ mail if the cache dies. The default is "root". - DOC_END - - NAME: mail_from -@@ -8052,7 +8053,7 @@ - NAME: forwarded_for - COMMENT: on|off|transparent|truncate|delete - TYPE: string --DEFAULT: on -+DEFAULT: delete - LOC: opt_forwarded_for - DOC_START - If set to "on", Squid will append your client's IP address diff --git a/net-proxy/squid/files/squid-kernel-headers-4.2.patch b/net-proxy/squid/files/squid-kernel-headers-4.2.patch deleted file mode 100644 index f56a57e19775..000000000000 --- a/net-proxy/squid/files/squid-kernel-headers-4.2.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/src/ip/Intercept.cc 2015-08-01 09:08:17.000000000 +0300 -+++ b/src/ip/Intercept.cc 2015-09-12 10:03:37.000000000 +0300 -@@ -88,7 +88,10 @@ - /* <climits> must be before including netfilter_ipv4.h */ - #include <climits> - #include <linux/if.h> --#include <linux/netfilter_ipv4.h> -+//#include <linux/netfilter_ipv4.h> -+#if !defined(SO_ORIGINAL_DST) -+#define SO_ORIGINAL_DST 80 -+#endif - #if HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H - /* 2013-07-01: Pablo the Netfilter maintainer is rejecting patches - * which will enable C++ compilers to build the Netfilter public headers. |