mail/junkfilter is several broken

Stefan Eßer se at freebsd.org
Thu Jan 2 11:22:21 UTC 2020


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.


More information about the freebsd-ports mailing list