summaryrefslogtreecommitdiff
path: root/package/iptraf-ng
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 /package/iptraf-ng
parentf3b1b92d321b4b21c35e6f8ac27f076edd268639 (diff)
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>
Diffstat (limited to 'package/iptraf-ng')
-rw-r--r--package/iptraf-ng/Config.in16
-rw-r--r--package/iptraf-ng/iptraf-ng.mk15
2 files changed, 31 insertions, 0 deletions
diff --git a/package/iptraf-ng/Config.in b/package/iptraf-ng/Config.in
new file mode 100644
index 000000000..fa369b327
--- /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 000000000..ae69680ea
--- /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))