Initial Commit
- initial default booting image
This commit is contained in:
14
package/nethogs/Config.in
Normal file
14
package/nethogs/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_NETHOGS
|
||||
bool "nethogs"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
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
|
||||
|
||||
comment "nethogs needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
3
package/nethogs/nethogs.hash
Normal file
3
package/nethogs/nethogs.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 111ade20cc545e8dfd7ce4e293bd6b31cd1678a989b6a730bd2fa2acc6254818 nethogs-0.8.8.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.8
|
||||
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