diff options
author | Craig Andrews <candrews@gentoo.org> | 2019-11-03 12:42:56 -0500 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-11-03 12:43:24 -0500 |
commit | e071290a0c5ba61ad4d1e8f9d43b43be1e5a70eb (patch) | |
tree | 8d9f37192bfb2878c85a4b58f96886cc3ebf7e7c /net-analyzer/netdata | |
parent | sys-auth/pambase: freebsd cleanup (diff) | |
download | gentoo-e071290a0c5ba61ad4d1e8f9d43b43be1e5a70eb.tar.gz gentoo-e071290a0c5ba61ad4d1e8f9d43b43be1e5a70eb.tar.bz2 gentoo-e071290a0c5ba61ad4d1e8f9d43b43be1e5a70eb.zip |
net-analyzer/netdata: Add fcaps for xenstat.plugin
Bug: https://github.com/gentoo/gentoo/pull/13515
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-analyzer/netdata')
-rw-r--r-- | net-analyzer/netdata/netdata-9999.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild index 183c7fd636ca..5bf3bf1042d3 100644 --- a/net-analyzer/netdata/netdata-9999.ebuild +++ b/net-analyzer/netdata/netdata-9999.ebuild @@ -121,3 +121,9 @@ src_install() { insinto /etc/netdata doins system/netdata.conf } + +pkg_postinst() { + if use xen ; then + fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' + fi +} |