diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-03 22:39:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-03 22:39:47 +0100 |
commit | 7f0ccc917c7abe6223784c703d86cd14755691fb (patch) | |
tree | 8c6793f68896b341e22f33d7e6cef88e481f4a8b /app-metrics/prometheus-bin | |
parent | 9aa80713372911cec499b3adb2cd746790920916 (diff) |
gentoo resync : 03.07.2021
Diffstat (limited to 'app-metrics/prometheus-bin')
-rw-r--r-- | app-metrics/prometheus-bin/Manifest | 2 | ||||
-rw-r--r-- | app-metrics/prometheus-bin/prometheus-bin-2.28.1.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-metrics/prometheus-bin/Manifest b/app-metrics/prometheus-bin/Manifest index 73e5bab5ea4a..6769040c2cd3 100644 --- a/app-metrics/prometheus-bin/Manifest +++ b/app-metrics/prometheus-bin/Manifest @@ -3,6 +3,8 @@ AUX prometheus.initd 929 BLAKE2B d48650b11b77d4d04b5458682456fb20f8085dc3efe9d0d AUX prometheus.service 534 BLAKE2B fcae8c118b19169e6cdf7469754307ff9037ad72991cd1b6f3f816b51ac4716b75d5623ead83cf4b4d1b8a26fcd3ce54c16bff400e454b9ba00c7149e7c4120e SHA512 84eaffba13c030dc7b2b9dcdf4c96eb12ea5ca16e569ea4f9d4647b1bf912c00826f12cabf02cd97c0e2e76646ab9f179429a92bc32d49ba33c6360ec3cfce8f DIST prometheus-2.26.1.linux-amd64.tar.gz 65179092 BLAKE2B 631dfbaf9d8553297bd763b2a1ce7cb97d66ec90bff126466868a59b0a0fe074fc13866e2c99f085c7257c3047ab4105f16508c1397de76a1420b4df0b203455 SHA512 53cbbef86204973a01e0d20b287cdbe2c1743dc2add0449d10da55dd3fbed95eaa5beb0a2cd08b4a33fb1825440c91633ef7680616d89838868216fafcd27c55 DIST prometheus-2.27.1.linux-amd64.tar.gz 69491886 BLAKE2B 7739bd6d84570d4d0db987a0b027ba875728245ded5fac17f89adddfd9b14543cd9594664a8d42392a7a018477ece69ac47367f03442c0f5b11a1e76140ad7c6 SHA512 df43385e178f698806181ab67db0b75600d356c7792f2dcfe6e3390a8a7b449f180ea8fccbc58c10ad0118cea1ba8d5664676de9741e5f91a1a4ec897baeb88f +DIST prometheus-2.28.1.linux-amd64.tar.gz 71109475 BLAKE2B fe487ec0157e4c6de5319cdacaf99bba9784156b21b29245b65c1b090951bac182b6b2f5ab98615ac0424eb0984dcbea1fffaa680a9d424addbc73c2f923c483 SHA512 a58280f9013f3013a917019ad850f9150f9636e579a87a0408a7de943b3f807a65135452b5c65b75aeca7f62dccf5958a420755088cd3955cd6a556893ed68e4 EBUILD prometheus-bin-2.26.1.ebuild 1573 BLAKE2B 408f495ccf2b27c96a1a2c89e16697b3315fb4f8070883f33a0e07b8935507890a123b02acf90bc42ce05c6d2ac3da9e6b9edd7e19dbb884d3f0cbf2c0cd7cff SHA512 344a7a6ae9724d577a4132816c6f93895b01f43ea0f0b1b588427e11bb528b7afbeee45e5f40586bdee62a3577863563a736cf3eb0a513a44d3c742686a1b810 EBUILD prometheus-bin-2.27.1.ebuild 1573 BLAKE2B 408f495ccf2b27c96a1a2c89e16697b3315fb4f8070883f33a0e07b8935507890a123b02acf90bc42ce05c6d2ac3da9e6b9edd7e19dbb884d3f0cbf2c0cd7cff SHA512 344a7a6ae9724d577a4132816c6f93895b01f43ea0f0b1b588427e11bb528b7afbeee45e5f40586bdee62a3577863563a736cf3eb0a513a44d3c742686a1b810 +EBUILD prometheus-bin-2.28.1.ebuild 1573 BLAKE2B 408f495ccf2b27c96a1a2c89e16697b3315fb4f8070883f33a0e07b8935507890a123b02acf90bc42ce05c6d2ac3da9e6b9edd7e19dbb884d3f0cbf2c0cd7cff SHA512 344a7a6ae9724d577a4132816c6f93895b01f43ea0f0b1b588427e11bb528b7afbeee45e5f40586bdee62a3577863563a736cf3eb0a513a44d3c742686a1b810 MISC metadata.xml 442 BLAKE2B 8f7eb4325848f5368202a3754ee05639b9e731303e3fe5f4389b47687a2c22cea3c5df32217f7685b6526529ac33140dda8ffd5b9de6ae39795df4d67a82d452 SHA512 18e47e040cb0f606d9c2d141aae7eb7e00f4f6caf9f1198204fc1aecc2845ce4f0aeeec6c49f5ffc68c211daadb4ca6c071df15b691ce2d80c7373014d945933 diff --git a/app-metrics/prometheus-bin/prometheus-bin-2.28.1.ebuild b/app-metrics/prometheus-bin/prometheus-bin-2.28.1.ebuild new file mode 100644 index 000000000000..da63a8595d37 --- /dev/null +++ b/app-metrics/prometheus-bin/prometheus-bin-2.28.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +DESCRIPTION="prometheus monitoring system and time series database" +HOMEPAGE="https://prometheus.io" +MY_PN=${PN%%-bin} +MY_P=${MY_PN}-${PV} +SRC_URI="https://github.com/prometheus/prometheus/releases/download/v${PV}/${MY_P}.linux-amd64.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="-* ~amd64" + +QA_PREBUILT=".*" +RESTRICT="strip" + +DEPEND="acct-group/prometheus + acct-user/prometheus + !app-metrics/prometheus" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}.linux-amd64" + +src_install() { + dobin prometheus promtool + insinto /usr/share/prometheus + doins -r console_libraries consoles + insinto /etc/prometheus + doins prometheus.yml + dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries + dosym ../../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 +} |