aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/p5-Mail-SpamAssassin/Makefile4
-rw-r--r--japanese/p5-Mail-SpamAssassin/files/patch-bayes.pm10
2 files changed, 12 insertions, 2 deletions
diff --git a/japanese/p5-Mail-SpamAssassin/Makefile b/japanese/p5-Mail-SpamAssassin/Makefile
index b885d770c12..24f69b07d81 100644
--- a/japanese/p5-Mail-SpamAssassin/Makefile
+++ b/japanese/p5-Mail-SpamAssassin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 3.2.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese mail perl5
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} \
${PATCH_SITES}
@@ -107,7 +107,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/japanese/p5-Mail-SpamAssassin/files/patch-bayes.pm b/japanese/p5-Mail-SpamAssassin/files/patch-bayes.pm
new file mode 100644
index 00000000000..2835b4e5b3e
--- /dev/null
+++ b/japanese/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