From 03e14e8b7a7668fdf575272fea8399b92d16b8b2 Mon Sep 17 00:00:00 2001 From: heinz Date: Sat, 2 Jan 2010 03:48:40 +0000 Subject: Added fix for bad rule FH_DATE_PAST_20XX, triggering for every message since 2010-01-01. Ok by agc@. --- mail/spamassassin/Makefile | 4 ++-- mail/spamassassin/distinfo | 3 ++- mail/spamassassin/patches/patch-be | 13 +++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 mail/spamassassin/patches/patch-be (limited to 'mail') diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile index ea513c19ebe..f2338cb2ae2 100644 --- a/mail/spamassassin/Makefile +++ b/mail/spamassassin/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.95 2009/06/14 22:58:04 joerg Exp $ +# $NetBSD: Makefile,v 1.96 2010/01/02 03:48:40 heinz Exp $ DISTNAME= Mail-SpamAssassin-3.2.5 PKGNAME= spamassassin-3.2.5 -PKGREVISION= 3 +PKGREVISION= 4 SVR4_PKGNAME= sa CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_APACHE:=spamassassin/source/} diff --git a/mail/spamassassin/distinfo b/mail/spamassassin/distinfo index 0e6d6a0e657..037ab030a09 100644 --- a/mail/spamassassin/distinfo +++ b/mail/spamassassin/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.50 2010/01/01 13:55:32 heinz Exp $ +$NetBSD: distinfo,v 1.51 2010/01/02 03:48:40 heinz Exp $ SHA1 (Mail-SpamAssassin-3.2.5.tar.gz) = 14b1f6eae0221a152176f7f597f55581445e800a RMD160 (Mail-SpamAssassin-3.2.5.tar.gz) = 5a72a97d124e72ff4da1627982748377f1e34128 @@ -9,3 +9,4 @@ SHA1 (patch-aq) = 3a273c7742275647c2334382fed29c0ea33dfbd8 SHA1 (patch-ay) = ca8ea0b1e6d8fddd29d6ae960e1bf6e534d2f424 SHA1 (patch-ba) = ea6b8eac3d9475641725dc4aa1e7a4d31912a044 SHA1 (patch-bc) = 71fcf6297eacbd69a5c5d5b1911f648e4011ce3e +SHA1 (patch-be) = 42b9975742834e836159b754f4a50a0d68d8ea75 diff --git a/mail/spamassassin/patches/patch-be b/mail/spamassassin/patches/patch-be new file mode 100644 index 00000000000..08de57fa893 --- /dev/null +++ b/mail/spamassassin/patches/patch-be @@ -0,0 +1,13 @@ +$NetBSD: patch-be,v 1.1 2010/01/02 03:48:40 heinz Exp $ + +--- rules/72_active.cf.orig 2008-06-10 09:21:33.000000000 +0000 ++++ rules/72_active.cf +@@ -540,7 +540,7 @@ describe FH_DATE_IS_19XX The date is not + ##} 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 + -- cgit v1.2.3