Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2020 12:22:20 +0100
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@freebsd.org>
To:        sgk@troutmask.apl.washington.edu, freebsd-ports@freebsd.org
Cc:        gsutter@zer0.org
Subject:   Re: mail/junkfilter is several broken
Message-ID:  <afc5d908-fa8f-5bec-8f42-5f7413391d38@freebsd.org>
In-Reply-To: <20200101210423.GA8324@troutmask.apl.washington.edu>
References:  <20200101210423.GA8324@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 01.01.20 um 22:04 schrieb Steve Kargl:
> For users of mail/junkfilter, it now will filter all emails claiming
> a "Bad Date line".  The following patch seems to fix the problem for
> the next decade.

Hi Steve,

thank you for providing a patch. Since the maintainer (gsutter) has
not been active in FreeBSD for a long time (AFAICT) and due to the
difference in time zones, I have taken liberty to apply the fix to
the port.

I have sent mail to Gregory who probably will want to apply the fix
to the sourceforge repo and to remove the patch, but the fixed port
will allow to keep junkfilter working, meanwhile.

Regards, STefan

> --- junkfilter.three.orig	2020-01-01 12:59:56.005681000 -0800
> +++ junkfilter.three	2020-01-01 13:00:26.254199000 -0800
> @@ -56,7 +56,7 @@
>  * ! $ ^Date:$JFWS((Sun|Mon|Tue|Wed|Thu|Fri|Sat),$JFWS)?\
>      (0?[1-9]|[12][0-9]|3[01])$JFWS\
>      (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)$JFWS\
> -    ((19)?[789][0-9]|(20)?[01][0-9])$JFWS\
> +    ((19)?[789][0-9]|(20)?[012][0-9])$JFWS\
>      (0?[0-9]|1[0-9]|2[0-3]):(0?|[1-5])[0-9](:(0?|[1-5])[0-9])?$JFWS\
>      (([+-][0-1][0-4]([03]0|45))|("?\(?(UT|GMT|EST|EDT|CST|CDT|MST|MDT|PST|PDT|[A-I]|[K-Z])\)?"?))?
>  { JFMATCH="$JFSEC: Bad Date line" INCLUDERC=$JFDIR/junkfilter.match }
> 
> 
> Suggest either installing the patch or marking the port as broken.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?afc5d908-fa8f-5bec-8f42-5f7413391d38>