commit: 78cbb7c031414d230f05bbac39dc392e69d3d795 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Mon Jul 21 06:33:19 2014 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Mon Jul 21 06:33:19 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=78cbb7c0
net-analyzer/nethogs: Add live ebuild Package-Manager: portage-2.2.10 --- net-analyzer/nethogs/ChangeLog | 10 +++++++++ net-analyzer/nethogs/metadata.xml | 13 ++++++++++++ net-analyzer/nethogs/nethogs-9999.ebuild | 36 ++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/net-analyzer/nethogs/ChangeLog b/net-analyzer/nethogs/ChangeLog new file mode 100644 index 0000000..d69ab41 --- /dev/null +++ b/net-analyzer/nethogs/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-analyzer/nethogs +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*nethogs-9999 (21 Jul 2014) + + 21 Jul 2014; Justin Lecher <[email protected]> +nethogs-9999.ebuild, + +metadata.xml: + Add live ebuild + diff --git a/net-analyzer/nethogs/metadata.xml b/net-analyzer/nethogs/metadata.xml new file mode 100644 index 0000000..87c6c3c --- /dev/null +++ b/net-analyzer/nethogs/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>netmon</herd> + <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-9999.ebuild b/net-analyzer/nethogs/nethogs-9999.ebuild new file mode 100644 index 0000000..ead5955 --- /dev/null +++ b/net-analyzer/nethogs/nethogs-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 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-r3.ebuild,v 1.2 2014/05/03 14:10:14 maekke Exp $ + +EAPI=5 + +inherit eutils git-r3 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" +EGIT_REPO_URI="https://github.com/raboof/nethogs.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" + +RDEPEND=" + net-libs/libpcap + sys-libs/ncurses +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +DOCS=( Changelog DESIGN README ) + +src_prepare() { + tc-export CC CXX PKG_CONFIG +} + +src_install() { + emake DESTDIR="${ED}" prefix=/usr install + dodoc ${DOCS[@]} +}
