diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2021-09-24 21:22:38 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-10-04 15:48:53 +0300 |
commit | 7254d089cbb3a267088522501cd30ee38c93f477 (patch) | |
tree | 5e6be0e7272374c632799df43637c54e3c90c7b1 /www-apps | |
parent | app-misc/elasticsearch: drop old (diff) | |
download | gentoo-7254d089cbb3a267088522501cd30ee38c93f477.tar.gz gentoo-7254d089cbb3a267088522501cd30ee38c93f477.tar.bz2 gentoo-7254d089cbb3a267088522501cd30ee38c93f477.zip |
www-apps/kibana-bin: bump to 6.8.19/7.15.0
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/kibana-bin/Manifest | 3 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-6.8.19.ebuild | 89 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-7.15.0.ebuild | 93 |
3 files changed, 185 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest index 727d443cae1d..c9f0d70f1db2 100644 --- a/www-apps/kibana-bin/Manifest +++ b/www-apps/kibana-bin/Manifest @@ -1,10 +1,13 @@ DIST kibana-6.8.15-linux-x86_64.tar.gz 188083650 BLAKE2B ce12b1f564f9059952402d53a43c4e2b5a550b69b8835460f870fdf772ce8881325239165677659f6bfc295e148831b3e0459e7a059f73d03e218260c8e5139e SHA512 7afbcd42f332b281106fc58397d7229aa3e3ac38aa9ffcd5d7e3edf32b084f6bf812eac002166099b4e270019651a0d6cb3a9ea06f93f5927c4b4329eb36a14e DIST kibana-6.8.16-linux-x86_64.tar.gz 185438137 BLAKE2B 50870e1b15f190210502d9df498b2d2d88de8055f81dba5cc424963419a950710ce85aadf0f65c539322583f09aae70dce224eea8763061e745fb4f3ce02ad38 SHA512 55a9f615eaf0f67704f8704211f2bff06d6f085f789c75dde2df95061632b0be5ceb3614eb4e38a602531b4c482ed3f8f303b902e08422e0556a8b19aaccecf3 DIST kibana-6.8.17-linux-x86_64.tar.gz 186139184 BLAKE2B 4b6bead148e9d222f5631ad24a81d6d5b84972c3c2dc4d8010fd4081179251365289858e8f60d8930c20653df6ee502a8833146613cb0195a0cd2bf6ccd5114d SHA512 50ae600ab3b6d69d11e86c84124eea6fd5c2f756c6c961c6f45f32ea3a65f0c29b249a4229dc9cfd6b7a64383efc21cd4bb53c44265ccd9109c6f8d990b3e14d +DIST kibana-6.8.19-linux-x86_64.tar.gz 186482714 BLAKE2B c79ff1ee992e954f0d1a607a67110dd12ae3d68a2fc44fd67860253a4aedebcedb558c95a92b40168eb85d2c71abf83280f9338564ec3142c1841cba8aed50bf SHA512 6af11abb1bb637dd33b3b60b7fb4eaba0c4706e6e59c1c61bb1f70b5e80d2296a318126535088b24cff692efc80267e53483bdc08a9eb4e132b41bfddaf30049 DIST kibana-7.12.0-linux-x86_64.tar.gz 281022115 BLAKE2B 6400dc95f0d2eb357cce46679ab3eb1043f873dcc5904cb1d1169d44fefdc8ca5bcde8c8d3990f951754c2448c12514ac4d0a355f817e5b9b5ce7bf52fb41d00 SHA512 0b6a9596698c64a65d82cc146dad8e24118eb8991b9ed36e13f309d2e3d7af408c35358a8b39899bf2daf260ddd8d50678d437a3dba32923fe026da99a526006 DIST kibana-7.12.1-linux-x86_64.tar.gz 281051589 BLAKE2B 041ac27f3d58ad419cf6410fcd452dad34a205699701088eeea11056974429e27a1c980ddc2609a592ee1c33f73bde39724603c17c604973a5c80bf1c36e3a70 SHA512 f215ae38c6976e0926b57a3dcb639ba532b724a8195e791a33a09540865a49e7180bed1692a6530b149e0bd6c4dd130c1d6c2dc6022b3ec5b8ec7ec4dc977b17 DIST kibana-7.13.2-linux-x86_64.tar.gz 305904726 BLAKE2B 4d71432f10cfcc5b56ab007092334a46b1699eba2b3990381d4212b5053c6f6476d2434341907939e213226dd4d03000f8d73e0b32890a9c1194ab934a95efb6 SHA512 e4b88dd0e0266f82e893d1040689aaa88c4541ea355603680cb60d0757d5dbca8e628c65d9d74a1f898afa6926bb8d79f9008361c44c4f0cfc3284b07087ac37 DIST kibana-7.13.4-linux-x86_64.tar.gz 306413260 BLAKE2B 3afe039b7be9809b395adb609e65785ccb8f3de07391b306804a79158cacb53c2d8b844b04468e932dc0113b9ecce34bc4bd8326231c9f2191fa5b12f2e00b4e SHA512 1accd5d6933f3f2f54174e53da626bc275b99b2f102d5f8cfee934d3520ee55a97c9c545cca32ddffec06a96114ce284e2e128cf334538214566c6530d1d673e +DIST kibana-7.15.0-linux-x86_64.tar.gz 284167139 BLAKE2B d46a860055623e4d90f44e42116b78032057659f89193d5ec2bc25728906fd24465fb1c2111fca157bda5745d612aa2b5913168d93f43fc97aa00f477596c48e SHA512 34759eca59a9f6b8bca2513d5da74686d2292d2472ca0cf1f8624d6610745a199fe6aabc102a9e39031057f3ba8ef5e692eca641c8371282481dad36d44757d7 DIST kibana-oss-6.8.15-linux-x86_64.tar.gz 70468224 BLAKE2B 5ad359cef5082035eaefe277128f8badce8539484f30399d504efe8fe645b1e925f22126a48bf3ef89efc466eff641241e109372ca84f34d2ac4014aeec1868a SHA512 ef67258e2f3d3f447a53ec23d519f13ea50a65f3fde7215352178a6efad9b20c9ce5ade14c4a185c2005b9ec29c997e40e435a0129dd4d03adeaaa21868c9a22 DIST kibana-oss-6.8.16-linux-x86_64.tar.gz 67967956 BLAKE2B 3b1fcb88fb696c180b5e81219112598f4f156c6a9cb40535aa99cced65dbc8e441c31e9f0c43fd86d0a06cc154c1e5cafc2e8256303c0d65ed7c1c269edac7c2 SHA512 7b2962c78c33e535068ac11d050abcd4a3aa662c533d0ca2d918751ece6fcd84ef08862d1767dd9564d480dc200bd65b7a7199f543e3d5c3fc125ac3d3f4f902 DIST kibana-oss-6.8.17-linux-x86_64.tar.gz 68076062 BLAKE2B b87a8067b0598e9291eb78b7666b69ac8babe774ad3f2ae1fcb37d12517ceed067fe0e022cb34e576727525c570863625237b91c6c5ad0b3901e8b6333a13c16 SHA512 28953bc77fd606a11c1f2522bb53b9fe38e7f711f71ac073c4d669a0078ba6fb050688ab06de49d4b5f7fdd0c76b8d040e05194bef814c872a00b9383b9a6d60 +DIST kibana-oss-6.8.19-linux-x86_64.tar.gz 67437896 BLAKE2B 759d2449e056508bae5eddbd3a772ec8112bac6ce0068089f4c43f797e2fe3892e508970df9438aa9591b01b08d7258325cbb493f36768fca9d174bda1f60104 SHA512 86c22f5d3ddffa8c650e6326b8632ee5ca9bfb3f2dac7df38f8dfce41c8f777eaa5eea43dfb03b1e10c3ecc597624f8c3b19a31dbc7abc514759973c8bf0a47c diff --git a/www-apps/kibana-bin/kibana-bin-6.8.19.ebuild b/www-apps/kibana-bin/kibana-bin-6.8.19.ebuild new file mode 100644 index 000000000000..8b3812bc5d6b --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-6.8.19.ebuild @@ -0,0 +1,89 @@ +# 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="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 + <net-libs/nodejs-14 + 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.15.0.ebuild b/www-apps/kibana-bin/kibana-bin-7.15.0.ebuild new file mode 100644 index 000000000000..f04b3a03b6b0 --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-7.15.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 + <net-libs/nodejs-15 +" + +# Do not complain about CFLAGS etc since we don't use them +QA_FLAGS_IGNORED='.*' +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-r1 ${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." +} |