From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/iftop/Config.in | 14 ++++++++++++++ package/iftop/Makefile | 26 ++++++++++++++++++++++++++ package/iftop/ipkg/iftop.control | 5 +++++ 3 files changed, 45 insertions(+) create mode 100644 package/iftop/Config.in create mode 100644 package/iftop/Makefile create mode 100644 package/iftop/ipkg/iftop.control (limited to 'package/iftop') 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 -- cgit v1.2.3