diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-18 04:54:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-18 04:54:42 +0000 |
commit | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (patch) | |
tree | c968fff3108e2b4d88e4e564a56bfd066f170573 /mail-filter/spamassassin/files | |
parent | 1dde4e5c4b92d849bf1abf0a48135b2a0644f7e1 (diff) |
gentoo resync : 18.03.2018
Diffstat (limited to 'mail-filter/spamassassin/files')
-rw-r--r-- | mail-filter/spamassassin/files/spamassassin-3.4.1-bug_7208.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mail-filter/spamassassin/files/spamassassin-3.4.1-bug_7208.patch b/mail-filter/spamassassin/files/spamassassin-3.4.1-bug_7208.patch new file mode 100644 index 000000000000..da97e3ee56f8 --- /dev/null +++ b/mail-filter/spamassassin/files/spamassassin-3.4.1-bug_7208.patch @@ -0,0 +1,31 @@ +https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7208 +https://bugs.gentoo.org/650638 +--- a/lib/Mail/SpamAssassin/Plugin/URILocalBL.pm 2015/06/10 12:15:22 1684652 ++++ a/lib/Mail/SpamAssassin/Plugin/URILocalBL.pm 2015/06/10 12:18:50 1684653 +@@ -350,7 +350,7 @@ + # look for W3 links only + next unless (defined $info->{types}->{a}); + +- while (my($host, $domain) = each $info->{hosts}) { ++ while (my($host, $domain) = each %{$info->{hosts}}) { + + # skip if the domain name was matched + if (exists $rule->{exclusions} && exists $rule->{exclusions}->{$domain}) { +@@ -374,7 +374,7 @@ + } + + if (exists $rule->{countries}) { +- dbg("check: uri_local_bl countries %s\n", join(' ', sort keys $rule->{countries})); ++ dbg("check: uri_local_bl countries %s\n", join(' ', sort keys %{$rule->{countries}})); + + my $cc = $self->{geoip}->country_code_by_addr($ip); + +@@ -403,7 +403,7 @@ + } + + if (exists $rule->{isps}) { +- dbg("check: uri_local_bl isps %s\n", join(' ', map { '"' . $_ . '"'; } sort keys $rule->{isps})); ++ dbg("check: uri_local_bl isps %s\n", join(' ', map { '"' . $_ . '"'; } sort keys %{$rule->{isps}})); + + my $isp = $self->{geoisp}->isp_by_name($ip); + |