diff options
Diffstat (limited to 'mail-filter/spamassassin')
-rw-r--r-- | mail-filter/spamassassin/files/spamassassin-3.4.2-bug_7632.patch | 20 | ||||
-rw-r--r-- | mail-filter/spamassassin/spamassassin-3.4.2-r2.ebuild (renamed from mail-filter/spamassassin/spamassassin-3.4.2-r1.ebuild) | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/mail-filter/spamassassin/files/spamassassin-3.4.2-bug_7632.patch b/mail-filter/spamassassin/files/spamassassin-3.4.2-bug_7632.patch new file mode 100644 index 000000000000..a9a065abd817 --- /dev/null +++ b/mail-filter/spamassassin/files/spamassassin-3.4.2-bug_7632.patch @@ -0,0 +1,20 @@ +This upstream fix changes the informational message, + + dns: new_dns_packet: domain is utf8 flagged... + +to a debug one. This should prevent it from being spammed in your logs +a million times a day. + +Bug: https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7632 + +--- a/lib/Mail/SpamAssassin/DnsResolver.pm 2018/10/12 06:14:11 1843622 ++++ b/lib/Mail/SpamAssassin/DnsResolver.pm 2018/10/12 06:38:56 1843623 +@@ -547,7 +547,7 @@ + eval { + + if (utf8::is_utf8($domain)) { # since Perl 5.8.1 +- info("dns: new_dns_packet: domain is utf8 flagged: %s", $domain); ++ dbg("dns: new_dns_packet: domain is utf8 flagged: %s", $domain); + } + + $domain =~ s/\.*\z/./s; diff --git a/mail-filter/spamassassin/spamassassin-3.4.2-r1.ebuild b/mail-filter/spamassassin/spamassassin-3.4.2-r2.ebuild index 2fd2d38d2b86..d5e7b3fba688 100644 --- a/mail-filter/spamassassin/spamassassin-3.4.2-r1.ebuild +++ b/mail-filter/spamassassin/spamassassin-3.4.2-r2.ebuild @@ -77,6 +77,8 @@ DEPEND="${REQDEPEND} )" RDEPEND="${REQDEPEND} ${OPTDEPEND}" +PATCHES=( "${FILESDIR}/spamassassin-3.4.2-bug_7632.patch" ) + src_prepare() { default |