mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
app-metrics/chrony_exporter: add 0.12.2
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/44463 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
f3f523e7b2
commit
6ef8ac0837
@ -2,3 +2,5 @@ DIST chrony_exporter-0.12.0-deps.tar.xz 41668288 BLAKE2B 2859b3cf8e0e724f60d5c90
|
||||
DIST chrony_exporter-0.12.0.tar.gz 23036 BLAKE2B 9a0610e5f814644551ec5166f7fd471c50a3838c78c00e840f24b6811cab8b2ae00a6f993254c931d9dd4d1243ae8074d7343f0180d5ef8c288998ddb05e6441 SHA512 8ef168f876cb6a1f7bb9a32374c330cc90694c7fe058f94dab6f9e7a687db5c1cc7cf2974897c020874769a964d78398dd88880b503573a9bd5cad2987383673
|
||||
DIST chrony_exporter-0.12.1-deps.tar.xz 9414928 BLAKE2B 926a60f152c8978cff88628f2ad3c26d3ec3408c37305df9f5581e02786d716124b4017a79cf2f00f8553eff2c1829265b65bc731ecb587cc80a9bb9a0a8edca SHA512 064f769c99aaeadf581065728713363c7d2113ef8c34eb43aec68d3984e806bd99c1218969f78d510911f56e765c521176c02e97ce4fef568add95f9f09928de
|
||||
DIST chrony_exporter-0.12.1.tar.gz 23232 BLAKE2B 9143604da8a825b313716b06c85d6a5ad9cef4142117ffd3fde210196fd7ed41f76dcef56cc403a7577a2ddc0921a46316ac4f7b10c47e9379e1da8e75d8d5a9 SHA512 302a6aa48a46737c20b99244be2e4e156a0dd63a58cbb2d99ef723576b5c0f186f43ecd14129c6b9d3d7f72d81e84b5653837de7d856865c6a3209d5ab8eb69e
|
||||
DIST chrony_exporter-0.12.2-deps.tar.xz 9445464 BLAKE2B c014d3b48cafaeaf556b12a45f14633cb011ca032e433e55c66b2a69c76055b0627022747e5d26c000326595a02e400b4c7f5d65200dd1918a9847576f6854ec SHA512 0000da0222fcd7bfae0f3c6a74254e27852e59e57514ef61686a8a42c26225c03e62b33712068cc06ccb8f73c9d28de74f8dc1b9b4bf78ad4831924a228c0959
|
||||
DIST chrony_exporter-0.12.2.tar.gz 23362 BLAKE2B df26d1106f59523ba019fe64ee18f40abdec330c43f873083933a15096dcd035787b1528df9b304d40014be703854d3b9fe4234f48087b698742252eff1e828e SHA512 9f74c90532b99b07b0801f4c592e9ad3947fa16b2dc9d49a4d4a77b327c5f18be5d5ba53eae133f64a8d2443349d5ae43d5015ed3e75ea1d4df736dc934a09f7
|
||||
|
||||
39
app-metrics/chrony_exporter/chrony_exporter-0.12.2.ebuild
Normal file
39
app-metrics/chrony_exporter/chrony_exporter-0.12.2.ebuild
Normal file
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Chrony NTP exporter for Prometheus"
|
||||
HOMEPAGE="https://github.com/SuperQ/chrony_exporter"
|
||||
|
||||
SRC_URI="https://github.com/SuperQ/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://www.applied-asynchrony.com/distfiles/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="acct-group/chrony_exporter
|
||||
acct-user/chrony_exporter"
|
||||
|
||||
BDEPEND="dev-util/promu"
|
||||
|
||||
PATCHES=( "${FILESDIR}/0.12.1-binary-name.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# No need to enable the race detector for tests (#935442)
|
||||
sed -i -e '/test-flags := -race/d' Makefile.common || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
promu build -v --cgo || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user