git: 4a56af675823 - main - net/nast: update to 0.2.1-g20210616

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 17 Apr 2023 09:30:39 UTC
The branch main has been updated by fuz:

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

commit 4a56af675823217c3c8a5e10b5554fb9d5c99509
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-04-16 21:18:53 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-17 09:29:19 +0000

    net/nast: update to 0.2.1-g20210616
    
     - chase to new upstream
     - supply -fcommon in CFLAGS to work around duplicate symbol issue
     - add missing USES=ncurses
     - adopt port
    
    Changelog: https://github.com/embyte0/nast/commit/96f4f8ed
---
 net/nast/Makefile | 18 +++++++++---------
 net/nast/distinfo |  5 +++--
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/net/nast/Makefile b/net/nast/Makefile
index fc75acb0f7c8..3ff728468332 100644
--- a/net/nast/Makefile
+++ b/net/nast/Makefile
@@ -1,23 +1,23 @@
 PORTNAME=	nast
-PORTVERSION=	0.2.0
-PORTREVISION=	6
+DISTVERSION=	0.2.1-g20210616
 CATEGORIES=	net
-MASTER_SITES=	BERLIOS
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	fuz@fuz.su
 COMMENT=	Packet sniffer
-WWW=		http://nast.berlios.de
+WWW=		https://github.com/embyte0/nast
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_FreeBSD_13=	ld: error: duplicate symbol: arp_glob
-BROKEN_FreeBSD_14=	ld: error: duplicate symbol: arp_glob
-
 LIB_DEPENDS=	libnet.so:net/libnet
 
-USES=		gmake
+USES=		gmake ncurses
+USE_GITHUB=	yes
+GH_ACCOUNT=	embyte0
+GH_TAGNAME=	96f4f8edd457772485415aaf5404ea56cf2b311f
+
 GNU_CONFIGURE=	yes
+CFLAGS+=	-fcommon
 
 PLIST_FILES=	bin/nast man/man8/nast.8.gz
 
diff --git a/net/nast/distinfo b/net/nast/distinfo
index 1728a35abeda..2c690572fcf6 100644
--- a/net/nast/distinfo
+++ b/net/nast/distinfo
@@ -1,2 +1,3 @@
-SHA256 (nast-0.2.0.tar.gz) = b59adf7980563bca1f44fd6e9a6e1b3c0cfadb53df0d929b6869de53062615c1
-SIZE (nast-0.2.0.tar.gz) = 147568
+TIMESTAMP = 1681684083
+SHA256 (embyte0-nast-0.2.1-g20210616-96f4f8edd457772485415aaf5404ea56cf2b311f_GH0.tar.gz) = 5948d8ff42f2059d327ecf091b788db81a40e7be91636acf2d1f77f02569ef01
+SIZE (embyte0-nast-0.2.1-g20210616-96f4f8edd457772485415aaf5404ea56cf2b311f_GH0.tar.gz) = 145987