1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

- Fix bayesian filtering with DKIM enabled, bump PORTREVISION

PR:		ports/132760
Submitted by:	Michael Scheidell <scheidell@secnap.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2009-03-19 17:11:28 +00:00
parent 8070eecf12
commit e2ebded775
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230419
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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