nethogs: add recipe
PATCH v2 1/1 nethogs: add recipe
From: Wen Yang <[email protected]>
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.
--- .../recipes-connectivity/nethogs/nethogs_git.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-oe/recipes-connectivity/nethogs/nethogs_git.bb
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +17 -0
@@ -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" +
Signature · 1 line
2.25.1
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb
Quoted 24 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of wenyang.linux via lists.openembedded.org
Sent: den 7 november 2025 18:02
To: [email protected]; [email protected]; Khem Raj <[email protected]>
Cc: Wen Yang <[email protected]>
Subject: [oe] [meta-oe][PATCH v2] nethogs: add recipeFrom: Wen Yang <[email protected]>
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 <[email protected]>--- .../recipes-connectivity/nethogs/nethogs_git.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-oe/recipes-connectivity/nethogs/nethogs_git.bbmeta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +0
-0
Change the version to "0.8.8".
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb line 12
Quoted 13 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +12
-0@@ -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 +
Add:
PV .= "+git"
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb line 16
Quoted 4 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +4
-0+SRCREV = "08daf76d8123943392c84a07108beea3e23ea39b" + +FILES:${PN} = "${bindir}" +FILES:${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/lib*.so* ${libdir}/*.la ${libdir}/pkgconfig/*.pc"
Remove the two FILES variables. The defaults work just fine.
Quoted 3 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +1
-1+ --2.25.1
//Peter
Quoted 19 lines · Peter Kjellerstedt
Quoted 19 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of wenyang.linux via lists.openembedded.org
Sent: den 7 november 2025 18:02
To: [email protected]; [email protected]; Khem Raj <[email protected]>
Cc: Wen Yang <[email protected]>
Subject: [oe] [meta-oe][PATCH v2] nethogs: add recipeFrom: Wen Yang <[email protected]>
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 <[email protected]>--- .../recipes-connectivity/nethogs/nethogs_git.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)create mode 100644 meta-oe/recipes-connectivity/nethogs/nethogs_git.bb
Quoted 8 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb
Quoted 5 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +0
-0Change the version to "0.8.8".
Thanks for your comment.
We will follow your suggestion to change it to 0.8.8.
There are also 6 patches that will be backported because 0.8.8 has issues with meson. We will send the v3 patch soon.
Quoted 30 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb line 12
Quoted 13 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +12
-0@@ -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 +Add:
PV .= "+git"
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb line 16
Quoted 4 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +4
-0+SRCREV = "08daf76d8123943392c84a07108beea3e23ea39b" + +FILES:${PN} = "${bindir}" +FILES:${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/lib*.so* ${libdir}/*.la ${libdir}/pkgconfig/*.pc"Remove the two FILES variables. The defaults work just fine.
Quoted 3 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +1
-1+ --2.25.1
//Peter
Quoted 35 lines
-----Original Message-----
From: Wen Yang <[email protected]>
Sent: den 8 november 2025 07:37
To: Peter Kjellerstedt <[email protected]>; [email protected]; Khem Raj <[email protected]>
Subject: Re: [oe] [meta-oe][PATCH v2] nethogs: add recipeQuoted 19 lines · Peter Kjellerstedt
Quoted 19 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of wenyang.linux via lists.openembedded.org
Sent: den 7 november 2025 18:02
To: [email protected]; [email protected]; Khem Raj <[email protected]>
Cc: Wen Yang <[email protected]>
Subject: [oe] [meta-oe][PATCH v2] nethogs: add recipeFrom: Wen Yang <[email protected]>
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 <[email protected]>--- .../recipes-connectivity/nethogs/nethogs_git.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)create mode 100644 meta-oe/recipes-connectivity/nethogs/nethogs_git.bb
Quoted 8 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb
Quoted 5 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +0
-0Change the version to "0.8.8".
Quoted 5 lines
Thanks for your comment.
We will follow your suggestion to change it to 0.8.8. There are also 6 patches that will be backported because 0.8.8 has issues with meson.
We will send the v3 patch soon.
A slight misunderstanding. I did not mean that you should revert the SRCREV to match the v0.8.8 tag. Just that you should set PV to 0.8.8+git since that is what the SRCREV below is based on.
Quoted 26 lines
Quoted 26 lines
Quoted 4 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +2
-0@@ -0,0 +1,17 @@ +SUMMARY = "NetHogs is a small 'net top' tool that can group bandwidth by process" +HOMEPAGE = "https://github.com/raboof/nethogs"meta-oe/recipes-connectivity/nethogs/nethogs_git.bb line 12
Quoted 10 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +10
-0+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 +Add:
PV .= "+git"
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb line 16
Quoted 4 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +4
-0+SRCREV = "08daf76d8123943392c84a07108beea3e23ea39b" + +FILES:${PN} = "${bindir}" +FILES:${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/lib*.so* ${libdir}/*.la ${libdir}/pkgconfig/*.pc"Remove the two FILES variables. The defaults work just fine.
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
meta-oe/recipes-connectivity/nethogs/nethogs_git.bb new file +1
-1+ --2.25.1
//Peter
//Peter