From 6d89c833628bb825e31e94489e12da601f54bb4b Mon Sep 17 00:00:00 2001 From: Zamarin Arthur Date: Fri, 23 Apr 2021 19:26:25 +0300 Subject: [PATCH] sys-process/iotop-c: add NET_ADMIN capability to binary Signed-off-by: Zamarin Arthur --- .../iotop-c/{iotop-c-1.17.ebuild => iotop-c-1.17-r1.ebuild} | 6 ++++++ 1 file changed, 6 insertions(+) rename sys-process/iotop-c/{iotop-c-1.17.ebuild => iotop-c-1.17-r1.ebuild} (89%) 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 033feb5343..d33361f8b2 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 }