summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-04-03 17:20:23 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-04-03 17:20:23 +0000
commit3604b76dfb95bac16d34e2113c8836140eb88c42 (patch)
tree7e70b3f22f54574a6bed5e62170d6f26f3867936 /net-analyzer/nethogs
parentupdate sdl-perl-2 patch (diff)
downloadhistorical-3604b76dfb95bac16d34e2113c8836140eb88c42.tar.gz
historical-3604b76dfb95bac16d34e2113c8836140eb88c42.tar.bz2
historical-3604b76dfb95bac16d34e2113c8836140eb88c42.zip
bug 63992
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-analyzer/nethogs')
-rw-r--r--net-analyzer/nethogs/ChangeLog13
-rw-r--r--net-analyzer/nethogs/Manifest5
-rw-r--r--net-analyzer/nethogs/files/digest-nethogs-0.6.01
-rw-r--r--net-analyzer/nethogs/files/nethogs-0.6.0-gcc34.diff34
-rw-r--r--net-analyzer/nethogs/metadata.xml17
-rw-r--r--net-analyzer/nethogs/nethogs-0.6.0.ebuild37
6 files changed, 107 insertions, 0 deletions
diff --git a/net-analyzer/nethogs/ChangeLog b/net-analyzer/nethogs/ChangeLog
new file mode 100644
index 000000000000..c17f0347f8a0
--- /dev/null
+++ b/net-analyzer/nethogs/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for net-analyzer/nethogs
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.1 2005/04/03 17:20:23 vanquirius Exp $
+
+*nethogs-0.6.0 (04 Apr 2005)
+
+ 04 Apr 2005; Marcelo Goes <vanquirius@gentoo.org> +metadata.xml,
+ +files/nethogs-0.6.0-gcc34.diff, +nethogs-0.6.0.ebuild:
+ Initial commit. Fixes bug 63992. I am using a small patch to allow the stable
+ version to compile with gcc-3.4. Thanks to Tom Hendrikx <tom@whyscream.net>,
+ Athul Acharya <aacharya@gmail.com>, Daniel Willmann <willmann.daniel@web.de>
+ and Dan McDonald <slashdevslashtty@gmail.com> for participating.
+
diff --git a/net-analyzer/nethogs/Manifest b/net-analyzer/nethogs/Manifest
new file mode 100644
index 000000000000..4198a31da66c
--- /dev/null
+++ b/net-analyzer/nethogs/Manifest
@@ -0,0 +1,5 @@
+MD5 a03396536ecf1fd8e8ecc9c05c208b42 nethogs-0.6.0.ebuild 865
+MD5 e9932d8f555c3b19734812d152caa1ad ChangeLog 678
+MD5 1385d77b0c1cbc2ad11db1d3abea9721 metadata.xml 735
+MD5 ee1f4e4bcff506362fd7463b85016f54 files/nethogs-0.6.0-gcc34.diff 397
+MD5 91d6d413a6fddc0318223e2c73caa452 files/digest-nethogs-0.6.0 64
diff --git a/net-analyzer/nethogs/files/digest-nethogs-0.6.0 b/net-analyzer/nethogs/files/digest-nethogs-0.6.0
new file mode 100644
index 000000000000..3d8bedd4cced
--- /dev/null
+++ b/net-analyzer/nethogs/files/digest-nethogs-0.6.0
@@ -0,0 +1 @@
+MD5 d7fc44acd19cb55ee32137540f6a6f0e nethogs-0.6.0.tar.gz 19510
diff --git a/net-analyzer/nethogs/files/nethogs-0.6.0-gcc34.diff b/net-analyzer/nethogs/files/nethogs-0.6.0-gcc34.diff
new file mode 100644
index 000000000000..c85fb464010b
--- /dev/null
+++ b/net-analyzer/nethogs/files/nethogs-0.6.0-gcc34.diff
@@ -0,0 +1,34 @@
+--- decpcap.c~ 2005-04-04 01:53:06.000000000 -0300
++++ decpcap.c 2005-04-04 01:56:13.000000000 -0300
+@@ -76,6 +76,7 @@
+ break;
+ default:
+ // TODO
++ break;
+ }
+ }
+
+@@ -98,6 +99,7 @@
+ break;
+ default:
+ // TODO
++ break;
+ }
+ }
+
+@@ -128,6 +130,7 @@
+ break;
+ default:
+ // TODO
++ break;
+ }
+ }
+
+@@ -173,6 +176,7 @@
+ break;
+ default:
+ // TODO
++ break;
+ }
+ }
+
diff --git a/net-analyzer/nethogs/metadata.xml b/net-analyzer/nethogs/metadata.xml
new file mode 100644
index 000000000000..e2aa36eda70c
--- /dev/null
+++ b/net-analyzer/nethogs/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+<maintainer>
+ <email>vanquirius@gentoo.org</email>
+ <name>Marcelo Goes</name>
+</maintainer>
+<longdescription>
+NetHogs is a small 'net top' tool. Instead of breaking the traffic down
+ per protocol or per subnet, like most tools do, it groups bandwidth by
+process. NetHogs does not rely on a special kernel module to be loaded.
+If there's suddenly a lot of network traffic, you can fire up NetHogs and
+immediately see which PID is causing this. This makes it easy to indentify
+programs that have gone wild and are suddenly taking up your bandwidth.
+</longdescription>
+</pkgmetadata>
diff --git a/net-analyzer/nethogs/nethogs-0.6.0.ebuild b/net-analyzer/nethogs/nethogs-0.6.0.ebuild
new file mode 100644
index 000000000000..5a0768ee07d5
--- /dev/null
+++ b/net-analyzer/nethogs/nethogs-0.6.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/nethogs-0.6.0.ebuild,v 1.1 2005/04/03 17:20:23 vanquirius Exp $
+
+inherit eutils
+
+HOMEPAGE="http://nethogs.sf.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+DESCRIPTION="A small 'net top' tool, grouping bandwidth by process"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/libpcap"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gcc34.diff
+}
+
+src_compile() {
+ # There is currently no configure script within the nethogs package:
+ # econf || die
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ # Not using make install or einstall because of the hardcoded paths in Makefile
+ dosbin nethogs
+ doman nethogs.8
+ dodoc Changelog DESIGN README
+}