commit:     75d548296b731ddc5ee5df8c244130d8ad2619bc
Author:     Vladislav Mikhailikov <vmikhailikov <AT> gmail <DOT> com>
AuthorDate: Tue Jun 24 16:38:32 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  5 05:27:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d54829

net-analyzer/cbm: add 0.4

Signed-off-by: Vladislav Mikhailikov <vmikhailikov <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42727
Closes: https://github.com/gentoo/gentoo/pull/42727
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/cbm/Manifest       |  1 +
 net-analyzer/cbm/cbm-0.4.ebuild | 30 ++++++++++++++++++++++++++++++
 net-analyzer/cbm/metadata.xml   |  6 ++++++
 3 files changed, 37 insertions(+)

diff --git a/net-analyzer/cbm/Manifest b/net-analyzer/cbm/Manifest
index ac585801d938..e71149653f35 100644
--- a/net-analyzer/cbm/Manifest
+++ b/net-analyzer/cbm/Manifest
@@ -1 +1,2 @@
 DIST cbm-0.3.2.tar.gz 17448 BLAKE2B 
21acdfb2e125b31f617bd3204cc11ef199647552b67671e62bec7a94ea4a5c213a1099c72261e6370aee06e4a6686392878a30a863778387c08a1a8095855940
 SHA512 
7a597467203786023a8efee23ea1ed65195f872f6287ed2767f9be449cc47757980703f629222f37309c25cc5f201d9581a713479d954ddc99347d641ab4ac34
+DIST cbm-0.4.tar.gz 17889 BLAKE2B 
f46a325156e5cd406448f0c2205615b080f7fe30b93874b306fbfd39a0eca409b76989035f9245b5f3e834a814ed53e57a22d7cf62edeae86e27e56c3809ea7b
 SHA512 
3574b49b403995684da2a6d8d164ad4f3f1ce290060bc91f5a6f5c80e4a4cb81dd7914b7e7dfcff937c0333e20f169de497869d649debf73885e253a7db76222

diff --git a/net-analyzer/cbm/cbm-0.4.ebuild b/net-analyzer/cbm/cbm-0.4.ebuild
new file mode 100644
index 000000000000..d50e38348047
--- /dev/null
+++ b/net-analyzer/cbm/cbm-0.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Color Bandwidth Meter"
+HOMEPAGE="https://github.com/resurrecting-open-source-projects/cbm";
+SRC_URI="https://github.com/resurrecting-open-source-projects/${PN}/archive/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="sys-libs/ncurses:="
+DEPEND="${RDEPEND}"
+BDEPEND="app-text/docbook-xml-dtd:4.4
+       app-text/xmlto
+       virtual/pkgconfig
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.2-tinfo.patch
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}

diff --git a/net-analyzer/cbm/metadata.xml b/net-analyzer/cbm/metadata.xml
index d5554963005f..7ec58cf2302c 100644
--- a/net-analyzer/cbm/metadata.xml
+++ b/net-analyzer/cbm/metadata.xml
@@ -8,4 +8,10 @@
        <upstream>
                <remote-id 
type="github">resurrecting-open-source-projects/cbm</remote-id>
        </upstream>
+       <longdescription>
+       The Color Bandwidth Meter (CBM) is a small program to display the 
traffic
+       currently flowing through the network devices in a simple curses-based 
GUI.
+       The traffic for all interfaces include values as receive, transfer and 
total
+       Bytes/s or bits/s (or its multiples as KB/s and Kb/s).
+       </longdescription>
 </pkgmetadata>

Reply via email to