Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/
Date: Thu, 30 Jul 2020 18:17:21
Message-Id: 1596133010.27e51eb45fd3d238138f868b8269c7b08fa595b6.whissi@gentoo
1 commit: 27e51eb45fd3d238138f868b8269c7b08fa595b6
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Wed Jul 29 19:40:59 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 30 18:16:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27e51eb4
7
8 www-apps/kibana-bin: drop old
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/16904
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 www-apps/kibana-bin/Manifest | 8 ---
15 www-apps/kibana-bin/kibana-bin-6.8.8.ebuild | 88 ----------------------------
16 www-apps/kibana-bin/kibana-bin-7.6.2.ebuild | 90 -----------------------------
17 www-apps/kibana-bin/kibana-bin-7.7.0.ebuild | 90 -----------------------------
18 www-apps/kibana-bin/kibana-bin-7.8.0.ebuild | 90 -----------------------------
19 5 files changed, 366 deletions(-)
20
21 diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
22 index ad45d8155e5..fc2810f7c36 100644
23 --- a/www-apps/kibana-bin/Manifest
24 +++ b/www-apps/kibana-bin/Manifest
25 @@ -1,12 +1,4 @@
26 DIST kibana-6.8.11-linux-x86_64.tar.gz 188165733 BLAKE2B 719b022ad87769d129e7c6e7c6c4aec09da2bd51d079dab203573531d12df1ced9c45bc25fdc0db51d9ac178ef48183a9899ca1f2fcc6b1d3913efa4140c3321 SHA512 f353949af48d1f4a0c6365425cbdc10972a5b7dc1207231f7e6100563af66d40ad78c8904c32ec2b834d7e2e7d7e597deafc0a9be51749afbb00333280a29789
27 -DIST kibana-6.8.8-linux-x86_64.tar.gz 189162738 BLAKE2B 63ff29f7b2cf8bed931a473c0c33a9b9a82bbbd95ede171ad964e5855d56bd113981065ec12c0eb48f5e010d003229f3c91d9578a520e5909e04de5e5a635662 SHA512 f2104d1f83595cacf9ba3ce4225dc7044a251255afb62e494a7e3224cfbd280e5f51755c6a5c3452f8208fd8566ec6a11d51cd4453dc66cb8a8b158876fb4eae
28 -DIST kibana-7.6.2-linux-x86_64.tar.gz 249555386 BLAKE2B e3db49bbf87de5c20dd8ae91a3835d27d10bcfa914b6cf6501eeddb229f896cdfbd78fa712c0ed63498a80a87ae48b0d2bac4218d8e1328c4c228f61e4c9b5d4 SHA512 5a7187f7fd1af3d4009053b904948fca08e171ea5eea36f8120019721d84b1649bdaf1bc606577ebad179bd4d24b014a1733c8221f67b1b7da2c756c68819311
29 -DIST kibana-7.7.0-linux-x86_64.tar.gz 278962064 BLAKE2B 80ff28fc67d6b5d3b492a957e4cd2847364a86850abd60c468cad7d366fbbd9c406a5fd5c5e40e61ba7b5b333f0ee8c71f7c16f0da3f12fed8c81e20dec620ce SHA512 ea6e7ca12c43be627c54691e365827a2e42458ab443dedeb948a2aa2e63d1506859554a0eaef4ccdb9c03de836d4f2b4afda7daf25a826748351df2d15309b8b
30 -DIST kibana-7.8.0-linux-x86_64.tar.gz 334236568 BLAKE2B 17a3b593f978858bdf6910962391b3bfecb514f34b9734fb99028a4029a03603965eb3d8dae1e991782362b7963c58546abaab47ed8f3358574de93d50b94d31 SHA512 3c9ffbbfe56b66226ff62740cbe8eae83e43b07a1e3aec2ca845398c7d4418fd9c3cf67bebf5d9dd77c285468265c23c46080762cd90df070cd03ebe92b3ebef
31 DIST kibana-7.8.1-linux-x86_64.tar.gz 337517217 BLAKE2B 208933ef5efccea3e718ff5ef1bfa28a08c75ba3a1a91b1eb00020d33ec1df2c17e299d423be4d2f3c2c5bfcb6189a80ebade26753379148aa72d9f7901a2e8d SHA512 92f3717b2f9ea915570ee8587f1ad0c2a428c266e1cd7dcda485b8b81191c5c1b3155872299c56dbba8de93807b2cc67a0d197ecb2e8df44e09060d4fac1d759
32 DIST kibana-oss-6.8.11-linux-x86_64.tar.gz 70602922 BLAKE2B 2c435daaa855f1e7961fe933896d96779ada1a49b7dd3d303f8dad5eb020f77a0afb6a6c72f99e00c94a75abfc4a838eff78b381ac646f5b86089b54070921d1 SHA512 4403fa01facddbbd8f56463f80cd588f2f3788b696272f3ad45127d75d589cbc97c62f4dad806ae25901fa3ab195d9e8aa96103bed7c5c76c52c7065c19ea6d2
33 -DIST kibana-oss-6.8.8-linux-x86_64.tar.gz 66262509 BLAKE2B 76531791f024cf98c5ebe6840564f8f49cd3539370889f209ac0b89763ad71cfd23575789c7bdeb1ad0f6adff8ee555ece530e8fdcc6e51e0671e0a4ae0095c8 SHA512 64c839cf8c1bbddf776655f6674640bd01bbe97039b78f9fac0a95f425eea37825c5fa9a06b4e8bad4e8230db02424afa569a3adcd5d36164f3d6aada8b2f4e4
34 -DIST kibana-oss-7.6.2-linux-x86_64.tar.gz 102252121 BLAKE2B f0b6571733b7eb5379491b8a27ee3b0ab49c643c73fd9ba53b0446f70deb059f788abf789037b9988ff398013c46653570c5ed3e539e76dd424b3ea624280e1c SHA512 639119273e0184640cf25513dd29633939c4bdc173e6577d377d60503db68989980fe09829fad8ba0862695dd7f79fd7dbd0102c3c2f9eb5e762071579a3d424
35 -DIST kibana-oss-7.7.0-linux-x86_64.tar.gz 138321105 BLAKE2B 148782533116a46bcaa529282ab0f8fe818789538ffac12187e95486db8757f030423e416a810c09ee20ca182e6ce80441208777e891d91961f8fc718926c975 SHA512 ed29806990a032abfeca747edcf9162f4704be5774bbe394bbe6b34c5614c97e27a900a64e9b6e7b242767bdf31729c34903c86e9708fb066f83d8df76966152
36 -DIST kibana-oss-7.8.0-linux-x86_64.tar.gz 151100745 BLAKE2B d8159f2abe5276afb361e4e799b69190a34c816e8814afa6284882483362e976a6baaea0bddf2b71760410633ee7ada3141a0ecbf2b43f5d543de2e1abef4b91 SHA512 637c291623fdd10cd57a2599afe221d5af1724773a02da08a6ce808a6336a64d8278f7711fdaa95c6e1557c675d417698ec40c92062c5623917b78494dfe3d63
37 DIST kibana-oss-7.8.1-linux-x86_64.tar.gz 154344863 BLAKE2B 19fefe509efd2c803a017d5cc7ea262cfc3065c71a8dae04bbe99f7c2421a1b1a6ee0cbf298d2e7ab8b7283ef67b9f8f2c1db876136dbad7abedcc843b287db4 SHA512 381e467cb6f18892a5d5403e6eab640ffaf6ae2b76bc3e52eb94a377bf773e7dee631d0dc72162e276eafbc10c9c70629c106d25707921b32d2ebb18f69315ba
38
39 diff --git a/www-apps/kibana-bin/kibana-bin-6.8.8.ebuild b/www-apps/kibana-bin/kibana-bin-6.8.8.ebuild
40 deleted file mode 100644
41 index 43ac4ff48df..00000000000
42 --- a/www-apps/kibana-bin/kibana-bin-6.8.8.ebuild
43 +++ /dev/null
44 @@ -1,88 +0,0 @@
45 -# Copyright 1999-2020 Gentoo Authors
46 -# Distributed under the terms of the GNU General Public License v2
47 -
48 -EAPI=7
49 -
50 -inherit systemd
51 -
52 -MY_PN="${PN%-bin}"
53 -MY_P=${MY_PN}-${PV}
54 -
55 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
56 -HOMEPAGE="https://www.elastic.co/products/kibana"
57 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
58 - !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )"
59 -
60 -# source: LICENSE.txt and NOTICE.txt
61 -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 )"
62 -SLOT="0"
63 -KEYWORDS="~amd64"
64 -IUSE="x-pack"
65 -
66 -RDEPEND="
67 - acct-group/kibana
68 - acct-user/kibana
69 - >=net-libs/nodejs-10.15.2
70 - x-pack? (
71 - dev-libs/expat
72 - dev-libs/nss
73 - )"
74 -
75 -S="${WORKDIR}/${MY_P}-linux-x86_64"
76 -
77 -src_prepare() {
78 - default
79 -
80 - # remove empty unused directory
81 - rmdir data || die
82 -
83 - # remove bundled nodejs
84 - rm -r node || die
85 -
86 - # move optimize/plugins to /var/lib/kibana
87 - rm -r optimize plugins || die
88 -
89 - # handle node.js version with RDEPEND
90 - sed -i /node_version_validator/d src/setup_node_env/index.js || die
91 -}
92 -
93 -src_install() {
94 - insinto /etc/${MY_PN}
95 - doins -r config/.
96 - rm -r config || die
97 -
98 - insinto /etc/logrotate.d
99 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
100 -
101 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
102 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
103 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
104 -
105 - insinto /opt/${MY_PN}
106 - doins -r .
107 -
108 - fperms -R +x /opt/${MY_PN}/bin
109 -
110 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
111 - keepdir /var/lib/${MY_PN}/optimize
112 - keepdir /var/lib/${MY_PN}/plugins
113 - keepdir /var/log/${MY_PN}
114 -
115 - dosym ../../var/lib/kibana/optimize /opt/kibana/optimize # Bug 667214
116 - dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
117 -}
118 -
119 -pkg_postinst() {
120 - ewarn "Kibana optimize/plugins directories were moved to /var/lib/kibana."
121 - ewarn "In case of startup failures (FATAL Error: Cannot find module...),"
122 - ewarn "please remove the optimize directory content:"
123 - ewarn "rm -r /var/lib/kibana/optimize/*"
124 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
125 - elog "Node.js 10. Some plugins may fail with other versions of Node.js (Bug #656008)."
126 - elog
127 - elog "To set a customized Elasticsearch instance:"
128 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
129 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
130 - elog
131 - elog "Elasticsearch can run local or remote."
132 -}
133
134 diff --git a/www-apps/kibana-bin/kibana-bin-7.6.2.ebuild b/www-apps/kibana-bin/kibana-bin-7.6.2.ebuild
135 deleted file mode 100644
136 index 0c312d1ff10..00000000000
137 --- a/www-apps/kibana-bin/kibana-bin-7.6.2.ebuild
138 +++ /dev/null
139 @@ -1,90 +0,0 @@
140 -# Copyright 1999-2020 Gentoo Authors
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=7
144 -
145 -inherit systemd
146 -
147 -MY_PN="${PN%-bin}"
148 -MY_P=${MY_PN}-${PV}
149 -
150 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
151 -HOMEPAGE="https://www.elastic.co/products/kibana"
152 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
153 - !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )"
154 -
155 -# source: LICENSE.txt and NOTICE.txt
156 -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 )"
157 -SLOT="0"
158 -KEYWORDS="~amd64"
159 -IUSE="x-pack"
160 -
161 -RDEPEND="
162 - acct-group/kibana
163 - acct-user/kibana
164 - >=net-libs/nodejs-10.15.2
165 - x-pack? (
166 - dev-libs/expat
167 - dev-libs/nss
168 - )"
169 -
170 -S="${WORKDIR}/${MY_P}-linux-x86_64"
171 -
172 -src_prepare() {
173 - default
174 -
175 - # remove unused directory
176 - rm -r data || die
177 -
178 - # remove bundled nodejs
179 - rm -r node || die
180 - sed -i 's@\(^NODE="\).*@\1/usr/bin/node"@g' \
181 - bin/kibana || die
182 -
183 - # move optimize/plugins to /var/lib/kibana
184 - rm -r optimize plugins || die
185 -
186 - # handle node.js version with RDEPEND
187 - sed -i /node_version_validator/d src/setup_node_env/index.js || die
188 -}
189 -
190 -src_install() {
191 - insinto /etc/${MY_PN}
192 - doins -r config/.
193 - rm -r config || die
194 -
195 - insinto /etc/logrotate.d
196 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
197 -
198 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
199 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
200 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
201 -
202 - insinto /opt/${MY_PN}
203 - doins -r .
204 -
205 - fperms -R +x /opt/${MY_PN}/bin
206 -
207 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
208 - keepdir /var/lib/${MY_PN}/optimize
209 - keepdir /var/lib/${MY_PN}/plugins
210 - keepdir /var/log/${MY_PN}
211 -
212 - dosym ../../var/lib/kibana/optimize /opt/kibana/optimize # Bug 667214
213 - dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
214 -}
215 -
216 -pkg_postinst() {
217 - ewarn "Kibana optimize/plugins directories were moved to /var/lib/kibana."
218 - ewarn "In case of startup failures (FATAL Error: Cannot find module...),"
219 - ewarn "please remove the optimize directory content:"
220 - ewarn "rm -r /var/lib/kibana/optimize/*"
221 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
222 - elog "Node.js 10. Some plugins may fail with other versions of Node.js (Bug #656008)."
223 - elog
224 - elog "To set a customized Elasticsearch instance:"
225 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
226 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
227 - elog
228 - elog "Elasticsearch can run local or remote."
229 -}
230
231 diff --git a/www-apps/kibana-bin/kibana-bin-7.7.0.ebuild b/www-apps/kibana-bin/kibana-bin-7.7.0.ebuild
232 deleted file mode 100644
233 index b7064ff5a2e..00000000000
234 --- a/www-apps/kibana-bin/kibana-bin-7.7.0.ebuild
235 +++ /dev/null
236 @@ -1,90 +0,0 @@
237 -# Copyright 1999-2020 Gentoo Authors
238 -# Distributed under the terms of the GNU General Public License v2
239 -
240 -EAPI=7
241 -
242 -inherit systemd
243 -
244 -MY_PN="${PN%-bin}"
245 -MY_P=${MY_PN}-${PV}
246 -
247 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
248 -HOMEPAGE="https://www.elastic.co/products/kibana"
249 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
250 - !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-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 icu ISC MIT MPL-2.0 OFL-1.1 openssl public-domain Unlicense WTFPL-2 ZLIB x-pack? ( Elastic )"
254 -SLOT="0"
255 -KEYWORDS="~amd64"
256 -IUSE="x-pack"
257 -
258 -RDEPEND="
259 - acct-group/kibana
260 - acct-user/kibana
261 - >=net-libs/nodejs-10.19.0
262 - x-pack? (
263 - dev-libs/expat
264 - dev-libs/nss
265 - )"
266 -
267 -S="${WORKDIR}/${MY_P}-linux-x86_64"
268 -
269 -src_prepare() {
270 - default
271 -
272 - # remove unused directory
273 - rm -r data || die
274 -
275 - # remove bundled nodejs
276 - rm -r node || die
277 - sed -i 's@\(^NODE="\).*@\1/usr/bin/node"@g' \
278 - bin/kibana || die
279 -
280 - # move optimize/plugins to /var/lib/kibana
281 - rm -r optimize plugins || die
282 -
283 - # handle node.js version with RDEPEND
284 - sed -i /node_version_validator/d src/setup_node_env/index.js || die
285 -}
286 -
287 -src_install() {
288 - insinto /etc/${MY_PN}
289 - doins -r config/.
290 - rm -r config || die
291 -
292 - insinto /etc/logrotate.d
293 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
294 -
295 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
296 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
297 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
298 -
299 - insinto /opt/${MY_PN}
300 - doins -r .
301 -
302 - fperms -R +x /opt/${MY_PN}/bin
303 -
304 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
305 - keepdir /var/lib/${MY_PN}/optimize
306 - keepdir /var/lib/${MY_PN}/plugins
307 - keepdir /var/log/${MY_PN}
308 -
309 - dosym ../../var/lib/kibana/optimize /opt/kibana/optimize # Bug 667214
310 - dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
311 -}
312 -
313 -pkg_postinst() {
314 - ewarn "Kibana optimize/plugins directories were moved to /var/lib/kibana."
315 - ewarn "In case of startup failures (FATAL Error: Cannot find module...),"
316 - ewarn "please remove the optimize directory content:"
317 - ewarn "rm -r /var/lib/kibana/optimize/*"
318 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
319 - elog "Node.js 10. Some plugins may fail with other versions of Node.js (Bug #656008)."
320 - elog
321 - elog "To set a customized Elasticsearch instance:"
322 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
323 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
324 - elog
325 - elog "Elasticsearch can run local or remote."
326 -}
327
328 diff --git a/www-apps/kibana-bin/kibana-bin-7.8.0.ebuild b/www-apps/kibana-bin/kibana-bin-7.8.0.ebuild
329 deleted file mode 100644
330 index 94d5e2d801f..00000000000
331 --- a/www-apps/kibana-bin/kibana-bin-7.8.0.ebuild
332 +++ /dev/null
333 @@ -1,90 +0,0 @@
334 -# Copyright 1999-2020 Gentoo Authors
335 -# Distributed under the terms of the GNU General Public License v2
336 -
337 -EAPI=7
338 -
339 -inherit systemd
340 -
341 -MY_PN="${PN%-bin}"
342 -MY_P=${MY_PN}-${PV}
343 -
344 -DESCRIPTION="Analytics and search dashboard for Elasticsearch"
345 -HOMEPAGE="https://www.elastic.co/products/kibana"
346 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
347 - !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )"
348 -
349 -# source: LICENSE.txt and NOTICE.txt
350 -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 )"
351 -SLOT="0"
352 -KEYWORDS="~amd64"
353 -IUSE="x-pack"
354 -
355 -RDEPEND="
356 - acct-group/kibana
357 - acct-user/kibana
358 - >=net-libs/nodejs-10.21.0
359 - x-pack? (
360 - dev-libs/expat
361 - dev-libs/nss
362 - )"
363 -
364 -S="${WORKDIR}/${MY_P}-linux-x86_64"
365 -
366 -src_prepare() {
367 - default
368 -
369 - # remove unused directory
370 - rm -r data || die
371 -
372 - # remove bundled nodejs
373 - rm -r node || die
374 - sed -i 's@\(^NODE="\).*@\1/usr/bin/node"@g' \
375 - bin/kibana || die
376 -
377 - # move optimize/plugins to /var/lib/kibana
378 - rm -r optimize plugins || die
379 -
380 - # handle node.js version with RDEPEND
381 - sed -i /node_version_validator/d src/setup_node_env/index.js || die
382 -}
383 -
384 -src_install() {
385 - insinto /etc/${MY_PN}
386 - doins -r config/.
387 - rm -r config || die
388 -
389 - insinto /etc/logrotate.d
390 - newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
391 -
392 - newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
393 - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
394 - systemd_dounit "${FILESDIR}"/${MY_PN}.service
395 -
396 - insinto /opt/${MY_PN}
397 - doins -r .
398 -
399 - fperms -R +x /opt/${MY_PN}/bin
400 -
401 - diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
402 - keepdir /var/lib/${MY_PN}/optimize
403 - keepdir /var/lib/${MY_PN}/plugins
404 - keepdir /var/log/${MY_PN}
405 -
406 - dosym ../../var/lib/kibana/optimize /opt/kibana/optimize # Bug 667214
407 - dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
408 -}
409 -
410 -pkg_postinst() {
411 - ewarn "Kibana optimize/plugins directories were moved to /var/lib/kibana."
412 - ewarn "In case of startup failures (FATAL Error: Cannot find module...),"
413 - ewarn "please remove the optimize directory content:"
414 - ewarn "rm -r /var/lib/kibana/optimize/*"
415 - elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
416 - elog "Node.js 10. Some plugins may fail with other versions of Node.js (Bug #656008)."
417 - elog
418 - elog "To set a customized Elasticsearch instance:"
419 - elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
420 - elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
421 - elog
422 - elog "Elasticsearch can run local or remote."
423 -}