Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  1 Jan 2010 21:43:07 +0100 (CET)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        scheidell@secnap.net
Subject:   ports/142216: mail/p5-Mail-SpamAssassin: fix FH_DATE_PAST_20XX for 2010
Message-ID:  <20100101204307.C729B11450@graf.pompo.net>
Resent-Message-ID: <201001012050.o01Ko2k3091872@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142216
>Category:       ports
>Synopsis:       mail/p5-Mail-SpamAssassin: fix FH_DATE_PAST_20XX for 2010
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 01 20:50:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Dec 5 19:27:51 CET 2009 thierry@graf.pompo.net:/usr/obj/usr/src/sys/GRAF090829 i386


	
>Description:
	The rule FH_DATE_PAST_20XX, checking for date is grossly in the future,
	does not handle 2010 correctly.

	Credit: <https://linuxfr.org/~tesiruna/29213.html>.

>How-To-Repeat:
	
>Fix:
	Please apply the following patch:

--- p5-Mail-SpamAssassin.diff begins here ---
diff -urN mail/p5-Mail-SpamAssassin.orig/files/patch-rules-72_active.cf mail/p5-Mail-SpamAssassin/files/patch-rules-72_active.cf
--- mail/p5-Mail-SpamAssassin.orig/files/patch-rules-72_active.cf	1970-01-01 01:00:00.000000000 +0100
+++ mail/p5-Mail-SpamAssassin/files/patch-rules-72_active.cf	2010-01-01 21:33:15.000000000 +0100
@@ -0,0 +1,11 @@
+--- ./rules/72_active.cf.orig	2008-06-10 11:21:33.000000000 +0200
++++ ./rules/72_active.cf	2010-01-01 21:32:24.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
+ 
--- p5-Mail-SpamAssassin.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100101204307.C729B11450>