ALT Linux repos
S: | 4.0.0-alt1.1 |
5.0: | 3.2.5-alt1 |
4.1: | 3.2.5-alt1.M41.2 |
4.0: | 3.2.1-alt1 |
+updates: | 3.2.1-alt1 |
3.0: | 3.0.4-alt1 |
+backports: | 3.1.3-alt0.M30 |
Group :: Networking/Mail
RPM: spamassassin
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: spamassassin-bug-8140-sa-update.patch
Download
Download
From dfc9facbcca5dd99a3ce946cb29996b07014c754 Mon Sep 17 00:00:00 2001
From: Henrik Krohns <hege@apache.org>
Date: Sun, 25 Jun 2023 17:54:44 +0000
Subject: [PATCH] Bug 8140 - sa-update uses deprecated method rdatastr
git-svn-id: https://svn.apache.org/repos/asf/spamassassin/trunk@1910601 13f79535-47bb-0310-9956-ffa450edef68
---
sa-update.raw | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sa-update.raw b/sa-update.raw
index 53f3ff518a..afa0d01cd1 100755
--- a/sa-update.raw
+++ b/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))