diff options
author | bouyer <bouyer@pkgsrc.org> | 2013-08-01 10:29:00 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2013-08-01 10:29:00 +0000 |
commit | 580e69526e0e4c2308bb74d998a29d24a4a41a91 (patch) | |
tree | 8a41eccb7a0a1865843ccc114f449b3bc9dd9973 /mail/spamassassin | |
parent | 9779acd0666a3f4df0c6f3dd926a6a1b26121426 (diff) | |
download | pkgsrc-580e69526e0e4c2308bb74d998a29d24a4a41a91.tar.gz |
Add a patch from the svn repository (via
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6872).
Fix sa-update with new p5-Net-DNS.
Bump PKGREVISION
Diffstat (limited to 'mail/spamassassin')
-rw-r--r-- | mail/spamassassin/Makefile | 4 | ||||
-rw-r--r-- | mail/spamassassin/distinfo | 3 | ||||
-rw-r--r-- | mail/spamassassin/patches/patch-sa-update | 24 |
3 files changed, 28 insertions, 3 deletions
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile index 4fc0a906102..7f9ff9ce458 100644 --- a/mail/spamassassin/Makefile +++ b/mail/spamassassin/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.108 2013/07/24 16:17:02 drochner Exp $ +# $NetBSD: Makefile,v 1.109 2013/08/01 10:29:00 bouyer Exp $ DISTNAME= Mail-SpamAssassin-3.3.2 PKGNAME= spamassassin-3.3.2 -PKGREVISION= 4 +PKGREVISION= 5 SVR4_PKGNAME= sa CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_APACHE:=spamassassin/source/} diff --git a/mail/spamassassin/distinfo b/mail/spamassassin/distinfo index 1b67531417e..acb809f75a9 100644 --- a/mail/spamassassin/distinfo +++ b/mail/spamassassin/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.59 2013/07/24 16:17:02 drochner Exp $ +$NetBSD: distinfo,v 1.60 2013/08/01 10:29:00 bouyer Exp $ SHA1 (Mail-SpamAssassin-3.3.2.tar.gz) = de954f69e190496eff4a796a9bab61747f03072b RMD160 (Mail-SpamAssassin-3.3.2.tar.gz) = 78e22ba6ba62a48fb7d24c40170124881b975fd9 @@ -18,3 +18,4 @@ SHA1 (patch-ae) = d46b1d8f56c8c61936c307f74b39a49da1b1f353 SHA1 (patch-aq) = 3a273c7742275647c2334382fed29c0ea33dfbd8 SHA1 (patch-ay) = ca8ea0b1e6d8fddd29d6ae960e1bf6e534d2f424 SHA1 (patch-ba) = 1842e3fc17b3d23309336e542635eeacb67461e8 +SHA1 (patch-sa-update) = 893d8c2ebe68524b620a438f30e2b9ba764aaa6e diff --git a/mail/spamassassin/patches/patch-sa-update b/mail/spamassassin/patches/patch-sa-update new file mode 100644 index 00000000000..bf625cb53d0 --- /dev/null +++ b/mail/spamassassin/patches/patch-sa-update @@ -0,0 +1,24 @@ +$NetBSD: patch-sa-update,v 1.1 2013/08/01 10:29:00 bouyer Exp $ + +from https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6872, +fix for new Net::DNS + +Index: sa-update.raw +=================================================================== +--- sa-update.raw (revision 1421187) ++++ sa-update (working copy) +@@ -1136,9 +1136,11 @@ + if ($RR) { + foreach my $rr ($RR->answer) { + my $text = $rr->rdatastr; +- local($1); +- $text =~ /^"(.*)"$/; +- push @result, $1; ++ if (defined $text && $text ne '') { ++ local($1); ++ $text =~ s/^"(.*)"\z/$1/s; ++ push(@result,$text); ++ } + } + } + else { |