[62396] trunk/dports/perl/p5-mail-spamassassin
simon at macports.org
simon at macports.org
Wed Jan 6 06:38:22 PST 2010
Revision: 62396
http://trac.macports.org/changeset/62396
Author: simon at macports.org
Date: 2010-01-06 06:38:19 -0800 (Wed, 06 Jan 2010)
Log Message:
-----------
perl/p5-mail-spamassassin: Fix FH_DATE_PAST_20XX bug, closes #23087.
Modified Paths:
--------------
trunk/dports/perl/p5-mail-spamassassin/Portfile
Added Paths:
-----------
trunk/dports/perl/p5-mail-spamassassin/files/patch-FH_DATE_PAST_20XX_bug.diff
Modified: trunk/dports/perl/p5-mail-spamassassin/Portfile
===================================================================
--- trunk/dports/perl/p5-mail-spamassassin/Portfile 2010-01-06 14:17:57 UTC (rev 62395)
+++ trunk/dports/perl/p5-mail-spamassassin/Portfile 2010-01-06 14:38:19 UTC (rev 62396)
@@ -45,7 +45,8 @@
startupitem.executable ${prefix}/bin/spamd -l
}
-patchfiles patch-Makefile.PL.diff
+patchfiles patch-Makefile.PL.diff \
+ patch-FH_DATE_PAST_20XX_bug.diff
post-patch {
reinplace "s|return ''|return 'PRIV'|" ${worksrcpath}/Makefile.PL
Added: trunk/dports/perl/p5-mail-spamassassin/files/patch-FH_DATE_PAST_20XX_bug.diff
===================================================================
--- trunk/dports/perl/p5-mail-spamassassin/files/patch-FH_DATE_PAST_20XX_bug.diff (rev 0)
+++ trunk/dports/perl/p5-mail-spamassassin/files/patch-FH_DATE_PAST_20XX_bug.diff 2010-01-06 14:38:19 UTC (rev 62396)
@@ -0,0 +1,13 @@
+Fix bug 6269: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6269
+
+--- rules/72_active.cf.orig 2010-01-06 15:19:19.000000000 +0100
++++ rules/72_active.cf 2010-01-06 15:20:04.000000000 +0100
+@@ -540,7 +540,7 @@
+ ##} FH_DATE_IS_19XX
+
+ ##{ FH_DATE_PAST_20XX
+-header FH_DATE_PAST_20XX Date =~ /20[1-9][0-9]/ [if-unset: 2006]
++header FH_DATE_PAST_20XX Date =~ /20[2-9][0-9]/ [if-unset: 2006]
+ describe FH_DATE_PAST_20XX The date is grossly in the future.
+ ##} FH_DATE_PAST_20XX
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100106/78f271b7/attachment.html>
More information about the macports-changes
mailing list