Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2025 01:39:36 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0ba00add87f1 - main - net/nncp: Update 8.8.3 => 8.13.0
Message-ID:  <202510060139.5961daXK070198@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

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

commit 0ba00add87f1432fef2bc8592161373f5c66f3eb
Author:     Sergey Matveev <stargrave@stargrave.org>
AuthorDate: 2025-10-06 01:34:34 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-10-06 01:39:31 +0000

    net/nncp: Update 8.8.3 => 8.13.0
    
    Changelogs:
    http://www.nncpgo.org/Release-8_005f9_005f0.html
    http://www.nncpgo.org/Release-8_005f10_005f0.html
    http://www.nncpgo.org/Release-8_005f11_005f0.html
    http://www.nncpgo.org/Release-8_005f12_005f0.html
    http://www.nncpgo.org/Release-8_005f12_005f1.html
    http://www.nncpgo.org/Release-8_005f13_005f0.html
    
    PR:             289697
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
    MFH:            2025Q4
---
 net/nncp/Makefile  | 23 ++++++++++++++++-------
 net/nncp/distinfo  |  6 +++---
 net/nncp/pkg-plist |  1 +
 3 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/net/nncp/Makefile b/net/nncp/Makefile
index e07dd68c8563..2bbe2330f7b1 100644
--- a/net/nncp/Makefile
+++ b/net/nncp/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	nncp
-DISTVERSION=	8.8.3
+DISTVERSION=	8.13.0
 CATEGORIES=	net
 MASTER_SITES=	http://www.nncpgo.org/download/
 
@@ -10,14 +10,10 @@ WWW=		http://www.nncpgo.org/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		go:1.21,modules,no_targets tar:xz
+USES=		go:modules,no_targets tar:xz
 
 USE_RC_SUBR=	nncp-caller nncp-daemon nncp-toss
 
-MAKE_ARGS=	INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH}
-MAKE_ENV=	${GO_ENV}
-INSTALL_TARGET=	install-strip
-
 SUB_FILES=	pkg-message pkg-install pkg-deinstall
 
 INFO=		nncp
@@ -25,8 +21,21 @@ PORTDOCS=	AUTHORS NEWS NEWS.RU README README.RU THANKS
 
 OPTIONS_DEFINE=	DOCS
 
+do-build:
+	GO=${GO_CMD} ${GO_ENV} GO_CFLAGS="${GO_BUILDFLAGS}" \
+		CFGPATH=${PREFIX}/etc/nncp.hjson \
+		INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH} \
+		PREFIX=${STAGEDIR}${PREFIX} \
+		GOCACHE="${WRKDIR}/.cache" ${WRKSRC}/build
+
+do-install:
+	PREFIX=${STAGEDIR}${PREFIX} INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH} \
+		${WRKSRC}/install
+
 post-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
-	${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample
+	${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample \
+		${STAGEDIR}${PREFIX}/etc/nncp.conf.sample
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.mk>
diff --git a/net/nncp/distinfo b/net/nncp/distinfo
index be44330c42cb..396067c2036c 100644
--- a/net/nncp/distinfo
+++ b/net/nncp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1758765432
-SHA256 (nncp-8.8.3.tar.xz) = 225750084747e970d82be0d6e6507fe47145146baad670e40b011a568eef22f1
-SIZE (nncp-8.8.3.tar.xz) = 1822068
+TIMESTAMP = 1759061549
+SHA256 (nncp-8.13.0.tar.xz) = 8ce3680e98005198d8975e031760b3a9b33be6d2d61844c799f778ca233d05f4
+SIZE (nncp-8.13.0.tar.xz) = 2662700
diff --git a/net/nncp/pkg-plist b/net/nncp/pkg-plist
index e89c748f3046..d29cc7b61bcb 100644
--- a/net/nncp/pkg-plist
+++ b/net/nncp/pkg-plist
@@ -1,3 +1,4 @@
+bin/nncp
 bin/nncp-ack
 bin/nncp-bundle
 bin/nncp-call


home | help

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