summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com>2022-12-26 15:33:48 -0500
committerSam James <sam@gentoo.org>2022-12-27 11:39:44 +0000
commit1efbfdb8f511050dd9f5c2332cc8a70df5087104 (patch)
tree6375a55f7cde35b588c5ef3a49aa7529367ed5fa /mail-filter
parentapp-editors/xvile: add 9.8x (diff)
downloadgentoo-1efbfdb8f511050dd9f5c2332cc8a70df5087104.tar.gz
gentoo-1efbfdb8f511050dd9f5c2332cc8a70df5087104.tar.bz2
gentoo-1efbfdb8f511050dd9f5c2332cc8a70df5087104.zip
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@parallaxshift.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/spamassassin/files/4.0.0-tests-dnsbl_subtests.t.patch14
-rw-r--r--mail-filter/spamassassin/spamassassin-4.0.0.ebuild1
2 files changed, 15 insertions, 0 deletions
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.