From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus/
Date: Tue, 18 Jun 2024 22:50:28 +0000 (UTC) [thread overview]
Message-ID: <1718751024.79ebe8b1ac7c697bfb485b1b40f0a94eabf2eeee.williamh@gentoo> (raw)
commit: 79ebe8b1ac7c697bfb485b1b40f0a94eabf2eeee
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 18 22:49:54 2024 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jun 18 22:50:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79ebe8b1
app-metrics/prometheus: add 2.52.0
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
app-metrics/prometheus/Manifest | 3 ++
app-metrics/prometheus/prometheus-2.52.0.ebuild | 72 +++++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/app-metrics/prometheus/Manifest b/app-metrics/prometheus/Manifest
index d049f5612269..b64510c62e77 100644
--- a/app-metrics/prometheus/Manifest
+++ b/app-metrics/prometheus/Manifest
@@ -7,3 +7,6 @@ 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
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
+}
next reply other threads:[~2024-06-18 22:50 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-18 22:50 William Hubbs [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-29 19:06 [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus/ William Hubbs
2025-01-10 16:54 Arthur Zamarin
2024-12-05 17:47 Sam James
2023-12-03 23:15 Sam James
2023-09-26 21:27 William Hubbs
2023-04-30 23:50 Sam James
2023-03-27 22:01 William Hubbs
2023-03-26 23:53 William Hubbs
2023-03-26 19:46 William Hubbs
2023-03-25 18:52 William Hubbs
2023-03-25 18:16 William Hubbs
2023-01-17 18:55 William Hubbs
2023-01-17 17:59 William Hubbs
2022-11-29 19:53 William Hubbs
2022-11-29 19:50 William Hubbs
2022-11-29 19:50 William Hubbs
2022-11-13 22:05 William Hubbs
2022-11-13 0:28 William Hubbs
2022-11-13 0:25 William Hubbs
2022-11-12 17:06 William Hubbs
2022-10-21 16:22 William Hubbs
2022-10-21 16:19 William Hubbs
2022-10-04 3:06 Sam James
2022-09-23 16:42 William Hubbs
2022-09-23 16:29 William Hubbs
2022-09-10 18:21 William Hubbs
2022-08-21 14:57 Jakov Smolić
2022-08-11 10:55 Sam James
2022-07-23 22:37 William Hubbs
2022-07-01 16:27 William Hubbs
2022-02-18 9:19 Michał Górny
2022-02-18 3:36 Sam James
2021-11-07 20:52 Mikle Kolyada
2021-07-16 10:03 Mikle Kolyada
2021-05-19 14:06 Mikle Kolyada
2021-05-19 14:06 Mikle Kolyada
2021-05-19 12:45 Mikle Kolyada
2021-05-14 8:38 Mikle Kolyada
2021-05-14 8:38 Mikle Kolyada
2021-05-14 8:38 Mikle Kolyada
2021-05-03 21:46 William Hubbs
2021-05-03 21:45 William Hubbs
2021-05-03 21:12 Mikle Kolyada
2021-05-03 21:06 Mikle Kolyada
2021-05-03 21:06 Mikle Kolyada
2021-04-28 15:09 Mikle Kolyada
2021-04-10 12:23 Mikle Kolyada
2021-03-21 10:56 Mikle Kolyada
2021-03-14 18:37 Mikle Kolyada
2020-10-05 18:49 William Hubbs
2020-07-25 0:09 Sam James
2020-06-25 3:30 William Hubbs
2019-12-04 5:34 William Hubbs
2019-12-03 9:48 Michał Górny
2019-11-24 19:11 Manuel Rüger
2019-11-23 11:19 Manuel Rüger
2019-11-23 11:19 Manuel Rüger
2019-11-23 11:19 Manuel Rüger
2019-10-17 20:10 Manuel Rüger
2019-10-07 9:53 Manuel Rüger
2019-08-19 14:19 Manuel Rüger
2019-08-14 13:43 Manuel Rüger
2019-08-14 13:43 Manuel Rüger
2019-08-01 12:55 Manuel Rüger
2019-07-09 12:52 Manuel Rüger
2019-07-09 12:52 Manuel Rüger
2019-05-27 14:17 Manuel Rüger
2019-05-21 9:19 Manuel Rüger
2019-04-25 11:35 Manuel Rüger
2019-04-25 11:34 Manuel Rüger
2019-04-17 9:41 Manuel Rüger
2019-04-16 9:15 Manuel Rüger
2019-04-15 13:58 Manuel Rüger
2019-03-29 12:51 Manuel Rüger
2019-03-29 12:51 Manuel Rüger
2019-03-28 16:24 Manuel Rüger
2019-03-28 13:26 Manuel Rüger
2019-03-02 17:32 Manuel Rüger
2019-03-02 17:28 Manuel Rüger
2019-02-01 16:01 Manuel Rüger
2019-01-31 16:25 Manuel Rüger
2019-01-28 11:45 Manuel Rüger
2019-01-15 19:05 Manuel Rüger
2018-12-17 18:03 Manuel Rüger
2018-12-16 12:15 Manuel Rüger
2018-11-06 13:57 Manuel Rüger
2018-11-06 13:57 Manuel Rüger
2018-10-28 16:09 Manuel Rüger
2018-09-21 10:59 Tobias Klausmann
2018-09-20 22:34 Manuel Rüger
2018-09-13 11:45 Manuel Rüger
2018-07-13 10:18 Manuel Rüger
2018-07-13 10:15 Manuel Rüger
2018-06-27 11:22 Manuel Rüger
2018-06-07 12:57 Manuel Rüger
2018-03-27 13:33 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1718751024.79ebe8b1ac7c697bfb485b1b40f0a94eabf2eeee.williamh@gentoo \
--to=williamh@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox