diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2021-07-27 11:07:43 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-07-31 13:03:40 +0300 |
commit | adb570d188a82fcad9bc470932f680c33e388f87 (patch) | |
tree | 1b9fc3f2e95d0a7d4d68771a450a61a6525b24d9 /www-apps/kibana-bin | |
parent | app-misc/elasticsearch: bump to 7.13.4 (diff) | |
download | gentoo-adb570d188a82fcad9bc470932f680c33e388f87.tar.gz gentoo-adb570d188a82fcad9bc470932f680c33e388f87.tar.bz2 gentoo-adb570d188a82fcad9bc470932f680c33e388f87.zip |
www-apps/kibana-bin: bump to 6.8.17
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-apps/kibana-bin')
-rw-r--r-- | www-apps/kibana-bin/Manifest | 2 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-6.8.17.ebuild | 89 |
2 files changed, 91 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest index 37636410e402..84d6e5d50b10 100644 --- a/www-apps/kibana-bin/Manifest +++ b/www-apps/kibana-bin/Manifest @@ -1,7 +1,9 @@ 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-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-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 diff --git a/www-apps/kibana-bin/kibana-bin-6.8.17.ebuild b/www-apps/kibana-bin/kibana-bin-6.8.17.ebuild new file mode 100644 index 000000000000..8b3812bc5d6b --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-6.8.17.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." +} |