FreeBSD Bugzilla – Attachment 243101 Details for
Bug 272313
mail/spamassassin: Remove deprecated method usage in sa-update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mail-spamassassin-Remove-deprecated-method-usage-in-.patch
0001-mail-spamassassin-Remove-deprecated-method-usage-in-.patch (text/plain), 1.78 KB, created by
Danilo G. Baio
on 2023-07-01 14:36:53 UTC
(
hide
)
Description:
mail-spamassassin-Remove-deprecated-method-usage-in-.patch
Filename:
MIME Type:
Creator:
Danilo G. Baio
Created:
2023-07-01 14:36:53 UTC
Size:
1.78 KB
patch
obsolete
>From d7f40ea4aa089da35d2fdb8f8b6c86fd7869e9ac Mon Sep 17 00:00:00 2001 >From: "Danilo G. Baio" <dbaio@FreeBSD.org> >Date: Sat, 1 Jul 2023 11:33:17 -0300 >Subject: [PATCH] mail/spamassassin: Remove deprecated method usage in > sa-update > >PR: XXXXX >Obtained from: https://svn.apache.org/viewvc?view=revision&revision=1910601 >--- > mail/spamassassin/Makefile | 2 +- > mail/spamassassin/files/patch-sa-update.raw | 12 ++++++++++++ > 2 files changed, 13 insertions(+), 1 deletion(-) > create mode 100644 mail/spamassassin/files/patch-sa-update.raw > >diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile >index f98eb2fd343f..4cc5c6a30204 100644 >--- a/mail/spamassassin/Makefile >+++ b/mail/spamassassin/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= spamassassin > PORTVERSION= 4.0.0 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES?= mail perl5 > MASTER_SITES= https://archive.apache.org/dist/${PORTNAME}/source/ CPAN/Mail > DISTNAME= Mail-SpamAssassin-${PORTVERSION} >diff --git a/mail/spamassassin/files/patch-sa-update.raw b/mail/spamassassin/files/patch-sa-update.raw >new file mode 100644 >index 000000000000..4a3df72b29f5 >--- /dev/null >+++ b/mail/spamassassin/files/patch-sa-update.raw >@@ -0,0 +1,12 @@ >+# https://svn.apache.org/viewvc?view=revision&revision=1910601 >+--- sa-update.raw.orig 2022-12-14 06:03:27 UTC >++++ sa-update.raw >+@@ -1458,7 +1458,7 @@ sub do_dns_query { >+ next if !$rr; # no answer records, only rcode >+ next if $rr->type ne $rr_type; >+ # scalar context! >+- my $text = $rr->UNIVERSAL::can('txtdata') ? $rr->txtdata : $rr->rdatastr; >++ my $text = $rr->UNIVERSAL::can('txtdata') ? $rr->txtdata : $rr->rdstring; >+ push(@result,$text) if defined $text && $text ne ''; >+ } >+ printf("DNS %s query: %s -> %s\n", $rr_type, $query, join(", ",@result)) >-- >2.40.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272313
: 243101