From owner-freebsd-ports@freebsd.org Thu Jan 2 11:22:21 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A11C51F4E5E for ; Thu, 2 Jan 2020 11:22:21 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47pQcF3scyz4Jrq; Thu, 2 Jan 2020 11:22:21 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-449.fritz.box (p200300CD5F08C900DD66A1C7383F4560.dip0.t-ipconnect.de [IPv6:2003:cd:5f08:c900:dd66:a1c7:383f:4560]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 05A038758; Thu, 2 Jan 2020 11:22:20 +0000 (UTC) (envelope-from se@freebsd.org) Subject: Re: mail/junkfilter is several broken To: sgk@troutmask.apl.washington.edu, freebsd-ports@freebsd.org References: <20200101210423.GA8324@troutmask.apl.washington.edu> From: =?UTF-8?Q?Stefan_E=c3=9fer?= Cc: gsutter@zer0.org Message-ID: Date: Thu, 2 Jan 2020 12:22:20 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <20200101210423.GA8324@troutmask.apl.washington.edu> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2020 11:22:21 -0000 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.