summaryrefslogtreecommitdiff
path: root/package/iftop
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/iftop
Initial import
Diffstat (limited to 'package/iftop')
-rw-r--r--package/iftop/Config.in14
-rw-r--r--package/iftop/Makefile26
-rw-r--r--package/iftop/ipkg/iftop.control5
3 files changed, 45 insertions, 0 deletions
diff --git a/package/iftop/Config.in b/package/iftop/Config.in
new file mode 100644
index 000000000..226032d4c
--- /dev/null
+++ b/package/iftop/Config.in
@@ -0,0 +1,14 @@
+config ADK_PACKAGE_IFTOP
+ prompt "iftop............................. display bandwith usage on an interface"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBPCAP
+ select ADK_PACKAGE_LIBNCURSES
+ select ADK_PACKAGE_LIBPTHREAD
+ help
+ iftop does for network usage what top(1) does for CPU usage. It
+ listens to network traffic on a named interface and displays a
+ table of current bandwidth usage by pairs of hosts. Handy for
+ answering the question "why is our ADSL link so slow?".
+
+ http://www.ex-parrot.com/~pdw/iftop/
diff --git a/package/iftop/Makefile b/package/iftop/Makefile
new file mode 100644
index 000000000..9981b1a87
--- /dev/null
+++ b/package/iftop/Makefile
@@ -0,0 +1,26 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= iftop
+PKG_VERSION:= 0.17
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 062bc8fb3856580319857326e0b8752d
+MASTER_SITES:= http://www.ex-parrot.com/~pdw/iftop/download/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,IFTOP,iftop,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+pots-install:
+ ${INSTALL_DIR} ${IDIR_IFTOP}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/${PKG_NAME} ${IDIR_IFTOP}/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/iftop/ipkg/iftop.control b/package/iftop/ipkg/iftop.control
new file mode 100644
index 000000000..ce2cbadd5
--- /dev/null
+++ b/package/iftop/ipkg/iftop.control
@@ -0,0 +1,5 @@
+Package: iftop
+Priority: optional
+Section: net
+Depends: libncurses, libpcap, libpthread
+Description: display bandwith usage on an interface