diff --git a/app-metrics/jmx_exporter/Manifest b/app-metrics/jmx_exporter/Manifest index 94ba400a..6e858281 100644 --- a/app-metrics/jmx_exporter/Manifest +++ b/app-metrics/jmx_exporter/Manifest @@ -1 +1,2 @@ DIST jmx_exporter-0.16.1.deb 389140 BLAKE2B 77799eabdd5c3b7630b5ac993b8f55c130f23715c23acc73466b714da0c704970c7cd69557c7f3c716752c4d17a3ba9b4bf8b87d31552fcce751f0af05e2a505 SHA512 65818754fe5b76f4de4bf5ff35ef0cc46f7255c570e09d96d301c10f3789641b18656bab17fc5078970464565dd05787e24478d3af860a03b0a916740a936ccd +DIST jmx_exporter-0.20.0.deb 462142 BLAKE2B d3cc4608b0c289ecbb7b75c7dc9eb672b530af6e566eca7431f5a13dd30d4ee0b3edee77bb95757b5fa290642953de6bc64aea36e64bef5e91cef613681c3464 SHA512 2be86cbca3df7ccf91e26fa7d571d23aead7523a255449ceaa2953bdde939a28c3b716339a742e57cd7067eb67e07bbf665e527216fa74ff508b4b803db3e825 diff --git a/app-metrics/jmx_exporter/jmx_exporter-0.20.0-r1.ebuild b/app-metrics/jmx_exporter/jmx_exporter-0.20.0-r1.ebuild new file mode 100644 index 00000000..54eacded --- /dev/null +++ b/app-metrics/jmx_exporter/jmx_exporter-0.20.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +MY_PN="jmx_prometheus_httpserver" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A process for exposing JMX Beans via HTTP for Prometheus consumption" +HOMEPAGE="https://github.com/prometheus/jmx_exporter" +SRC_URI="https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver/${PV}/${MY_P}.deb -> ${P}.deb" + +LICENSE="Apache-2.0" +KEYWORDS="amd64" + +SLOT="0" + +RDEPEND=" + >=virtual/jre-1.8 +" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_prepare() { + default +} + +src_install() { + insinto /usr + doins -r "${S}"/usr/* + + insinto /etc + doins -r "${S}"/etc/* + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + fperms +x /usr/bin/${PN} || die "failed to mark /usr/bin/${PN} executable" +}