diff options
Diffstat (limited to 'sys-process/iotop-c')
-rw-r--r-- | sys-process/iotop-c/Manifest | 2 | ||||
-rw-r--r-- | sys-process/iotop-c/iotop-c-1.25.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-process/iotop-c/Manifest b/sys-process/iotop-c/Manifest index c5fc23c24cda..cc9d76b8965a 100644 --- a/sys-process/iotop-c/Manifest +++ b/sys-process/iotop-c/Manifest @@ -1,5 +1,7 @@ DIST iotop-c-1.23.tar.gz 138772 BLAKE2B 123995c5af48f2d257a4c4b2f342c3cb656d91105e13200baac63c3bd5bdd68a09cf4991363db4d49b211f0ad75285b3f34e66951aa80b2df55f6728c54629dc SHA512 afdc59373e96f23efaf93a661ca31d101732b36e61631844864692599b0e5a1d2355fdda0ec994a8e9ed03bc7f6a37c4dd16336fb750084294d58bfcfc6e7f17 DIST iotop-c-1.24.tar.gz 139533 BLAKE2B 4946876d474750e76ada3f1faa6057b02482f90b917663918669e40ad403c12c90add931c958f868b1b5f4cf1f9c980109795f4322e0db34c84f24f7299b7065 SHA512 4ff78f689ad0734787bfa0bc909a261694b75175301b3f732c170bf8511bab60082a2b363198057ef04b258fe3f4d24e081521f1f4eee6708b595e6a5f80ef2c +DIST iotop-c-1.25.tar.gz 139627 BLAKE2B a159ae3a4e5be87776d7111e38685e2f83fd907b82a09ec9b4a7d5c778d3a2c5a6e544452c126ff76b0fca2a4038cec1415a654156186dfb2534649a295eb65c SHA512 b696d0478e08373a923475493d67912959d78369f086179590482fb8e6ec349d0c8f5e6118e0aa353d2827b8d83f14bf334cf50cf55f6859bd8d9317543031e0 EBUILD iotop-c-1.23-r1.ebuild 876 BLAKE2B 7f8adf6b12ca8975c934237208fadae6661d8fdf28d417cb6c584fcad3007b1de7e478ef8d200923448eaf13d40e5f9bbc9df61f8fd15faf2fdf5548c11f746d SHA512 5de147bfc8f63de3bc0acfe3a8bb5dfd7d40dbb573cfb88ce4196a2243ec6b9477f80f3c631da1e3dc7405ef20b7159b71de2dab9c78c588618604ddf520fa57 EBUILD iotop-c-1.24.ebuild 883 BLAKE2B 6cae827f05704d3f0e729ec6b3446dbb2e0cfd023f359c46e03f4b0cd03aceb2bf6a4613c444d489ea00a715702aae3cbbdced3f80a16db4196939da5827044e SHA512 17a0737189bc70258a27dd7a3c014da8ffb10abf3190c3fcb5cdee96813d6a3ebc3177d9d13ddbed0920e0d474f43f039de1c6a69c9994efb4952398bfaa94af +EBUILD iotop-c-1.25.ebuild 883 BLAKE2B 6cae827f05704d3f0e729ec6b3446dbb2e0cfd023f359c46e03f4b0cd03aceb2bf6a4613c444d489ea00a715702aae3cbbdced3f80a16db4196939da5827044e SHA512 17a0737189bc70258a27dd7a3c014da8ffb10abf3190c3fcb5cdee96813d6a3ebc3177d9d13ddbed0920e0d474f43f039de1c6a69c9994efb4952398bfaa94af MISC metadata.xml 1377 BLAKE2B 1b0e762f6677fd063044d1ad811fda5c95f64b36a51310dd3d9d0e652d9d671fe255a9cfa312d299369b19d4206723aa5010994ff6e20bf1b67be92432cb4350 SHA512 c5eee7ec3b5711666029d57eb84319e3f89373d7f73d067d1b990ecfcc6d98625966fb781ea3a47894ea078cfca40fc5f03a8d70dd83f7c93b8a77a6e14d2de0 diff --git a/sys-process/iotop-c/iotop-c-1.25.ebuild b/sys-process/iotop-c/iotop-c-1.25.ebuild new file mode 100644 index 000000000000..9803d2a23784 --- /dev/null +++ b/sys-process/iotop-c/iotop-c-1.25.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps linux-info toolchain-funcs + +DESCRIPTION="top utility for IO (C port)" +HOMEPAGE="https://github.com/Tomas-M/iotop" +SRC_URI="https://github.com/Tomas-M/iotop/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/iotop-${PV}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~x86" + +RDEPEND=" + sys-libs/ncurses:= + !sys-process/iotop +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS ~VM_EVENT_COUNTERS" + +FILECAPS=( + cap_net_admin=eip usr/bin/iotop +) + +src_prepare() { + sed -e 's/-D_FORTIFY_SOURCE=2//' -i Makefile || die + default +} + +src_compile() { + emake V=1 CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" NO_FLTO=1 +} + +src_install() { + dobin iotop + dodoc README.md + doman iotop.8 +} |