Diff dnsmasq_exporter-0.2.0-r1 with a dnsmasq_exporter-0.3.0
/usr/portage/app-metrics/dnsmasq_exporter/dnsmasq_exporter-0.3.0.ebuild 2025-02-03 17:39:32.302665042 +0300 | ||
---|---|---|
1 |
# Copyright 2019-2022 Gentoo Authors |
|
1 |
# Copyright 2019-2025 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | ||
5 | 6 |
inherit go-module |
6 | 7 | |
7 | 8 |
DESCRIPTION="prometheus exporter for dnsmasq" |
... | ... | |
24 | 25 | |
25 | 26 |
src_install() { |
26 | 27 |
dobin dnsmasq_exporter |
27 |
keepdir /var/log/dnsmasq_exporter |
|
28 | 28 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
29 | 29 |
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
30 |
keepdir /var/log/dnsmasq_exporter |
|
30 | 31 |
fowners ${PN}:${PN} /var/log/dnsmasq_exporter |
31 | 32 |
} |
32 | 33 |