Bug#695305: unblock: squid3/3.1.20-2
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package squid3
Version 3.1.20-2 fixes an 'important' bug (#660489) with the addition of a simple upstream patch. No other diffs where added. This bug allows squid3 to run correctly if IPv6 has been disabled at boot time.
Debdiff for 3.1.20-2:
diff -Nru squid3-3.1.20/debian/changelog squid3-3.1.20/debian/changelog
--- squid3-3.1.20/debian/changelog 2012-06-18 15:35:15.000000000 +0200
+++ squid3-3.1.20/debian/changelog 2012-12-06 21:02:23.000000000 +0100
@@ -1,3 +1,11 @@
+squid3 (3.1.20-2) unstable; urgency=low
+
+ * debian/patches/20-ipv6-fix
+ - Added upstream fix for squid not working when IPv6 is not loaded
+ (Closes: #660489)
+
+ -- Luigi Gangitano <luigi@debian.org> Thu, 06 Dec 2012 20:02:56 +0100
+
squid3 (3.1.20-1) unstable; urgency=low
* New upstream release
diff -Nru squid3-3.1.20/debian/patches/20-ipv6-fix squid3-3.1.20/debian/patches/20-ipv6-fix
--- squid3-3.1.20/debian/patches/20-ipv6-fix 1970-01-01 01:00:00.000000000 +0100
+++ squid3-3.1.20/debian/patches/20-ipv6-fix 2012-12-06 20:20:58.000000000 +0100
@@ -0,0 +1,11 @@
+--- a/src/ip/IpAddress.cc
++++ b/src/ip/IpAddress.cc
+@@ -605,7 +605,7 @@
+ && dst->ai_protocol == 0)
+ dst->ai_protocol = IPPROTO_UDP;
+
+- if (force == AF_INET6 || (force == AF_UNSPEC && IsIPv6()) ) {
++ if (force == AF_INET6 || (force == AF_UNSPEC && Ip::EnableIpv6 && IsIPv6()) ) {
+ dst->ai_addr = (struct sockaddr*)new sockaddr_in6;
+
+ memset(dst->ai_addr,0,sizeof(struct sockaddr_in6));
diff -Nru squid3-3.1.20/debian/patches/series squid3-3.1.20/debian/patches/series
--- squid3-3.1.20/debian/patches/series 2012-02-07 16:34:05.000000000 +0100
+++ squid3-3.1.20/debian/patches/series 2012-12-06 20:22:12.000000000 +0100
@@ -1,3 +1,4 @@
01-cf.data.debian.patch
02-makefile-defaults.patch
15-cachemgr-default-config.patch
+20-ipv6-fix
unblock squid3/3.1.20-2
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: