git: eb390cea312e - main - mail/filtermail: update to 0.8.9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Aug 2024 05:34:30 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=eb390cea312e28b823be46148ddec8f4a926b3d6
commit eb390cea312e28b823be46148ddec8f4a926b3d6
Author: Mike Clarke <jmc-freebsd2@milibyte.co.uk>
AuthorDate: 2024-08-16 05:31:44 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-08-16 05:34:06 +0000
mail/filtermail: update to 0.8.9
Update MASTER_SITES and WWW.
Fix LICENSE.
Switch to DISTVERSION.
Pet portfmt.
Remove Makefile.in patch.
Changelog:
https://github.com/nondeterministic/mailfilter/releases/tag/0.8.9
PR: 277303
Approved by: submitter is maintainer
---
mail/filtermail/Makefile | 25 ++++++++++++-------------
mail/filtermail/distinfo | 6 +++---
mail/filtermail/files/patch-src__Makefile.in | 11 -----------
3 files changed, 15 insertions(+), 27 deletions(-)
diff --git a/mail/filtermail/Makefile b/mail/filtermail/Makefile
index 04414f314565..375a4f338031 100644
--- a/mail/filtermail/Makefile
+++ b/mail/filtermail/Makefile
@@ -1,17 +1,19 @@
PORTNAME= filtermail
-PORTVERSION= 0.8.6
-PORTREVISION= 1
+DISTVERSION= 0.8.9
CATEGORIES= mail
-MASTER_SITES= http://sourceforge.net/projects/mailfilter/files/Mailfilter/
+MASTER_SITES= https://github.com/nondeterministic/mailfilter/releases/download/${PORTVERSION}/
DISTNAME= mailfilter-${PORTVERSION}
MAINTAINER= jmc-freebsd2@milibyte.co.uk
COMMENT= Filter mail on a POP3 server: saves downloading spam
-WWW= http://mailfilter.sourceforge.net
+WWW= https://github.com/nondeterministic/mailfilter/
-LICENSE= GPLv3
+LICENSE= GPLv2
USES= bison gmake localbase:ldflags ssl
+GNU_CONFIGURE= yes
+
+MAKE_JOBS_UNSAFE= yes
# This port is filtermail, but the author called it mailfilter. To avoid a
# clash with another port called mailfilter, we change all files
@@ -20,23 +22,20 @@ USES= bison gmake localbase:ldflags ssl
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 -
+EXTRACT_AFTER_ARGS= | ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filtermail/g' \
+ | ${TAR} -xf -
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-MAKE_JOBS_UNSAFE= yes
-
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz \
share/man/man5/${PORTNAME}ex.5.gz \
share/man/man5/${PORTNAME}rc.5.gz
-post-patch:
- @${REINPLACE_CMD} -e 's|filtermail.sourceforge|mailfilter.sourceforge|g' ${WRKSRC}/README
-
post-extract:
@${RM} ${WRKSRC}/src/getopt.h
+post-patch:
+ @${REINPLACE_CMD} -e 's|filtermail.sourceforge|mailfilter.sourceforge|g' ${WRKSRC}/README
+
.include <bsd.port.mk>
diff --git a/mail/filtermail/distinfo b/mail/filtermail/distinfo
index 4c976338c58e..6bc7aeda1414 100644
--- a/mail/filtermail/distinfo
+++ b/mail/filtermail/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1593601356
-SHA256 (mailfilter-0.8.6.tar.gz) = f4e6b94996e95b7d45cec9fadee8fc99a6832c42dcfd86e2a1fd821deaf3069c
-SIZE (mailfilter-0.8.6.tar.gz) = 471479
+TIMESTAMP = 1707843298
+SHA256 (mailfilter-0.8.9.tar.gz) = 1b14abd73a1026daa9a0246cf16dd3e11c2c03249bb6fa1da2d672e6c4c903be
+SIZE (mailfilter-0.8.9.tar.gz) = 573811
diff --git a/mail/filtermail/files/patch-src__Makefile.in b/mail/filtermail/files/patch-src__Makefile.in
deleted file mode 100644
index 69ae742d7330..000000000000
--- a/mail/filtermail/files/patch-src__Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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@
--@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
--@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
- @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@