diff options
author | Tomas Mozes <hydrapolic@gmail.com> | 2018-12-21 10:50:40 +0100 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-12-22 10:08:23 +0300 |
commit | acc469fd54da17d22ff9a1b2c90b8d3a7852ef58 (patch) | |
tree | ab0fdefd0fdeaa411fdd56487d6dbbb39cce0342 /www-apps/kibana-bin | |
parent | app-misc/elasticsearch: drop old (diff) | |
download | gentoo-acc469fd54da17d22ff9a1b2c90b8d3a7852ef58.tar.gz gentoo-acc469fd54da17d22ff9a1b2c90b8d3a7852ef58.tar.bz2 gentoo-acc469fd54da17d22ff9a1b2c90b8d3a7852ef58.zip |
www-apps/kibana-bin: bump to 6.5.4
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Mikle Kolyada <zlogene@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.5.4.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest index 60c39918851e..df61b9f321ae 100644 --- a/www-apps/kibana-bin/Manifest +++ b/www-apps/kibana-bin/Manifest @@ -2,6 +2,8 @@ DIST kibana-5.6.13-linux-x86_64.tar.gz 53161803 BLAKE2B 708827b2d9d3b216cc20ae8f DIST kibana-6.3.2-linux-x86_64.tar.gz 205331616 BLAKE2B 17273e641a9f146943cc4aebbce1114706dcf5d4c5f4d865a79d5b576a845c40268ea4389c358d555ca278c0bed4a68baef661472f80f7957dd013f0ce2e9835 SHA512 35eb97ca2f8d0bd80dc7dcdc5bc03f8ab21d1280d11d892f12eda5a173a951dfe88718d45c94ff0a748bb324e44f243cda0ba314c6dcd249cd960928f7c7b7ea DIST kibana-6.4.3-linux-x86_64.tar.gz 235299366 BLAKE2B 58d788180b2afbf5c010b712e04fe39f469d63effb256454e8d56e36a0e0eb372255ac8c19af3b3e878992858472353c79eaaf447f2fdd8a8d70235dd79d36bf SHA512 f247078bfa7435239f9b9258a1563e73e17662735a83b154a02809f9c383f56cec68a3c189c84f43ecd2d9e4abc25d55f6593dd79b725fd79820f92d8543d244 DIST kibana-6.5.2-linux-x86_64.tar.gz 206752918 BLAKE2B 0a337a768fd2d1dd7d6ce9250c43618248e6f694a9be9245292e2180fb5b2caf017daf28c95e5261d3abccc9b53e65d9657e2fce97ed557c8f6542b33d71d6a5 SHA512 a2ec63533f74b26ce590a322c5f1d6b1b2d4502501cbec8692dd055f4e794ca11fd30e9ee429fcf0eef97a106b9f58b9d7879de19fd310b9421b0c04dd516250 +DIST kibana-6.5.4-linux-x86_64.tar.gz 206631363 BLAKE2B 83be5a2c0f47257338ad5b547fecb20748c10f1607d88543ec36d6a9ea6b519c6545af13df90eac5fbb774ff1431bcede8c29d7cb4c0bca98ce26557d907bb03 SHA512 260e577ba5f9464228a03689e8fd823cfba4a91670dea2f210da508d97ade6091febb2bae29893427eccdcfd2db75a8d62e265edade7ca9b9f2513fb66f8917d DIST kibana-oss-6.3.2-linux-x86_64.tar.gz 89561513 BLAKE2B 37031653e171d683a18f25c957545b6b143c2f0d8c07da6c02ea61c8296657d190540f4ffee2c6a62a9146800971041d7e4e30767892ba2bbff0486aef31cda5 SHA512 87236fa1a45a5c5e0ecdc033f864e9a1f74cb148e350b83c6c024b37eb71e3c16236fe52525898532f286f816cb6d03de23cba3d97e0cc0c4d622cdd18c7defb DIST kibana-oss-6.4.3-linux-x86_64.tar.gz 76671516 BLAKE2B c3800f2c53af55139ce101ff13391fff2908fb0b9e45b46588f18a27653bf6492259a81e93b5c0f8e654696434efa510646cba5d5f6dba9ba2377451aaf9f259 SHA512 db55d5201675d1d71cbc511ffd4fb94332316eef8f06c2419d498b930e068030c625c18a0c2fec761cb0c066abc16ddf2c2d8a2fa59aaa3bc35ea1e289b8ae99 DIST kibana-oss-6.5.2-linux-x86_64.tar.gz 77696717 BLAKE2B a659a5486b101f041885996f11f555dd5a7c864097365d76c4199693ca27a0fae0df5ea10b02aa1267d057e13a18b1e4f9e0d5fd8d679e8282eb6ff61135a224 SHA512 a83696783e45025c4f3636ccdbb3e8430085aee155f6d5df9ec3c16da6f646e23d6ec05096d0752f29ffee77ed42bd45bec0e1f1871b5b7c8aeb7709749c984a +DIST kibana-oss-6.5.4-linux-x86_64.tar.gz 77637829 BLAKE2B f9b6881c35ebcaf112634989337f40820b450cf2a070c32f02f4a7d4c122f0c4ff44f8feb56b0d8683e96a13f2ef6ee96e237dd27fd9c32efdb9c7dfde020fb8 SHA512 65c4ab427ae2a2486b71520893eeb78d8628bf3e6fd47c0d576ca4b6bfa8f9058ecf957ef488fd47260c8295ea49952e1b411d6a6c199f26d74e6a84cfcf7309 diff --git a/www-apps/kibana-bin/kibana-bin-6.5.4.ebuild b/www-apps/kibana-bin/kibana-bin-6.5.4.ebuild new file mode 100644 index 000000000000..ed01f9fe2aa0 --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-6.5.4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd user + +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=">=net-libs/nodejs-8.14.0" + +S="${WORKDIR}/${MY_P}-linux-x86_64" + +pkg_setup() { + enewgroup ${MY_PN} + enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN} +} + +src_prepare() { + default + + # remove bundled nodejs + rm -r node || die + + # remove empty unused directory + rmdir data || 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/log/${MY_PN} +} + +pkg_postinst() { + elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and" + elog "Node.js 8. 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." +} |