diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-06 04:00:43 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-06 04:00:43 +0000 |
commit | 6b55be9272c15e1858a1a7236482298f677c1a3b (patch) | |
tree | a00e7300c358b2a4b16184192c53b8ce555a2412 /extra/spamassassin/net-dns.patch | |
parent | 8faa42b28f39ace5fc2c3ec8a054fa0a5b246eab (diff) |
Fri Jun 6 03:57:24 UTC 2014
Diffstat (limited to 'extra/spamassassin/net-dns.patch')
-rw-r--r-- | extra/spamassassin/net-dns.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/spamassassin/net-dns.patch b/extra/spamassassin/net-dns.patch new file mode 100644 index 000000000..84db0c598 --- /dev/null +++ b/extra/spamassassin/net-dns.patch @@ -0,0 +1,27 @@ +Fix FS#40707 by disabling the failing version check. We don't ship versions that old anyway. + +--- +diff -Nur a/lib/Mail/SpamAssassin/Dns.pm b/lib/Mail/SpamAssassin/Dns.pm +--- a/lib/Mail/SpamAssassin/Dns.pm 2014-06-05 19:34:56.299391918 +0200 ++++ b/lib/Mail/SpamAssassin/Dns.pm 2014-06-05 19:35:56.816256160 +0200 +@@ -518,7 +518,7 @@ + } + } + else { +- if ($Net::DNS::VERSION < 0.34) { ++ if (0) { + warn("dns: Net::DNS version is $Net::DNS::VERSION, but need 0.34"); + return $IS_DNS_AVAILABLE; + } +diff -Nur a/lib/Mail/SpamAssassin/Plugin/AskDNS.pm Mail-SpamAssassin-3.4.0/lib/Mail/SpamAssassin/Plugin/AskDNS.pm +--- a/lib/Mail/SpamAssassin/Plugin/AskDNS.pm 2014-06-05 19:34:56.302725263 +0200 ++++ b/lib/Mail/SpamAssassin/Plugin/AskDNS.pm 2014-06-05 19:35:30.086168916 +0200 +@@ -211,7 +211,7 @@ + + $self->set_config($sa_main->{conf}); + +- $txtdata_can_provide_a_list = Net::DNS->VERSION >= 0.69; ++ $txtdata_can_provide_a_list = 1; + + return $self; + } |