1 |
commit: 3df1fe61a1972cbe325fc4298099897f42420691 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 20 07:29:53 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 20 07:31:52 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3df1fe61 |
7 |
|
8 |
net-analyzer/nethogs: Version 0.8.6 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Closes: https://bugs.gentoo.org/738078 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/nethogs/Manifest | 1 + |
15 |
net-analyzer/nethogs/nethogs-0.8.6.ebuild | 33 +++++++++++++++++++++++++++++++ |
16 |
2 files changed, 34 insertions(+) |
17 |
|
18 |
diff --git a/net-analyzer/nethogs/Manifest b/net-analyzer/nethogs/Manifest |
19 |
index bffab0f8052..16ce4054f3e 100644 |
20 |
--- a/net-analyzer/nethogs/Manifest |
21 |
+++ b/net-analyzer/nethogs/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST nethogs-0.8.5.tar.gz 112385 BLAKE2B 1d4867447455720a11f3131787b731428550f03d106ad476367ae356954c6c9895d02a8e730488b3deb9638d54bd60765cb63bcf599f4ec73c0bdc8da3d52cae SHA512 a2be81fcebc9925dd8a0fd9f71c6e790206819e0cc5efeeeb0c741baa9fd25ec685a1784b6d331d938cf14381403f9c13d619509d0ffe713ce8786a83a380908 |
24 |
+DIST nethogs-0.8.6.tar.gz 116720 BLAKE2B 2d3695c2138f4e88c11a8c515156a430015c2844e09dd599091ff090fd87a3c12a1c5a7d1d9d32d302512a4e027a739a6b864f8d1e549593c6f86ab749989662 SHA512 1116f2e57bbf4d9213080598d04ff41c9ae28bd3e5c45c99068c783beb109eff3ffb02f9c3610f20ef0aa53606b3c500917d5d6983496599904d8c5a35cf2a6f |
25 |
|
26 |
diff --git a/net-analyzer/nethogs/nethogs-0.8.6.ebuild b/net-analyzer/nethogs/nethogs-0.8.6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..da998020a02 |
29 |
--- /dev/null |
30 |
+++ b/net-analyzer/nethogs/nethogs-0.8.6.ebuild |
31 |
@@ -0,0 +1,33 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="A small 'net top' tool, grouping bandwidth by process" |
40 |
+HOMEPAGE="https://github.com/raboof/nethogs" |
41 |
+SRC_URI="https://github.com/raboof/nethogs/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~ia64 ~x86" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ net-libs/libpcap |
49 |
+ sys-libs/ncurses:0= |
50 |
+" |
51 |
+DEPEND=" |
52 |
+ ${RDEPEND} |
53 |
+ virtual/pkgconfig |
54 |
+" |
55 |
+ |
56 |
+src_compile() { |
57 |
+ tc-export CC CXX |
58 |
+ emake NCURSES_LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" ${PN} |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ emake DESTDIR="${ED}" PREFIX="/usr" install |
63 |
+ dodoc DESIGN README.decpcap.txt README.md |
64 |
+} |