Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2024 12:20:09 GMT
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ee003cdc7c84 - main - news/nntp: fix path for NNTP post
Message-ID:  <202410251220.49PCK9od018595@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dinoex:

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

commit ee003cdc7c8490121affe1b0db5620b3e601d613
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-10-25 12:19:51 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-10-25 12:19:51 +0000

    news/nntp: fix path for NNTP post
    
    - support CIDR in nntp_access
---
 news/nntp/Makefile | 7 +++++--
 news/nntp/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/news/nntp/Makefile b/news/nntp/Makefile
index fcf9ed809d3a..a0e92850c93b 100644
--- a/news/nntp/Makefile
+++ b/news/nntp/Makefile
@@ -1,12 +1,12 @@
 PORTNAME=	nntp
 PORTVERSION=	1.5.12.2
-PORTREVISION=	13
+PORTREVISION=	14
 CATEGORIES=	news
 MASTER_SITES=	ftp://ftp.dinoex.org/pub/c-news/
 DISTNAME=	${PORTNAME}.${PORTVERSION}
 
 PATCH_SITES=	ftp://ftp.dinoex.org/pub/c-news/
-PATCHFILES=	nntp-patch-ansi3
+PATCHFILES=	nntp-patch-ansi4
 
 MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	NNTP with NOV support
@@ -56,6 +56,9 @@ post-patch:
 pre-configure:
 	${REINPLACE_CMD} \
 		-e 's|\#define.ALONE.*||' \
+		-e 's|"usenet"|"news"|' \
+		-e "s=/usr/local/news/lib/inews=${NEWSBIN}/inject/inews=" \
+		-e "s=/usr/local/bin/rnews=${NEWSBIN}/input/rnews=" \
 		-e "s=/usr/local/news/lib/bin/config=${NEWSBIN}/config=" \
 		-e "s=/usr/local/news/cnewsbin=${NEWSBIN}=" \
 		-e "s=/usr/local/news/lib=${NEWSCTL}=" \
diff --git a/news/nntp/distinfo b/news/nntp/distinfo
index 6a156b14fd33..c96bb35424e6 100644
--- a/news/nntp/distinfo
+++ b/news/nntp/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1689263194
+TIMESTAMP = 1729858090
 SHA256 (nntp.1.5.12.2.tar.gz) = c4b4b6e7aa6abfe06300c1667fc55049b01d9f3a2c6f8714845a1dfd4c33fe46
 SIZE (nntp.1.5.12.2.tar.gz) = 153634
-SHA256 (nntp-patch-ansi3) = 5383ea404882d0a8426cb2397af750313d6057dde777252bd7f00a30ac3f5036
-SIZE (nntp-patch-ansi3) = 114056
+SHA256 (nntp-patch-ansi4) = 65a1a08becea34fd91c4a1845abe2252027cb76e089de2bdad14e72cd9f06483
+SIZE (nntp-patch-ansi4) = 115974



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