aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2003-05-17 23:33:43 +0000
committerDoug Barton <dougb@FreeBSD.org>2003-05-17 23:33:43 +0000
commitbb4b811a44971815fec0db38857e7a81ac25e1bf (patch)
treed3529ad8378da89d0dece14d9d1d3cce7b8fea5a /mail
parent53f8092ebb9fede873fd1f03344365e9a7770e9b (diff)
downloadports-bb4b811a44971815fec0db38857e7a81ac25e1bf.tar.gz
ports-bb4b811a44971815fec0db38857e7a81ac25e1bf.zip
Upgrade to 2.54. This version contains several bug fixes, and more
importantly, has a number of tests rescored to compensate for the spammer folks who've tweaked their headers specifically to dodge spamassassin. Add a trivial fix for Perl 5.005 compatibility.
Notes
Notes: svn path=/head/; revision=81181
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile8
-rw-r--r--mail/p5-Mail-SpamAssassin/distinfo2
2 files changed, 7 insertions, 3 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile
index e4e429d07b7a..0598785bbe0e 100644
--- a/mail/p5-Mail-SpamAssassin/Makefile
+++ b/mail/p5-Mail-SpamAssassin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Mail-SpamAssassin
-PORTVERSION= 2.53
+PORTVERSION= 2.54
CATEGORIES= mail perl5
MASTER_SITES= http://spamassassin.org/released/ \
${MASTER_SITE_PERL_CPAN}
@@ -54,6 +54,10 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
post-patch:
@${FIND} ${WRKSRC} -name \*.orig -delete
+ @${SED} -e 's#mkdir $$spam_conf_dir#mkdir($$spam_conf_dir, 0700)#' \
+ ${WRKSRC}/spamd/spamd.raw > ${WRKSRC}/spamd/spamd.raw.sed
+ @${MV} ${WRKSRC}/spamd/spamd.raw.sed ${WRKSRC}/spamd/spamd.raw
+
@${MV} ${WRKSRC}/rules/local.cf ${WRKSRC}/rules/local.cf.sample
@${SED} -e 's#local.cf#local.cf.sample#g' \
${WRKSRC}/Makefile.PL > ${WRKSRC}/Makefile.PL.sed
@@ -71,6 +75,6 @@ post-install:
spamd/README* sql/spamassassin.sql ${DOCSDIR}
.endif
- @${SED} -e 's#PREFIX#${PREFIX}#' pkg-message
+ @${SED} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/mail/p5-Mail-SpamAssassin/distinfo b/mail/p5-Mail-SpamAssassin/distinfo
index 65d5860b55de..1619df86bfdd 100644
--- a/mail/p5-Mail-SpamAssassin/distinfo
+++ b/mail/p5-Mail-SpamAssassin/distinfo
@@ -1 +1 @@
-MD5 (Mail-SpamAssassin-2.53.tar.gz) = 7cbdfdda7fd114e8a85707eedbfc8018
+MD5 (Mail-SpamAssassin-2.54.tar.gz) = 4bd944880f908b8f3b0fe81f655241f9