From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5C1FF138334 for ; Sun, 3 Nov 2019 17:43:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65374E0901; Sun, 3 Nov 2019 17:43:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49677E0901 for ; Sun, 3 Nov 2019 17:43:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E35E634C792 for ; Sun, 3 Nov 2019 17:43:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 88FE97FE for ; Sun, 3 Nov 2019 17:43:29 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1572803004.e071290a0c5ba61ad4d1e8f9d43b43be1e5a70eb.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/netdata/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/netdata/netdata-9999.ebuild X-VCS-Directories: net-analyzer/netdata/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: e071290a0c5ba61ad4d1e8f9d43b43be1e5a70eb X-VCS-Branch: master Date: Sun, 3 Nov 2019 17:43:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b3e7b57a-42d6-49df-a9b2-487b5ee72181 X-Archives-Hash: 0dc737d5db190d023c040737775ff3d9 commit: e071290a0c5ba61ad4d1e8f9d43b43be1e5a70eb Author: Craig Andrews gentoo org> AuthorDate: Sun Nov 3 17:42:56 2019 +0000 Commit: Craig Andrews gentoo org> CommitDate: Sun Nov 3 17:43:24 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e071290a 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 gentoo.org> net-analyzer/netdata/netdata-9999.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild index 183c7fd636c..5bf3bf1042d 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 +}