Parcourir la source

iptraf-ng: new package

[Peter: needs IPv6, doesn't need threads. Fix ncurses library handling]
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Ezequiel Garcia il y a 11 ans
Parent
commit
b5ece69cd3
3 fichiers modifiés avec 32 ajouts et 0 suppressions
  1. 1 0
      package/Config.in
  2. 16 0
      package/iptraf-ng/Config.in
  3. 15 0
      package/iptraf-ng/iptraf-ng.mk

+ 1 - 0
package/Config.in

@@ -933,6 +933,7 @@ source "package/iproute2/Config.in"
 source "package/ipsec-tools/Config.in"
 source "package/ipset/Config.in"
 source "package/iptables/Config.in"
+source "package/iptraf-ng/Config.in"
 source "package/iputils/Config.in"
 source "package/iw/Config.in"
 source "package/kismet/Config.in"

+ 16 - 0
package/iptraf-ng/Config.in

@@ -0,0 +1,16 @@
+config BR2_PACKAGE_IPTRAF_NG
+	bool "iptraf-ng"
+	select BR2_PACKAGE_NCURSES
+	select BR2_PACKAGE_NCURSES_TARGET_PANEL
+	depends on BR2_INET_IPV6
+	help
+	  IPTraf-ng is a ncurses-based network monitoring utility. It gathers
+	  data like TCP connection packet and byte counts, interface statistics
+	  and activity indicators.
+
+	  https://fedorahosted.org/iptraf-ng/
+
+	  IPTraf-ng is a fork of original IPTraf v3.0.0 (http://iptraf.seul.org).
+
+comment "iptraf-ng needs a toolchain w/ IPv6"
+	depends on !BR2_INET_IPV6

+ 15 - 0
package/iptraf-ng/iptraf-ng.mk

@@ -0,0 +1,15 @@
+################################################################################
+#
+# iptraf-ng
+#
+################################################################################
+
+IPTRAF_NG_VERSION = 1.1.4
+IPTRAF_NG_SITE = https://fedorahosted.org/releases/i/p/iptraf-ng/
+IPTRAF_NG_LICENSE = GPLv2+
+IPTRAF_NG_LICENSE_FILES = LICENSE
+IPTRAF_NG_DEPENDENCIES = ncurses
+
+IPTRAF_NG_MAKE_ENV = NCURSES_LDFLAGS="-lpanel -lncurses"
+
+$(eval $(autotools-package))