1 |
commit: c4ea2db4590a6cc9c938f07a8e9131d00bc2384f |
2 |
Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jul 29 19:39:56 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 30 18:16:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4ea2db4 |
7 |
|
8 |
www-apps/kibana-bin: bump to 6.8.11 |
9 |
|
10 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
www-apps/kibana-bin/Manifest | 2 + |
14 |
www-apps/kibana-bin/kibana-bin-6.8.11.ebuild | 88 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 90 insertions(+) |
16 |
|
17 |
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest |
18 |
index 6264589930e..de4f7cce7d2 100644 |
19 |
--- a/www-apps/kibana-bin/Manifest |
20 |
+++ b/www-apps/kibana-bin/Manifest |
21 |
@@ -1,7 +1,9 @@ |
22 |
+DIST kibana-6.8.11-linux-x86_64.tar.gz 188165733 BLAKE2B 719b022ad87769d129e7c6e7c6c4aec09da2bd51d079dab203573531d12df1ced9c45bc25fdc0db51d9ac178ef48183a9899ca1f2fcc6b1d3913efa4140c3321 SHA512 f353949af48d1f4a0c6365425cbdc10972a5b7dc1207231f7e6100563af66d40ad78c8904c32ec2b834d7e2e7d7e597deafc0a9be51749afbb00333280a29789 |
23 |
DIST kibana-6.8.8-linux-x86_64.tar.gz 189162738 BLAKE2B 63ff29f7b2cf8bed931a473c0c33a9b9a82bbbd95ede171ad964e5855d56bd113981065ec12c0eb48f5e010d003229f3c91d9578a520e5909e04de5e5a635662 SHA512 f2104d1f83595cacf9ba3ce4225dc7044a251255afb62e494a7e3224cfbd280e5f51755c6a5c3452f8208fd8566ec6a11d51cd4453dc66cb8a8b158876fb4eae |
24 |
DIST kibana-7.6.2-linux-x86_64.tar.gz 249555386 BLAKE2B e3db49bbf87de5c20dd8ae91a3835d27d10bcfa914b6cf6501eeddb229f896cdfbd78fa712c0ed63498a80a87ae48b0d2bac4218d8e1328c4c228f61e4c9b5d4 SHA512 5a7187f7fd1af3d4009053b904948fca08e171ea5eea36f8120019721d84b1649bdaf1bc606577ebad179bd4d24b014a1733c8221f67b1b7da2c756c68819311 |
25 |
DIST kibana-7.7.0-linux-x86_64.tar.gz 278962064 BLAKE2B 80ff28fc67d6b5d3b492a957e4cd2847364a86850abd60c468cad7d366fbbd9c406a5fd5c5e40e61ba7b5b333f0ee8c71f7c16f0da3f12fed8c81e20dec620ce SHA512 ea6e7ca12c43be627c54691e365827a2e42458ab443dedeb948a2aa2e63d1506859554a0eaef4ccdb9c03de836d4f2b4afda7daf25a826748351df2d15309b8b |
26 |
DIST kibana-7.8.0-linux-x86_64.tar.gz 334236568 BLAKE2B 17a3b593f978858bdf6910962391b3bfecb514f34b9734fb99028a4029a03603965eb3d8dae1e991782362b7963c58546abaab47ed8f3358574de93d50b94d31 SHA512 3c9ffbbfe56b66226ff62740cbe8eae83e43b07a1e3aec2ca845398c7d4418fd9c3cf67bebf5d9dd77c285468265c23c46080762cd90df070cd03ebe92b3ebef |
27 |
+DIST kibana-oss-6.8.11-linux-x86_64.tar.gz 70602922 BLAKE2B 2c435daaa855f1e7961fe933896d96779ada1a49b7dd3d303f8dad5eb020f77a0afb6a6c72f99e00c94a75abfc4a838eff78b381ac646f5b86089b54070921d1 SHA512 4403fa01facddbbd8f56463f80cd588f2f3788b696272f3ad45127d75d589cbc97c62f4dad806ae25901fa3ab195d9e8aa96103bed7c5c76c52c7065c19ea6d2 |
28 |
DIST kibana-oss-6.8.8-linux-x86_64.tar.gz 66262509 BLAKE2B 76531791f024cf98c5ebe6840564f8f49cd3539370889f209ac0b89763ad71cfd23575789c7bdeb1ad0f6adff8ee555ece530e8fdcc6e51e0671e0a4ae0095c8 SHA512 64c839cf8c1bbddf776655f6674640bd01bbe97039b78f9fac0a95f425eea37825c5fa9a06b4e8bad4e8230db02424afa569a3adcd5d36164f3d6aada8b2f4e4 |
29 |
DIST kibana-oss-7.6.2-linux-x86_64.tar.gz 102252121 BLAKE2B f0b6571733b7eb5379491b8a27ee3b0ab49c643c73fd9ba53b0446f70deb059f788abf789037b9988ff398013c46653570c5ed3e539e76dd424b3ea624280e1c SHA512 639119273e0184640cf25513dd29633939c4bdc173e6577d377d60503db68989980fe09829fad8ba0862695dd7f79fd7dbd0102c3c2f9eb5e762071579a3d424 |
30 |
DIST kibana-oss-7.7.0-linux-x86_64.tar.gz 138321105 BLAKE2B 148782533116a46bcaa529282ab0f8fe818789538ffac12187e95486db8757f030423e416a810c09ee20ca182e6ce80441208777e891d91961f8fc718926c975 SHA512 ed29806990a032abfeca747edcf9162f4704be5774bbe394bbe6b34c5614c97e27a900a64e9b6e7b242767bdf31729c34903c86e9708fb066f83d8df76966152 |
31 |
|
32 |
diff --git a/www-apps/kibana-bin/kibana-bin-6.8.11.ebuild b/www-apps/kibana-bin/kibana-bin-6.8.11.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..43ac4ff48df |
35 |
--- /dev/null |
36 |
+++ b/www-apps/kibana-bin/kibana-bin-6.8.11.ebuild |
37 |
@@ -0,0 +1,88 @@ |
38 |
+# Copyright 1999-2020 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+inherit systemd |
44 |
+ |
45 |
+MY_PN="${PN%-bin}" |
46 |
+MY_P=${MY_PN}-${PV} |
47 |
+ |
48 |
+DESCRIPTION="Analytics and search dashboard for Elasticsearch" |
49 |
+HOMEPAGE="https://www.elastic.co/products/kibana" |
50 |
+SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz ) |
51 |
+ !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )" |
52 |
+ |
53 |
+# source: LICENSE.txt and NOTICE.txt |
54 |
+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 )" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64" |
57 |
+IUSE="x-pack" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ acct-group/kibana |
61 |
+ acct-user/kibana |
62 |
+ >=net-libs/nodejs-10.15.2 |
63 |
+ x-pack? ( |
64 |
+ dev-libs/expat |
65 |
+ dev-libs/nss |
66 |
+ )" |
67 |
+ |
68 |
+S="${WORKDIR}/${MY_P}-linux-x86_64" |
69 |
+ |
70 |
+src_prepare() { |
71 |
+ default |
72 |
+ |
73 |
+ # remove empty unused directory |
74 |
+ rmdir data || die |
75 |
+ |
76 |
+ # remove bundled nodejs |
77 |
+ rm -r node || die |
78 |
+ |
79 |
+ # move optimize/plugins to /var/lib/kibana |
80 |
+ rm -r optimize plugins || die |
81 |
+ |
82 |
+ # handle node.js version with RDEPEND |
83 |
+ sed -i /node_version_validator/d src/setup_node_env/index.js || die |
84 |
+} |
85 |
+ |
86 |
+src_install() { |
87 |
+ insinto /etc/${MY_PN} |
88 |
+ doins -r config/. |
89 |
+ rm -r config || die |
90 |
+ |
91 |
+ insinto /etc/logrotate.d |
92 |
+ newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN} |
93 |
+ |
94 |
+ newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN} |
95 |
+ newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN} |
96 |
+ systemd_dounit "${FILESDIR}"/${MY_PN}.service |
97 |
+ |
98 |
+ insinto /opt/${MY_PN} |
99 |
+ doins -r . |
100 |
+ |
101 |
+ fperms -R +x /opt/${MY_PN}/bin |
102 |
+ |
103 |
+ diropts -m 0750 -o ${MY_PN} -g ${MY_PN} |
104 |
+ keepdir /var/lib/${MY_PN}/optimize |
105 |
+ keepdir /var/lib/${MY_PN}/plugins |
106 |
+ keepdir /var/log/${MY_PN} |
107 |
+ |
108 |
+ dosym ../../var/lib/kibana/optimize /opt/kibana/optimize # Bug 667214 |
109 |
+ dosym ../../var/lib/kibana/plugins /opt/kibana/plugins |
110 |
+} |
111 |
+ |
112 |
+pkg_postinst() { |
113 |
+ ewarn "Kibana optimize/plugins directories were moved to /var/lib/kibana." |
114 |
+ ewarn "In case of startup failures (FATAL Error: Cannot find module...)," |
115 |
+ ewarn "please remove the optimize directory content:" |
116 |
+ ewarn "rm -r /var/lib/kibana/optimize/*" |
117 |
+ elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and" |
118 |
+ elog "Node.js 10. Some plugins may fail with other versions of Node.js (Bug #656008)." |
119 |
+ elog |
120 |
+ elog "To set a customized Elasticsearch instance:" |
121 |
+ elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}" |
122 |
+ elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml" |
123 |
+ elog |
124 |
+ elog "Elasticsearch can run local or remote." |
125 |
+} |