commit: 1efbfdb8f511050dd9f5c2332cc8a70df5087104 Author: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com> AuthorDate: Mon Dec 26 20:33:48 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Dec 27 11:39:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1efbfdb8
mail-filter/spamassassin: Patch dnsbl_subtests.t test failure Posted fix to upstream: https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8095 Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift.com> Signed-off-by: Sam James <sam <AT> gentoo.org> .../spamassassin/files/4.0.0-tests-dnsbl_subtests.t.patch | 14 ++++++++++++++ mail-filter/spamassassin/spamassassin-4.0.0.ebuild | 1 + 2 files changed, 15 insertions(+) diff --git a/mail-filter/spamassassin/files/4.0.0-tests-dnsbl_subtests.t.patch b/mail-filter/spamassassin/files/4.0.0-tests-dnsbl_subtests.t.patch new file mode 100644 index 000000000000..6f2a4db0ad5c --- /dev/null +++ b/mail-filter/spamassassin/files/4.0.0-tests-dnsbl_subtests.t.patch @@ -0,0 +1,14 @@ +https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8095 +--- a/t/dnsbl_subtests.t ++++ b/t/dnsbl_subtests.t +@@ -20,6 +20,10 @@ + + use Mail::SpamAssassin; + ++tstpre (" ++ loadplugin Mail::SpamAssassin::Plugin::URIDNSBL ++"); ++ + # Bug 5761 (no 127.0.0.1 in jail, use SPAMD_LOCALHOST if specified) + my $dns_server_localaddr = $ENV{'SPAMD_LOCALHOST'}; + if (!$dns_server_localaddr) { diff --git a/mail-filter/spamassassin/spamassassin-4.0.0.ebuild b/mail-filter/spamassassin/spamassassin-4.0.0.ebuild index 791fc6f3e7f4..5670fd623a56 100644 --- a/mail-filter/spamassassin/spamassassin-4.0.0.ebuild +++ b/mail-filter/spamassassin/spamassassin-4.0.0.ebuild @@ -90,6 +90,7 @@ VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/spamassassin.apache. PATCHES=( "${FILESDIR}/mention-geoip.cf-in-init.pre.patch" + "${FILESDIR}/4.0.0-tests-dnsbl_subtests.t.patch" ) # There are a few renames and use-dependent ones in src_install as well.
