summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2018-10-12 09:34:57 -0400
committerMichael Orlitzky <mjo@gentoo.org>2018-10-12 09:45:18 -0400
commit1222f435f35ff22d8ecbe284e4149695f1dbf620 (patch)
tree0a43169cb02bdcc2da032351d079f3582b47288c /mail-filter
parentdev-libs/libwacom: arm stable wrt bug #664244 (diff)
downloadgentoo-1222f435f35ff22d8ecbe284e4149695f1dbf620.tar.gz
gentoo-1222f435f35ff22d8ecbe284e4149695f1dbf620.tar.bz2
gentoo-1222f435f35ff22d8ecbe284e4149695f1dbf620.zip
mail-filter/spamassassin: new revision that silences some log spam.
Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/spamassassin/files/spamassassin-3.4.2-bug_7632.patch20
-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 00000000000..a9a065abd81
--- /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 2fd2d38d2b8..d5e7b3fba68 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