Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63992 - nethogs-0.5.1.ebuild (New package)
Summary: nethogs-0.5.1.ebuild (New package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-09-14 06:15 UTC by Tom Hendrikx
Modified: 2005-04-03 10:22 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nethogs-0.5.1.ebuild (nethogs-0.5.1.ebuild,668 bytes, text/plain)
2004-09-14 06:21 UTC, Tom Hendrikx
Details
nethogs-0.6.0.ebuild (nethogs-0.6.0.ebuild,662 bytes, text/plain)
2004-09-17 15:17 UTC, Athul Acharya
Details
nethogs-0.6.0.ebuild.diff (nethogs-0.6.0.ebuild.diff,463 bytes, patch)
2005-04-02 11:59 UTC, Marcelo Goes (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hendrikx 2004-09-14 06:15:15 UTC
Hi,

I've just created and tested an ebuild for nethogs, a network analyzing tool that shows bandwidth usage per process. From the web page:

"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. NetHogs does not rely on a special kernel module to be loaded. If there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this. This makes it easy to indentify programs that have gone wild and are suddenly taking up your bandwidth."

More information on nethogs can be found on its homepage: http://nethogs.sourceforge.net

Proposed location in portage: net-analyzer/nethogs

Tom (whyscream)
Comment 1 Tom Hendrikx 2004-09-14 06:21:12 UTC
Created attachment 39569 [details]
nethogs-0.5.1.ebuild
Comment 2 Athul Acharya 2004-09-17 15:17:17 UTC
Created attachment 39811 [details]
nethogs-0.6.0.ebuild

Just a version bump
Comment 3 Tom Hendrikx 2004-12-20 23:03:15 UTC
Current version is at 0.6.0; renaming the ebuild to nethogs-0.6.0.ebuild is enough for a working ebuild.
Comment 4 Daniel Willmann 2005-02-15 20:43:44 UTC
Just wanted to say that I successfully merged nethogs. Works w/o problems here.

x86
gentoo-dev-sources-2.6.10

Additionally I'd add http://nethogs.sourceforge.net/ to the URL field but I'm not allowed :-(
Comment 5 Dan McDonald 2005-04-02 11:35:58 UTC
This does not compile for me:

Calculating dependencies ...done!
>>> emerge (1 of 1) net-analyzer/nethogs-0.6.0 to /
>>> md5 src_uri ;-) nethogs-0.6.0.tar.gz
>>> Unpacking source...
>>> Unpacking nethogs-0.6.0.tar.gz to /var/tmp/portage/nethogs-0.6.0/work
>>> Source unpacked.
g++ -O2 -c structs.cpp
g++ -O2 -c packet.cpp
g++ -O2 -c connection.cpp
g++ -O2 -c process.cpp
g++ -O2 -c refresh.cpp
gcc -O2 -c decpcap.c
decpcap.c: In function `dp_parse_ip':
decpcap.c:79: error: label at end of compound statement
decpcap.c: In function `dp_parse_ip6':
decpcap.c:101: error: label at end of compound statement
decpcap.c: In function `dp_parse_ethernet':
decpcap.c:131: error: label at end of compound statement
decpcap.c: In function `dp_parse_ppp':
decpcap.c:176: error: label at end of compound statement
make: *** [decpcap.o] Error 1

!!! ERROR: net-analyzer/nethogs-0.6.0 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

The official site mentions something about compile issues on > gcc 3.3, I'm running gcc 3.4.3-20050110. It suggests I use a development snapshot (0.6.1-pre2.tar.gz), but that link gives me the deaded 404.
Comment 6 Marcelo Goes (RETIRED) gentoo-dev 2005-04-02 11:59:29 UTC
Created attachment 55132 [details, diff]
nethogs-0.6.0.ebuild.diff

I can't download the dev snapshot either, just e-mailed the author about it.
Comment 7 Marcelo Goes (RETIRED) gentoo-dev 2005-04-03 10:22:31 UTC
In cvs.
I created a small patch to allow it to compile with gcc-3.4.

For those who are interested, the author replied and the dev snapshots are up to be downloaded now.