iptraf-ng: new package
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Wed, 7 May 2014 20:07:28 +0000 (17:07 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 9 May 2014 11:55:59 +0000 (13:55 +0200)
[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>
package/Config.in
package/iptraf-ng/Config.in [new file with mode: 0644]
package/iptraf-ng/iptraf-ng.mk [new file with mode: 0644]

index 2da27ceb8d2a3bba78ba1991680363ac9c16f205..3bc8d2446e9430a15d3af295e55ffdb68ae7811d 100644 (file)
@@ -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"
diff --git a/package/iptraf-ng/Config.in b/package/iptraf-ng/Config.in
new file mode 100644 (file)
index 0000000..fa369b3
--- /dev/null
@@ -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
diff --git a/package/iptraf-ng/iptraf-ng.mk b/package/iptraf-ng/iptraf-ng.mk
new file mode 100644 (file)
index 0000000..ae69680
--- /dev/null
@@ -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))