pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/bmon bmon: Update to 4.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/23966fa7d1c1
branches: trunk
changeset: 448070:23966fa7d1c1
user: nia <nia%pkgsrc.org@localhost>
date: Thu Mar 04 10:42:09 2021 +0000
description:
bmon: Update to 4.0
v4.0 - Dec 13, 2016
* Use monotonic clock instead of realtime clock
* Pick default selected interface based on policy
* Collect RX NoHandler statistics if available (Linux)
* CentOS installation instructions
* Proper stdout flush in ASCII mode
* Bugfixes
diffstat:
net/bmon/Makefile | 11 +++++------
net/bmon/distinfo | 11 +++++------
net/bmon/patches/patch-src_in__sysctl.c | 26 --------------------------
3 files changed, 10 insertions(+), 38 deletions(-)
diffs (78 lines):
diff -r 7e056c9e2d4a -r 23966fa7d1c1 net/bmon/Makefile
--- a/net/bmon/Makefile Thu Mar 04 10:42:02 2021 +0000
+++ b/net/bmon/Makefile Thu Mar 04 10:42:09 2021 +0000
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.19 2017/07/03 11:53:11 wiedi Exp $
+# $NetBSD: Makefile,v 1.20 2021/03/04 10:42:09 nia Exp $
#
-DISTNAME= bmon-3.8
+DISTNAME= bmon-4.0
CATEGORIES= net
-MASTER_SITES= https://github.com/tgraf/
-LICENSE= mit AND 2-clause-bsd
-GITHUB_RELEASE= v3.8
+MASTER_SITES= ${MASTER_SITE_GITHUB:=tgraf/}
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= hsaliak%gmail.com@localhost
HOMEPAGE= https://github.com/tgraf/bmon
COMMENT= Interface bandwidth monitor
+LICENSE= mit AND 2-clause-bsd
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
@@ -20,5 +20,4 @@
.include "../../devel/confuse/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
-.include "../../mk/fetch/github.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 7e056c9e2d4a -r 23966fa7d1c1 net/bmon/distinfo
--- a/net/bmon/distinfo Thu Mar 04 10:42:02 2021 +0000
+++ b/net/bmon/distinfo Thu Mar 04 10:42:09 2021 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.7 2017/07/03 11:53:11 wiedi Exp $
+$NetBSD: distinfo,v 1.8 2021/03/04 10:42:09 nia Exp $
-SHA1 (bmon-3.8.tar.gz) = f10ddfebf4b6c2fcdeea9ccd3027dd5291cd6838
-RMD160 (bmon-3.8.tar.gz) = eba503ff9d5bedc3901ab546193effcef8fbb298
-SHA512 (bmon-3.8.tar.gz) = 629a8678bf76e2dab125a08b334925f953e3ddd5ee0b2b865f157013a5462a5fa8e1bc76920487a03f5afdf12143c4a2cc1c6ab51d514119ca9754cc67117d84
-Size (bmon-3.8.tar.gz) = 195437 bytes
+SHA1 (bmon-4.0.tar.gz) = 8fae6448c2004602df66f15360da6efaa6d9b0c9
+RMD160 (bmon-4.0.tar.gz) = 9f8639ef55c77f1085169d40c02f5702ac30cfc4
+SHA512 (bmon-4.0.tar.gz) = 5b8cc965b0b05c4bc107d038bba4fcd3317a89bc5e33f77f45a05431c197ad7fa4054d5b0f4ca9b52e8779cb4463d0f429bf22c7a2047abb1ca39174220a46ad
+Size (bmon-4.0.tar.gz) = 202241 bytes
SHA1 (patch-examples_Makefile.in) = f7dab570d8b141226f70774aed3a5f119793229f
SHA1 (patch-src_in__netlink.c) = 2bdc721c284984a2839a33d1eef403afe8e4e35f
-SHA1 (patch-src_in__sysctl.c) = 71c0a11b7e19e0de0eaac281f94e18835aeb532e
diff -r 7e056c9e2d4a -r 23966fa7d1c1 net/bmon/patches/patch-src_in__sysctl.c
--- a/net/bmon/patches/patch-src_in__sysctl.c Thu Mar 04 10:42:02 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-src_in__sysctl.c,v 1.1 2015/12/25 20:08:38 joerg Exp $
-
---- src/in_sysctl.c.orig 2015-07-25 08:45:17.000000000 +0000
-+++ src/in_sysctl.c
-@@ -226,17 +226,19 @@ sysctl_read(void)
- attr_update(e, m->attrid, rx, tx, flags);
- }
-
-- snprintf(info_buf, sizeof(info_buf), "%u", ifm->ifm_data.ifi_mtu);
-+ snprintf(info_buf, sizeof(info_buf), "%ju", (uintmax_t)ifm->ifm_data.ifi_mtu);
- element_update_info(e, "MTU", info_buf);
-
-- snprintf(info_buf, sizeof(info_buf), "%u", 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);
-
-+#ifndef __NetBSD__
- snprintf(info_buf, sizeof(info_buf), "%u", ifm->ifm_data.ifi_recvquota);
- element_update_info(e, "RX-Quota", info_buf);
-
- snprintf(info_buf, sizeof(info_buf), "%u", ifm->ifm_data.ifi_xmitquota);
- element_update_info(e, "TX-Quota", info_buf);
-+#endif
-
- element_notify_update(e, NULL);
- element_lifesign(e, 1);
Home |
Main Index |
Thread Index |
Old Index