summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-01-19 12:10:20 -0600
committerWilliam Hubbs <williamh@gentoo.org>2024-01-19 12:11:07 -0600
commit9e2705016b95d0fe9a927f80bdac35cbad97eb15 (patch)
tree2ed010176e1260b830635f03ff91d6647be4f618 /app-metrics
parentdev-lang/ruby: fix runtime issues on arm64 (diff)
downloadgentoo-9e2705016b95d0fe9a927f80bdac35cbad97eb15.tar.gz
gentoo-9e2705016b95d0fe9a927f80bdac35cbad97eb15.tar.bz2
gentoo-9e2705016b95d0fe9a927f80bdac35cbad97eb15.zip
app-metrics/node_exporter: style fixes
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/node_exporter/node_exporter-1.7.0.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/app-metrics/node_exporter/node_exporter-1.7.0.ebuild b/app-metrics/node_exporter/node_exporter-1.7.0.ebuild
index 547e79c98eef..861e9355d3de 100644
--- a/app-metrics/node_exporter/node_exporter-1.7.0.ebuild
+++ b/app-metrics/node_exporter/node_exporter-1.7.0.ebuild
@@ -24,13 +24,14 @@ LICENSE+=" BSD BSD-2 MIT"
SLOT="0"
IUSE="selinux systemd"
-RDEPEND="
+COMMON_DEPEND="
acct-group/node_exporter
acct-user/node_exporter
selinux? ( sec-policy/selinux-node_exporter )
systemd? ( sys-apps/systemd )
"
-DEPEND="${RDEPEND}"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
BDEPEND=">=dev-util/promu-0.3.0"
PATCHES=(
"${FILESDIR}"/01-default-settings-1.7.0.patch
@@ -65,6 +66,8 @@ src_test() {
src_install() {
dosbin "${PN}"
+ dodoc example-rules.yml *.md
+ doman "${PN}".1
systemd_newunit "${FILESDIR}"/node_exporter-1.7.0.service node_exporter.service
newinitd "${FILESDIR}"/${PN}.initd-1 ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
@@ -72,7 +75,4 @@ src_install() {
newins "${FILESDIR}"/node_exporter-1.7.0.logrotate "${PN}"
keepdir /var/lib/node_exporter /var/log/node_exporter
fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
-
- doman "${PN}".1
- dodoc example-rules.yml *.md
}