mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
sys-process/iotop-c: add NET_ADMIN capability to binary
Signed-off-by: Zamarin Arthur <arthurzam@gmail.com>
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
|
inherit fcaps
|
||||||
|
|
||||||
DESCRIPTION="top utility for IO (C port)"
|
DESCRIPTION="top utility for IO (C port)"
|
||||||
HOMEPAGE="https://github.com/Tomas-M/iotop"
|
HOMEPAGE="https://github.com/Tomas-M/iotop"
|
||||||
SRC_URI="https://github.com/Tomas-M/iotop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
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}"
|
S="${WORKDIR}/iotop-${PV}"
|
||||||
|
|
||||||
|
FILECAPS=(
|
||||||
|
cap_net_admin=eip usr/bin/iotop
|
||||||
|
)
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
emake V=1
|
emake V=1
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user