summaryrefslogtreecommitdiff
path: root/app-metrics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-20 00:10:57 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-20 00:10:57 +0100
commitd6ca4e4f90cb75c323b5988eefa96a04c0d36908 (patch)
tree8197fc88451976470c871e991b75a9d40c240270 /app-metrics
parente8df704cf9b5e9e517317b8912377c0a8ca0d11e (diff)
gentoo auto-resync : 20:06:2024 - 00:10:56
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/Manifest.gzbin7124 -> 7123 bytes
-rw-r--r--app-metrics/prometheus/Manifest4
-rw-r--r--app-metrics/prometheus/prometheus-2.52.0.ebuild72
3 files changed, 76 insertions, 0 deletions
diff --git a/app-metrics/Manifest.gz b/app-metrics/Manifest.gz
index ddde53367ac3..eb75ab853561 100644
--- a/app-metrics/Manifest.gz
+++ b/app-metrics/Manifest.gz
Binary files differ
diff --git a/app-metrics/prometheus/Manifest b/app-metrics/prometheus/Manifest
index 038e5610819a..a6ee55996e46 100644
--- a/app-metrics/prometheus/Manifest
+++ b/app-metrics/prometheus/Manifest
@@ -10,7 +10,11 @@ DIST prometheus-2.43.0.tar.gz 6228230 BLAKE2B d004bb077c70849e7d9e0c28420582475f
DIST prometheus-2.47.0-assets.tar.xz 40992964 BLAKE2B d7eff81d429a482c819269bdb7d67b76dd74b63a70112a2b34ee7eeaa9c9b4049b4c9f2c56aa6468baa9be1454028a1d7b8721bc23c057091e8c1671b266729a SHA512 a8f904a24d8243a26a71b7ab947a465713a6f9185878d0a86ed5c2c665b887f12e74daf6aef6997d290837a3da02160235aef8acb85ba401203d616c34e08e37
DIST prometheus-2.47.0-deps.tar.xz 337362600 BLAKE2B 03d86183f55cf7ac84e6ccae91fad3bed590a9ba1bd22fbd9b0f3148c6b1367b86af29dad4988c66b28e2b69570940523b1e78ae6ec1b6bd68a744455688beaf SHA512 27edb6aad9bf134c3c061f06b6e96787cd48a19d7ae42c9fa04b86bd6c98b62c1f558030266b0882ad668da268d6794605b017f335d3ad4128a41ca6f5e0d241
DIST prometheus-2.47.0.tar.gz 6335136 BLAKE2B 10a4d2bb53b8c6cd5f26ab28155673f1d5ea08cc6e070350af9b09d9868dd39a073f9747c0836490be0fc5f33a2d461b5eb8087c3ab469feb940a6e9795c094c SHA512 1d8d91512d3edc7f56bd0e96b398e9680dd5fd39d2ac2e7e3f52d7bccc30ead4e4d0f238886d80d41d980a89c20123e0b29ce6eec9d8799f5581b147f3ef79ea
+DIST prometheus-2.52.0-assets.tar.xz 40948988 BLAKE2B 6c5812c7b0470e796f9f052be4c4248ee4dcacbaeccd0aa5bb136a4775ce939870f9b366cd87ec325cd93364e69e04b1bbef461842d6fe850cd7e3d9d08fd652 SHA512 0f12548dd97a0aa19379a3090fcad7002cd2917cff59937630302edb6d9f6be49b91476111f9ef23bc3f4a009f2a9ff871e1fa78a765543fd7ac9eacd0233228
+DIST prometheus-2.52.0-deps.tar.xz 136485640 BLAKE2B aba4869ca0aa810c9651737f9089c0a5c64ec6f54f9bb1fec7e8e51fbc3042033e4935128af59cf5f9059e2815119e95b1bd8db4d1ce316f2a5af2d32913e2c4 SHA512 11c63ba8a96a8cad655d6f66accb4528d4562c21f9cec671d63120246d3a963690d0d27b0e41e3a24882e2c111b42e0f678d244ebb8a712a794f90eb9b415b5c
+DIST prometheus-2.52.0.tar.gz 6192779 BLAKE2B 488483b32ee0927f2d0aa5d7bd1f82dee39c0e8273244a0260421f1523c2555541d35d02d869d2a35b434d41ff3210ce9da4a5430ae1f5a41a9d7e250d24246f SHA512 6ad5825ee6dfe6ba82ad8f091cb1fd8bfaf323558f0171c8e16fccb070fa99865cc9e9137a60405a5ec7c90706469cefefbe25c47e47bc37c30de671981955e3
EBUILD prometheus-2.40.4.ebuild 2279 BLAKE2B b1ed565eb7fb2c5c486109a219e595f47e97d099ad437371c2a2cef28d396b7faf90e1b532fc198db3dc3acdc28da0939895a2edb9cc6434c6a172971856d9d3 SHA512 8a9732252fba87970d586fb789cf6cc55749fcff9ae698508df7dc82aabcc1a45e165fed27e9f0abd3c904a943b1432c419d1185767d99393314d70b8f3595a9
EBUILD prometheus-2.43.0-r2.ebuild 2291 BLAKE2B 678c67aa7e1ff461b46f2516df6ad2cf78a9ac742e32b125eae4d26fbc9181feb96e8f9170856a355455514b6352f06006d409764e3bf831cbed5f9176523941 SHA512 66f3158403aa14a637d9a241cc4d8d9e3e10c2f3960df25eaac0f88faf828c3ef611cead5ea022312e8d5ef989cd7fb2881316ed816f0a751e418a4ccae86a47
EBUILD prometheus-2.47.0.ebuild 2299 BLAKE2B 809fc7f2a7d703cc8f88ed429a279695220ac284d88bcc2bfd1d079cbf3ae59397de32ca5587c70dbbb22b742ad5a244d57cb4721d4350ef378f179b1edaf2ec SHA512 18673c7e8d6f920e362f658f9b78415b8043487d3aabb0de3d42c0731f9d8e0fafbfd6db263ff3c28643c36c0f9a881add9f4da4893ce627923cc93cd199b73f
+EBUILD prometheus-2.52.0.ebuild 2299 BLAKE2B 363a7fee0cc841a5ed92ec8466a55860173f36f856224b7f05416348ba66a0a14fcaae0a9bd400e9ed0597830fe4958f54daad009423d21c06eb0f4681fad836 SHA512 f4ee2f25b138adf8dc4ad9392da054e7420c9248ae493f5a369b6d74018603e5fabdb8390a49e9f3edd64810c90146a2ada9551c01cd11712b67403a4f74a23c
MISC metadata.xml 335 BLAKE2B 076c290a728cbf3dd8831aea0ac3bfe973d4dd199bef806d166d6b08ac60bda5ef845305c7bd43385a54def93a3e4b6de70d40b099b80dc0e8693bbb167373ef SHA512 f33ad70518cea19f0ee71187f2daf24e3b5eb27d82e58512338768abdd85d13c3f464038729f560a844cff142daeb900cbfef99c338add6ad17d6746edb7964d
diff --git a/app-metrics/prometheus/prometheus-2.52.0.ebuild b/app-metrics/prometheus/prometheus-2.52.0.ebuild
new file mode 100644
index 000000000000..b170685f7e08
--- /dev/null
+++ b/app-metrics/prometheus/prometheus-2.52.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+GIT_COMMIT=879d80922a227c37df502e7315fad8ceb10a986d
+MY_PV=v${PV/_rc/-rc.}
+
+# To create the assets tarball run the following:
+# git checkout <tag>
+# make assets-compress
+# tar -acf <tarball> web/ui
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus"
+SRC_URI="https://github.com/prometheus/prometheus/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz
+ https://dev.gentoo.org/~williamh/dist/${P}-assets.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
+
+COMMON_DEPEND="acct-group/prometheus
+ acct-user/prometheus"
+DEPEND="!app-metrics/prometheus-bin
+ ${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+BDEPEND=">=dev-util/promu-0.3.0"
+
+RESTRICT=" test"
+
+src_prepare() {
+ default
+ sed -i \
+ -e "s/{{.Branch}}/HEAD/" \
+ -e "s/{{.Revision}}/${GIT_COMMIT}/" \
+ -e "s/{{.Version}}/${PV}/" \
+ .promu.yml || die
+ cp -a -u "${WORKDIR}"/web/ui web || die "cp failed"
+}
+
+src_compile() {
+ emake PROMU="${EPREFIX}"/usr/bin/promu common-build plugins
+}
+
+src_install() {
+ dobin prometheus promtool
+ dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+ insinto /usr/share/prometheus
+ doins -r console_libraries consoles
+ insinto /etc/prometheus
+ doins documentation/examples/prometheus.yml
+ dosym -r /usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
+ dosym -r /usr/share/prometheus/consoles /etc/prometheus/consoles
+
+ systemd_dounit "${FILESDIR}"/prometheus.service
+ newinitd "${FILESDIR}"/prometheus.initd prometheus
+ newconfd "${FILESDIR}"/prometheus.confd prometheus
+ keepdir /var/log/prometheus /var/lib/prometheus
+ fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+ if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then
+ ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format"
+ ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0"
+ ewarn "This release requires a clean storage directory and is not compatible with"
+ ewarn "files created by previous beta releases"
+ fi
+}