summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/iftop/ChangeLog11
-rw-r--r--net-analyzer/iftop/Manifest9
-rw-r--r--net-analyzer/iftop/files/digest-iftop-0.16-r11
-rw-r--r--net-analyzer/iftop/files/iftop-0.16-bar_in_bytes.patch11
-rw-r--r--net-analyzer/iftop/iftop-0.16-r1.ebuild33
-rw-r--r--net-analyzer/iftop/metadata.xml3
6 files changed, 60 insertions, 8 deletions
diff --git a/net-analyzer/iftop/ChangeLog b/net-analyzer/iftop/ChangeLog
index a2869585c4cc..e09502ceb4bc 100644
--- a/net-analyzer/iftop/ChangeLog
+++ b/net-analyzer/iftop/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/iftop
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iftop/ChangeLog,v 1.24 2005/09/15 21:52:15 agriffis Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iftop/ChangeLog,v 1.25 2006/01/06 17:48:32 vanquirius Exp $
+
+*iftop-0.16-r1 (06 Jan 2006)
+
+ 06 Jan 2006; Marcelo Goes <vanquirius@gentoo.org>
+ +files/iftop-0.16-bar_in_bytes.patch, metadata.xml, +iftop-0.16-r1.ebuild:
+ Add bar in bytes patch from bug 101926, thanks to Ivan Todoroski <grnch at
+ gmx dot net>. Removed zul from metadata.xml.
15 Sep 2005; Aron Griffis <agriffis@gentoo.org> iftop-0.16.ebuild:
Mark 0.16 stable on alpha
diff --git a/net-analyzer/iftop/Manifest b/net-analyzer/iftop/Manifest
index 5de875e7eeac..9b861327cd29 100644
--- a/net-analyzer/iftop/Manifest
+++ b/net-analyzer/iftop/Manifest
@@ -1,5 +1,8 @@
-MD5 e9cd01f31fc31ef1849ad5b87358345a metadata.xml 218
MD5 76cb1fae21592cbfe7c430c2907c4909 ChangeLog 3245
-MD5 d51fcbaff757ab3ebeb598242a21b404 iftop-0.16.ebuild 639
-MD5 c9d0a2ec49378a93c55b607f8bb88f91 files/iftoprc 1391
MD5 a36766a23959cee0651fcf16d2eecb8c files/digest-iftop-0.16 62
+MD5 a36766a23959cee0651fcf16d2eecb8c files/digest-iftop-0.16-r1 62
+MD5 e33f87395f61a95327b1963341bcec95 files/iftop-0.16-bar_in_bytes.patch 542
+MD5 c9d0a2ec49378a93c55b607f8bb88f91 files/iftoprc 1391
+MD5 47dc02390d521c20356d8534a4a77859 iftop-0.16-r1.ebuild 758
+MD5 d51fcbaff757ab3ebeb598242a21b404 iftop-0.16.ebuild 639
+MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159
diff --git a/net-analyzer/iftop/files/digest-iftop-0.16-r1 b/net-analyzer/iftop/files/digest-iftop-0.16-r1
new file mode 100644
index 000000000000..fb5aebadfb0c
--- /dev/null
+++ b/net-analyzer/iftop/files/digest-iftop-0.16-r1
@@ -0,0 +1 @@
+MD5 e24a6b444858ab72afc414376d28b966 iftop-0.16.tar.gz 153446
diff --git a/net-analyzer/iftop/files/iftop-0.16-bar_in_bytes.patch b/net-analyzer/iftop/files/iftop-0.16-bar_in_bytes.patch
new file mode 100644
index 000000000000..a119f3cde222
--- /dev/null
+++ b/net-analyzer/iftop/files/iftop-0.16-bar_in_bytes.patch
@@ -0,0 +1,11 @@
+--- /tmp/iftop-0.16/ui.c 2004-02-05 23:53:19.000000000 +0100
++++ ui.c 2005-09-28 18:41:13.000000000 +0200
+@@ -263,7 +263,7 @@
+ char s[40], *p;
+ int x;
+ /* This 1024 vs 1000 stuff is just plain evil */
+- readable_size(i, s, sizeof s, options.log_scale ? 1000 : 1024, 0);
++ readable_size(i, s, sizeof s, options.log_scale ? 1000 : 1024, options.bandwidth_in_bytes);
+ p = s + strspn(s, " ");
+ x = get_bar_length(i * 8);
+ mvaddch(*y + 1, x, ACS_BTEE);
diff --git a/net-analyzer/iftop/iftop-0.16-r1.ebuild b/net-analyzer/iftop/iftop-0.16-r1.ebuild
new file mode 100644
index 000000000000..c248663363c4
--- /dev/null
+++ b/net-analyzer/iftop/iftop-0.16-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iftop/iftop-0.16-r1.ebuild,v 1.1 2006/01/06 17:48:32 vanquirius Exp $
+
+inherit eutils
+
+DESCRIPTION="display bandwidth usage on an interface"
+SRC_URI="http://www.ex-parrot.com/~pdw/iftop/download/${P}.tar.gz"
+HOMEPAGE="http://www.ex-parrot.com/~pdw/iftop/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses
+ virtual/libpcap"
+
+src_unpack() {
+ unpack ${A}; cd "${S}"
+ # bug 101926
+ epatch "${FILESDIR}"/${PN}-0.16-bar_in_bytes.patch
+}
+
+src_install() {
+ dosbin iftop
+ doman iftop.8
+
+ insinto /etc
+ doins "${FILESDIR}"/iftoprc
+
+ dodoc ChangeLog README
+}
diff --git a/net-analyzer/iftop/metadata.xml b/net-analyzer/iftop/metadata.xml
index 29c4321defbc..03aa50bab7e3 100644
--- a/net-analyzer/iftop/metadata.xml
+++ b/net-analyzer/iftop/metadata.xml
@@ -2,7 +2,4 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>netmon</herd>
-<maintainer>
- <email>zul@gentoo.org</email>
-</maintainer>
</pkgmetadata>