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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F2D5413835A for ; Fri, 23 Apr 2021 16:33:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41310E0857; Fri, 23 Apr 2021 16:33:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A467E0857 for ; Fri, 23 Apr 2021 16:33:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6325F335DC0 for ; Fri, 23 Apr 2021 16:33:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C6734647 for ; Fri, 23 Apr 2021 16:33:10 +0000 (UTC) From: "Zamarin Arthur" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zamarin Arthur" Message-ID: <1619195185.6d89c833628bb825e31e94489e12da601f54bb4b.arthurzam@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-process/iotop-c/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-process/iotop-c/iotop-c-1.17-r1.ebuild sys-process/iotop-c/iotop-c-1.17.ebuild X-VCS-Directories: sys-process/iotop-c/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Zamarin Arthur X-VCS-Revision: 6d89c833628bb825e31e94489e12da601f54bb4b X-VCS-Branch: dev Date: Fri, 23 Apr 2021 16:33: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: 433ed1dd-6a42-4169-baad-2b1d288117f2 X-Archives-Hash: 051f320c7f5bfc7c4b1c65a336bd895f commit: 6d89c833628bb825e31e94489e12da601f54bb4b Author: Zamarin Arthur gmail com> AuthorDate: Fri Apr 23 16:26:25 2021 +0000 Commit: Zamarin Arthur gmail com> CommitDate: Fri Apr 23 16:26:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6d89c833 sys-process/iotop-c: add NET_ADMIN capability to binary Signed-off-by: Zamarin Arthur gmail.com> sys-process/iotop-c/{iotop-c-1.17.ebuild => iotop-c-1.17-r1.ebuild} | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys-process/iotop-c/iotop-c-1.17.ebuild b/sys-process/iotop-c/iotop-c-1.17-r1.ebuild similarity index 89% rename from sys-process/iotop-c/iotop-c-1.17.ebuild rename to sys-process/iotop-c/iotop-c-1.17-r1.ebuild index 033feb534..d33361f8b 100644 --- a/sys-process/iotop-c/iotop-c-1.17.ebuild +++ b/sys-process/iotop-c/iotop-c-1.17-r1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit fcaps + 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" @@ -18,6 +20,10 @@ BDEPEND="virtual/pkgconfig" S="${WORKDIR}/iotop-${PV}" +FILECAPS=( + cap_net_admin=eip usr/bin/iotop +) + src_compile() { emake V=1 }