summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenton Groombridge <concord@gentoo.org>2022-12-26 00:51:27 -0500
committerKenton Groombridge <concord@gentoo.org>2022-12-26 00:51:27 -0500
commit6266ed48f4c2dd6a885a94cce2fde117cfbbd8d5 (patch)
tree6ee5304aed6918ed62ce11773e3c6df01227990d /app-metrics
parentapp-text/sdcv: Stabilize 0.5.4 amd64, #888464 (diff)
downloadgentoo-6266ed48f4c2dd6a885a94cce2fde117cfbbd8d5.tar.gz
gentoo-6266ed48f4c2dd6a885a94cce2fde117cfbbd8d5.tar.bz2
gentoo-6266ed48f4c2dd6a885a94cce2fde117cfbbd8d5.zip
app-metrics/node_exporter: add USE=selinux
Signed-off-by: Kenton Groombridge <concord@gentoo.org>
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.}"