summaryrefslogtreecommitdiff
path: root/app-metrics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-10 06:41:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-10 06:41:31 +0000
commitf9d8ddaae80afb8fa0924cd3f769f9b37dd373e1 (patch)
treed8962e6446d606b8c95329b4b78932a65f928a5f /app-metrics
parentd94fef9a5708b8e64f363f4a71f0b56caef5efe4 (diff)
gentoo auto-resync : 10:01:2025 - 06:41:30
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/Manifest.gzbin7287 -> 7285 bytes
-rw-r--r--app-metrics/pushgateway/Manifest3
-rw-r--r--app-metrics/pushgateway/pushgateway-1.11.0.ebuild48
3 files changed, 51 insertions, 0 deletions
diff --git a/app-metrics/Manifest.gz b/app-metrics/Manifest.gz
index f6e61e799a48..4bedcadf0415 100644
--- a/app-metrics/Manifest.gz
+++ b/app-metrics/Manifest.gz
Binary files differ
diff --git a/app-metrics/pushgateway/Manifest b/app-metrics/pushgateway/Manifest
index 79982a134ce5..130ed9077287 100644
--- a/app-metrics/pushgateway/Manifest
+++ b/app-metrics/pushgateway/Manifest
@@ -2,7 +2,10 @@ AUX pushgateway-1.confd 827 BLAKE2B b1a089d29ef99f692c4b38a8fb8c2d48ac018e5141fd
AUX pushgateway-1.initd 664 BLAKE2B f24a389eb6f968d63a21ab0e8740604bcae440d3797ff1640c4e5cd09c9bba398db10c385321a6a50da78518ed341ba654baffb2671106e8ae04eb303bedb3a1 SHA512 515a49e4b1aa6934611f86f85e2132004d234d312c13be23887709fbcaad86280034942967b25d7e355ab491ac4c09e7c88221a95279f2f751cbd2387eba9ad5
AUX pushgateway-1.service 477 BLAKE2B 123c630e40ca47626cf1d6bc93e8556ab1fccb1dd799cd72c245e5a937aff1a5c1b5ad9280d8680a8643d055376960012e36691f9e4f6a8d64bbdc91a749b876 SHA512 0985e8e45b1557adefe5f36ed163440c81f432b95198819d3e46c3f946f255954e5cbe41cf378b33cd3dcb75c457970877f2f6a7585bfc90b58ac2df9abb2970
AUX pushgateway.logrotated 95 BLAKE2B 78db6689bbfac484b13a3444ebef47180aa94bfa6fa0c6b4fe273f415713b539116c1c05fc5348d504b9c6de270449a422fa7f49e63854a65d4ef6d25c3bf8c3 SHA512 615a8d105d97412b6819f65b9e34e28cb326457765ec9426f33d71cc4794aa1cbfff0abbcee14dbf94b6ae3f622c95d087ad485250c48b3e3efa8edcfe997069
+DIST pushgateway-1.11.0-deps.tar.xz 1519980 BLAKE2B 9d3c6a20911191da1330671cf055100e934db1d07c834ca8af8a0354fc0ded51132a677b9ff8978ac4b329c31cb4de74a1894b31ad64889a3cc34c865233ff9d SHA512 c4156845d9ea5d591acce7e232b73263a7dd01850592c570efe806d5e9a373e6374b3ac665caa4a430a39f76a81d806c8b4d267b92d1f22713a2c7a28bec82df
+DIST pushgateway-1.11.0.tar.gz 4256647 BLAKE2B 2861bed8705b40772fe41e70c7e21b3f30f7a70ef4a8d2eb2283c11202f65d0d38befb778f8be8a9c9117605fc2a8b9254c20f43f73c6de675fbb7e3402627f8 SHA512 d4bb1d77cf0fb03160f3d7e05d0b570464e77d09f952e0ea1eb220d89fe60cd8599375c1230c8cd85d378ce9f32b27826a1f6cb462da9962da77c62f398ec156
DIST pushgateway-1.5.1-deps.tar.xz 28913128 BLAKE2B dc7f352a4085ff365a3039501992e7678c1c8b59d3f56ecafa4fe7e50d5693c8399edede9f994c6fca8af739d33bc5cb627b1dbfe27bd0dd63539834290f816d SHA512 82f586be350b1d5f3169adee7e88c9522e34e37de1c9741a32b824d3f9e5b3bdc914177f1a1cff722de89eebe9bd6221ad6b9c29684a348cc7ba93d8cc3c05fd
DIST pushgateway-1.5.1.tar.gz 4272543 BLAKE2B 01aeda87efdbbd6c7d0c1a8676fe0798c8d97f7638ca26eb8720412eb00d2abff5c7e73d21e1c2424bd375efa8878c85642a06196e933e44ea804e6e053adbf2 SHA512 01ebcdb85f059c330195f37f9466e2042311d8196948881f07d53f1ac4c7daedf343c14856f51db274df00b652b09eb52c735f04f774baf66559697864e1f93b
+EBUILD pushgateway-1.11.0.ebuild 1160 BLAKE2B 68a1c6e5a8a2598cd9023980d6f56c93182f72c819a0e1da9440fb355550c46c9962086a878b2b22654c98cd19cb0713231b980069cbabcd93481c746c28151b SHA512 1d80b8e646501305ec512fe56eebcbfa4725a72c3c8f35e8b6322f9c835552745f6912ae35c3ce3294fe9d64fef809e59d307e5d70d7aa22c21f8e66424b7388
EBUILD pushgateway-1.5.1.ebuild 1145 BLAKE2B 53ef5b0392887a01e8a75b4c4a29156b6f71b01720136c349e9ce1601c963d8a54674710cdd3c9462f8c4b8245ebda196449698fbe31bbd3861a25493b79aae8 SHA512 3a59e3d0c7fa607344451cab6ed40228a51f76ab1a88909ee96ed44ac5fa83e264b52d8a096dfe18a1bd5f63df6635e3f8cff1e0b5676d4d2c996ee237ee3e29
MISC metadata.xml 332 BLAKE2B a59160e8b0417c6a5e8f57d18f5fe22d700bfef266b0320e2b99539537082c57c25ad7ef7990eb467ad9c3706440476563800c7f66cc5494b3ecec655fb8fbe3 SHA512 8ed6ab262fa6a630b9f49fe55a41e32fba49e1670e606dc3472fb17d23b105ad2ca0bfc2b1aa872bbddad28780e5fd87b6e6eeace2cb12547308b158015ae39e
diff --git a/app-metrics/pushgateway/pushgateway-1.11.0.ebuild b/app-metrics/pushgateway/pushgateway-1.11.0.ebuild
new file mode 100644
index 000000000000..9600ad158dd1
--- /dev/null
+++ b/app-metrics/pushgateway/pushgateway-1.11.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module systemd
+
+GIT_COMMIT="0d81964"
+DESCRIPTION="Prometheus push acceptor for ephemeral and batch jobs"
+HOMEPAGE="https://github.com/prometheus/pushgateway"
+SRC_URI="
+ https://github.com/prometheus/pushgateway/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz
+"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+RESTRICT="test"
+RDEPEND="
+ acct-group/pushgateway
+ acct-user/pushgateway
+"
+DEPEND="${RDEPEND}"
+
+BDEPEND=">=dev-util/promu-0.3.0"
+
+src_prepare() {
+ default
+ sed -i -e 's|{{\.Revision}}|'${GIT_COMMIT}'|g' .promu.yml || die
+}
+
+src_compile() {
+ mkdir -p bin || die
+ promu build -v --prefix bin || die
+}
+
+src_install() {
+ newbin "bin/${P}" "${PN}"
+ dodoc {README,CHANGELOG,CONTRIBUTING}.md
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+ newinitd "${FILESDIR}"/${PN}-1.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}-1.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+ systemd_dounit "${FILESDIR}/${PN}-1.service"
+}