aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-SpamAssassin
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-03-20 01:11:28 +0800
committerpav <pav@FreeBSD.org>2009-03-20 01:11:28 +0800
commit0204725af4e2f2a52e65017bb4dc7820bee39bab (patch)
tree7fff76ea6329b358950b988d861af88e37ce3c80 /mail/p5-Mail-SpamAssassin
parent851f10d4579f0997829eca680023229f6a73a34e (diff)
downloadfreebsd-ports-gnome-0204725af4e2f2a52e65017bb4dc7820bee39bab.tar.gz
freebsd-ports-gnome-0204725af4e2f2a52e65017bb4dc7820bee39bab.tar.zst
freebsd-ports-gnome-0204725af4e2f2a52e65017bb4dc7820bee39bab.zip
- Fix bayesian filtering with DKIM enabled, bump PORTREVISION
PR: ports/132760 Submitted by: Michael Scheidell <scheidell@secnap.net> (maintainer)
Diffstat (limited to 'mail/p5-Mail-SpamAssassin')
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile4
-rw-r--r--mail/p5-Mail-SpamAssassin/files/patch-bayes.pm10
2 files changed, 12 insertions, 2 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile
index 8e4f9826e6c6..cd397cb6ebfd 100644
--- a/mail/p5-Mail-SpamAssassin/Makefile
+++ b/mail/p5-Mail-SpamAssassin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 3.2.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
MASTER_SITE_SUBDIR= spamassassin/source/:apache Mail/:cpan
@@ -98,7 +98,7 @@ RUN_DEPENDS+= razor-agents>=2.84:${PORTSDIR}/mail/razor-agents
.endif
.if defined(WITH_DKIM)
-RUN_DEPENDS+= p5-Mail-DKIM>=0.31:${PORTSDIR}/mail/p5-Mail-DKIM
+RUN_DEPENDS+= p5-Mail-DKIM>=0.33:${PORTSDIR}/mail/p5-Mail-DKIM
RUN_DEPENDS+= ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL
RUN_DEPENDS+= p5-Crypt-OpenSSL-RSA>=0.24:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA
.endif
diff --git a/mail/p5-Mail-SpamAssassin/files/patch-bayes.pm b/mail/p5-Mail-SpamAssassin/files/patch-bayes.pm
new file mode 100644
index 000000000000..2835b4e5b3e5
--- /dev/null
+++ b/mail/p5-Mail-SpamAssassin/files/patch-bayes.pm
@@ -0,0 +1,10 @@
+--- Bayes.pm.orig 2008-06-10 05:20:22.000000000 -0400
++++ lib/Mail/SpamAssassin/Bayes.pm 2008-08-22 03:23:38.000000000 -0400
+@@ -145,6 +145,7 @@
+ # hapaxen they generate.
+ $MARK_PRESENCE_ONLY_HDRS = qr{(?: X-Face
+ |X-(?:Gnu-?PG|PGP|GPG)(?:-Key)?-Fingerprint
++ |D(?:KIM|omainKey)-Signature
+ )}ix;
+
+ # tweaks tested as of Nov 18 2002 by jm: see SpamAssassin-devel list archives