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
commit1c79cfffb0c6a7968d8530b8955a1fbc965fff51 (patch)
treeded061239a50c4f9da36b88aa8bce848dfda94c5 /net-analyzer/nethogs
parentupdate sdl-perl-2 patch (diff)
downloadgentoo-2-1c79cfffb0c6a7968d8530b8955a1fbc965fff51.tar.gz
gentoo-2-1c79cfffb0c6a7968d8530b8955a1fbc965fff51.tar.bz2
gentoo-2-1c79cfffb0c6a7968d8530b8955a1fbc965fff51.zip
bug 63992
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-analyzer/nethogs')
-rw-r--r--net-analyzer/nethogs/ChangeLog13
-rw-r--r--net-analyzer/nethogs/Manifest2
-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, 104 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..7ca923392748
--- /dev/null
+++ b/net-analyzer/nethogs/Manifest
@@ -0,0 +1,2 @@
+MD5 aabef15a75db44c3c4c4ce0179de0846 nethogs-0.6.0.ebuild 662
+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
+}