> -----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 recipe > > On 11/8/25 10:28, Peter Kjellerstedt wrote: > >> -----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 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. > >> > >> 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 > >> > >> 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 > > > > Change 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.
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. > > >> @@ -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" > > > >> +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. > > > >> + > >> -- > >> 2.25.1 > > > > //Peter //Peter
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#121379): https://lists.openembedded.org/g/openembedded-devel/message/121379 Mute This Topic: https://lists.openembedded.org/mt/116182150/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
