summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/node_exporter/node_exporter-1.3.1.ebuild4
-rw-r--r--app-metrics/node_exporter/node_exporter-1.4.0.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/app-metrics/node_exporter/node_exporter-1.3.1.ebuild b/app-metrics/node_exporter/node_exporter-1.3.1.ebuild
index 813fdf443ae6..983e6beeaca1 100644
--- a/app-metrics/node_exporter/node_exporter-1.3.1.ebuild
+++ b/app-metrics/node_exporter/node_exporter-1.3.1.ebuild
@@ -14,12 +14,14 @@ SRC_URI="https://github.com/prometheus/node_exporter/archive/${MY_PV}.tar.gz ->
LICENSE="Apache-2.0 BSD BSD-2 MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~riscv ~x86"
+IUSE="selinux"
CDEPEND="acct-group/node_exporter
acct-user/node_exporter"
DEPEND=">=dev-util/promu-0.3.0
${CDEPEND}"
-RDEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-node_exporter )"
S="${WORKDIR}/${PN}-${PV/_rc/-rc.}"
diff --git a/app-metrics/node_exporter/node_exporter-1.4.0.ebuild b/app-metrics/node_exporter/node_exporter-1.4.0.ebuild
index 91cb5773c610..6da3d5474c41 100644
--- a/app-metrics/node_exporter/node_exporter-1.4.0.ebuild
+++ b/app-metrics/node_exporter/node_exporter-1.4.0.ebuild
@@ -14,12 +14,14 @@ SRC_URI="https://github.com/prometheus/node_exporter/archive/${MY_PV}.tar.gz ->
LICENSE="Apache-2.0 BSD BSD-2 MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="selinux"
COMMON_DEPEND="acct-group/node_exporter
acct-user/node_exporter"
DEPEND=">=dev-util/promu-0.3.0
${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+ selinux? ( sec-policy/selinux-node_exporter )"
S="${WORKDIR}/${PN}-${PV/_rc/-rc.}"