1 |
commit: 9deb5709b934b703ab3c9aef334db2052c2b96df |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 5 05:33:47 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 5 05:34:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9deb5709 |
7 |
|
8 |
sys-process/iotop-c: add 1.20 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
sys-process/iotop-c/Manifest | 1 + |
13 |
sys-process/iotop-c/iotop-c-1.20.ebuild | 36 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/sys-process/iotop-c/Manifest b/sys-process/iotop-c/Manifest |
17 |
index 1eddfc18a3e..85039c026d2 100644 |
18 |
--- a/sys-process/iotop-c/Manifest |
19 |
+++ b/sys-process/iotop-c/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST iotop-c-1.18.tar.gz 114838 BLAKE2B 8b3e13d00de4a5cd385a2d441d84bb27cc1d03a27012163b9628285c31176698bf840951e39199abef11b2d3c0413d500d6e7699f32a3b542360a1333307d00e SHA512 f0affbfdb106eb36078e7994860155f52d47878017f47e64d69aa7c04cc29756ca516a6634fd19d6d39c931100b9a0e93e07ca2f4d14c18014dc1c4f477907ea |
22 |
DIST iotop-c-1.19.tar.gz 115025 BLAKE2B 0b45a73afc5dd160692fa1a3d028afff2b4b242a008470679a669182baa56b133f5fd26f9cb3ed20ebfe18b7fdeba9ca98a7801299c8c9b8d776a58fed2725d2 SHA512 489ddd67eb4e9159058c94f614534290b302abd5af8b424f6c42df20f21362c60dc30e7fd0bac883b8bf032e72843b4b82dbfb77b670258728ef0fa9dbb7dfa3 |
23 |
+DIST iotop-c-1.20.tar.gz 124352 BLAKE2B ec14a70e7952b6a5d4a74dbac3cd3c5f18e4b4c447d7b8c8515f8e59f4d859ed8110da44329f5cf2ed36cac764c509d080cb7b75b0caa50896fa77abe84880ca SHA512 1e4b5a9f166ff021b53e13a1c975328b6f966e468c3bf834a0504e41b7c3f3f9052516d6b57082692871a69b5675a86d16fb7f487e2aa44dbb5e81a8a0d806bb |
24 |
|
25 |
diff --git a/sys-process/iotop-c/iotop-c-1.20.ebuild b/sys-process/iotop-c/iotop-c-1.20.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..b6d52c5d05f |
28 |
--- /dev/null |
29 |
+++ b/sys-process/iotop-c/iotop-c-1.20.ebuild |
30 |
@@ -0,0 +1,36 @@ |
31 |
+# Copyright 2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit fcaps linux-info toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="top utility for IO (C port)" |
39 |
+HOMEPAGE="https://github.com/Tomas-M/iotop" |
40 |
+SRC_URI="https://github.com/Tomas-M/iotop/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+S="${WORKDIR}/iotop-${PV}" |
42 |
+ |
43 |
+LICENSE="GPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+RDEPEND="sys-libs/ncurses:= |
48 |
+ !sys-process/iotop" |
49 |
+DEPEND="${RDEPEND}" |
50 |
+BDEPEND="virtual/pkgconfig" |
51 |
+ |
52 |
+CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS ~VM_EVENT_COUNTERS" |
53 |
+ |
54 |
+FILECAPS=( |
55 |
+ cap_net_admin=eip usr/bin/iotop |
56 |
+) |
57 |
+ |
58 |
+src_compile() { |
59 |
+ emake V=1 CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" NO_FLTO=1 |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ dobin iotop |
64 |
+ dodoc README.md |
65 |
+ doman iotop.8 |
66 |
+} |