From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 730731581F0 for ; Mon, 13 Jan 2025 18:08:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 763F2E081A; Mon, 13 Jan 2025 18:08:13 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62E2DE081A for ; Mon, 13 Jan 2025 18:08:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7505233FECD for ; Mon, 13 Jan 2025 18:08:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D044D1D2A for ; Mon, 13 Jan 2025 18:08:10 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1736791686.de7db09122d6e83ad1332224e032a62ceadccabe.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/iotop-c/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/iotop-c/Manifest sys-process/iotop-c/iotop-c-1.27.ebuild X-VCS-Directories: sys-process/iotop-c/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: de7db09122d6e83ad1332224e032a62ceadccabe X-VCS-Branch: master Date: Mon, 13 Jan 2025 18:08:10 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c58020a2-8731-4eab-a230-9eb8c6c6a216 X-Archives-Hash: 992b7f02a52bbdb64dc13ff48c490696 commit: de7db09122d6e83ad1332224e032a62ceadccabe Author: Arthur Zamarin gentoo org> AuthorDate: Mon Jan 13 17:39:06 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Jan 13 18:08:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de7db091 sys-process/iotop-c: add 1.27 Signed-off-by: Arthur Zamarin gentoo.org> sys-process/iotop-c/Manifest | 1 + sys-process/iotop-c/iotop-c-1.27.ebuild | 43 +++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-process/iotop-c/Manifest b/sys-process/iotop-c/Manifest index d16e9629a24d..8362058e08dc 100644 --- a/sys-process/iotop-c/Manifest +++ b/sys-process/iotop-c/Manifest @@ -1 +1,2 @@ DIST iotop-c-1.26.tar.gz 139536 BLAKE2B 90bb3db7dd3b05604fa5368a881434eac06509921447fd53bda7e7291e2c823f82f9015f0c16c516dcfa7c8ee6198466b8634eaf1b111b4f911645b97fc2634f SHA512 47246bc025c396bcd7569bd19d52079701e3b86ab239ac3db1d1386f358f6e95a63d7bad8c1d0552fb61315a9db282967c65e110703863ae71fa6260b775942b +DIST iotop-c-1.27.tar.gz 142334 BLAKE2B 80e8ff6d90d325533a9097596dd0353d26214e2302931d0268a2d8f491a9e531d795ba450eac2b0f4bea7beb88317053f8d23308fcdbf52570991255afb81ea0 SHA512 55a93e2f3c6aaeb46ca219a77e64706083b8746d1299e8ab576780a2c6a17eb5612c1280531432748afb90ded5e6677149301ea2641b4f77cd3a2d91700b1fbb diff --git a/sys-process/iotop-c/iotop-c-1.27.ebuild b/sys-process/iotop-c/iotop-c-1.27.ebuild new file mode 100644 index 000000000000..4a1fa565f4d6 --- /dev/null +++ b/sys-process/iotop-c/iotop-c-1.27.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2025 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 ~ppc ~ppc64 ~riscv ~sparc ~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 +}