summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-05-07 17:07:28 -0300
committerPeter Korsgaard <peter@korsgaard.com>2014-05-09 13:55:59 +0200
commitb5ece69cd34ddbe5e28a97720decf353637b727f (patch)
tree586b48b2022c1473840584f4cc51a1d5d7ea0e15
parentf3b1b92d321b4b21c35e6f8ac27f076edd268639 (diff)
downloadbuildroot-b5ece69cd34ddbe5e28a97720decf353637b727f.tar.gz
buildroot-b5ece69cd34ddbe5e28a97720decf353637b727f.zip
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>
-rw-r--r--package/Config.in1
-rw-r--r--package/iptraf-ng/Config.in16
-rw-r--r--package/iptraf-ng/iptraf-ng.mk15
3 files changed, 32 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 2da27ceb8d..3bc8d2446e 100644
--- a/package/Config.in
+++ b/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"
diff --git a/package/iptraf-ng/Config.in b/package/iptraf-ng/Config.in
new file mode 100644
index 0000000000..fa369b327c
--- /dev/null
+++ b/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
diff --git a/package/iptraf-ng/iptraf-ng.mk b/package/iptraf-ng/iptraf-ng.mk
new file mode 100644
index 0000000000..ae69680eaf
--- /dev/null
+++ b/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))
OpenPOWER on IntegriCloud