summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2020-11-14 03:24:43 +0000
committerMikle Kolyada <zlogene@gentoo.org>2020-11-14 12:49:26 +0300
commit807556ce76fb7b096e6e2b55a2bb7ba8012b9749 (patch)
tree96039e5edf2ff1d92a867cc7b3d49a86ed2e44af /www-apps
parentapp-misc/elasticsearch: drop old (diff)
downloadgentoo-807556ce76fb7b096e6e2b55a2bb7ba8012b9749.tar.gz
gentoo-807556ce76fb7b096e6e2b55a2bb7ba8012b9749.tar.bz2
gentoo-807556ce76fb7b096e6e2b55a2bb7ba8012b9749.zip
www-apps/kibana-bin: bump to 6.8.13, 7.9.3, 7.10.0
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/kibana-bin/Manifest6
-rw-r--r--www-apps/kibana-bin/kibana-bin-6.8.13.ebuild88
-rw-r--r--www-apps/kibana-bin/kibana-bin-7.10.0.ebuild89
-rw-r--r--www-apps/kibana-bin/kibana-bin-7.9.3.ebuild95
4 files changed, 278 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index c4c1ca392fd4..78fd55d57e92 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -1,10 +1,16 @@
DIST kibana-6.8.11-linux-x86_64.tar.gz 188165733 BLAKE2B 719b022ad87769d129e7c6e7c6c4aec09da2bd51d079dab203573531d12df1ced9c45bc25fdc0db51d9ac178ef48183a9899ca1f2fcc6b1d3913efa4140c3321 SHA512 f353949af48d1f4a0c6365425cbdc10972a5b7dc1207231f7e6100563af66d40ad78c8904c32ec2b834d7e2e7d7e597deafc0a9be51749afbb00333280a29789
DIST kibana-6.8.12-linux-x86_64.tar.gz 188208087 BLAKE2B f03be0c4ad6c3ddd9b3b11421f3dd8e83893d44ad47c2df92c97765949f2cf4b9bb6a4ea18022c596ec9a13946028d5425edff9910fd5e883c0497d1a9ccd2e0 SHA512 ebbe616899fccda2c6a04bb2bddfba2dbd54c0a91bbf111c2f74e78c5f9d0ccd692d1bea861ff4bd5ed5c34cacf8f92b75b635a41bea7958abb7511735afdffa
+DIST kibana-6.8.13-linux-x86_64.tar.gz 188072148 BLAKE2B 452a09bc7d876b57b36a50feb38731ded18b959f48861da259d75234614dbf072ff9cfd817fe4c21a2c83515934f42f5ddc7e7e634dfc9e2b327ee9d4b2ac730 SHA512 14144900eac8985de0982eda88e44474ebbd828bf9efa0b6f02ae0627c711e145e28cfbc931f63d7bb5dc5b3ad1056cdc972990cddc36f7050a29a34d9472508
+DIST kibana-7.10.0-linux-x86_64.tar.gz 252795226 BLAKE2B a8a390c8a8fbc0a592d494b3807cf8d7e4f7c066dde0a297d0596ace31d2302639ac935ed44dea12c747a8050209a895deb8f283023563aba957ae4a35987803 SHA512 385fe5d875ba074e0931a1e9ebbac8e3d91d300ca478f589da06b01c68e4694c5953a538afd6c385bdccec0f0d3cda1a5dc39f1b56e41d584cdcab8fba466677
DIST kibana-7.8.1-linux-x86_64.tar.gz 337517217 BLAKE2B 208933ef5efccea3e718ff5ef1bfa28a08c75ba3a1a91b1eb00020d33ec1df2c17e299d423be4d2f3c2c5bfcb6189a80ebade26753379148aa72d9f7901a2e8d SHA512 92f3717b2f9ea915570ee8587f1ad0c2a428c266e1cd7dcda485b8b81191c5c1b3155872299c56dbba8de93807b2cc67a0d197ecb2e8df44e09060d4fac1d759
DIST kibana-7.9.1-linux-x86_64.tar.gz 296105200 BLAKE2B fbddbedf8075cd6f2c03c7c351e3d06f95f85296bc169e7767d6224ab5f500f97549a3a7e412faa86b0133e9cbe6bc94431731156c07b0025d3d4290a0c1531a SHA512 50d6c817fe231f5f7d632e39930e7c25fc318819ad51d0d73718fed24e2a7fd6e2b3e90a13539fbd9120aa53aba4e22c08f7b53d2a089d84953c7b7530528300
DIST kibana-7.9.2-linux-x86_64.tar.gz 295714192 BLAKE2B 74ddb493013a097b1501a27f3ddb06e2081a3ebeaa06c5340d2229bcad936e8ae2249530f487ed1b42e697f2fd04ed6cea5c784f35d68e06b0ea3036f9f25cad SHA512 79d7b836a93b496fa9dc58d3d2286ca6f6ad4d5c66558047a24841085b41c8beeae2a4f68a8883013b93e3036e029f76ebcb6e30080fc0b1979377b1f6d2b19a
+DIST kibana-7.9.3-linux-x86_64.tar.gz 295755102 BLAKE2B e803d92c396684ce56b8b1a82eabfb6c1a88344d07b46d8770ab93ced14cc02fc22fdefec9fa3dbf1e893d02078dd27f7f2fbf1a2445d9d4942dfb1caba92a8e SHA512 c82b0dc91f2e6e585c6187b357ad8da6078a9b17974f6574628161a54981ea64b2f0b6c2e85bb052d20d5d5f64210fae7fbc3f78d7f30722d6f1e5d095b0a2f7
DIST kibana-oss-6.8.11-linux-x86_64.tar.gz 70602922 BLAKE2B 2c435daaa855f1e7961fe933896d96779ada1a49b7dd3d303f8dad5eb020f77a0afb6a6c72f99e00c94a75abfc4a838eff78b381ac646f5b86089b54070921d1 SHA512 4403fa01facddbbd8f56463f80cd588f2f3788b696272f3ad45127d75d589cbc97c62f4dad806ae25901fa3ab195d9e8aa96103bed7c5c76c52c7065c19ea6d2
DIST kibana-oss-6.8.12-linux-x86_64.tar.gz 70621824 BLAKE2B 474ad88dc19e727d6716eeacdd18e799053110f91ac56bbdbbc9dd2c9f007fba450108c914d95abf03d4240757d68303833e52dc9358f15fdee81930565d119f SHA512 b8fd1fd2617163069a4f6ebb5f04bfd04d6ef39e859476430e42b07ecd209f69c6535b5db731604f2cc1360f62214145be37817509d35d7e4eda22a7085b0541
+DIST kibana-oss-6.8.13-linux-x86_64.tar.gz 70392218 BLAKE2B 752119ec4251005dc13acc9c707df6c3d8975d32b610cfaff65884d07a232712fa90ae6dfa46bc0394e98efb94f7e1a1f974b4dcb76b1da5cd6cadded7ae15ba SHA512 58e3d52616ca306739642e7932ec2f6388231c966e6fd5ce3431fc39e46183745f90ae069d659ad6c59f5c1361220e012723ccccd7dc47f61f53bf6d14705cde
+DIST kibana-oss-7.10.0-linux-x86_64.tar.gz 110358556 BLAKE2B 0221699cd5f07db4223574b3b946ec25bb3f1a756cca350509ff8e61458d26cf328042a1383d0d8eee42af7071780ba3d57d063541e05413cff1672a0e6b985a SHA512 477d3a79319a0f14f3c844d52e23d997c736ba5acc0184ed1c1c853b3795fa2890ba692efa23d882ab09275bc03708c9a1a63d80fd13f7844d1fc8a48c0f2f75
DIST kibana-oss-7.8.1-linux-x86_64.tar.gz 154344863 BLAKE2B 19fefe509efd2c803a017d5cc7ea262cfc3065c71a8dae04bbe99f7c2421a1b1a6ee0cbf298d2e7ab8b7283ef67b9f8f2c1db876136dbad7abedcc843b287db4 SHA512 381e467cb6f18892a5d5403e6eab640ffaf6ae2b76bc3e52eb94a377bf773e7dee631d0dc72162e276eafbc10c9c70629c106d25707921b32d2ebb18f69315ba
DIST kibana-oss-7.9.1-linux-x86_64.tar.gz 137432277 BLAKE2B 7977c46355d7e78b92cffe3a56318a853e1a1710e207f6fcaf9693622cfaaeae6444e90dc461a4f80f247a1ac8e22ae5b1e3f36efc19921c53037014b9166798 SHA512 914aff3cdb69d769d466cbaf7b736cd74317643e6e328e8f9fcdcdb12fd0a40581bdccdd4993b9a8b1b5792b918b369a9976b500057bf75c0e09c448178cc5b7
DIST kibana-oss-7.9.2-linux-x86_64.tar.gz 137021505 BLAKE2B 6e27e40e94a925fe0b6e5fa94050f69088c9d4092428ec8024cfa5d1665f5f0cdc6bb1c3910360808bb4fd28d76bc1150d51aa7f9003121aeb2aef9f929233db SHA512 39d796324b744f0b34548f1d97e042c5aaa66004f052627cfe7cb5ac998ac45df510b76692c297443af1cdd36a75ffd172810969b788df0fa972feedd78c1719
+DIST kibana-oss-7.9.3-linux-x86_64.tar.gz 136992027 BLAKE2B c39b7325461780878cdd06f2f1abd5c3585f7014d6a6703c5ada429dc90686f1d065c9aa2b5bfd6735d609bed3bd2d4a31a6787ee644e63dd0b01b563dc7c900 SHA512 11b9ecaf5e8866b1b4d8bdd2004f3bfe801c2f5ee9bad8c83cd1a368ba2cfe46b357aabf1b1a50f5aef7852b2fd885642384327b3fd53977ec3fc404cf0e6eb8
diff --git a/www-apps/kibana-bin/kibana-bin-6.8.13.ebuild b/www-apps/kibana-bin/kibana-bin-6.8.13.ebuild
new file mode 100644
index 000000000000..43ac4ff48dfc
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-6.8.13.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+MY_PN="${PN%-bin}"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Analytics and search dashboard for Elasticsearch"
+HOMEPAGE="https://www.elastic.co/products/kibana"
+SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
+ !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )"
+
+# source: LICENSE.txt and NOTICE.txt
+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 )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="x-pack"
+
+RDEPEND="
+ acct-group/kibana
+ acct-user/kibana
+ >=net-libs/nodejs-10.15.2
+ x-pack? (
+ dev-libs/expat
+ dev-libs/nss
+ )"
+
+S="${WORKDIR}/${MY_P}-linux-x86_64"
+
+src_prepare() {
+ default
+
+ # remove empty unused directory
+ rmdir data || die
+
+ # remove bundled nodejs
+ rm -r node || die
+
+ # move optimize/plugins to /var/lib/kibana
+ rm -r optimize plugins || die
+
+ # handle node.js version with RDEPEND
+ sed -i /node_version_validator/d src/setup_node_env/index.js || die
+}
+
+src_install() {
+ insinto /etc/${MY_PN}
+ doins -r config/.
+ rm -r config || die
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
+
+ newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
+ newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
+ systemd_dounit "${FILESDIR}"/${MY_PN}.service
+
+ insinto /opt/${MY_PN}
+ doins -r .
+
+ fperms -R +x /opt/${MY_PN}/bin
+
+ diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
+ keepdir /var/lib/${MY_PN}/optimize
+ keepdir /var/lib/${MY_PN}/plugins
+ keepdir /var/log/${MY_PN}
+
+ dosym ../../var/lib/kibana/optimize /opt/kibana/optimize # Bug 667214
+ dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
+}
+
+pkg_postinst() {
+ ewarn "Kibana optimize/plugins directories were moved to /var/lib/kibana."
+ ewarn "In case of startup failures (FATAL Error: Cannot find module...),"
+ ewarn "please remove the optimize directory content:"
+ ewarn "rm -r /var/lib/kibana/optimize/*"
+ elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
+ elog "Node.js 10. Some plugins may fail with other versions of Node.js (Bug #656008)."
+ elog
+ elog "To set a customized Elasticsearch instance:"
+ elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
+ elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
+ elog
+ elog "Elasticsearch can run local or remote."
+}
diff --git a/www-apps/kibana-bin/kibana-bin-7.10.0.ebuild b/www-apps/kibana-bin/kibana-bin-7.10.0.ebuild
new file mode 100644
index 000000000000..1d7408d575ba
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-7.10.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+MY_PN="${PN%-bin}"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Analytics and search dashboard for Elasticsearch"
+HOMEPAGE="https://www.elastic.co/products/kibana"
+SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
+ !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )"
+
+# source: LICENSE.txt and NOTICE.txt
+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 )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="x-pack"
+
+RDEPEND="
+ acct-group/kibana
+ acct-user/kibana
+ >=net-libs/nodejs-10.21.0
+ x-pack? (
+ dev-libs/expat
+ dev-libs/nss
+ )"
+
+# Do not complain about CFLAGS etc since we don't use them
+QA_FLAGS_IGNORED='.*'
+
+S="${WORKDIR}/${MY_P}-linux-x86_64"
+
+src_prepare() {
+ default
+
+ # remove unused directory
+ rm -r data || die
+
+ # remove bundled nodejs
+ rm -r node || die
+ sed -i 's@\(^NODE="\).*@\1/usr/bin/node"@g' \
+ bin/kibana || die
+
+ # move plugins to /var/lib/kibana
+ rm -r plugins || die
+
+ # handle node.js version with RDEPEND
+ sed -i /node_version_validator/d \
+ src/setup_node_env/index.js \
+ src/setup_node_env/no_transpilation.js || die
+}
+
+src_install() {
+ insinto /etc/${MY_PN}
+ doins -r config/.
+ rm -r config || die
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
+
+ newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
+ newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
+ systemd_dounit "${FILESDIR}"/${MY_PN}.service
+
+ insinto /opt/${MY_PN}
+ doins -r .
+
+ fperms -R +x /opt/${MY_PN}/bin
+
+ diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
+ keepdir /var/lib/${MY_PN}/plugins
+ keepdir /var/log/${MY_PN}
+
+ dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
+}
+
+pkg_postinst() {
+ elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
+ elog "Node.js 10. Some plugins may fail with other versions of Node.js (Bug #656008)."
+ elog
+ elog "To set a customized Elasticsearch instance:"
+ elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
+ elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
+ elog
+ elog "Elasticsearch can run local or remote."
+}
diff --git a/www-apps/kibana-bin/kibana-bin-7.9.3.ebuild b/www-apps/kibana-bin/kibana-bin-7.9.3.ebuild
new file mode 100644
index 000000000000..5e7fe2884cef
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-7.9.3.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+MY_PN="${PN%-bin}"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Analytics and search dashboard for Elasticsearch"
+HOMEPAGE="https://www.elastic.co/products/kibana"
+SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
+ !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )"
+
+# source: LICENSE.txt and NOTICE.txt
+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 )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="x-pack"
+
+RDEPEND="
+ acct-group/kibana
+ acct-user/kibana
+ >=net-libs/nodejs-10.21.0
+ x-pack? (
+ dev-libs/expat
+ dev-libs/nss
+ )"
+
+# Do not complain about CFLAGS etc since we don't use them
+QA_FLAGS_IGNORED='.*'
+
+S="${WORKDIR}/${MY_P}-linux-x86_64"
+
+src_prepare() {
+ default
+
+ # remove unused directory
+ rm -r data || die
+
+ # remove bundled nodejs
+ rm -r node || die
+ sed -i 's@\(^NODE="\).*@\1/usr/bin/node"@g' \
+ bin/kibana || die
+
+ # move optimize/plugins to /var/lib/kibana
+ rm -r optimize plugins || die
+
+ # handle node.js version with RDEPEND
+ sed -i /node_version_validator/d \
+ src/setup_node_env/index.js \
+ src/setup_node_env/prebuilt_dev_only_entry.js || die
+}
+
+src_install() {
+ insinto /etc/${MY_PN}
+ doins -r config/.
+ rm -r config || die
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
+
+ newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
+ newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
+ systemd_dounit "${FILESDIR}"/${MY_PN}.service
+
+ insinto /opt/${MY_PN}
+ doins -r .
+
+ fperms -R +x /opt/${MY_PN}/bin
+
+ diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
+ keepdir /var/lib/${MY_PN}/optimize
+ keepdir /var/lib/${MY_PN}/plugins
+ keepdir /var/log/${MY_PN}
+
+ dosym ../../var/lib/kibana/optimize /opt/kibana/optimize # Bug 667214
+ dosym ../../var/lib/kibana/plugins /opt/kibana/plugins
+}
+
+pkg_postinst() {
+ ewarn "Kibana optimize/plugins directories were moved to /var/lib/kibana."
+ ewarn "In case of startup failures (FATAL Error: Cannot find module...),"
+ ewarn "please remove the optimize directory content:"
+ ewarn "rm -r /var/lib/kibana/optimize/*"
+ elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and"
+ elog "Node.js 10. Some plugins may fail with other versions of Node.js (Bug #656008)."
+ elog
+ elog "To set a customized Elasticsearch instance:"
+ elog " OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
+ elog " systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
+ elog
+ elog "Elasticsearch can run local or remote."
+}