From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/collectd/
Date: Tue, 11 Oct 2016 10:31:20 +0000 (UTC) [thread overview]
Message-ID: <1476181861.22fb31f2d88999b598f2446b05afec3620babaee.whissi@gentoo> (raw)
commit: 22fb31f2d88999b598f2446b05afec3620babaee
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 10:31:01 2016 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 10:31:01 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22fb31f2
app-admin/collectd: Update file capabilities
Add missing capabilities for ceph, dns, exec and turbostat plugin when
"filecaps" USE flag is used.
Package-Manager: portage-2.3.1
app-admin/collectd/collectd-5.5.2.ebuild | 8 +++++++-
app-admin/collectd/collectd-5.6.0.ebuild | 8 +++++++-
app-admin/collectd/collectd-5.6.1.ebuild | 8 +++++++-
3 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/app-admin/collectd/collectd-5.5.2.ebuild b/app-admin/collectd/collectd-5.5.2.ebuild
index cfb74e9..a20f83a 100644
--- a/app-admin/collectd/collectd-5.5.2.ebuild
+++ b/app-admin/collectd/collectd-5.5.2.ebuild
@@ -447,9 +447,15 @@ src_install() {
pkg_postinst() {
local caps=()
- use collectd_plugins_ping && caps+=('cap_net_raw')
+ use collectd_plugins_ceph && caps+=('cap_dac_override')
+ use collectd_plugins_exec && caps+=('cap_setuid' 'cap_setgid')
use collectd_plugins_iptables && caps+=('cap_net_admin')
use collectd_plugins_filecount && caps+=('cap_dac_read_search')
+ use collectd_plugins_turbostat && caps+=('cap_sys_rawio')
+
+ if use collectd_plugins_dns || use collectd_plugins_ping; then
+ caps+=('cap_net_raw')
+ fi
if [ ${#caps[@]} -gt 0 ]; then
local caps_str=$(IFS=","; echo "${caps[*]}")
diff --git a/app-admin/collectd/collectd-5.6.0.ebuild b/app-admin/collectd/collectd-5.6.0.ebuild
index 8bd0762..9233874 100644
--- a/app-admin/collectd/collectd-5.6.0.ebuild
+++ b/app-admin/collectd/collectd-5.6.0.ebuild
@@ -461,9 +461,15 @@ src_install() {
pkg_postinst() {
local caps=()
- use collectd_plugins_ping && caps+=('cap_net_raw')
+ use collectd_plugins_ceph && caps+=('cap_dac_override')
+ use collectd_plugins_exec && caps+=('cap_setuid' 'cap_setgid')
use collectd_plugins_iptables && caps+=('cap_net_admin')
use collectd_plugins_filecount && caps+=('cap_dac_read_search')
+ use collectd_plugins_turbostat && caps+=('cap_sys_rawio')
+
+ if use collectd_plugins_dns || use collectd_plugins_ping; then
+ caps+=('cap_net_raw')
+ fi
if [ ${#caps[@]} -gt 0 ]; then
local caps_str=$(IFS=","; echo "${caps[*]}")
diff --git a/app-admin/collectd/collectd-5.6.1.ebuild b/app-admin/collectd/collectd-5.6.1.ebuild
index 29cb16f..fc4601c 100644
--- a/app-admin/collectd/collectd-5.6.1.ebuild
+++ b/app-admin/collectd/collectd-5.6.1.ebuild
@@ -459,9 +459,15 @@ src_install() {
pkg_postinst() {
local caps=()
- use collectd_plugins_ping && caps+=('cap_net_raw')
+ use collectd_plugins_ceph && caps+=('cap_dac_override')
+ use collectd_plugins_exec && caps+=('cap_setuid' 'cap_setgid')
use collectd_plugins_iptables && caps+=('cap_net_admin')
use collectd_plugins_filecount && caps+=('cap_dac_read_search')
+ use collectd_plugins_turbostat && caps+=('cap_sys_rawio')
+
+ if use collectd_plugins_dns || use collectd_plugins_ping; then
+ caps+=('cap_net_raw')
+ fi
if [ ${#caps[@]} -gt 0 ]; then
local caps_str=$(IFS=","; echo "${caps[*]}")
next reply other threads:[~2016-10-11 10:31 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-11 10:31 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-04-04 1:50 [gentoo-commits] repo/gentoo:master commit in: app-admin/collectd/ Thomas Deutschmann
2018-03-30 23:27 Thomas Deutschmann
2018-03-22 11:56 Tobias Klausmann
2018-02-05 21:27 Markus Meier
2018-01-31 7:59 Agostino Sarubbo
2018-01-28 16:36 Thomas Deutschmann
2017-11-07 22:13 Sven Wegener
2017-09-24 15:10 Thomas Deutschmann
2017-08-04 4:29 Markus Meier
2017-06-07 20:16 Thomas Deutschmann
2017-06-05 21:54 Thomas Deutschmann
2017-06-05 21:54 Thomas Deutschmann
2017-06-05 21:54 Thomas Deutschmann
2017-05-09 13:38 Thomas Deutschmann
2017-04-06 15:50 Thomas Deutschmann
2017-04-01 16:06 Agostino Sarubbo
2017-03-20 16:45 Agostino Sarubbo
2017-03-19 21:12 Thomas Deutschmann
2017-01-29 14:12 Thomas Deutschmann
2016-12-08 16:49 Thomas Deutschmann
2016-11-30 15:17 Thomas Deutschmann
2016-11-03 16:19 Göktürk Yüksek
2016-10-07 15:17 Thomas Deutschmann
2016-09-22 0:10 Thomas Deutschmann
2016-08-10 22:40 Thomas Deutschmann
2016-08-10 20:44 Thomas Deutschmann
2016-08-10 20:44 Thomas Deutschmann
2016-06-11 23:39 Mikle Kolyada
2016-04-26 7:30 Patrice Clement
2016-04-04 9:00 Ian Delaney
2016-04-03 22:36 James Le Cuirot
2016-04-03 18:20 Michael Palimaka
2016-04-02 15:48 Alexis Ballier
2016-03-31 11:31 Sam Jorna
2016-03-29 19:17 Patrick Lauer
2016-03-24 8:33 Patrick Lauer
2016-03-23 23:41 Ian Delaney
2016-03-02 2:41 Ian Delaney
2016-02-29 21:42 Patrick Lauer
2016-01-05 11:45 Pacho Ramos
2016-01-05 11:45 Pacho Ramos
2016-01-02 6:55 Jason Zaman
2015-09-03 9:00 James Le Cuirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1476181861.22fb31f2d88999b598f2446b05afec3620babaee.whissi@gentoo \
--to=whissi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox