Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, app-metrics/prometheus-bin/files/, app-metrics/prometheus-bin/
Date: Sat, 31 Dec 2022 18:32:55
Message-Id: 1672511460.16a7694e781f11239293b97de2e8786873d87fb0.jsmolic@gentoo
1 commit: 16a7694e781f11239293b97de2e8786873d87fb0
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 31 18:19:22 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 31 18:31:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16a7694e
7
8 app-metrics/prometheus-bin: treeclean
9
10 Bug: https://bugs.gentoo.org/883637
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 app-metrics/prometheus-bin/Manifest | 4 --
14 app-metrics/prometheus-bin/files/prometheus.confd | 2 -
15 app-metrics/prometheus-bin/files/prometheus.initd | 34 ---------------
16 .../prometheus-bin/files/prometheus.service | 22 ----------
17 app-metrics/prometheus-bin/metadata.xml | 15 -------
18 .../prometheus-bin/prometheus-bin-2.26.1.ebuild | 51 ----------------------
19 .../prometheus-bin/prometheus-bin-2.27.1.ebuild | 51 ----------------------
20 .../prometheus-bin/prometheus-bin-2.28.1.ebuild | 51 ----------------------
21 .../prometheus-bin/prometheus-bin-2.31.1.ebuild | 51 ----------------------
22 profiles/package.mask | 6 ---
23 10 files changed, 287 deletions(-)
24
25 diff --git a/app-metrics/prometheus-bin/Manifest b/app-metrics/prometheus-bin/Manifest
26 deleted file mode 100644
27 index 46fea86b718c..000000000000
28 --- a/app-metrics/prometheus-bin/Manifest
29 +++ /dev/null
30 @@ -1,4 +0,0 @@
31 -DIST prometheus-2.26.1.linux-amd64.tar.gz 65179092 BLAKE2B 631dfbaf9d8553297bd763b2a1ce7cb97d66ec90bff126466868a59b0a0fe074fc13866e2c99f085c7257c3047ab4105f16508c1397de76a1420b4df0b203455 SHA512 53cbbef86204973a01e0d20b287cdbe2c1743dc2add0449d10da55dd3fbed95eaa5beb0a2cd08b4a33fb1825440c91633ef7680616d89838868216fafcd27c55
32 -DIST prometheus-2.27.1.linux-amd64.tar.gz 69491886 BLAKE2B 7739bd6d84570d4d0db987a0b027ba875728245ded5fac17f89adddfd9b14543cd9594664a8d42392a7a018477ece69ac47367f03442c0f5b11a1e76140ad7c6 SHA512 df43385e178f698806181ab67db0b75600d356c7792f2dcfe6e3390a8a7b449f180ea8fccbc58c10ad0118cea1ba8d5664676de9741e5f91a1a4ec897baeb88f
33 -DIST prometheus-2.28.1.linux-amd64.tar.gz 71109475 BLAKE2B fe487ec0157e4c6de5319cdacaf99bba9784156b21b29245b65c1b090951bac182b6b2f5ab98615ac0424eb0984dcbea1fffaa680a9d424addbc73c2f923c483 SHA512 a58280f9013f3013a917019ad850f9150f9636e579a87a0408a7de943b3f807a65135452b5c65b75aeca7f62dccf5958a420755088cd3955cd6a556893ed68e4
34 -DIST prometheus-2.31.1.linux-amd64.tar.gz 73079452 BLAKE2B 8b62141d8a7a10ec488f9a2f964fc47e3aabf6d4d26683bc7fee1517c123d74b46ac73fb2ec1b85504e624ecbd372c45eeb55e08f41c1fae9cf4585693fbc6a9 SHA512 7b356111e30bd59317967f4ebb018bea53e44b3799056bd43ee0d2c557b8d43534196cede34c2977f1f885f36a5832b72ceda15eb880b3018708e1d225fc750e
35
36 diff --git a/app-metrics/prometheus-bin/files/prometheus.confd b/app-metrics/prometheus-bin/files/prometheus.confd
37 deleted file mode 100644
38 index 93b41b31624c..000000000000
39 --- a/app-metrics/prometheus-bin/files/prometheus.confd
40 +++ /dev/null
41 @@ -1,2 +0,0 @@
42 -# arguments for Prometheus
43 -command_args=""
44
45 diff --git a/app-metrics/prometheus-bin/files/prometheus.initd b/app-metrics/prometheus-bin/files/prometheus.initd
46 deleted file mode 100644
47 index f7371f8ca060..000000000000
48 --- a/app-metrics/prometheus-bin/files/prometheus.initd
49 +++ /dev/null
50 @@ -1,34 +0,0 @@
51 -#!/sbin/openrc-run
52 -# Copyright 2016-2019 Gentoo Authors
53 -# Distributed under the terms of the GNU General Public License v2
54 -
55 -description="Prometheus monitoring system and time series database"
56 -pidfile=/var/run/${RC_SVCNAME}.pid
57 -user=${user:-${RC_SVCNAME}}
58 -group=${group:-${RC_SVCNAME}}
59 -command_user=${user}:${group}
60 -
61 -command="/usr/bin/prometheus"
62 -command_args="${command_args:---config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus/data}"
63 -command_background="true"
64 -error_log=/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log
65 -output_log=/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log
66 -
67 -extra_started_commands="reload"
68 -
69 -depend() {
70 - after net
71 -}
72 -
73 -reload() {
74 - ebegin "Reloading configuration for ${RC_SVCNAME}"
75 - case "$supervisor" in
76 - supervise-daemon)
77 - supervise-daemon ${RC_SVCNAME} --signal HUP
78 - ;;
79 - *)
80 - start-stop-daemon --signal HUP --pidfile "${pidfile}"
81 - ;;
82 - esac
83 - eend $? "Failed to reload ${RC_SVCNAME}"
84 -}
85
86 diff --git a/app-metrics/prometheus-bin/files/prometheus.service b/app-metrics/prometheus-bin/files/prometheus.service
87 deleted file mode 100644
88 index ebd8a901d1fd..000000000000
89 --- a/app-metrics/prometheus-bin/files/prometheus.service
90 +++ /dev/null
91 @@ -1,22 +0,0 @@
92 -[Unit]
93 -Description=Prometheus
94 -Wants=network-online.target
95 -After=network-online.target
96 -
97 -[Service]
98 -Type=simple
99 -User=prometheus
100 -Group=prometheus
101 -ExecStart=/usr/bin/prometheus \
102 - --web.enable-lifecycle \
103 - --config.file=/etc/prometheus/prometheus.yml \
104 - --storage.tsdb.path="/var/lib/prometheus/data" \
105 - --web.console.templates=/etc/prometheus/consoles \
106 - --web.console.libraries=/etc/prometheus/console_libraries \
107 - --web.listen-address=0.0.0.0:9090 \
108 - --web.enable-admin-api
109 -
110 -Restart=always
111 -
112 -[Install]
113 -WantedBy=multi-user.target
114
115 diff --git a/app-metrics/prometheus-bin/metadata.xml b/app-metrics/prometheus-bin/metadata.xml
116 deleted file mode 100644
117 index c76d474d3f87..000000000000
118 --- a/app-metrics/prometheus-bin/metadata.xml
119 +++ /dev/null
120 @@ -1,15 +0,0 @@
121 -<?xml version="1.0" encoding="UTF-8"?>
122 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
123 -<pkgmetadata>
124 - <maintainer type="person">
125 - <email>williamh@g.o</email>
126 - <name>William Hubbs</name>
127 - </maintainer>
128 - <maintainer type="person">
129 - <email>zlogene@g.o</email>
130 - <name>Mikle Kolyada</name>
131 - </maintainer>
132 - <upstream>
133 - <remote-id type="github">prometheus/prometheus</remote-id>
134 - </upstream>
135 -</pkgmetadata>
136
137 diff --git a/app-metrics/prometheus-bin/prometheus-bin-2.26.1.ebuild b/app-metrics/prometheus-bin/prometheus-bin-2.26.1.ebuild
138 deleted file mode 100644
139 index da63a8595d37..000000000000
140 --- a/app-metrics/prometheus-bin/prometheus-bin-2.26.1.ebuild
141 +++ /dev/null
142 @@ -1,51 +0,0 @@
143 -# Copyright 2020-2021 Gentoo Authors
144 -# Distributed under the terms of the GNU General Public License v2
145 -
146 -EAPI=7
147 -
148 -inherit systemd
149 -
150 -DESCRIPTION="prometheus monitoring system and time series database"
151 -HOMEPAGE="https://prometheus.io"
152 -MY_PN=${PN%%-bin}
153 -MY_P=${MY_PN}-${PV}
154 -SRC_URI="https://github.com/prometheus/prometheus/releases/download/v${PV}/${MY_P}.linux-amd64.tar.gz"
155 -
156 -LICENSE="Apache-2.0"
157 -SLOT="0"
158 -KEYWORDS="-* ~amd64"
159 -
160 -QA_PREBUILT=".*"
161 -RESTRICT="strip"
162 -
163 -DEPEND="acct-group/prometheus
164 - acct-user/prometheus
165 - !app-metrics/prometheus"
166 -RDEPEND="${DEPEND}"
167 -
168 -S="${WORKDIR}/${MY_P}.linux-amd64"
169 -
170 -src_install() {
171 - dobin prometheus promtool
172 - insinto /usr/share/prometheus
173 - doins -r console_libraries consoles
174 - insinto /etc/prometheus
175 - doins prometheus.yml
176 - dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
177 - dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
178 -
179 - systemd_dounit "${FILESDIR}"/prometheus.service
180 - newinitd "${FILESDIR}"/prometheus.initd prometheus
181 - newconfd "${FILESDIR}"/prometheus.confd prometheus
182 - keepdir /var/log/prometheus /var/lib/prometheus
183 - fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
184 -}
185 -
186 -pkg_postinst() {
187 - if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then
188 - ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format"
189 - ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0"
190 - ewarn "This release requires a clean storage directory and is not compatible with"
191 - ewarn "files created by previous beta releases"
192 - fi
193 -}
194
195 diff --git a/app-metrics/prometheus-bin/prometheus-bin-2.27.1.ebuild b/app-metrics/prometheus-bin/prometheus-bin-2.27.1.ebuild
196 deleted file mode 100644
197 index da63a8595d37..000000000000
198 --- a/app-metrics/prometheus-bin/prometheus-bin-2.27.1.ebuild
199 +++ /dev/null
200 @@ -1,51 +0,0 @@
201 -# Copyright 2020-2021 Gentoo Authors
202 -# Distributed under the terms of the GNU General Public License v2
203 -
204 -EAPI=7
205 -
206 -inherit systemd
207 -
208 -DESCRIPTION="prometheus monitoring system and time series database"
209 -HOMEPAGE="https://prometheus.io"
210 -MY_PN=${PN%%-bin}
211 -MY_P=${MY_PN}-${PV}
212 -SRC_URI="https://github.com/prometheus/prometheus/releases/download/v${PV}/${MY_P}.linux-amd64.tar.gz"
213 -
214 -LICENSE="Apache-2.0"
215 -SLOT="0"
216 -KEYWORDS="-* ~amd64"
217 -
218 -QA_PREBUILT=".*"
219 -RESTRICT="strip"
220 -
221 -DEPEND="acct-group/prometheus
222 - acct-user/prometheus
223 - !app-metrics/prometheus"
224 -RDEPEND="${DEPEND}"
225 -
226 -S="${WORKDIR}/${MY_P}.linux-amd64"
227 -
228 -src_install() {
229 - dobin prometheus promtool
230 - insinto /usr/share/prometheus
231 - doins -r console_libraries consoles
232 - insinto /etc/prometheus
233 - doins prometheus.yml
234 - dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
235 - dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
236 -
237 - systemd_dounit "${FILESDIR}"/prometheus.service
238 - newinitd "${FILESDIR}"/prometheus.initd prometheus
239 - newconfd "${FILESDIR}"/prometheus.confd prometheus
240 - keepdir /var/log/prometheus /var/lib/prometheus
241 - fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
242 -}
243 -
244 -pkg_postinst() {
245 - if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then
246 - ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format"
247 - ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0"
248 - ewarn "This release requires a clean storage directory and is not compatible with"
249 - ewarn "files created by previous beta releases"
250 - fi
251 -}
252
253 diff --git a/app-metrics/prometheus-bin/prometheus-bin-2.28.1.ebuild b/app-metrics/prometheus-bin/prometheus-bin-2.28.1.ebuild
254 deleted file mode 100644
255 index da63a8595d37..000000000000
256 --- a/app-metrics/prometheus-bin/prometheus-bin-2.28.1.ebuild
257 +++ /dev/null
258 @@ -1,51 +0,0 @@
259 -# Copyright 2020-2021 Gentoo Authors
260 -# Distributed under the terms of the GNU General Public License v2
261 -
262 -EAPI=7
263 -
264 -inherit systemd
265 -
266 -DESCRIPTION="prometheus monitoring system and time series database"
267 -HOMEPAGE="https://prometheus.io"
268 -MY_PN=${PN%%-bin}
269 -MY_P=${MY_PN}-${PV}
270 -SRC_URI="https://github.com/prometheus/prometheus/releases/download/v${PV}/${MY_P}.linux-amd64.tar.gz"
271 -
272 -LICENSE="Apache-2.0"
273 -SLOT="0"
274 -KEYWORDS="-* ~amd64"
275 -
276 -QA_PREBUILT=".*"
277 -RESTRICT="strip"
278 -
279 -DEPEND="acct-group/prometheus
280 - acct-user/prometheus
281 - !app-metrics/prometheus"
282 -RDEPEND="${DEPEND}"
283 -
284 -S="${WORKDIR}/${MY_P}.linux-amd64"
285 -
286 -src_install() {
287 - dobin prometheus promtool
288 - insinto /usr/share/prometheus
289 - doins -r console_libraries consoles
290 - insinto /etc/prometheus
291 - doins prometheus.yml
292 - dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
293 - dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
294 -
295 - systemd_dounit "${FILESDIR}"/prometheus.service
296 - newinitd "${FILESDIR}"/prometheus.initd prometheus
297 - newconfd "${FILESDIR}"/prometheus.confd prometheus
298 - keepdir /var/log/prometheus /var/lib/prometheus
299 - fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
300 -}
301 -
302 -pkg_postinst() {
303 - if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then
304 - ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format"
305 - ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0"
306 - ewarn "This release requires a clean storage directory and is not compatible with"
307 - ewarn "files created by previous beta releases"
308 - fi
309 -}
310
311 diff --git a/app-metrics/prometheus-bin/prometheus-bin-2.31.1.ebuild b/app-metrics/prometheus-bin/prometheus-bin-2.31.1.ebuild
312 deleted file mode 100644
313 index 855250a0e333..000000000000
314 --- a/app-metrics/prometheus-bin/prometheus-bin-2.31.1.ebuild
315 +++ /dev/null
316 @@ -1,51 +0,0 @@
317 -# Copyright 2020-2021 Gentoo Authors
318 -# Distributed under the terms of the GNU General Public License v2
319 -
320 -EAPI=8
321 -
322 -inherit systemd
323 -
324 -DESCRIPTION="prometheus monitoring system and time series database"
325 -HOMEPAGE="https://prometheus.io"
326 -MY_PN=${PN%%-bin}
327 -MY_P=${MY_PN}-${PV}
328 -SRC_URI="https://github.com/prometheus/prometheus/releases/download/v${PV}/${MY_P}.linux-amd64.tar.gz"
329 -
330 -LICENSE="Apache-2.0"
331 -SLOT="0"
332 -KEYWORDS="-* ~amd64"
333 -
334 -QA_PREBUILT=".*"
335 -RESTRICT="strip"
336 -
337 -DEPEND="acct-group/prometheus
338 - acct-user/prometheus
339 - !app-metrics/prometheus"
340 -RDEPEND="${DEPEND}"
341 -
342 -S="${WORKDIR}/${MY_P}.linux-amd64"
343 -
344 -src_install() {
345 - dobin prometheus promtool
346 - insinto /usr/share/prometheus
347 - doins -r console_libraries consoles
348 - insinto /etc/prometheus
349 - doins prometheus.yml
350 - dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
351 - dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
352 -
353 - systemd_dounit "${FILESDIR}"/prometheus.service
354 - newinitd "${FILESDIR}"/prometheus.initd prometheus
355 - newconfd "${FILESDIR}"/prometheus.confd prometheus
356 - keepdir /var/log/prometheus /var/lib/prometheus
357 - fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
358 -}
359 -
360 -pkg_postinst() {
361 - if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then
362 - ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format"
363 - ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0"
364 - ewarn "This release requires a clean storage directory and is not compatible with"
365 - ewarn "files created by previous beta releases"
366 - fi
367 -}
368
369 diff --git a/profiles/package.mask b/profiles/package.mask
370 index 371d3803761b..f5c683aadb55 100644
371 --- a/profiles/package.mask
372 +++ b/profiles/package.mask
373 @@ -1061,12 +1061,6 @@ app-editors/emacs:24
374 # openssl-1.1. Removal in 30 days. Bug #696936.
375 sys-apps/ucspi-ssl
376
377 -# John Helmert III <ajak@g.o> (2022-11-29)
378 -# Authentication bypass vulnerability, unmaintained in Gentoo, source
379 -# package available. Use app-metrics/prometheus instead. Removal in 30
380 -# days. Bug #883637.
381 -app-metrics/prometheus-bin
382 -
383 # Piotr Karbowski <slashbeast@g.o> (2022-11-29)
384 # Multiple stability issues, deadlocks on exit, broken API.
385 # Bug #883559