summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-SpamAssassin
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-03-19 17:11:28 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-03-19 17:11:28 +0000
commite2ebded775e715fcec035ce1d61b9a2ba5fe6e17 (patch)
tree5d28b7ac1b1393813e8127b0525f6c211d9d7df5 /mail/p5-Mail-SpamAssassin
parent- Allow build on amd64 (diff)
- Fix bayesian filtering with DKIM enabled, bump PORTREVISION
PR: ports/132760 Submitted by: Michael Scheidell <scheidell@secnap.net> (maintainer)
Notes
Notes: svn path=/head/; revision=230419
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