git: 8b57b2c4acb1 - main - news/leafnode: update to 1.12.0

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Thu, 26 May 2022 22:58:21 UTC
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8b57b2c4acb1109495bd82de7aebd9155d03df5b

commit 8b57b2c4acb1109495bd82de7aebd9155d03df5b
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2022-05-26 22:54:05 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2022-05-26 22:58:11 +0000

    news/leafnode: update to 1.12.0
    
    - switched to PCRE2 library, https://github.com/PhilipHazel/pcre2
    - Documentation for running under daemontools/ucspi-tcp (tcpserver)
      has been removed, only UNINSTALL-daemontools remains as documentation.
---
 news/leafnode/Makefile  | 10 +++++-----
 news/leafnode/distinfo  |  6 +++---
 news/leafnode/pkg-plist |  5 -----
 3 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/news/leafnode/Makefile b/news/leafnode/Makefile
index 666c6148e11f..bed2b3428c2a 100644
--- a/news/leafnode/Makefile
+++ b/news/leafnode/Makefile
@@ -1,7 +1,7 @@
 # Created by: Brian Somers <brian@FreeBSD.org>
 
 PORTNAME=	leafnode
-DISTVERSION=	1.11.12
+DISTVERSION=	1.12.0
 CATEGORIES=	news
 MASTER_SITES=	SF \
 		LOCAL/mandree/
@@ -11,7 +11,7 @@ COMMENT=	NNTP package for offline news caching and reading
 
 LICENSE=	GPLv2+
 
-LIB_DEPENDS=	libpcre.so:devel/pcre
+LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
 
 USES=		cpe tar:xz
 GNU_CONFIGURE=	yes
@@ -49,10 +49,10 @@ MAN8DIR_DE=	${MAN8PREFIX}/man/de.ISO8859-1/man8
 
 DOCS=		ADD-ONS ChangeLog COPYING CREDITS FAQ.txt FAQ.pdf FAQ.html \
 		INSTALL NEWS README ChangeLog.old README-FQDN README-FQDN.html \
-		README-daemontools leafnode.cron.daily leafnode-SA-2002-01.txt \
+		leafnode.cron.daily leafnode-SA-2002-01.txt \
 		leafnode-SA-2003-01.txt leafnode-SA-2004-01.txt \
 		leafnode-SA-2005-01.txt leafnode-SA-2005-02.txt KNOWNBUGS
-DOCS_DE=	INSTALL_de LIESMICH-daemontools README README_de
+DOCS_DE=	INSTALL_de README README_de
 
 .if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	*
@@ -67,7 +67,7 @@ pre-configure:
 	@${ECHO_MSG}
 
 post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/setup-daemontools.sh ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_SCRIPT} ${WRKSRC}/UNINSTALL-daemontools ${STAGEDIR}${PREFIX}/etc/leafnode/
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
diff --git a/news/leafnode/distinfo b/news/leafnode/distinfo
index f935ee31cd70..159c475ede76 100644
--- a/news/leafnode/distinfo
+++ b/news/leafnode/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1616889404
-SHA256 (leafnode-1.11.12.tar.xz) = 0daeaebc2766f6dff04ac8bd6ccdd43168f091e876e25f07dcf1079057d32e3c
-SIZE (leafnode-1.11.12.tar.xz) = 454800
+TIMESTAMP = 1653605287
+SHA256 (leafnode-1.12.0.tar.xz) = 8310b78006a2088b82dcf9a6b18504ec4f7279bd1047af58d3dac5aaf607ce58
+SIZE (leafnode-1.12.0.tar.xz) = 464572
diff --git a/news/leafnode/pkg-plist b/news/leafnode/pkg-plist
index 1104ec4a9fc4..ee150a972cc9 100644
--- a/news/leafnode/pkg-plist
+++ b/news/leafnode/pkg-plist
@@ -2,10 +2,6 @@ bin/leafnode-version
 bin/newsq
 %%ETCDIR%%/config.example
 %%ETCDIR%%/filters.example
-%%ETCDIR%%/nntp.rules.dist
-%%ETCDIR%%/run.tcpd.dist
-%%ETCDIR%%/run.tcpserver.dist
-%%ETCDIR%%/Makefile.dist
 %%ETCDIR%%/UNINSTALL-daemontools
 man/man1/leafnode-version.1.gz
 man/man1/newsq.1.gz
@@ -26,7 +22,6 @@ sbin/fetchnews
 sbin/texpire
 sbin/checkgroups
 sbin/applyfilter
-sbin/setup-daemontools.sh
 @dir %%ETCDIR%%
 @comment only remove these when empty:
 @comment we don't want to kill the news spool across updates