bmon: upgrade 4.0 -> 5.0

From 2ae37918536db0431b0667fc4800a0b15b9e1a80 Mon Sep 17 00:00:00 2001
From: Corey Siltala <csiltala@atcorp.com>
Date: Tue, 22 Sep 2026 19:01:49 -0500
Subject: [PATCH] bmon: upgrade 4.0 -> 5.0

Note: ownership of bmon repo was transferred from Thomas Graf (tgraf)
      to Jafar Al-Gharaibeh (Jafaral)

Fixes:
- out_curses: use xcalloc instead of a fixed buffer
- Avoid trying to include <values.h> on Android
- Fix typographical errors
- curses: Fix seperator lines
- Fix build in FreeBSD/DragonflyBSD
- fix segfault on element removal
- fix: Fix memory leaks in module_set()
- fix: Convert usage of strdup/free to xstrdup/xfree
- Fix compile issue in OpenBSD
- Fix spelling and grammar in docs and comments

Features:
- Allow numeric colors in bmonrc
- curses: Add CTRL-N/CTRL-P for next/previous element
- feat: Add IPv4/IPv6 addresses to additional info
- feat: Add configure option to disable IPv6 in netlink module
- feat: Add ability to toggle TC elements
- curses: render graphs with Braille cells
- display filters for TC ingress and egress
- Add support for JSON output
- Remove the 'Really quit' dialog and just exit cleanly

Misc:
- Update to autoconf of the common era

See full release notes at https://github.com/Jafaral/bmon/releases/tag/v5.0

Signed-off-by: Corey Siltala <csiltala@atcorp.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Corey J. Siltala
2026-09-24 21:56:17 -07:00
committed by Khem Raj
parent a227e4563e
commit 75feccfbeb
2 changed files with 15 additions and 11 deletions
@@ -1,11 +0,0 @@
DESCRIPTION = "Portable Bandwidth Monitor and rate estimator"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
# only works with libnl-0.5.0
DEPENDS = "libnl libconfuse ncurses"
SRCREV = "1b3f11bde315e221474f7d066ce4efb4ff4d39e3"
SRC_URI = "git://github.com/tgraf/bmon.git;branch=master;protocol=https"
inherit autotools pkgconfig
@@ -0,0 +1,15 @@
SUMMARY = "Portable Bandwidth Monitor and rate estimator"
HOMEPAGE = "https://github.com/Jafaral/bmon"
SECTION = "net"
LICENSE = "BSD-2-Clause AND MIT"
LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed \
file://LICENSE.BSD;md5=5c262c13b60ebefe3060aed37d334ab6 \
                   "
DEPENDS = "libconfuse libnl ncurses"
SRC_URI = "https://github.com/Jafaral/${BPN}/releases/download/v${PV}/${BP}.tar.gz"
SRC_URI[sha256sum] = "6016e41fdda9166b86b09a0ac601a0c453c3b35acdf904c97a8a555459ad73c0"
inherit autotools pkgconfig