1 |
commit: c3941873e20f0b9e3c1ec405de17668f24fc1373 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 29 19:52:09 2022 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 29 19:52:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3941873 |
7 |
|
8 |
app-metrics/prometheus: drop 2.39.1, 2.40.1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/883637 |
11 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
12 |
|
13 |
app-metrics/prometheus/Manifest | 6 --- |
14 |
app-metrics/prometheus/prometheus-2.39.1.ebuild | 72 ------------------------- |
15 |
app-metrics/prometheus/prometheus-2.40.1.ebuild | 72 ------------------------- |
16 |
3 files changed, 150 deletions(-) |
17 |
|
18 |
diff --git a/app-metrics/prometheus/Manifest b/app-metrics/prometheus/Manifest |
19 |
index 383a0fea65a4..d8aed812617a 100644 |
20 |
--- a/app-metrics/prometheus/Manifest |
21 |
+++ b/app-metrics/prometheus/Manifest |
22 |
@@ -1,9 +1,3 @@ |
23 |
-DIST prometheus-2.39.1-assets.tar.xz 45639572 BLAKE2B 291998ea03128042cf5fa1ac40c3bac2bea298e44b408bc4a4dcb15ab3e7899b12850f4ae9bda37fbbf1756e53043ae7c29e7b2d28b1e60e2ccaf8b83308443a SHA512 356abf7b08030c474c083d2eb3e4a0635c8f6b3b1ab6639c112c619efa5135535b1258fa3c4a1e2987ae032ab6662651abf4468b34385158eed3217459d3fb87 |
24 |
-DIST prometheus-2.39.1-deps.tar.xz 251770124 BLAKE2B 39d1ae2affbdc0dedfa16b3802b78987878e2d46a1af7ac5bf3416626f72f7a6963c92d2358940cda074ce7d5196b8b3b7a6b802592a29401586e7923e5e0ae5 SHA512 a93abc79f0d06bd86b802d3c8e868e65b9dc1653ce8c1b3af9ab7e40a3e43cc47b6fe600e7005f730716849ecf0d0cc8b60939e35883fdcc47f9922a732122ec |
25 |
-DIST prometheus-2.39.1.tar.gz 6045708 BLAKE2B 306a93c74257bbd33994538d7679d730a0926ac55280e1198b0d528c4c20c44f9ad3e0b4ca3a820e45ace114ade9c60f12f80846900213e0da0850399856afdf SHA512 d3c61a366ee14fff9ebf554e94647ec27ea21f3d829396d6b132dfe268a9153e30f4ce63d762d79593e6876246cd110b52da1e196f55390c5c657d5a57df0055 |
26 |
-DIST prometheus-2.40.1-assets.tar.xz 45591668 BLAKE2B 76f1a6aa2eece8977b1573da51befc56dab7de95302b837d108a90b2e68640cbd7a37dc5ca09e385ba7f6ac5f4cac8fe902380e0c3c747909a27662e01e83c75 SHA512 38bb67689466bd864b7dff930d712f679fb2d56494641e99d5999a9df583c5cb9db24c5eccf951e944fb91cb564dfaf3905ea1159ff6975c672531fe7be34f8f |
27 |
-DIST prometheus-2.40.1-deps.tar.xz 253177652 BLAKE2B a0120addebe8ef5229af8f24624584b25bf625be9072d66b037ca9802190ec3c4451b735c9e31fbc9fd8a08a17e1c0c7f9c7602d1ff2f4bff1619c98a5eb1a35 SHA512 856dcb15f54eec34ca9216fe626165e08096f4114be62721b0edb3d07583ff0ff22d962e2d9ed0094626e42c5131c38908f1ba96327f741ff349b2f5fc237cd7 |
28 |
-DIST prometheus-2.40.1.tar.gz 6156441 BLAKE2B 9b65733370e6f11ec559f7a4f2d80320d33d9cca29fb9609da3a255d90f06f14482976b5bbd58fc553b7d60a317cf8be0d1b6217128325f594ac9a4424cc3dbb SHA512 077c8aa2e4f6d51501b3281ab394afa26b0a9a8a7d5ed8f437b98e0bd83aceb3337bd877afc8942bf6b007dcfb53fbbafc746a5f305c9ba79bec55f0afbb0d58 |
29 |
DIST prometheus-2.40.4-assets.tar.xz 45585656 BLAKE2B b187b6683c778b5e9746f1f9695e03303cf5481387bb0517afee56685edc62bbb82c515f8dfeeafeb09a74b57b540da49d1936c7ec74b3013adc7afc8f07ea5f SHA512 8a229504b66bac0ef2fa7a9caafc93fdf3e1c9aa33e892219e57a21b44355515e69a232db98ce4f5664fb98cb37cfb3ec619eb2a3ccf662474544dfdbbba580c |
30 |
DIST prometheus-2.40.4-deps.tar.xz 253189332 BLAKE2B ca2c2f3e111897ac47d71acc3046230608134c854f7af7a4c5ec1fe75dfbb61c6bf278fe00f77ecf65113b72cbd67171634a0fbf57ad09e3349a7e8f45791e33 SHA512 29bf419e45d389805b1f37256cb8a9ce9cc6cb88b3cd4a7a1681121f24158cce7aa5a949554f5344409ba4f683976866bfc766666e2a0a247996c135d2068b6f |
31 |
DIST prometheus-2.40.4.tar.gz 6156657 BLAKE2B a522b31516f5e26475afa2d59a7074b7deb2a70ffbf7cce6e3951bfeacc6dae6d8f59d1b1b591d1c59c0ac9839bc691ce315d55f7fe0a45be573e124f651764b SHA512 9b46f9f3b986929bdfe365645e43c0a3c2073b920e59cc512287f866506d7db7b83ffb2dbe24d1835fccc1b2cc781be7a373da5fb58c04521648981b19e81737 |
32 |
|
33 |
diff --git a/app-metrics/prometheus/prometheus-2.39.1.ebuild b/app-metrics/prometheus/prometheus-2.39.1.ebuild |
34 |
deleted file mode 100644 |
35 |
index f8ce6497ae7d..000000000000 |
36 |
--- a/app-metrics/prometheus/prometheus-2.39.1.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,72 +0,0 @@ |
39 |
-# Copyright 1999-2022 Gentoo Authors |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI=8 |
43 |
-inherit go-module systemd |
44 |
-GIT_COMMIT=818d6e60888b2a3ea363aee8a9828c7bafd73699 |
45 |
-MY_PV=v${PV/_rc/-rc.} |
46 |
- |
47 |
-# To create the assets tarball run the following: |
48 |
-# git checkout <tag> |
49 |
-# make assets-compress |
50 |
-# tar -acf <tarball> web/ui |
51 |
- |
52 |
-DESCRIPTION="Prometheus monitoring system and time series database" |
53 |
-HOMEPAGE="https://github.com/prometheus/prometheus" |
54 |
-SRC_URI="https://github.com/prometheus/prometheus/archive/${MY_PV}.tar.gz -> ${P}.tar.gz |
55 |
- https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz |
56 |
- https://dev.gentoo.org/~williamh/dist/${P}-assets.tar.xz" |
57 |
- |
58 |
-LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" |
59 |
-SLOT="0" |
60 |
-KEYWORDS="amd64 ~arm ~riscv" |
61 |
- |
62 |
-COMMON_DEPEND="acct-group/prometheus |
63 |
- acct-user/prometheus" |
64 |
-DEPEND="!app-metrics/prometheus-bin |
65 |
- ${COMMON_DEPEND}" |
66 |
-RDEPEND="${COMMON_DEPEND}" |
67 |
- |
68 |
-BDEPEND=">=dev-util/promu-0.3.0" |
69 |
- |
70 |
-RESTRICT=" test" |
71 |
- |
72 |
-src_prepare() { |
73 |
- default |
74 |
- sed -i \ |
75 |
- -e "s/{{.Branch}}/HEAD/" \ |
76 |
- -e "s/{{.Revision}}/${GIT_COMMIT}/" \ |
77 |
- -e "s/{{.Version}}/${PV}/" \ |
78 |
- .promu.yml || die |
79 |
- cp -a -n "${WORKDIR}"/web/ui web || die |
80 |
-} |
81 |
- |
82 |
-src_compile() { |
83 |
- emake PROMU="${EPREFIX}"/usr/bin/promu common-build plugins |
84 |
-} |
85 |
- |
86 |
-src_install() { |
87 |
- dobin prometheus promtool |
88 |
- dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md} |
89 |
- insinto /usr/share/prometheus |
90 |
- doins -r console_libraries consoles |
91 |
- insinto /etc/prometheus |
92 |
- doins documentation/examples/prometheus.yml |
93 |
- dosym -r /usr/share/prometheus/console_libraries /etc/prometheus/console_libraries |
94 |
- dosym -r /usr/share/prometheus/consoles /etc/prometheus/consoles |
95 |
- |
96 |
- systemd_dounit "${FILESDIR}"/prometheus.service |
97 |
- newinitd "${FILESDIR}"/prometheus.initd prometheus |
98 |
- newconfd "${FILESDIR}"/prometheus.confd prometheus |
99 |
- keepdir /var/log/prometheus /var/lib/prometheus |
100 |
- fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus |
101 |
-} |
102 |
- |
103 |
-pkg_postinst() { |
104 |
- if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then |
105 |
- ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format" |
106 |
- ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0" |
107 |
- ewarn "This release requires a clean storage directory and is not compatible with" |
108 |
- ewarn "files created by previous beta releases" |
109 |
- fi |
110 |
-} |
111 |
|
112 |
diff --git a/app-metrics/prometheus/prometheus-2.40.1.ebuild b/app-metrics/prometheus/prometheus-2.40.1.ebuild |
113 |
deleted file mode 100644 |
114 |
index 9b6825201b4a..000000000000 |
115 |
--- a/app-metrics/prometheus/prometheus-2.40.1.ebuild |
116 |
+++ /dev/null |
117 |
@@ -1,72 +0,0 @@ |
118 |
-# Copyright 1999-2022 Gentoo Authors |
119 |
-# Distributed under the terms of the GNU General Public License v2 |
120 |
- |
121 |
-EAPI=8 |
122 |
-inherit go-module systemd |
123 |
-GIT_COMMIT=965274259f993801d63f553639d248588287120b |
124 |
-MY_PV=v${PV/_rc/-rc.} |
125 |
- |
126 |
-# To create the assets tarball run the following: |
127 |
-# git checkout <tag> |
128 |
-# make assets-compress |
129 |
-# tar -acf <tarball> web/ui |
130 |
- |
131 |
-DESCRIPTION="Prometheus monitoring system and time series database" |
132 |
-HOMEPAGE="https://github.com/prometheus/prometheus" |
133 |
-SRC_URI="https://github.com/prometheus/prometheus/archive/${MY_PV}.tar.gz -> ${P}.tar.gz |
134 |
- https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz |
135 |
- https://dev.gentoo.org/~williamh/dist/${P}-assets.tar.xz" |
136 |
- |
137 |
-LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" |
138 |
-SLOT="0" |
139 |
-KEYWORDS="~amd64 ~arm ~riscv" |
140 |
- |
141 |
-COMMON_DEPEND="acct-group/prometheus |
142 |
- acct-user/prometheus" |
143 |
-DEPEND="!app-metrics/prometheus-bin |
144 |
- ${COMMON_DEPEND}" |
145 |
-RDEPEND="${COMMON_DEPEND}" |
146 |
- |
147 |
-BDEPEND=">=dev-util/promu-0.3.0" |
148 |
- |
149 |
-RESTRICT=" test" |
150 |
- |
151 |
-src_prepare() { |
152 |
- default |
153 |
- sed -i \ |
154 |
- -e "s/{{.Branch}}/HEAD/" \ |
155 |
- -e "s/{{.Revision}}/${GIT_COMMIT}/" \ |
156 |
- -e "s/{{.Version}}/${PV}/" \ |
157 |
- .promu.yml || die |
158 |
- cp -a -n "${WORKDIR}"/web/ui web || die |
159 |
-} |
160 |
- |
161 |
-src_compile() { |
162 |
- emake PROMU="${EPREFIX}"/usr/bin/promu common-build plugins |
163 |
-} |
164 |
- |
165 |
-src_install() { |
166 |
- dobin prometheus promtool |
167 |
- dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md} |
168 |
- insinto /usr/share/prometheus |
169 |
- doins -r console_libraries consoles |
170 |
- insinto /etc/prometheus |
171 |
- doins documentation/examples/prometheus.yml |
172 |
- dosym -r /usr/share/prometheus/console_libraries /etc/prometheus/console_libraries |
173 |
- dosym -r /usr/share/prometheus/consoles /etc/prometheus/consoles |
174 |
- |
175 |
- systemd_dounit "${FILESDIR}"/prometheus.service |
176 |
- newinitd "${FILESDIR}"/prometheus.initd prometheus |
177 |
- newconfd "${FILESDIR}"/prometheus.confd prometheus |
178 |
- keepdir /var/log/prometheus /var/lib/prometheus |
179 |
- fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus |
180 |
-} |
181 |
- |
182 |
-pkg_postinst() { |
183 |
- if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then |
184 |
- ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format" |
185 |
- ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0" |
186 |
- ewarn "This release requires a clean storage directory and is not compatible with" |
187 |
- ewarn "files created by previous beta releases" |
188 |
- fi |
189 |
-} |