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 }