git: 2963bb03573c - main - net-mgmt/nstat: use recommended scheme for unversioned software

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Tue, 07 Feb 2023 19:20:31 UTC
The branch main has been updated by glebius (src committer):

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

commit 2963bb03573cef0556895f54ebb95ad43fcc42c8
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2023-02-07 19:20:09 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2023-02-07 19:20:09 +0000

    net-mgmt/nstat: use recommended scheme for unversioned software
    
    The nstat is unlikely to have a version in foreseeable future. Bump
    PORTEPOCH and use what the Porters Handbook suggest. Remove the extra
    patch, which in reality is just the top commit of the upstream git tree.
    
    Take over maintainership due to maintainer timeout(s).
    
    PR:     269138
---
 net-mgmt/nstat/Makefile | 11 ++++-------
 net-mgmt/nstat/distinfo |  8 +++-----
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/net-mgmt/nstat/Makefile b/net-mgmt/nstat/Makefile
index 876b4bc22a00..f4c06c3ecafe 100644
--- a/net-mgmt/nstat/Makefile
+++ b/net-mgmt/nstat/Makefile
@@ -1,12 +1,9 @@
 PORTNAME=	nstat
-PORTVERSION=	1.0
-PORTREVISION=	4
+DISTVERSION=	g20221110
+PORTEPOCH=	1
 CATEGORIES=	net-mgmt
 
-PATCH_SITES=	https://github.com/gallatin/${PORTNAME}/commit/
-PATCHFILES=	887938e948bb3f835c3554b482ad315df6cbbc0c.patch:-p1
-
-MAINTAINER=	swills@FreeBSD.org
+MAINTAINER=	glebius@FreeBSD.org
 COMMENT=	Replacement for bw/netstat/vmstat/pcm-memory.x
 WWW=		https://github.com/gallatin/nstat
 
@@ -19,7 +16,7 @@ RUN_DEPENDS_amd64=	pcm-memory:sysutils/intel-pcm
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	gallatin
-GH_TAGNAME=	89b3844
+GH_TAGNAME=	887938e
 
 PLIST_FILES=	bin/nstat \
 		man/man1/nstat.1.gz
diff --git a/net-mgmt/nstat/distinfo b/net-mgmt/nstat/distinfo
index e556657116d1..b272d7130573 100644
--- a/net-mgmt/nstat/distinfo
+++ b/net-mgmt/nstat/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1672661994
-SHA256 (gallatin-nstat-1.0-89b3844_GH0.tar.gz) = 6a7f6ba599f4765bc1d2da808fa1a86eb1041ef7c1105f6fff8c3e00953af89c
-SIZE (gallatin-nstat-1.0-89b3844_GH0.tar.gz) = 5195
-SHA256 (887938e948bb3f835c3554b482ad315df6cbbc0c.patch) = 17a47b4a73b7a30b04d0c0beb571b7217339a5db40479d2521949ae271df99f6
-SIZE (887938e948bb3f835c3554b482ad315df6cbbc0c.patch) = 1197
+TIMESTAMP = 1668099115
+SHA256 (gallatin-nstat-g20221110-887938e_GH0.tar.gz) = b2a0fff0deec7807444fbec96a3f036607f9487df4c62b3a1d9ff915d8ce53ce
+SIZE (gallatin-nstat-g20221110-887938e_GH0.tar.gz) = 5191