1 |
commit: 7fcf516544ba2c1c555a760a01691380ce64710b |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 1 16:00:45 2019 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 1 16:00:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fcf5165 |
7 |
|
8 |
app-metrics/prometheus: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
11 |
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org> |
12 |
|
13 |
app-metrics/prometheus/Manifest | 3 -- |
14 |
app-metrics/prometheus/prometheus-2.5.0.ebuild | 70 -------------------------- |
15 |
app-metrics/prometheus/prometheus-2.6.0.ebuild | 70 -------------------------- |
16 |
app-metrics/prometheus/prometheus-2.7.0.ebuild | 70 -------------------------- |
17 |
4 files changed, 213 deletions(-) |
18 |
|
19 |
diff --git a/app-metrics/prometheus/Manifest b/app-metrics/prometheus/Manifest |
20 |
index bbfa60cd215..5e755da5ca7 100644 |
21 |
--- a/app-metrics/prometheus/Manifest |
22 |
+++ b/app-metrics/prometheus/Manifest |
23 |
@@ -1,6 +1,3 @@ |
24 |
DIST prometheus-2.4.3.tar.gz 6095284 BLAKE2B 9b9d54cf8ed61453d63e4b93cd81cd1c08a732b2238830aa1b83b63076205569b8f947a94d0528b910c0958bc77f98605ab3eaf98a1e93d361ea6b431d5df48c SHA512 c86ce48416d32ca4310315dd7195a6ee471244b7a9323ddc49270c2b885bda38c2922047dc8fd7d9b19c9f62f8bc788d30387d38f956cbf04130d7041f9a479b |
25 |
-DIST prometheus-2.5.0.tar.gz 6123272 BLAKE2B a84b31e24f4448330af63b64ed56b8c535e790930738c0f00d7ec05ff5b49cd52bcae047cfe3a0470909397562f29662003e5b5ad0a747dc209109e360daa18d SHA512 181ef94b75717d116ae8b1307f7351eb889d153b27316e08e8cffe16cf885dbf43bd0bd4214f05e56bc33bbf53f7864721ab666f5ea4356b37a5987347c6a191 |
26 |
-DIST prometheus-2.6.0.tar.gz 6607363 BLAKE2B b9449403c840367b5332e27cf5d76b3becf1abcaaff6b2f2fd48441609b91d969ce078a2a3c4a38cc68b421b8e796561be87858adb77ac780f45650147469596 SHA512 75ae11a49de4277c7b4e49b83d7f34c9eb17b6bde988ab84e735109430361856ae0d33179a678b2cfc88342966a8e393a75062142c6f713f8a974aa8f332691e |
27 |
DIST prometheus-2.6.1.tar.gz 6612143 BLAKE2B 33dc64406dd45f494720a1ff5f6d09ed4b45b3880b15626ab7455909258addc5d1549d3edbf8af9a374516930b297c5bdb6ef51a78cac3cb338357896c0d71ae SHA512 80bf6afa00b60aa4245a53e275a2b9579a7936609aba4ffacbbe478f34e530208e0498d8c5ea53dd3a940726e05bd6fac19fed3d6d9dd209af565d5368b2340f |
28 |
-DIST prometheus-2.7.0.tar.gz 7276755 BLAKE2B 39c5e73f87aa919537eba19c09a0268b1079ffc8527aef6d31637c6cd9339e0c49a60afc44515d18a86aca6056bf0a1707ba02fc441ff63f0f517d864747d5be SHA512 02df7701cc9c50c2792c1a9ddfb6e41345bbc2f12aef8dfb09b5b545499a09a88d13c6d70a090086d35694817d7a5b26312554ebc50b02492bfdbf206f611d03 |
29 |
DIST prometheus-2.7.1.tar.gz 7276631 BLAKE2B 1066204eebd8e9589ce5972c78f1c56c74ae40739e850731beb7c39a6100aa0c252b444571cffb6cedabddd71f0b6f927e52ce4ebb35a7fd061ed5e4d50436f7 SHA512 d9a9a5cfca48b6a5ea5dda2b319f8c498b11e0e0a4ce0d18fc4d59fba9e5337048120ba12b29d18b957ac5c268f8c17996a9e88ff9ed1e3041d0ed00bc1454d0 |
30 |
|
31 |
diff --git a/app-metrics/prometheus/prometheus-2.5.0.ebuild b/app-metrics/prometheus/prometheus-2.5.0.ebuild |
32 |
deleted file mode 100644 |
33 |
index a0662bd93d2..00000000000 |
34 |
--- a/app-metrics/prometheus/prometheus-2.5.0.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,70 +0,0 @@ |
37 |
-# Copyright 1999-2018 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=6 |
41 |
-inherit user golang-build golang-vcs-snapshot |
42 |
- |
43 |
-EGO_PN="github.com/prometheus/prometheus" |
44 |
-MY_PV=${PV/_rc/-rc.} |
45 |
-EGIT_COMMIT="v${MY_PV}" |
46 |
-PROMETHEUS_COMMIT="67dc912" |
47 |
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
48 |
-KEYWORDS="~amd64" |
49 |
- |
50 |
-DESCRIPTION="Prometheus monitoring system and time series database" |
51 |
-HOMEPAGE="https://github.com/prometheus/prometheus" |
52 |
-SRC_URI="${ARCHIVE_URI}" |
53 |
-LICENSE="Apache-2.0" |
54 |
-SLOT="0" |
55 |
-IUSE="" |
56 |
- |
57 |
-DEPEND=" |
58 |
- >=dev-lang/go-1.10 |
59 |
- dev-util/promu" |
60 |
- |
61 |
-PROMETHEUS_HOME="/var/lib/prometheus" |
62 |
- |
63 |
-RESTRICT="test" |
64 |
- |
65 |
-pkg_setup() { |
66 |
- enewgroup prometheus |
67 |
- enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus |
68 |
-} |
69 |
- |
70 |
-src_prepare() { |
71 |
- default |
72 |
- sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" src/${EGO_PN}/.promu.yml || die |
73 |
-} |
74 |
- |
75 |
-src_compile() { |
76 |
- pushd src/${EGO_PN} || die |
77 |
- GOPATH="${S}" promu build -v || die |
78 |
- popd || die |
79 |
-} |
80 |
- |
81 |
-src_install() { |
82 |
- pushd src/${EGO_PN} || die |
83 |
- dobin promtool prometheus |
84 |
- dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md} |
85 |
- insinto /etc/prometheus |
86 |
- doins documentation/examples/prometheus.yml |
87 |
- insinto /usr/share/prometheus |
88 |
- doins -r console_libraries consoles |
89 |
- dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries |
90 |
- dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles |
91 |
- popd || die |
92 |
- |
93 |
- newinitd "${FILESDIR}"/prometheus-3.initd prometheus |
94 |
- newconfd "${FILESDIR}"/prometheus.confd prometheus |
95 |
- keepdir /var/log/prometheus /var/lib/prometheus |
96 |
- fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus |
97 |
-} |
98 |
- |
99 |
-pkg_postinst() { |
100 |
- if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then |
101 |
- ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format" |
102 |
- ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0" |
103 |
- ewarn "This release requires a clean storage directory and is not compatible with" |
104 |
- ewarn "files created by previous beta releases" |
105 |
- fi |
106 |
-} |
107 |
|
108 |
diff --git a/app-metrics/prometheus/prometheus-2.6.0.ebuild b/app-metrics/prometheus/prometheus-2.6.0.ebuild |
109 |
deleted file mode 100644 |
110 |
index 3b3cc87749d..00000000000 |
111 |
--- a/app-metrics/prometheus/prometheus-2.6.0.ebuild |
112 |
+++ /dev/null |
113 |
@@ -1,70 +0,0 @@ |
114 |
-# Copyright 1999-2018 Gentoo Authors |
115 |
-# Distributed under the terms of the GNU General Public License v2 |
116 |
- |
117 |
-EAPI=6 |
118 |
-inherit user golang-build golang-vcs-snapshot |
119 |
- |
120 |
-EGO_PN="github.com/prometheus/prometheus" |
121 |
-MY_PV=${PV/_rc/-rc.} |
122 |
-EGIT_COMMIT="v${MY_PV}" |
123 |
-PROMETHEUS_COMMIT="dbd1d58" |
124 |
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
125 |
-KEYWORDS="~amd64" |
126 |
- |
127 |
-DESCRIPTION="Prometheus monitoring system and time series database" |
128 |
-HOMEPAGE="https://github.com/prometheus/prometheus" |
129 |
-SRC_URI="${ARCHIVE_URI}" |
130 |
-LICENSE="Apache-2.0" |
131 |
-SLOT="0" |
132 |
-IUSE="" |
133 |
- |
134 |
-DEPEND=" |
135 |
- >=dev-lang/go-1.10 |
136 |
- dev-util/promu" |
137 |
- |
138 |
-PROMETHEUS_HOME="/var/lib/prometheus" |
139 |
- |
140 |
-RESTRICT="test" |
141 |
- |
142 |
-pkg_setup() { |
143 |
- enewgroup prometheus |
144 |
- enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus |
145 |
-} |
146 |
- |
147 |
-src_prepare() { |
148 |
- default |
149 |
- sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" src/${EGO_PN}/.promu.yml || die |
150 |
-} |
151 |
- |
152 |
-src_compile() { |
153 |
- pushd src/${EGO_PN} || die |
154 |
- GO111MODULE=on GOPATH="${S}" promu build -v || die |
155 |
- popd || die |
156 |
-} |
157 |
- |
158 |
-src_install() { |
159 |
- pushd src/${EGO_PN} || die |
160 |
- dobin promtool prometheus |
161 |
- dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md} |
162 |
- insinto /etc/prometheus |
163 |
- doins documentation/examples/prometheus.yml |
164 |
- insinto /usr/share/prometheus |
165 |
- doins -r console_libraries consoles |
166 |
- dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries |
167 |
- dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles |
168 |
- popd || die |
169 |
- |
170 |
- newinitd "${FILESDIR}"/prometheus-3.initd prometheus |
171 |
- newconfd "${FILESDIR}"/prometheus.confd prometheus |
172 |
- keepdir /var/log/prometheus /var/lib/prometheus |
173 |
- fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus |
174 |
-} |
175 |
- |
176 |
-pkg_postinst() { |
177 |
- if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then |
178 |
- ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format" |
179 |
- ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0" |
180 |
- ewarn "This release requires a clean storage directory and is not compatible with" |
181 |
- ewarn "files created by previous beta releases" |
182 |
- fi |
183 |
-} |
184 |
|
185 |
diff --git a/app-metrics/prometheus/prometheus-2.7.0.ebuild b/app-metrics/prometheus/prometheus-2.7.0.ebuild |
186 |
deleted file mode 100644 |
187 |
index 297c4d0750f..00000000000 |
188 |
--- a/app-metrics/prometheus/prometheus-2.7.0.ebuild |
189 |
+++ /dev/null |
190 |
@@ -1,70 +0,0 @@ |
191 |
-# Copyright 1999-2019 Gentoo Authors |
192 |
-# Distributed under the terms of the GNU General Public License v2 |
193 |
- |
194 |
-EAPI=6 |
195 |
-inherit user golang-build golang-vcs-snapshot |
196 |
- |
197 |
-EGO_PN="github.com/prometheus/prometheus" |
198 |
-MY_PV=${PV/_rc/-rc.} |
199 |
-EGIT_COMMIT="v${MY_PV}" |
200 |
-PROMETHEUS_COMMIT="410ee9e" |
201 |
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
202 |
-KEYWORDS="~amd64" |
203 |
- |
204 |
-DESCRIPTION="Prometheus monitoring system and time series database" |
205 |
-HOMEPAGE="https://github.com/prometheus/prometheus" |
206 |
-SRC_URI="${ARCHIVE_URI}" |
207 |
-LICENSE="Apache-2.0" |
208 |
-SLOT="0" |
209 |
-IUSE="" |
210 |
- |
211 |
-DEPEND=" |
212 |
- >=dev-lang/go-1.10 |
213 |
- dev-util/promu" |
214 |
- |
215 |
-PROMETHEUS_HOME="/var/lib/prometheus" |
216 |
- |
217 |
-RESTRICT="test" |
218 |
- |
219 |
-pkg_setup() { |
220 |
- enewgroup prometheus |
221 |
- enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus |
222 |
-} |
223 |
- |
224 |
-src_prepare() { |
225 |
- default |
226 |
- sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" src/${EGO_PN}/.promu.yml || die |
227 |
-} |
228 |
- |
229 |
-src_compile() { |
230 |
- pushd src/${EGO_PN} || die |
231 |
- GO111MODULE=on GOPATH="${S}" GOCACHE="${T}/go-cache" promu build -v || die |
232 |
- popd || die |
233 |
-} |
234 |
- |
235 |
-src_install() { |
236 |
- pushd src/${EGO_PN} || die |
237 |
- dobin promtool prometheus |
238 |
- dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md} |
239 |
- insinto /etc/prometheus |
240 |
- doins documentation/examples/prometheus.yml |
241 |
- insinto /usr/share/prometheus |
242 |
- doins -r console_libraries consoles |
243 |
- dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries |
244 |
- dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles |
245 |
- popd || die |
246 |
- |
247 |
- newinitd "${FILESDIR}"/prometheus-3.initd prometheus |
248 |
- newconfd "${FILESDIR}"/prometheus.confd prometheus |
249 |
- keepdir /var/log/prometheus /var/lib/prometheus |
250 |
- fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus |
251 |
-} |
252 |
- |
253 |
-pkg_postinst() { |
254 |
- if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then |
255 |
- ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format" |
256 |
- ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0" |
257 |
- ewarn "This release requires a clean storage directory and is not compatible with" |
258 |
- ewarn "files created by previous beta releases" |
259 |
- fi |
260 |
-} |