git: 57a2d229f906 - main - net/bmon: fix Makefile, files/patchfile

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Thu, 16 May 2024 06:19:02 UTC
The branch main has been updated by fernape:

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

commit 57a2d229f906e8023dc657a737822ec22eb23f4f
Author:     Chris Hutchinson <portmaster@bsdforge.com>
AuthorDate: 2024-05-15 18:49:55 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-05-16 06:18:32 +0000

    net/bmon: fix Makefile, files/patchfile
    
    While here submitter becomes maintainer. Already maintainer of several ports.
    
    PR:             278973
    Reported by:    portmaster@bsdforge.com
---
 net/bmon/Makefile                    | 13 +++++++------
 net/bmon/files/patch-src_in_sysctl.c |  4 ++--
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/net/bmon/Makefile b/net/bmon/Makefile
index 48306c64a171..b816bf7e40bf 100644
--- a/net/bmon/Makefile
+++ b/net/bmon/Makefile
@@ -1,24 +1,25 @@
 PORTNAME=	bmon
 PORTVERSION=	4.0
-PORTREVISION=	2
 DISTVERSIONPREFIX=	v
+PORTREVISION=	3
 CATEGORIES=	net
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	portmaster@BSDforge.com
 COMMENT=	Human-readable bandwidth monitor and rate estimator
 WWW=		https://github.com/tgraf/bmon
 
-LICENSE=	MIT
+LICENSE=	BSD2CLAUSE MIT
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.BSD
+LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.MIT
 
 LIB_DEPENDS=	libconfuse.so:devel/libconfuse
 
+USES=		autoreconf gettext-runtime ncurses pkgconfig:build
 USE_GITHUB=	yes
 GH_ACCOUNT=	tgraf
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-USES=		autoreconf ncurses pkgconfig:build
-
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.mk>
diff --git a/net/bmon/files/patch-src_in_sysctl.c b/net/bmon/files/patch-src_in_sysctl.c
index 6141a327bb31..b6727554d05c 100644
--- a/net/bmon/files/patch-src_in_sysctl.c
+++ b/net/bmon/files/patch-src_in_sysctl.c
@@ -1,5 +1,5 @@
---- src/in_sysctl.c.orig	2017-05-18 12:03:29.320093000 -0700
-+++ src/in_sysctl.c	2017-05-18 12:17:31.135080000 -0700
+--- src/in_sysctl.c.orig	2024-05-14 12:03:29 UTC
++++ src/in_sysctl.c
 @@ -232,7 +232,7 @@ sysctl_read(void)
  		snprintf(info_buf, sizeof(info_buf), "%ju", (uintmax_t)ifm->ifm_data.ifi_metric);
  		element_update_info(e, "Metric", info_buf);