diff options
Diffstat (limited to 'app-metrics')
-rw-r--r-- | app-metrics/Manifest.gz | bin | 5948 -> 5946 bytes | |||
-rw-r--r-- | app-metrics/prometheus/Manifest | 8 | ||||
-rw-r--r-- | app-metrics/prometheus/prometheus-2.37.1.ebuild | 72 | ||||
-rw-r--r-- | app-metrics/prometheus/prometheus-2.38.0.ebuild | 73 |
4 files changed, 153 insertions, 0 deletions
diff --git a/app-metrics/Manifest.gz b/app-metrics/Manifest.gz Binary files differindex 773f0caad364..5e72d2daa689 100644 --- a/app-metrics/Manifest.gz +++ b/app-metrics/Manifest.gz diff --git a/app-metrics/prometheus/Manifest b/app-metrics/prometheus/Manifest index 210fdd171f0f..9f2f5289a267 100644 --- a/app-metrics/prometheus/Manifest +++ b/app-metrics/prometheus/Manifest @@ -4,5 +4,13 @@ AUX prometheus.service 534 BLAKE2B fcae8c118b19169e6cdf7469754307ff9037ad72991cd DIST prometheus-2.36.2-assets.tar.xz 44439600 BLAKE2B 13d89a26f0603c303c9a160288cb7b4f55c5856d0230019a1b0e6a6adb1a556c200defd4cccd7e54ef699c2d6893af90f395bce748882001af13977f26323f14 SHA512 9ea5b99002d08e6a61c00737cc50ca57a3233aa170ab275930546eb4786b0845cad9d92248f5e64b8d10d8a10f3497a1c497aa773e398ee6c0d4b0a636eeca4e DIST prometheus-2.36.2-deps.tar.xz 253575088 BLAKE2B 7e2e3d41f69002cd46caa67517c41b7249f0c43c32a6c1ca7aa835ca86dd49fa672f423f0d1f065d356e560dbbda1327093793b7b33f1477d6605af5ec930143 SHA512 7c5c3a654b09e3bf6f04be2d7957b3be191a1df260742ef1f78204307d6e6fce2ef65d65e76f7ab289812e6ac8b80f1c2a0ed51ff987dbda04ec9a0ef21335cd DIST prometheus-2.36.2.tar.gz 6021280 BLAKE2B 0d60ca650913a6708bd7aebcb18d3f24f6720913b90a232acf0e89e7fea255edbfb16f400a146ce53bfb49319b42873c10f853a90c6565775984a11f2cd2563c SHA512 e232d14fe97399badcccdb30d3146161597bcd5519a28e95a0f8e21ff67fe0bf7e1e7434f6fced00a0cef1f047d09f30fa56d03e9c40556d046b53d878744f4d +DIST prometheus-2.37.1-assets.tar.xz 43874252 BLAKE2B 462da610ea9a27005e9355949b1f9ef777f9e95abaf961c40c0a036aab3d5834967efcadb029f335725826300627fc3ffe9674434dd04d374555f44c71d81232 SHA512 6d0dc592a9685dc96dbb36f9e6cd6fe2d6c8e6e6d6d2684d90192210503c1764124ec1b4241a2dfcb03261fa138e4bbc66f514b641ad8661b3a9c890b5ee0f2f +DIST prometheus-2.37.1-deps.tar.xz 256529272 BLAKE2B e1eaf93ddb91120b6fd18db64ee17e3b7f5ee6da4616dcf235074ce4c2cd12e93ea8cf71d428c8109f131f672048068b8751ce06d28ff29f09d5dfaa89ba1fbe SHA512 7810f186b4aa4b7e1e188f980626b83c59a9f67fd872497f4ee1e7df0c17640c3bca74250249b9a7126354fa0dd4135b052d7c5d8a13e084a916225e020e9674 +DIST prometheus-2.37.1.tar.gz 6049188 BLAKE2B f32b4d9b7e02f7edc3468d6ce650b2f03e508adaae2ee25c37a7dc1362b38afae1aa1107eaf3c64cf8d2bf77bdfae35c81895bf5b4b45db6efcfd54108f3ee36 SHA512 30114e34d8615ec6cd25663d8eb27c11aa402a4960f64b4e8c5ee9399d65913b05041deba4402761281b714743db99e5348c04ac06d85ac3a202c31224effe00 +DIST prometheus-2.38.0-assets.tar.xz 43847400 BLAKE2B 0eb92c08414d55528243b549550db626e2ce15de2399f45a4eaf9a35c724851e7df7243921b6384f2a3bf23b783b3a199a4f11db6bb73ff4289c97d2c447a939 SHA512 16d7c391c70a0950deca575eea37fbe4786632426f3b44d33716a39254dc7d64b50d3493f6159db204b56c78804d0bc274c8367feaa2261d01a6a767ec93347f +DIST prometheus-2.38.0-deps.tar.xz 258811628 BLAKE2B 0a9f5001d4afa1b9ce5feee98a4258315669b841343a1357606c8237ea9fa681ca47e640b0e36b1bc30420afa60edbcc53f0a1205e334129e4aaaf34b92505b6 SHA512 908ea45086fde89862a8ca8614654cfd7afa27ed0df38f27fc1e9493f721fff5c7e90711281bf0bf27bf9f938f25a89fe5ab29cec2082923eeca4259c068a80b +DIST prometheus-2.38.0.tar.gz 6057055 BLAKE2B 5cf4090d6e9b1cf918e21e1f6ee79f0b4478aa4fc28b0345c3555e684347bfbe9793661955ac406bdb4f87bdf0df2b96716d89a1ec201f7ceb5f1c3d0b7d5e7a SHA512 c2d5f5833012c88b23c9e2b3944e1ea5ecfdb0f24541a1012d46347d40b0b310fe71f71e137e6fec35ef9e12d113e8c77d07047351fa8f055c31b227c8ca40ae 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 2281 BLAKE2B 07bc70d3807f023f383ec202906b921c9bac7c7236986295274d01100218c0c453f41eb09c796e5bc0497889d35a3fd8f475b32f6f52d62584d949f05ce349f7 SHA512 3a223ba468deee08771b2cc6990a6b1c8bc6f8fe3574f45523c2b308efa158153368e464401b59adcd23cbd513d120e11aed23f35414baf6f7bae5f22b43dad0 MISC metadata.xml 443 BLAKE2B e6f1b0fa6c89174aebf787bdfe37000233cb29f68aecea6b2586af76216c04fa094e6dc08793092c36e51b2f34887a968174960e55c45fcd3d2c91f93f3b1ee1 SHA512 13cdf9d1e49aeb1470223c4cfa830c3063e5816141afddfffe6eb6078b9118cab262bc520b873254e65b81663042f317b5797e35b74e25df21cf28b46fe1477d diff --git a/app-metrics/prometheus/prometheus-2.37.1.ebuild b/app-metrics/prometheus/prometheus-2.37.1.ebuild new file mode 100644 index 000000000000..818d7f10b095 --- /dev/null +++ b/app-metrics/prometheus/prometheus-2.37.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=1ce2197e7f9e95089bfb95cb61762b5a89a8c0da +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 +} diff --git a/app-metrics/prometheus/prometheus-2.38.0.ebuild b/app-metrics/prometheus/prometheus-2.38.0.ebuild new file mode 100644 index 000000000000..7a95fdd4eb4e --- /dev/null +++ b/app-metrics/prometheus/prometheus-2.38.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd +GIT_COMMIT=818d6e60888b2a3ea363aee8a9828c7bafd73699 +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 +} |