summaryrefslogtreecommitdiff
path: root/app-metrics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-13 12:48:53 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-13 12:48:53 +0000
commit7c1ac01728d0156998ee45be74f80b378d96c31d (patch)
tree6634bea5058fa5133bb0227fd6f1da9aea4ca8f7 /app-metrics
parentb2d06fcf55b2f88efa183831072c7bca3f8e418b (diff)
gentoo auto-resync : 13:11:2022 - 12:48:53
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/Manifest.gzbin5947 -> 5954 bytes
-rw-r--r--app-metrics/prometheus/Manifest4
-rw-r--r--app-metrics/prometheus/prometheus-2.40.1.ebuild72
3 files changed, 76 insertions, 0 deletions
diff --git a/app-metrics/Manifest.gz b/app-metrics/Manifest.gz
index 98fdb76f95f9..2be34eb0f636 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 65f11ef4f676..2557ec813d3d 100644
--- a/app-metrics/prometheus/Manifest
+++ b/app-metrics/prometheus/Manifest
@@ -13,8 +13,12 @@ DIST prometheus-2.38.0.tar.gz 6057055 BLAKE2B 5cf4090d6e9b1cf918e21e1f6ee79f0b44
DIST prometheus-2.39.1-assets.tar.xz 45639572 BLAKE2B 291998ea03128042cf5fa1ac40c3bac2bea298e44b408bc4a4dcb15ab3e7899b12850f4ae9bda37fbbf1756e53043ae7c29e7b2d28b1e60e2ccaf8b83308443a SHA512 356abf7b08030c474c083d2eb3e4a0635c8f6b3b1ab6639c112c619efa5135535b1258fa3c4a1e2987ae032ab6662651abf4468b34385158eed3217459d3fb87
DIST prometheus-2.39.1-deps.tar.xz 251770124 BLAKE2B 39d1ae2affbdc0dedfa16b3802b78987878e2d46a1af7ac5bf3416626f72f7a6963c92d2358940cda074ce7d5196b8b3b7a6b802592a29401586e7923e5e0ae5 SHA512 a93abc79f0d06bd86b802d3c8e868e65b9dc1653ce8c1b3af9ab7e40a3e43cc47b6fe600e7005f730716849ecf0d0cc8b60939e35883fdcc47f9922a732122ec
DIST prometheus-2.39.1.tar.gz 6045708 BLAKE2B 306a93c74257bbd33994538d7679d730a0926ac55280e1198b0d528c4c20c44f9ad3e0b4ca3a820e45ace114ade9c60f12f80846900213e0da0850399856afdf SHA512 d3c61a366ee14fff9ebf554e94647ec27ea21f3d829396d6b132dfe268a9153e30f4ce63d762d79593e6876246cd110b52da1e196f55390c5c657d5a57df0055
+DIST prometheus-2.40.1-assets.tar.xz 45591668 BLAKE2B 76f1a6aa2eece8977b1573da51befc56dab7de95302b837d108a90b2e68640cbd7a37dc5ca09e385ba7f6ac5f4cac8fe902380e0c3c747909a27662e01e83c75 SHA512 38bb67689466bd864b7dff930d712f679fb2d56494641e99d5999a9df583c5cb9db24c5eccf951e944fb91cb564dfaf3905ea1159ff6975c672531fe7be34f8f
+DIST prometheus-2.40.1-deps.tar.xz 253177652 BLAKE2B a0120addebe8ef5229af8f24624584b25bf625be9072d66b037ca9802190ec3c4451b735c9e31fbc9fd8a08a17e1c0c7f9c7602d1ff2f4bff1619c98a5eb1a35 SHA512 856dcb15f54eec34ca9216fe626165e08096f4114be62721b0edb3d07583ff0ff22d962e2d9ed0094626e42c5131c38908f1ba96327f741ff349b2f5fc237cd7
+DIST prometheus-2.40.1.tar.gz 6156441 BLAKE2B 9b65733370e6f11ec559f7a4f2d80320d33d9cca29fb9609da3a255d90f06f14482976b5bbd58fc553b7d60a317cf8be0d1b6217128325f594ac9a4424cc3dbb SHA512 077c8aa2e4f6d51501b3281ab394afa26b0a9a8a7d5ed8f437b98e0bd83aceb3337bd877afc8942bf6b007dcfb53fbbafc746a5f305c9ba79bec55f0afbb0d58
EBUILD prometheus-2.36.2.ebuild 2156 BLAKE2B 6f4e87dcb953ffec084444e4aa0bdf0bde17296a8e8ead7a10937131309027bbc055a651ad7baa68b0208eb4ec46ad1e406f3e4a39faf4caad4057fdad2cb32a SHA512 497f4ea54c11cbb92f5711b58cbf62648dd942015db08aae1b62e204c39a7f47ab5a58b54b2bb57ee5a54a1d92971919f851876d6feab702e9ef29958195bee8
EBUILD prometheus-2.37.1.ebuild 2280 BLAKE2B ab3d81f7f8c2e1a751cb204c313f68017713d21e6591291ae99915c7f8134daaa6c013f2a8c0e114610eaa89f994f794ed8492b09869333086a8442c48c4065f SHA512 6ffc78221e6834281ef329d69f8cde0f9a78a171608132b8bbd95a289934c54bd06d4fa907a4a22d1419ad162c11ea7f04eec85c29ac523e1fa6f94c7866fdb9
EBUILD prometheus-2.38.0.ebuild 2279 BLAKE2B af820df9acb8be788724f331ddd41eafa2ca6839d5013b262bcfc1504559ae6f8e89f920f0250d485b5987d20087e7746640e2becc9c1e6174613f8e93d7631e SHA512 3844794a3ee60e190df7ca6d0c46559be95186391a852d4ac0338dfb25ec2a1257fd55d198ba29e0e43c78fcb4ad0467d1fb97ed82192ef8354ebe405487f738
EBUILD prometheus-2.39.1.ebuild 2279 BLAKE2B af820df9acb8be788724f331ddd41eafa2ca6839d5013b262bcfc1504559ae6f8e89f920f0250d485b5987d20087e7746640e2becc9c1e6174613f8e93d7631e SHA512 3844794a3ee60e190df7ca6d0c46559be95186391a852d4ac0338dfb25ec2a1257fd55d198ba29e0e43c78fcb4ad0467d1fb97ed82192ef8354ebe405487f738
+EBUILD prometheus-2.40.1.ebuild 2280 BLAKE2B 962a93b576edd5b9a7e3eb147479e012cbd8e8a9d1a1c952f231d066bbc9fc042af6955680dc764edf6c4fad30f53fb17440afaf1db0a6edad114b0bc3335a65 SHA512 eb9f7e1829908d4724691c06b538a1c926af96af4e50d7880c0b9be45c67e6d9f944022f3c888a7d1316ea401da6bb5d60635aa1d30d58bc43990ec5375b6131
MISC metadata.xml 443 BLAKE2B e6f1b0fa6c89174aebf787bdfe37000233cb29f68aecea6b2586af76216c04fa094e6dc08793092c36e51b2f34887a968174960e55c45fcd3d2c91f93f3b1ee1 SHA512 13cdf9d1e49aeb1470223c4cfa830c3063e5816141afddfffe6eb6078b9118cab262bc520b873254e65b81663042f317b5797e35b74e25df21cf28b46fe1477d
diff --git a/app-metrics/prometheus/prometheus-2.40.1.ebuild b/app-metrics/prometheus/prometheus-2.40.1.ebuild
new file mode 100644
index 000000000000..9b6825201b4a
--- /dev/null
+++ b/app-metrics/prometheus/prometheus-2.40.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+GIT_COMMIT=965274259f993801d63f553639d248588287120b
+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 ~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 -n "${WORKDIR}"/web/ui web || die
+}
+
+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
+}