summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2016-07-31 20:30:34 -0400
committerMike Gilbert <floppym@gentoo.org>2016-07-31 20:44:45 -0400
commit8fe407c41bc92207ef7e061e902a7a209870c82f (patch)
treef6884d9d0ade0d730a3a34b09b469668f1b12bf0 /net-analyzer
parentprofiles: unmask net-misc/freerdp-2 (diff)
downloadgentoo-8fe407c41bc92207ef7e061e902a7a209870c82f.tar.gz
gentoo-8fe407c41bc92207ef7e061e902a7a209870c82f.tar.bz2
gentoo-8fe407c41bc92207ef7e061e902a7a209870c82f.zip
net-analyzer/netdata: set fcaps on /usr/libexec/netdata/plugins.d/apps.plugin
Gentoo-bug: 590168 Closes: https://github.com/gentoo/gentoo/pull/1989
Diffstat (limited to 'net-analyzer')
-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