forked from buildroot/buildroot
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Marcus Hoffmann <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]>
- Loading branch information
1 parent
3273123
commit 9ef4735
Showing
5 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2204,6 +2204,7 @@ F: utils/config | |
F: utils/diffconfig | ||
|
||
N: Marcus Hoffmann <[email protected]> | ||
F: package/nethogs/ | ||
F: package/pico-sdk/ | ||
F: package/picotool/ | ||
F: package/python-jc/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
config BR2_PACKAGE_NETHOGS | ||
bool "nethogs" | ||
select BR2_PACKAGE_LIBPCAP | ||
select BR2_PACKAGE_NCURSES | ||
help | ||
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. | ||
|
||
https://github.com/raboof/nethogs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Locally computed | ||
sha256 957d6afcc220dfbba44c819162f44818051c5b4fb793c47ba98294393986617d nethogs-0.8.7.tar.gz | ||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
################################################################################ | ||
# | ||
# nethogs | ||
# | ||
################################################################################ | ||
|
||
NETHOGS_VERSION = 0.8.7 | ||
NETHOGS_SITE = $(call github,raboof,nethogs,v$(NETHOGS_VERSION)) | ||
NETHOGS_LICENSE = GPL-2.0+ | ||
NETHOGS_LICENSE_FILES = COPYING | ||
NETHOGS_DEPENDENCIES = libpcap ncurses | ||
|
||
define NETHOGS_BUILD_CMDS | ||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) nethogs | ||
endef | ||
|
||
define NETHOGS_INSTALL_TARGET_CMDS | ||
$(INSTALL) -D -m 0755 $(@D)/src/nethogs $(TARGET_DIR)/usr/sbin/nethogs | ||
endef | ||
|
||
$(eval $(generic-package)) |