summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-10-10 10:04:25 +0000
committerJeroen Roovers <jer@gentoo.org>2011-10-10 10:04:25 +0000
commit1de89e3129bc284ad99a7b4fa7892432ef07ceb2 (patch)
tree599e7c8a4d7f04107ddbd987e816038f04edce9a /net-analyzer
parentAdd pkgconfig dependency (bug #386603 by Nikoli). (diff)
downloadgentoo-2-1de89e3129bc284ad99a7b4fa7892432ef07ceb2.tar.gz
gentoo-2-1de89e3129bc284ad99a7b4fa7892432ef07ceb2.tar.bz2
gentoo-2-1de89e3129bc284ad99a7b4fa7892432ef07ceb2.zip
Version bump.
(Portage version: 2.2.0_alpha64/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nethogs/ChangeLog9
-rw-r--r--net-analyzer/nethogs/nethogs-0.8.0.ebuild35
2 files changed, 42 insertions, 2 deletions
diff --git a/net-analyzer/nethogs/ChangeLog b/net-analyzer/nethogs/ChangeLog
index 292aa3224b85..be7d08c38580 100644
--- a/net-analyzer/nethogs/ChangeLog
+++ b/net-analyzer/nethogs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/nethogs
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.15 2009/11/03 17:27:16 armin76 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.16 2011/10/10 10:04:25 jer Exp $
+
+*nethogs-0.8.0 (10 Oct 2011)
+
+ 10 Oct 2011; Jeroen Roovers <jer@gentoo.org> +nethogs-0.8.0.ebuild:
+ Version bump.
03 Nov 2009; Raúl Porcel <armin76@gentoo.org> nethogs-0.7.0.ebuild:
Add ~ia64 wrt #282956
diff --git a/net-analyzer/nethogs/nethogs-0.8.0.ebuild b/net-analyzer/nethogs/nethogs-0.8.0.ebuild
new file mode 100644
index 000000000000..5ebb9d8c5aa0
--- /dev/null
+++ b/net-analyzer/nethogs/nethogs-0.8.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/nethogs-0.8.0.ebuild,v 1.1 2011/10/10 10:04:25 jer Exp $
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A small 'net top' tool, grouping bandwidth by process"
+HOMEPAGE="http://nethogs.sf.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~x86"
+IUSE=""
+
+RDEPEND="net-libs/libpcap
+ sys-libs/ncurses"
+DEPEND="${RDEPEND}
+ sys-apps/sed"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i Makefile \
+ -e '/^CFLAGS=/{s|=|+=|;s|-g||};/ -o /s|$(CFLAGS)|& $(LDFLAGS)|g' \
+ || die
+ tc-export CC CXX
+}
+
+src_install() {
+ default
+ dodoc Changelog DESIGN README
+}