Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2020 11:09:59 +0000 (UTC)
From:      Stefan Esser <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521827 - in head/mail/junkfilter: . files
Message-ID:  <202001021109.002B9xuC099546@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: se
Date: Thu Jan  2 11:09:59 2020
New Revision: 521827
URL: https://svnweb.freebsd.org/changeset/ports/521827

Log:
  Fix regular expression to support dates after year 2019.
  
  While here I have also fixed portlint and poudriere testport complaints:
  
  - add LICENSE
  - add NO_ARCH
  - remove DISTFILES definition to its default value
  
  Submitted by:	kargl (RE fix)
  Approved by:	antoine (implicit)

Added:
  head/mail/junkfilter/files/
  head/mail/junkfilter/files/patch-junkfilter.three   (contents, props changed)
Modified:
  head/mail/junkfilter/Makefile

Modified: head/mail/junkfilter/Makefile
==============================================================================
--- head/mail/junkfilter/Makefile	Thu Jan  2 10:53:02 2020	(r521826)
+++ head/mail/junkfilter/Makefile	Thu Jan  2 11:09:59 2020	(r521827)
@@ -3,22 +3,25 @@
 
 PORTNAME=	junkfilter
 PORTVERSION=	20030115
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	SF \
 		http://junkfilter.zer0.org/pkg/${PORTVERSION}/
 
-DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
-
 MAINTAINER=	gsutter@zer0.org
 COMMENT=	Spam filtering software for procmail
 
-PORTSCOUT=	limit:^20
+LICENSE=	BSD4CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	procmail:mail/procmail
 
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
 BINDIR=		${PREFIX}/etc/${PORTNAME}
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^20
 
 JFFILES=	LICENSE Makefile README TODO addresses bodychk dialups \
 		headers ip jf jf-addresses jf-bodychk jf-dialups jf-domains \

Added: head/mail/junkfilter/files/patch-junkfilter.three
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/junkfilter/files/patch-junkfilter.three	Thu Jan  2 11:09:59 2020	(r521827)
@@ -0,0 +1,11 @@
+--- junkfilter.three.orig	2002-06-11 15:41:26 UTC
++++ junkfilter.three
+@@ -56,7 +56,7 @@ JFSEC=3
+ * ! $ ^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 }



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