mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-analyzer/netdata: set fcaps on /usr/libexec/netdata/plugins.d/apps.plugin
Gentoo-bug: 590168 Closes: https://github.com/gentoo/gentoo/pull/1989
This commit is contained in:
committed by
Mike Gilbert
parent
c8ff700489
commit
8fe407c41b
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user