mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/nethogs: new package
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
327312359a
commit
9ef4735843
@@ -2204,6 +2204,7 @@ F: utils/config
|
|||||||
F: utils/diffconfig
|
F: utils/diffconfig
|
||||||
|
|
||||||
N: Marcus Hoffmann <bubu@bubu1.eu>
|
N: Marcus Hoffmann <bubu@bubu1.eu>
|
||||||
|
F: package/nethogs/
|
||||||
F: package/pico-sdk/
|
F: package/pico-sdk/
|
||||||
F: package/picotool/
|
F: package/picotool/
|
||||||
F: package/python-jc/
|
F: package/python-jc/
|
||||||
|
|||||||
@@ -2527,6 +2527,7 @@ endif
|
|||||||
source "package/netcalc/Config.in"
|
source "package/netcalc/Config.in"
|
||||||
source "package/netcat/Config.in"
|
source "package/netcat/Config.in"
|
||||||
source "package/netcat-openbsd/Config.in"
|
source "package/netcat-openbsd/Config.in"
|
||||||
|
source "package/nethogs/Config.in"
|
||||||
source "package/netplug/Config.in"
|
source "package/netplug/Config.in"
|
||||||
source "package/netsnmp/Config.in"
|
source "package/netsnmp/Config.in"
|
||||||
source "package/netstat-nat/Config.in"
|
source "package/netstat-nat/Config.in"
|
||||||
|
|||||||
10
package/nethogs/Config.in
Normal file
10
package/nethogs/Config.in
Normal file
@@ -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
|
||||||
3
package/nethogs/nethogs.hash
Normal file
3
package/nethogs/nethogs.hash
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Locally computed
|
||||||
|
sha256 957d6afcc220dfbba44c819162f44818051c5b4fb793c47ba98294393986617d nethogs-0.8.7.tar.gz
|
||||||
|
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||||
21
package/nethogs/nethogs.mk
Normal file
21
package/nethogs/nethogs.mk
Normal file
@@ -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))
|
||||||
Reference in New Issue
Block a user