From e41a04e7f068dddb13053fd7e662af4f0b5bbf0c Mon Sep 17 00:00:00 2001 From: Zamarin Arthur Date: Fri, 23 Apr 2021 19:29:21 +0300 Subject: [PATCH] sys-process/iotop-c: add linux kernel config checks Signed-off-by: Zamarin Arthur --- sys-process/iotop-c/iotop-c-1.17-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys-process/iotop-c/iotop-c-1.17-r1.ebuild b/sys-process/iotop-c/iotop-c-1.17-r1.ebuild index d33361f8b2..ad5cd74c11 100644 --- a/sys-process/iotop-c/iotop-c-1.17-r1.ebuild +++ b/sys-process/iotop-c/iotop-c-1.17-r1.ebuild @@ -3,12 +3,14 @@ EAPI=7 -inherit fcaps +inherit fcaps linux-info 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 ~x86" @@ -18,7 +20,7 @@ RDEPEND="sys-libs/ncurses:= DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" -S="${WORKDIR}/iotop-${PV}" +CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS ~VM_EVENT_COUNTERS" FILECAPS=( cap_net_admin=eip usr/bin/iotop