diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2021-03-25 15:08:14 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-03-30 10:25:19 +0300 |
commit | da9651ba272ea7f9606604929ad8bd9d45a8f68c (patch) | |
tree | b877123c2293c8895e4ccf7b3c9012b918590da5 | |
parent | app-misc/elasticsearch: drop old (diff) | |
download | gentoo-da9651ba272ea7f9606604929ad8bd9d45a8f68c.tar.gz gentoo-da9651ba272ea7f9606604929ad8bd9d45a8f68c.tar.bz2 gentoo-da9651ba272ea7f9606604929ad8bd9d45a8f68c.zip |
www-apps/kibana-bin: bump to 7.12.0
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r-- | www-apps/kibana-bin/Manifest | 1 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-7.12.0.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest index a8c6fc4d2c98..a5fcfb8150a6 100644 --- a/www-apps/kibana-bin/Manifest +++ b/www-apps/kibana-bin/Manifest @@ -1,5 +1,6 @@ DIST kibana-6.8.13-linux-x86_64.tar.gz 188072148 BLAKE2B 452a09bc7d876b57b36a50feb38731ded18b959f48861da259d75234614dbf072ff9cfd817fe4c21a2c83515934f42f5ddc7e7e634dfc9e2b327ee9d4b2ac730 SHA512 14144900eac8985de0982eda88e44474ebbd828bf9efa0b6f02ae0627c711e145e28cfbc931f63d7bb5dc5b3ad1056cdc972990cddc36f7050a29a34d9472508 DIST kibana-7.10.2-linux-x86_64.tar.gz 249171053 BLAKE2B 279b1f67a9aaaf6d4bd0a8ba6028794ce8a9a996c9e9daad0815f9dfe9c696748d4210a7496907ee4be8fac111a2f08cc6d84d8fdac0b959b4ce6ee48f712d1a SHA512 aa68f850cc09cf5dcb7c0b48bb8df788ca58eaad38d96141b8e59917fd38b42c728c0968f7cb2c8132c5aaeb595525cdde0859554346c496f53c569e03abe412 +DIST kibana-7.12.0-linux-x86_64.tar.gz 281022115 BLAKE2B 6400dc95f0d2eb357cce46679ab3eb1043f873dcc5904cb1d1169d44fefdc8ca5bcde8c8d3990f951754c2448c12514ac4d0a355f817e5b9b5ce7bf52fb41d00 SHA512 0b6a9596698c64a65d82cc146dad8e24118eb8991b9ed36e13f309d2e3d7af408c35358a8b39899bf2daf260ddd8d50678d437a3dba32923fe026da99a526006 DIST kibana-7.8.1-linux-x86_64.tar.gz 337517217 BLAKE2B 208933ef5efccea3e718ff5ef1bfa28a08c75ba3a1a91b1eb00020d33ec1df2c17e299d423be4d2f3c2c5bfcb6189a80ebade26753379148aa72d9f7901a2e8d SHA512 92f3717b2f9ea915570ee8587f1ad0c2a428c266e1cd7dcda485b8b81191c5c1b3155872299c56dbba8de93807b2cc67a0d197ecb2e8df44e09060d4fac1d759 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 diff --git a/www-apps/kibana-bin/kibana-bin-7.12.0.ebuild b/www-apps/kibana-bin/kibana-bin-7.12.0.ebuild new file mode 100644 index 000000000000..644c1aef3348 --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-7.12.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2021 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="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-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 Elastic-2.0 icu ISC MIT MPL-2.0 OFL-1.1 openssl public-domain Unlicense WTFPL-2 ZLIB" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + acct-group/kibana + acct-user/kibana + dev-libs/expat + dev-libs/nss + >=net-libs/nodejs-14.16.0 +" + +# Do not complain about CFLAGS etc since we don't use them +QA_FLAGS_IGNORED='.*' +#QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" +QA_PRESTRIPPED=" + opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/headless_shell + opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/swiftshader/libEGL.so + opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/swiftshader/libGLESv2.so + opt/kibana/node_modules/re2/build/Release/re2.node +" + +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 14. 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." +} |