net/bmon: fix Makefile, files/patchfile
While here submitter becomes maintainer. Already maintainer of several ports. PR: 278973 Reported by: portmaster@bsdforge.com
This commit is contained in:
parent
178aa7ce63
commit
57a2d229f9
@ -1,24 +1,25 @@
|
|||||||
PORTNAME= bmon
|
PORTNAME= bmon
|
||||||
PORTVERSION= 4.0
|
PORTVERSION= 4.0
|
||||||
PORTREVISION= 2
|
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
|
PORTREVISION= 3
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= portmaster@BSDforge.com
|
||||||
COMMENT= Human-readable bandwidth monitor and rate estimator
|
COMMENT= Human-readable bandwidth monitor and rate estimator
|
||||||
WWW= https://github.com/tgraf/bmon
|
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
|
LIB_DEPENDS= libconfuse.so:devel/libconfuse
|
||||||
|
|
||||||
|
USES= autoreconf gettext-runtime ncurses pkgconfig:build
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= tgraf
|
GH_ACCOUNT= tgraf
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
||||||
USES= autoreconf ncurses pkgconfig:build
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
--- src/in_sysctl.c.orig 2017-05-18 12:03:29.320093000 -0700
|
--- src/in_sysctl.c.orig 2024-05-14 12:03:29 UTC
|
||||||
+++ src/in_sysctl.c 2017-05-18 12:17:31.135080000 -0700
|
+++ src/in_sysctl.c
|
||||||
@@ -232,7 +232,7 @@ sysctl_read(void)
|
@@ -232,7 +232,7 @@ sysctl_read(void)
|
||||||
snprintf(info_buf, sizeof(info_buf), "%ju", (uintmax_t)ifm->ifm_data.ifi_metric);
|
snprintf(info_buf, sizeof(info_buf), "%ju", (uintmax_t)ifm->ifm_data.ifi_metric);
|
||||||
element_update_info(e, "Metric", info_buf);
|
element_update_info(e, "Metric", info_buf);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user