diff mbox series

[meta-oe,v2] nethogs: add recipe

Message ID tencent_27FD029FC5AAAEA8AB837C276FD225996D09@qq.com
State New
Headers show
Series [meta-oe,v2] nethogs: add recipe | expand

Commit Message

Wen Yang Nov. 7, 2025, 5:01 p.m. UTC
From: Wen Yang <wenyang.linux@foxmail.com>

NetHogs is a small 'net top' tool. Instead of breaking the traffic
down per protocol or per subnet, like most tools do, it groups
bandwidth by process.

Signed-off-by: Wen Yang <wenyang.linux@foxmail.com>
---
 .../recipes-connectivity/nethogs/nethogs_git.bb | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/nethogs/nethogs_git.bb
diff mbox series

Patch

diff --git a/meta-oe/recipes-connectivity/nethogs/nethogs_git.bb b/meta-oe/recipes-connectivity/nethogs/nethogs_git.bb
new file mode 100644
index 0000000000..29af14961c
--- /dev/null
+++ b/meta-oe/recipes-connectivity/nethogs/nethogs_git.bb
@@ -0,0 +1,17 @@ 
+SUMMARY = "NetHogs is a small 'net top' tool that can group bandwidth by process"
+HOMEPAGE = "https://github.com/raboof/nethogs"
+SECTION = "console/network"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "git://github.com/raboof/nethogs.git;branch=main;protocol=https"
+
+DEPENDS = "ncurses libpcap"
+
+inherit meson pkgconfig
+
+SRCREV = "08daf76d8123943392c84a07108beea3e23ea39b"
+
+FILES:${PN} = "${bindir}"
+FILES:${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/lib*.so* ${libdir}/*.la ${libdir}/pkgconfig/*.pc"
+