diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /package/network/utils/iftop | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'package/network/utils/iftop')
7 files changed, 248 insertions, 0 deletions
diff --git a/package/network/utils/iftop/.svn/entries b/package/network/utils/iftop/.svn/entries new file mode 100644 index 0000000..219db66 --- /dev/null +++ b/package/network/utils/iftop/.svn/entries @@ -0,0 +1,65 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/package/network/utils/iftop +svn://svn.openwrt.org/openwrt + + + +2012-10-16T15:49:49.283145Z +33782 +florian + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +patches +dir + +Makefile +file + + + + +2013-03-17T12:13:17.000000Z +e040fadfb56a66217105171aa3627115 +2012-10-16T15:49:49.283145Z +33782 +florian +has-props + + + + + + + + + + + + + + + + + + + + +1117 + diff --git a/package/network/utils/iftop/.svn/prop-base/Makefile.svn-base b/package/network/utils/iftop/.svn/prop-base/Makefile.svn-base new file mode 100644 index 0000000..f899379 --- /dev/null +++ b/package/network/utils/iftop/.svn/prop-base/Makefile.svn-base @@ -0,0 +1,13 @@ +K 9 +copyright +V 30 +Copyright (C) 2006 OpenWrt.org +K 7 +licence +V 5 +GPLv2 +K 13 +svn:eol-style +V 6 +native +END diff --git a/package/network/utils/iftop/.svn/text-base/Makefile.svn-base b/package/network/utils/iftop/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..b054ed1 --- /dev/null +++ b/package/network/utils/iftop/.svn/text-base/Makefile.svn-base @@ -0,0 +1,42 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=iftop +PKG_VERSION:=1.0pre2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.ex-parrot.com/~pdw/iftop/download +PKG_MD5SUM:=fef521a49ec0122458d02c64212af3c5 + +PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org> + +include $(INCLUDE_DIR)/package.mk + +define Package/iftop + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libpcap +libncurses +libpthread + TITLE:=display bandwith usage on an interface + URL:=http://www.ex-parrot.com/~pdw/iftop/ +endef + +define Package/iftop/description + 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?'. +endef + +define Package/iftop/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/iftop $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,iftop)) diff --git a/package/network/utils/iftop/Makefile b/package/network/utils/iftop/Makefile new file mode 100644 index 0000000..b054ed1 --- /dev/null +++ b/package/network/utils/iftop/Makefile @@ -0,0 +1,42 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=iftop +PKG_VERSION:=1.0pre2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.ex-parrot.com/~pdw/iftop/download +PKG_MD5SUM:=fef521a49ec0122458d02c64212af3c5 + +PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org> + +include $(INCLUDE_DIR)/package.mk + +define Package/iftop + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libpcap +libncurses +libpthread + TITLE:=display bandwith usage on an interface + URL:=http://www.ex-parrot.com/~pdw/iftop/ +endef + +define Package/iftop/description + 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?'. +endef + +define Package/iftop/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/iftop $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,iftop)) diff --git a/package/network/utils/iftop/patches/.svn/entries b/package/network/utils/iftop/patches/.svn/entries new file mode 100644 index 0000000..9fb32b6 --- /dev/null +++ b/package/network/utils/iftop/patches/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/package/network/utils/iftop/patches +svn://svn.openwrt.org/openwrt + + + +2012-10-16T15:49:49.283145Z +33782 +florian + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +0001-force-ncurses.patch +file + + + + +2013-03-17T12:13:17.000000Z +7c897897a53ff3bea3aca80ba0a5aad7 +2012-10-16T15:49:49.283145Z +33782 +florian + + + + + + + + + + + + + + + + + + + + + +555 + diff --git a/package/network/utils/iftop/patches/.svn/text-base/0001-force-ncurses.patch.svn-base b/package/network/utils/iftop/patches/.svn/text-base/0001-force-ncurses.patch.svn-base new file mode 100644 index 0000000..bf23fb4 --- /dev/null +++ b/package/network/utils/iftop/patches/.svn/text-base/0001-force-ncurses.patch.svn-base @@ -0,0 +1,12 @@ +diff -ru iftop-1.0pre2-old/configure iftop-1.0pre2/configure +--- iftop-1.0pre2-old/configure 2011-10-04 13:30:30.000000000 -0700 ++++ iftop-1.0pre2/configure 2012-09-09 22:26:05.000000000 -0700 +@@ -7568,7 +7568,7 @@ + { $as_echo "$as_me:$LINENO: checking for a curses library containing mvchgat" >&5 + $as_echo_n "checking for a curses library containing mvchgat... " >&6; } + oldLIBS=$LIBS +-for curseslib in ncursesw curses ncurses ; do ++for curseslib in ncurses ; do + LIBS="$oldLIBS -l$curseslib" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ diff --git a/package/network/utils/iftop/patches/0001-force-ncurses.patch b/package/network/utils/iftop/patches/0001-force-ncurses.patch new file mode 100644 index 0000000..bf23fb4 --- /dev/null +++ b/package/network/utils/iftop/patches/0001-force-ncurses.patch @@ -0,0 +1,12 @@ +diff -ru iftop-1.0pre2-old/configure iftop-1.0pre2/configure +--- iftop-1.0pre2-old/configure 2011-10-04 13:30:30.000000000 -0700 ++++ iftop-1.0pre2/configure 2012-09-09 22:26:05.000000000 -0700 +@@ -7568,7 +7568,7 @@ + { $as_echo "$as_me:$LINENO: checking for a curses library containing mvchgat" >&5 + $as_echo_n "checking for a curses library containing mvchgat... " >&6; } + oldLIBS=$LIBS +-for curseslib in ncursesw curses ncurses ; do ++for curseslib in ncurses ; do + LIBS="$oldLIBS -l$curseslib" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ |