diff options
author | William Hubbs <williamh@gentoo.org> | 2025-01-23 22:23:10 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2025-01-23 22:31:39 -0600 |
commit | 65182a6e2427dedc21e200ac400b895163bcab44 (patch) | |
tree | c9c050cf2f00b28361333cefc3e744ca648675c7 /app-metrics | |
parent | dev-libs/ivykis: Stabilize 0.43.2 ppc64, #948621 (diff) | |
download | gentoo-65182a6e2427dedc21e200ac400b895163bcab44.tar.gz gentoo-65182a6e2427dedc21e200ac400b895163bcab44.tar.bz2 gentoo-65182a6e2427dedc21e200ac400b895163bcab44.zip |
app-metrics/process-exporter: add 0.8.5
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r-- | app-metrics/process-exporter/Manifest | 2 | ||||
-rw-r--r-- | app-metrics/process-exporter/process-exporter-0.8.5.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app-metrics/process-exporter/Manifest b/app-metrics/process-exporter/Manifest index 35f511fb0d98..e5a562a398cf 100644 --- a/app-metrics/process-exporter/Manifest +++ b/app-metrics/process-exporter/Manifest @@ -1,2 +1,4 @@ DIST process-exporter-0.7.10-deps.tar.xz 106360268 BLAKE2B a06448eb38cee7cac6c93d8dedecfbb4fc7152f25c7ff42cb440aa6162aa8daac5ddbe7e56e99d96386b70723124b59f0bd0ab9df2b3f519532ac9487ba34b9e SHA512 6982da5d9c4ecdeacaa970baf0c820e0e3053ff3dbbbb260e7f3e68bff2c1e04beffbbbe8546e1f680d0dcba2eaac256a1bce4b6eee290a847ce70fe8653b68d DIST process-exporter-0.7.10.tar.gz 55320 BLAKE2B 72497d513105486de9bc212f4b8af14c52afa8acbcf04f52ab8015bef78172936917cb58573a4ea16b4b3e433e90b404da6658012d904e3d3d787787c7c16c4d SHA512 fd7ff44b28a608184ee0045c2304dad6d5ba0a1b122f9098244a46dfcfd54d0a9e65bb2891e5198ecb9f4bc51a0fcc8577880a05f2e29a073d15e8b0cb5766c1 +DIST process-exporter-0.8.5-deps.tar.xz 9016516 BLAKE2B 567537f60be2e56a3462e34bf46e15d6ba6c4209ea36e6574e57ff4c568a2fd50dcb9cfd45bf086481184d9afb02068814fe8f31f05ae1206f7474816e3a324b SHA512 0aea48891eac031fa9e99cc839b23238557d4f728f299f1a299f56d747ccabe698fdf2ff611a6f25c063e4e9eb545c471e65cf5514eef6225f1800b09a20b6ad +DIST process-exporter-0.8.5.tar.gz 43154 BLAKE2B 094d9b1dcc516b09e5a0984cd4a7d1180a321c73e86095bb258e786fbaa2db3f703102df6463d4ac56404b1d779034dd7018abf59cc00611d53d5c61e957cc2f SHA512 e213f7ee139c4bd07686c009dede432117aac2e7a80416f0e50a46910ba394fcbae69bfdefd3a48fef9e68aff2c5ac0f0da14bb0382392fc95aca55a9a90cf23 diff --git a/app-metrics/process-exporter/process-exporter-0.8.5.ebuild b/app-metrics/process-exporter/process-exporter-0.8.5.ebuild new file mode 100644 index 000000000000..6ead94d4103d --- /dev/null +++ b/app-metrics/process-exporter/process-exporter-0.8.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd + +# update on every bump +REVISION=626431b9a759d425bbb78eb15153f892970aadee +DESCRIPTION="Process exporter for prometheus" +HOMEPAGE="https://github.com/ncabatoff/process-exporter" +SRC_URI="https://github.com/ncabatoff/process-exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT Apache-2.0 BSD BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + emake \ + BRANCH=HEAD \ + REVISION=${REVISION} \ + TAG_VERSION=v${PV} \ + build +} + +src_install() { + dobin ${PN} + dodoc *.md + insinto /etc/${PN} + doins packaging/conf/all.yaml + systemd_dounit packaging/${PN}.service + newinitd "${FILESDIR}"/${PN}.initd ${PN} + keepdir /var/log/${PN} +} |