Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Aug 2020 15:16:07 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r544501 - in branches/2020Q3/mail/filtermail: . files
Message-ID:  <202008081516.078FG7lM096434@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Aug  8 15:16:07 2020
New Revision: 544501
URL: https://svnweb.freebsd.org/changeset/ports/544501

Log:
  MFH: r544378
  
  mail/filtermail: update 0.8.3 -> 0.8.6
  
  - fix build with more recent flex versions
  - pet portlint
  
  PR:		247771
  Submitted by:	Mike Clarke <jmc-freebsd2@milibyte.co.uk> (maintainer)
  Relnotes:	https://raw.githubusercontent.com/nondeterministic/mailfilter/master/NEWS
  Approved by:	portmgr (joneum)

Modified:
  branches/2020Q3/mail/filtermail/Makefile
  branches/2020Q3/mail/filtermail/distinfo
  branches/2020Q3/mail/filtermail/files/patch-src__Makefile.in
  branches/2020Q3/mail/filtermail/files/patch-src__filter.hh
  branches/2020Q3/mail/filtermail/files/patch-src__preferences.cc
  branches/2020Q3/mail/filtermail/pkg-descr
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/mail/filtermail/Makefile
==============================================================================
--- branches/2020Q3/mail/filtermail/Makefile	Sat Aug  8 15:11:08 2020	(r544500)
+++ branches/2020Q3/mail/filtermail/Makefile	Sat Aug  8 15:16:07 2020	(r544501)
@@ -1,33 +1,42 @@
 # $FreeBSD$
 
 PORTNAME=	filtermail
-PORTVERSION=	0.8.3
-PORTREVISION=	1
+PORTVERSION=	0.8.6
 CATEGORIES=	mail
 MASTER_SITES=	http://sourceforge.net/projects/mailfilter/files/Mailfilter/
 DISTNAME=	mailfilter-${PORTVERSION}
 
-MAINTAINER=	jmc-filtermail@milibyte.co.uk
+MAINTAINER=	jmc-freebsd2@milibyte.co.uk
 COMMENT=	Filter mail on a POP3 server: saves downloading spam
 
 LICENSE=	GPLv3
 
+.include <bsd.port.options.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000
+BUILD_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex
+.endif
+
+USES=		bison gmake ssl
+
 # This port is filtermail, but the author called it mailfilter. To avoid a
 #  clash with another port called mailfilter, we change all files
 #  installed by this port from the form *mailfilter* to the form
 #  *filtermail*, and similarly the names in the man pages.
-#
+
 EXTRACT_CMD=	${GZIP_CMD}
 EXTRACT_BEFORE_ARGS=	-dc
 EXTRACT_AFTER_ARGS=	| ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filtermail/g' | ${TAR} -xf -
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-USES=		bison gmake ssl
 GNU_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000
+CPPFLAGS+=	-I${LOCALBASE}/include/flex
+FLEX=${LOCALBASE}/bin/flex
+.endif
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 PLIST_FILES=	bin/${PORTNAME} \

Modified: branches/2020Q3/mail/filtermail/distinfo
==============================================================================
--- branches/2020Q3/mail/filtermail/distinfo	Sat Aug  8 15:11:08 2020	(r544500)
+++ branches/2020Q3/mail/filtermail/distinfo	Sat Aug  8 15:16:07 2020	(r544501)
@@ -1,2 +1,3 @@
-SHA256 (mailfilter-0.8.3.tar.gz) = 60a40e1d35148fd50a2627fc4bbe47626b886614db50f88c0a21d934df63cb7a
-SIZE (mailfilter-0.8.3.tar.gz) = 425337
+TIMESTAMP = 1593601356
+SHA256 (mailfilter-0.8.6.tar.gz) = f4e6b94996e95b7d45cec9fadee8fc99a6832c42dcfd86e2a1fd821deaf3069c
+SIZE (mailfilter-0.8.6.tar.gz) = 471479

Modified: branches/2020Q3/mail/filtermail/files/patch-src__Makefile.in
==============================================================================
--- branches/2020Q3/mail/filtermail/files/patch-src__Makefile.in	Sat Aug  8 15:11:08 2020	(r544500)
+++ branches/2020Q3/mail/filtermail/files/patch-src__Makefile.in	Sat Aug  8 15:16:07 2020	(r544501)
@@ -1,6 +1,6 @@
---- src/Makefile.in.orig	Sat Nov 27 22:29:44 2004
-+++ src/Makefile.in	Mon Mar  7 22:54:36 2005
-@@ -421,8 +421,6 @@
+--- src/Makefile.in.orig	2016-10-25 18:20:29 UTC
++++ src/Makefile.in
+@@ -424,8 +424,6 @@ distclean-compile:
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/apop.Po@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/feedback.Po@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter.Po@am__quote@
@@ -9,4 +9,3 @@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/header.Po@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imap.Po@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filtermail.Po@am__quote@
-

Modified: branches/2020Q3/mail/filtermail/files/patch-src__filter.hh
==============================================================================
--- branches/2020Q3/mail/filtermail/files/patch-src__filter.hh	Sat Aug  8 15:11:08 2020	(r544500)
+++ branches/2020Q3/mail/filtermail/files/patch-src__filter.hh	Sat Aug  8 15:16:07 2020	(r544501)
@@ -1,5 +1,5 @@
---- src/filter.hh.orig	Sun Jan 25 21:56:42 2004
-+++ src/filter.hh	Fri Mar 19 23:19:33 2004
+--- src/filter.hh.orig	2016-06-05 09:28:35 UTC
++++ src/filter.hh
 @@ -21,8 +21,8 @@
  
  #include <string>

Modified: branches/2020Q3/mail/filtermail/files/patch-src__preferences.cc
==============================================================================
--- branches/2020Q3/mail/filtermail/files/patch-src__preferences.cc	Sat Aug  8 15:11:08 2020	(r544500)
+++ branches/2020Q3/mail/filtermail/files/patch-src__preferences.cc	Sat Aug  8 15:16:07 2020	(r544501)
@@ -1,5 +1,5 @@
---- src/preferences.cc.orig	2007-01-22 23:36:04.000000000 +0100
-+++ src/preferences.cc	2008-04-08 17:00:17.000000000 +0200
+--- src/preferences.cc.orig	2014-05-17 17:19:41 UTC
++++ src/preferences.cc
 @@ -24,6 +24,7 @@
  #include <vector>
  #include <stdexcept>

Modified: branches/2020Q3/mail/filtermail/pkg-descr
==============================================================================
--- branches/2020Q3/mail/filtermail/pkg-descr	Sat Aug  8 15:11:08 2020	(r544500)
+++ branches/2020Q3/mail/filtermail/pkg-descr	Sat Aug  8 15:16:07 2020	(r544501)
@@ -1,5 +1,5 @@
 This is mail/filtermail, a port of mailfilter, renamed because another
-mailfilter exists in the ports tree.
+mailfilter previously existed in the ports tree.
 
 It filters mail on a pop3 server, allowing junk to be deleted on the
 server rather than after it has been downloaded, and integrates with other



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