Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/
Date: Mon, 04 Oct 2021 12:51:55
Message-Id: 1633351733.7a854e358a9d8dc98fb72c978127b06fa1de59ac.juippis@gentoo
1 commit: 7a854e358a9d8dc98fb72c978127b06fa1de59ac
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Sep 24 21:23:16 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 4 12:48:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a854e35
7
8 www-apps/kibana-bin: drop old
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 www-apps/kibana-bin/Manifest | 7 --
14 www-apps/kibana-bin/kibana-bin-6.8.15.ebuild | 89 -----------------------
15 www-apps/kibana-bin/kibana-bin-6.8.16.ebuild | 89 -----------------------
16 www-apps/kibana-bin/kibana-bin-7.12.0-r1.ebuild | 94 -------------------------
17 www-apps/kibana-bin/kibana-bin-7.12.1.ebuild | 93 ------------------------
18 www-apps/kibana-bin/kibana-bin-7.13.2.ebuild | 93 ------------------------
19 6 files changed, 465 deletions(-)
20
21 diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
22 index c9f0d70f1db..de77b3e1f83 100644
23 --- a/www-apps/kibana-bin/Manifest
24 +++ b/www-apps/kibana-bin/Manifest
25 @@ -1,13 +1,6 @@
26 -DIST kibana-6.8.15-linux-x86_64.tar.gz 188083650 BLAKE2B ce12b1f564f9059952402d53a43c4e2b5a550b69b8835460f870fdf772ce8881325239165677659f6bfc295e148831b3e0459e7a059f73d03e218260c8e5139e SHA512 7afbcd42f332b281106fc58397d7229aa3e3ac38aa9ffcd5d7e3edf32b084f6bf812eac002166099b4e270019651a0d6cb3a9ea06f93f5927c4b4329eb36a14e
27 -DIST kibana-6.8.16-linux-x86_64.tar.gz 185438137 BLAKE2B 50870e1b15f190210502d9df498b2d2d88de8055f81dba5cc424963419a950710ce85aadf0f65c539322583f09aae70dce224eea8763061e745fb4f3ce02ad38 SHA512 55a9f615eaf0f67704f8704211f2bff06d6f085f789c75dde2df95061632b0be5ceb3614eb4e38a602531b4c482ed3f8f303b902e08422e0556a8b19aaccecf3
28 DIST kibana-6.8.17-linux-x86_64.tar.gz 186139184 BLAKE2B 4b6bead148e9d222f5631ad24a81d6d5b84972c3c2dc4d8010fd4081179251365289858e8f60d8930c20653df6ee502a8833146613cb0195a0cd2bf6ccd5114d SHA512 50ae600ab3b6d69d11e86c84124eea6fd5c2f756c6c961c6f45f32ea3a65f0c29b249a4229dc9cfd6b7a64383efc21cd4bb53c44265ccd9109c6f8d990b3e14d
29 DIST kibana-6.8.19-linux-x86_64.tar.gz 186482714 BLAKE2B c79ff1ee992e954f0d1a607a67110dd12ae3d68a2fc44fd67860253a4aedebcedb558c95a92b40168eb85d2c71abf83280f9338564ec3142c1841cba8aed50bf SHA512 6af11abb1bb637dd33b3b60b7fb4eaba0c4706e6e59c1c61bb1f70b5e80d2296a318126535088b24cff692efc80267e53483bdc08a9eb4e132b41bfddaf30049
30 -DIST kibana-7.12.0-linux-x86_64.tar.gz 281022115 BLAKE2B 6400dc95f0d2eb357cce46679ab3eb1043f873dcc5904cb1d1169d44fefdc8ca5bcde8c8d3990f951754c2448c12514ac4d0a355f817e5b9b5ce7bf52fb41d00 SHA512 0b6a9596698c64a65d82cc146dad8e24118eb8991b9ed36e13f309d2e3d7af408c35358a8b39899bf2daf260ddd8d50678d437a3dba32923fe026da99a526006
31 -DIST kibana-7.12.1-linux-x86_64.tar.gz 281051589 BLAKE2B 041ac27f3d58ad419cf6410fcd452dad34a205699701088eeea11056974429e27a1c980ddc2609a592ee1c33f73bde39724603c17c604973a5c80bf1c36e3a70 SHA512 f215ae38c6976e0926b57a3dcb639ba532b724a8195e791a33a09540865a49e7180bed1692a6530b149e0bd6c4dd130c1d6c2dc6022b3ec5b8ec7ec4dc977b17
32 -DIST kibana-7.13.2-linux-x86_64.tar.gz 305904726 BLAKE2B 4d71432f10cfcc5b56ab007092334a46b1699eba2b3990381d4212b5053c6f6476d2434341907939e213226dd4d03000f8d73e0b32890a9c1194ab934a95efb6 SHA512 e4b88dd0e0266f82e893d1040689aaa88c4541ea355603680cb60d0757d5dbca8e628c65d9d74a1f898afa6926bb8d79f9008361c44c4f0cfc3284b07087ac37
33 DIST kibana-7.13.4-linux-x86_64.tar.gz 306413260 BLAKE2B 3afe039b7be9809b395adb609e65785ccb8f3de07391b306804a79158cacb53c2d8b844b04468e932dc0113b9ecce34bc4bd8326231c9f2191fa5b12f2e00b4e SHA512 1accd5d6933f3f2f54174e53da626bc275b99b2f102d5f8cfee934d3520ee55a97c9c545cca32ddffec06a96114ce284e2e128cf334538214566c6530d1d673e
34 DIST kibana-7.15.0-linux-x86_64.tar.gz 284167139 BLAKE2B d46a860055623e4d90f44e42116b78032057659f89193d5ec2bc25728906fd24465fb1c2111fca157bda5745d612aa2b5913168d93f43fc97aa00f477596c48e SHA512 34759eca59a9f6b8bca2513d5da74686d2292d2472ca0cf1f8624d6610745a199fe6aabc102a9e39031057f3ba8ef5e692eca641c8371282481dad36d44757d7
35 -DIST kibana-oss-6.8.15-linux-x86_64.tar.gz 70468224 BLAKE2B 5ad359cef5082035eaefe277128f8badce8539484f30399d504efe8fe645b1e925f22126a48bf3ef89efc466eff641241e109372ca84f34d2ac4014aeec1868a SHA512 ef67258e2f3d3f447a53ec23d519f13ea50a65f3fde7215352178a6efad9b20c9ce5ade14c4a185c2005b9ec29c997e40e435a0129dd4d03adeaaa21868c9a22
36 -DIST kibana-oss-6.8.16-linux-x86_64.tar.gz 67967956 BLAKE2B 3b1fcb88fb696c180b5e81219112598f4f156c6a9cb40535aa99cced65dbc8e441c31e9f0c43fd86d0a06cc154c1e5cafc2e8256303c0d65ed7c1c269edac7c2 SHA512 7b2962c78c33e535068ac11d050abcd4a3aa662c533d0ca2d918751ece6fcd84ef08862d1767dd9564d480dc200bd65b7a7199f543e3d5c3fc125ac3d3f4f902
37 DIST kibana-oss-6.8.17-linux-x86_64.tar.gz 68076062 BLAKE2B b87a8067b0598e9291eb78b7666b69ac8babe774ad3f2ae1fcb37d12517ceed067fe0e022cb34e576727525c570863625237b91c6c5ad0b3901e8b6333a13c16 SHA512 28953bc77fd606a11c1f2522bb53b9fe38e7f711f71ac073c4d669a0078ba6fb050688ab06de49d4b5f7fdd0c76b8d040e05194bef814c872a00b9383b9a6d60
38 DIST kibana-oss-6.8.19-linux-x86_64.tar.gz 67437896 BLAKE2B 759d2449e056508bae5eddbd3a772ec8112bac6ce0068089f4c43f797e2fe3892e508970df9438aa9591b01b08d7258325cbb493f36768fca9d174bda1f60104 SHA512 86c22f5d3ddffa8c650e6326b8632ee5ca9bfb3f2dac7df38f8dfce41c8f777eaa5eea43dfb03b1e10c3ecc597624f8c3b19a31dbc7abc514759973c8bf0a47c
39
40 diff --git a/www-apps/kibana-bin/kibana-bin-6.8.15.ebuild b/www-apps/kibana-bin/kibana-bin-6.8.15.ebuild
41 deleted file mode 100644
42 index 8b3812bc5d6..00000000000
43 --- a/www-apps/kibana-bin/kibana-bin-6.8.15.ebuild
44 +++ /dev/null
45 @@ -1,89 +0,0 @@
46 -# Copyright 1999-2021 Gentoo Authors
47 -# Distributed under the terms of the GNU General Public License v2
48 -
49 -EAPI=7
50 -
51 -inherit systemd
52 -
53 -MY_PN="${PN%-bin}"
54 -MY_P=${MY_PN}-${PV}
55 -
56 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
57 -HOMEPAGE="https://www.elastic.co/products/kibana"
58 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
59 - !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )"
60 -
61 -# source: LICENSE.txt and NOTICE.txt
62 -LICENSE="Apache-2.0 Artistic-2 BSD BSD-2 CC-BY-3.0 CC-BY-4.0 icu ISC MIT MPL-2.0 OFL-1.1 openssl public-domain Unlicense WTFPL-2 ZLIB x-pack? ( Elastic )"
63 -SLOT="0"
64 -KEYWORDS="~amd64"
65 -IUSE="x-pack"
66 -
67 -RDEPEND="
68 - acct-group/kibana
69 - acct-user/kibana
70 - >=net-libs/nodejs-10.15.2
71 - <net-libs/nodejs-14
72 - x-pack? (
73 - dev-libs/expat
74 - dev-libs/nss
75 - )"
76 -
77 -S="${WORKDIR}/${MY_P}-linux-x86_64"
78 -
79 -src_prepare() {
80 - default
81 -
82 - # remove empty unused directory
83 - rmdir data || die
84 -
85 - # remove bundled nodejs
86 - rm -r node || die
87 -
88 - # move optimize/plugins to /var/lib/kibana
89 - rm -r optimize plugins || die
90 -
91 - # handle node.js version with RDEPEND
92 - sed -i /node_version_validator/d src/setup_node_env/index.js || die
93 -}
94 -
95 -src_install() {
96 - insinto /etc/${MY_PN}
97 - doins -r config/.
98 - rm -r config || die
99 -
100 - insinto /etc/logrotate.d
101 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
102 -
103 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
104 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
105 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
106 -
107 - insinto /opt/${MY_PN}
108 - doins -r .
109 -
110 - fperms -R +x /opt/${MY_PN}/bin
111 -
112 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
113 - keepdir /var/lib/${MY_PN}/optimize
114 - keepdir /var/lib/${MY_PN}/plugins
115 - keepdir /var/log/${MY_PN}
116 -
117 - dosym ../../var/lib/kibana/optimize /opt/kibana/optimize # Bug 667214
118 - dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
119 -}
120 -
121 -pkg_postinst() {
122 - ewarn "Kibana optimize/plugins directories were moved to /var/lib/kibana."
123 - ewarn "In case of startup failures (FATAL Error: Cannot find module...),"
124 - ewarn "please remove the optimize directory content:"
125 - ewarn "rm -r /var/lib/kibana/optimize/*"
126 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
127 - elog "Node.js 10. Some plugins may fail with other versions of Node.js (Bug #656008)."
128 - elog
129 - elog "To set a customized Elasticsearch instance:"
130 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
131 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
132 - elog
133 - elog "Elasticsearch can run local or remote."
134 -}
135
136 diff --git a/www-apps/kibana-bin/kibana-bin-6.8.16.ebuild b/www-apps/kibana-bin/kibana-bin-6.8.16.ebuild
137 deleted file mode 100644
138 index 8b3812bc5d6..00000000000
139 --- a/www-apps/kibana-bin/kibana-bin-6.8.16.ebuild
140 +++ /dev/null
141 @@ -1,89 +0,0 @@
142 -# Copyright 1999-2021 Gentoo Authors
143 -# Distributed under the terms of the GNU General Public License v2
144 -
145 -EAPI=7
146 -
147 -inherit systemd
148 -
149 -MY_PN="${PN%-bin}"
150 -MY_P=${MY_PN}-${PV}
151 -
152 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
153 -HOMEPAGE="https://www.elastic.co/products/kibana"
154 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
155 - !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )"
156 -
157 -# source: LICENSE.txt and NOTICE.txt
158 -LICENSE="Apache-2.0 Artistic-2 BSD BSD-2 CC-BY-3.0 CC-BY-4.0 icu ISC MIT MPL-2.0 OFL-1.1 openssl public-domain Unlicense WTFPL-2 ZLIB x-pack? ( Elastic )"
159 -SLOT="0"
160 -KEYWORDS="~amd64"
161 -IUSE="x-pack"
162 -
163 -RDEPEND="
164 - acct-group/kibana
165 - acct-user/kibana
166 - >=net-libs/nodejs-10.15.2
167 - <net-libs/nodejs-14
168 - x-pack? (
169 - dev-libs/expat
170 - dev-libs/nss
171 - )"
172 -
173 -S="${WORKDIR}/${MY_P}-linux-x86_64"
174 -
175 -src_prepare() {
176 - default
177 -
178 - # remove empty unused directory
179 - rmdir data || die
180 -
181 - # remove bundled nodejs
182 - rm -r node || die
183 -
184 - # move optimize/plugins to /var/lib/kibana
185 - rm -r optimize plugins || die
186 -
187 - # handle node.js version with RDEPEND
188 - sed -i /node_version_validator/d src/setup_node_env/index.js || die
189 -}
190 -
191 -src_install() {
192 - insinto /etc/${MY_PN}
193 - doins -r config/.
194 - rm -r config || die
195 -
196 - insinto /etc/logrotate.d
197 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
198 -
199 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
200 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
201 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
202 -
203 - insinto /opt/${MY_PN}
204 - doins -r .
205 -
206 - fperms -R +x /opt/${MY_PN}/bin
207 -
208 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
209 - keepdir /var/lib/${MY_PN}/optimize
210 - keepdir /var/lib/${MY_PN}/plugins
211 - keepdir /var/log/${MY_PN}
212 -
213 - dosym ../../var/lib/kibana/optimize /opt/kibana/optimize # Bug 667214
214 - dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
215 -}
216 -
217 -pkg_postinst() {
218 - ewarn "Kibana optimize/plugins directories were moved to /var/lib/kibana."
219 - ewarn "In case of startup failures (FATAL Error: Cannot find module...),"
220 - ewarn "please remove the optimize directory content:"
221 - ewarn "rm -r /var/lib/kibana/optimize/*"
222 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
223 - elog "Node.js 10. Some plugins may fail with other versions of Node.js (Bug #656008)."
224 - elog
225 - elog "To set a customized Elasticsearch instance:"
226 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
227 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
228 - elog
229 - elog "Elasticsearch can run local or remote."
230 -}
231
232 diff --git a/www-apps/kibana-bin/kibana-bin-7.12.0-r1.ebuild b/www-apps/kibana-bin/kibana-bin-7.12.0-r1.ebuild
233 deleted file mode 100644
234 index bd31aba7f9b..00000000000
235 --- a/www-apps/kibana-bin/kibana-bin-7.12.0-r1.ebuild
236 +++ /dev/null
237 @@ -1,94 +0,0 @@
238 -# Copyright 1999-2021 Gentoo Authors
239 -# Distributed under the terms of the GNU General Public License v2
240 -
241 -EAPI=7
242 -
243 -inherit systemd
244 -
245 -MY_PN="${PN%-bin}"
246 -MY_P=${MY_PN}-${PV}
247 -
248 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
249 -HOMEPAGE="https://www.elastic.co/products/kibana"
250 -SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz"
251 -
252 -# source: LICENSE.txt and NOTICE.txt
253 -LICENSE="Apache-2.0 Artistic-2 BSD BSD-2 CC-BY-3.0 CC-BY-4.0 Elastic-2.0 icu ISC MIT MPL-2.0 OFL-1.1 openssl public-domain Unlicense WTFPL-2 ZLIB"
254 -SLOT="0"
255 -KEYWORDS="~amd64"
256 -
257 -RDEPEND="
258 - acct-group/kibana
259 - acct-user/kibana
260 - dev-libs/expat
261 - dev-libs/nss
262 - >=net-libs/nodejs-14.16.0
263 - <net-libs/nodejs-15
264 -"
265 -
266 -# Do not complain about CFLAGS etc since we don't use them
267 -QA_FLAGS_IGNORED='.*'
268 -#QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
269 -QA_PRESTRIPPED="
270 - opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/headless_shell
271 - opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/swiftshader/libEGL.so
272 - opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/swiftshader/libGLESv2.so
273 - opt/kibana/node_modules/re2/build/Release/re2.node
274 -"
275 -
276 -S="${WORKDIR}/${MY_P}-linux-x86_64"
277 -
278 -src_prepare() {
279 - default
280 -
281 - # remove unused directory
282 - rm -r data || die
283 -
284 - # remove bundled nodejs
285 - rm -r node || die
286 - sed -i 's@\(^NODE="\).*@\1/usr/bin/node"@g' \
287 - bin/kibana || die
288 -
289 - # move plugins to /var/lib/kibana
290 - rm -r plugins || die
291 -
292 - # handle node.js version with RDEPEND
293 - sed -i /node_version_validator/d \
294 - src/setup_node_env/index.js \
295 - src/setup_node_env/no_transpilation.js || die
296 -}
297 -
298 -src_install() {
299 - insinto /etc/${MY_PN}
300 - doins -r config/.
301 - rm -r config || die
302 -
303 - insinto /etc/logrotate.d
304 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
305 -
306 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
307 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
308 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
309 -
310 - insinto /opt/${MY_PN}
311 - doins -r .
312 -
313 - fperms -R +x /opt/${MY_PN}/bin
314 -
315 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
316 - keepdir /var/lib/${MY_PN}/plugins
317 - keepdir /var/log/${MY_PN}
318 -
319 - dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
320 -}
321 -
322 -pkg_postinst() {
323 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
324 - elog "Node.js 14. Some plugins may fail with other versions of Node.js (Bug #656008)."
325 - elog
326 - elog "To set a customized Elasticsearch instance:"
327 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
328 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
329 - elog
330 - elog "Elasticsearch can run local or remote."
331 -}
332
333 diff --git a/www-apps/kibana-bin/kibana-bin-7.12.1.ebuild b/www-apps/kibana-bin/kibana-bin-7.12.1.ebuild
334 deleted file mode 100644
335 index 394a8644283..00000000000
336 --- a/www-apps/kibana-bin/kibana-bin-7.12.1.ebuild
337 +++ /dev/null
338 @@ -1,93 +0,0 @@
339 -# Copyright 1999-2021 Gentoo Authors
340 -# Distributed under the terms of the GNU General Public License v2
341 -
342 -EAPI=7
343 -
344 -inherit systemd
345 -
346 -MY_PN="${PN%-bin}"
347 -MY_P=${MY_PN}-${PV}
348 -
349 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
350 -HOMEPAGE="https://www.elastic.co/products/kibana"
351 -SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz"
352 -
353 -# source: LICENSE.txt and NOTICE.txt
354 -LICENSE="Apache-2.0 Artistic-2 BSD BSD-2 CC-BY-3.0 CC-BY-4.0 Elastic-2.0 icu ISC MIT MPL-2.0 OFL-1.1 openssl public-domain Unlicense WTFPL-2 ZLIB"
355 -SLOT="0"
356 -KEYWORDS="~amd64"
357 -
358 -RDEPEND="
359 - acct-group/kibana
360 - acct-user/kibana
361 - dev-libs/expat
362 - dev-libs/nss
363 - >=net-libs/nodejs-14.16.0
364 - <net-libs/nodejs-15
365 -"
366 -
367 -# Do not complain about CFLAGS etc since we don't use them
368 -QA_FLAGS_IGNORED='.*'
369 -QA_PRESTRIPPED="
370 - opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/headless_shell
371 - opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/swiftshader/libEGL.so
372 - opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/swiftshader/libGLESv2.so
373 - opt/kibana/node_modules/re2/build/Release/re2.node
374 -"
375 -
376 -S="${WORKDIR}/${MY_P}-linux-x86_64"
377 -
378 -src_prepare() {
379 - default
380 -
381 - # remove unused directory
382 - rm -r data || die
383 -
384 - # remove bundled nodejs
385 - rm -r node || die
386 - sed -i 's@\(^NODE="\).*@\1/usr/bin/node"@g' \
387 - bin/kibana || die
388 -
389 - # move plugins to /var/lib/kibana
390 - rm -r plugins || die
391 -
392 - # handle node.js version with RDEPEND
393 - sed -i /node_version_validator/d \
394 - src/setup_node_env/index.js \
395 - src/setup_node_env/no_transpilation.js || die
396 -}
397 -
398 -src_install() {
399 - insinto /etc/${MY_PN}
400 - doins -r config/.
401 - rm -r config || die
402 -
403 - insinto /etc/logrotate.d
404 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
405 -
406 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
407 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
408 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
409 -
410 - insinto /opt/${MY_PN}
411 - doins -r .
412 -
413 - fperms -R +x /opt/${MY_PN}/bin
414 -
415 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
416 - keepdir /var/lib/${MY_PN}/plugins
417 - keepdir /var/log/${MY_PN}
418 -
419 - dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
420 -}
421 -
422 -pkg_postinst() {
423 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
424 - elog "Node.js 14. Some plugins may fail with other versions of Node.js (Bug #656008)."
425 - elog
426 - elog "To set a customized Elasticsearch instance:"
427 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
428 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
429 - elog
430 - elog "Elasticsearch can run local or remote."
431 -}
432
433 diff --git a/www-apps/kibana-bin/kibana-bin-7.13.2.ebuild b/www-apps/kibana-bin/kibana-bin-7.13.2.ebuild
434 deleted file mode 100644
435 index 394a8644283..00000000000
436 --- a/www-apps/kibana-bin/kibana-bin-7.13.2.ebuild
437 +++ /dev/null
438 @@ -1,93 +0,0 @@
439 -# Copyright 1999-2021 Gentoo Authors
440 -# Distributed under the terms of the GNU General Public License v2
441 -
442 -EAPI=7
443 -
444 -inherit systemd
445 -
446 -MY_PN="${PN%-bin}"
447 -MY_P=${MY_PN}-${PV}
448 -
449 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
450 -HOMEPAGE="https://www.elastic.co/products/kibana"
451 -SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz"
452 -
453 -# source: LICENSE.txt and NOTICE.txt
454 -LICENSE="Apache-2.0 Artistic-2 BSD BSD-2 CC-BY-3.0 CC-BY-4.0 Elastic-2.0 icu ISC MIT MPL-2.0 OFL-1.1 openssl public-domain Unlicense WTFPL-2 ZLIB"
455 -SLOT="0"
456 -KEYWORDS="~amd64"
457 -
458 -RDEPEND="
459 - acct-group/kibana
460 - acct-user/kibana
461 - dev-libs/expat
462 - dev-libs/nss
463 - >=net-libs/nodejs-14.16.0
464 - <net-libs/nodejs-15
465 -"
466 -
467 -# Do not complain about CFLAGS etc since we don't use them
468 -QA_FLAGS_IGNORED='.*'
469 -QA_PRESTRIPPED="
470 - opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/headless_shell
471 - opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/swiftshader/libEGL.so
472 - opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/swiftshader/libGLESv2.so
473 - opt/kibana/node_modules/re2/build/Release/re2.node
474 -"
475 -
476 -S="${WORKDIR}/${MY_P}-linux-x86_64"
477 -
478 -src_prepare() {
479 - default
480 -
481 - # remove unused directory
482 - rm -r data || die
483 -
484 - # remove bundled nodejs
485 - rm -r node || die
486 - sed -i 's@\(^NODE="\).*@\1/usr/bin/node"@g' \
487 - bin/kibana || die
488 -
489 - # move plugins to /var/lib/kibana
490 - rm -r plugins || die
491 -
492 - # handle node.js version with RDEPEND
493 - sed -i /node_version_validator/d \
494 - src/setup_node_env/index.js \
495 - src/setup_node_env/no_transpilation.js || die
496 -}
497 -
498 -src_install() {
499 - insinto /etc/${MY_PN}
500 - doins -r config/.
501 - rm -r config || die
502 -
503 - insinto /etc/logrotate.d
504 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
505 -
506 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
507 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
508 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
509 -
510 - insinto /opt/${MY_PN}
511 - doins -r .
512 -
513 - fperms -R +x /opt/${MY_PN}/bin
514 -
515 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
516 - keepdir /var/lib/${MY_PN}/plugins
517 - keepdir /var/log/${MY_PN}
518 -
519 - dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
520 -}
521 -
522 -pkg_postinst() {
523 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
524 - elog "Node.js 14. Some plugins may fail with other versions of Node.js (Bug #656008)."
525 - elog
526 - elog "To set a customized Elasticsearch instance:"
527 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
528 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
529 - elog
530 - elog "Elasticsearch can run local or remote."
531 -}