git: 37605ff55266 - main - net/vnstat: Update to 2.12

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 05 Feb 2024 23:32:03 UTC
The branch main has been updated by diizzy:

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

commit 37605ff5526626d723f17606b9bc7eac49bb8a02
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-02-05 23:29:27 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-02-05 23:29:59 +0000

    net/vnstat: Update to 2.12
    
    * Rearrange Makefile to closer follow Porters Handbook
    
    Changelog: https://github.com/vergoh/vnstat/releases/tag/v2.12
    
    PR:             276529
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 net/vnstat/Makefile | 15 +++++++++------
 net/vnstat/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
index eaac4e5db61c..08afdbe2f241 100644
--- a/net/vnstat/Makefile
+++ b/net/vnstat/Makefile
@@ -1,9 +1,8 @@
 PORTNAME=	vnstat
-PORTVERSION=	2.11
-PORTREVISION=	1
+DISTVERSION=	2.12
 CATEGORIES=	net
-MASTER_SITES=	https://github.com/vergoh/vnstat/releases/download/v${PORTVERSION}/ \
-		https://humdi.net/vnstat/
+MASTER_SITES=	https://github.com/vergoh/${PORTNAME}/releases/download/v${DISTVERSION}/ \
+		https://humdi.net/${PORTNAME}/
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Console-based network traffic monitor
@@ -11,12 +10,13 @@ WWW=		https://humdi.net/vnstat/ \
 		https://github.com/vergoh/vnstat
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		localbase sqlite
 
-CONFIGURE_ARGS=	--disable-extra-paths
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+
 INSTALL_TARGET=	install-exec install-man
 USE_RC_SUBR=	vnstat
 
@@ -28,13 +28,16 @@ SUB_FILES=	pkg-message
 SUB_LIST=	USERS=${USERS} \
 		GROUPS=${GROUPS}
 
+CONFIGURE_ARGS=	--disable-extra-paths
+
 OPTIONS_DEFINE=	GUI DOCS
 OPTIONS_DEFAULT=GUI
 OPTIONS_SUB=	yes
+
 GUI_DESC=	Build with graphics/gd dependency
 
-GUI_CONFIGURE_OFF=	--disable-image-output
 GUI_LIB_DEPENDS=	libgd.so:graphics/gd
+GUI_CONFIGURE_OFF=	--disable-image-output
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/cfg/vnstat.conf ${STAGEDIR}${PREFIX}/etc/vnstat.conf.sample
diff --git a/net/vnstat/distinfo b/net/vnstat/distinfo
index 7078701c90ad..fa3a54bf3e8d 100644
--- a/net/vnstat/distinfo
+++ b/net/vnstat/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692812380
-SHA256 (vnstat-2.11.tar.gz) = babc3f1583cc40e4e8ffb2f53296d93d308cb5a5043e85054f6eaf7b4ae57856
-SIZE (vnstat-2.11.tar.gz) = 312821
+TIMESTAMP = 1705942248
+SHA256 (vnstat-2.12.tar.gz) = b7386b12fc1fc6f47fab31f208b12eda61862e63e229e84e95a6fa80406d2852
+SIZE (vnstat-2.12.tar.gz) = 325227