From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9F09B13877A for ; Mon, 21 Jul 2014 06:33:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A3DAE0AEE; Mon, 21 Jul 2014 06:33:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C376E0AEE for ; Mon, 21 Jul 2014 06:33:29 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D5D6F340004 for ; Mon, 21 Jul 2014 06:33:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id AA7CD1807D for ; Mon, 21 Jul 2014 06:33:25 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1405924399.78cbb7c031414d230f05bbac39dc392e69d3d795.jlec@gentoo> Subject: [gentoo-commits] proj/betagarden:master commit in: net-analyzer/nethogs/ X-VCS-Repository: proj/betagarden X-VCS-Files: net-analyzer/nethogs/ChangeLog net-analyzer/nethogs/metadata.xml net-analyzer/nethogs/nethogs-9999.ebuild X-VCS-Directories: net-analyzer/nethogs/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 78cbb7c031414d230f05bbac39dc392e69d3d795 X-VCS-Branch: master Date: Mon, 21 Jul 2014 06:33:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 56987d8c-1d2f-4bbb-b254-203c12eb59b3 X-Archives-Hash: 6f66137fff0902ae6d38836b337754c7 commit: 78cbb7c031414d230f05bbac39dc392e69d3d795 Author: Justin Lecher gentoo org> AuthorDate: Mon Jul 21 06:33:19 2014 +0000 Commit: Justin Lecher gentoo 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 +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 @@ + + + + netmon + +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. + + 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[@]} +}