summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/netdata/netdata-1.2.0-r1.ebuild (renamed from net-analyzer/netdata/netdata-1.2.0.ebuild)6
-rw-r--r--net-analyzer/netdata/netdata-9999.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/net-analyzer/netdata/netdata-1.2.0.ebuild b/net-analyzer/netdata/netdata-1.2.0-r1.ebuild
index 93b70ba211ab..ad8fb3303138 100644
--- a/net-analyzer/netdata/netdata-1.2.0.ebuild
+++ b/net-analyzer/netdata/netdata-1.2.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit linux-info systemd user
+inherit linux-info systemd user fcaps
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://github.com/firehol/${PN}.git"
@@ -44,6 +44,10 @@ DEPEND="${RDEPEND}
: ${NETDATA_USER:=netdata}
: ${NETDATA_GROUP:=netdata}
+FILECAPS=(
+ 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin'
+)
+
pkg_setup() {
linux-info_pkg_setup
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild
index 93b70ba211ab..ad8fb3303138 100644
--- a/net-analyzer/netdata/netdata-9999.ebuild
+++ b/net-analyzer/netdata/netdata-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit linux-info systemd user
+inherit linux-info systemd user fcaps
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://github.com/firehol/${PN}.git"
@@ -44,6 +44,10 @@ DEPEND="${RDEPEND}
: ${NETDATA_USER:=netdata}
: ${NETDATA_GROUP:=netdata}
+FILECAPS=(
+ 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin'
+)
+
pkg_setup() {
linux-info_pkg_setup