Bug#735399: pu: package policyd-weight_0.1.15.2-5+wheezy1
Hi Adam,
thanks for your reply. I've recreated the package again from stable, applied the relevant fix (and fixed the comment
in the patch) and uploaded the package to mentors:
The URL of your package is:
http://mentors.debian.net/package/policyd-weight
The respective dsc file can be found at:
http://mentors.debian.net/debian/pool/main/p/policyd-weight/policyd-weight_0.1.15.2-5+wheezy1.dsc
Thanks and regards,
Werner
werner@symfony2:~$ debdiff policyd-weight_0.1.15.2-5.dsc policyd-weight_0.1.15.2-5+wheezy1.dsc
diff -Nru policyd-weight-0.1.15.2/debian/changelog policyd-weight-0.1.15.2/debian/changelog
--- policyd-weight-0.1.15.2/debian/changelog 2013-03-12 22:25:44.000000000 +0100
+++ policyd-weight-0.1.15.2/debian/changelog 2014-03-15 13:24:45.000000000 +0100
@@ -1,3 +1,10 @@
+policyd-weight (0.1.15.2-5+wheezy1) wheezy; urgency=low
+
+ * Add 09_fix_net_dns_usage.patch which fixes infinite loop when dns resolver
+ is reachable only via IPv6
+
+ -- Werner Detter <werner@aloah-from-hell.de> Sat, 15 Mar 2014 14:29:14 +0100
+
policyd-weight (0.1.15.2-5) unstable; urgency=high
* Add 08_del_dnsbl.njabl.org.patch which removes dnsbl.njabl.org list due
diff -Nru policyd-weight-0.1.15.2/debian/patches/09_fix_net_dns_usage.patch policyd-weight-0.1.15.2/debian/patches/09_fix_net_dns_usage.patch
--- policyd-weight-0.1.15.2/debian/patches/09_fix_net_dns_usage.patch 1970-01-01 01:00:00.000000000 +0100
+++ policyd-weight-0.1.15.2/debian/patches/09_fix_net_dns_usage.patch 2014-03-22 16:11:17.000000000 +0100
@@ -0,0 +1,22 @@
+Description: fix Net::DNS usage
+Origin: Alexandre Vaissiere <avaiss@fmiw.org>
+Author: Werner Detter <werner@aloah-from-hell.de>
+DEP: 3
+Bug-Debian: http://bugs.debian.org/726670
+--- a/policyd-weight
++++ b/policyd-weight
+@@ -892,12 +892,12 @@
+
+
+ # watch the version string, I'm afraid that they change to x.x.x notation
+-if(Net::DNS->version() >= 0.50)
++if(Net::DNS->version() >= 0.50 && Net::DNS->version() <= 0.53)
+ {
+ $res->force_v4(1); # force ipv4 usage, autodetection is broken till
+ # Net::DNS 0.53
+ }
+-else
++if(Net::DNS->version() < 0.50)
+ {
+ $res->igntc(1); # ignore truncated packets if Net-DNS version is
+ # lower than 0.50
diff -Nru policyd-weight-0.1.15.2/debian/patches/series policyd-weight-0.1.15.2/debian/patches/series
--- policyd-weight-0.1.15.2/debian/patches/series 2013-03-12 21:01:47.000000000 +0100
+++ policyd-weight-0.1.15.2/debian/patches/series 2014-03-15 13:26:31.000000000 +0100
@@ -6,3 +6,4 @@
06_del_non_func_ipv6_dnsbl.patch
07_del_rfc-ignorant.org.patch
08_del_dnsbl.njabl.org.patch
+09_fix_net_dns_usage.patch
Reply to: