summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2018-12-03 13:02:28 +0100
committerMikle Kolyada <zlogene@gentoo.org>2018-12-04 18:13:27 +0300
commit9aadc40318288d1a038d2eb538714bf4737d4e73 (patch)
treef0633af37af80ee94f02afaf21005178c59eba15 /www-apps
parentsys-apps/opentmpfiles: create runlevel directories if they do not exist (diff)
downloadgentoo-9aadc40318288d1a038d2eb538714bf4737d4e73.tar.gz
gentoo-9aadc40318288d1a038d2eb538714bf4737d4e73.tar.bz2
gentoo-9aadc40318288d1a038d2eb538714bf4737d4e73.zip
www-apps/kibana-bin: bump to 6.5.1
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')
-rw-r--r--www-apps/kibana-bin/Manifest2
-rw-r--r--www-apps/kibana-bin/kibana-bin-6.5.1.ebuild74
2 files changed, 76 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 8fd560d377df..af789a0eb764 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -1,5 +1,7 @@
DIST kibana-5.6.13-linux-x86_64.tar.gz 53161803 BLAKE2B 708827b2d9d3b216cc20ae8f63376fbbb53b6a7baaf3dbc73d4649ff02b54e417cbc0c4609a6c8b8388029ec0f34092e34a683d97f57963e3203d503eb5651fe SHA512 e32631f58e4428840f7f9482fed30f685bba0ac99dbeb39aa9b4b5e490cdae52105df332917dd9d149880bf8bbe200816304d03a93d919b7ca0b9c54ebe51353
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.1-linux-x86_64.tar.gz 206477263 BLAKE2B c346f3f3ed57a575eb500b10b110ed7533fc638c8b65cbb61ad8604190c7a17a7c8e991fa0135ea8a5aecdb58663a288c0e5d145add697954d12a59bf574bf46 SHA512 4dda457833c5608c3ffe73513efad2e7bf526f6b9070db574b3f5b22fdb193594dfdc704f25f29cac831a164065512260ba807b761ebdfef44179239674ae318
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.1-linux-x86_64.tar.gz 77502834 BLAKE2B 57538fa5e9dd8bab003d40f6053a61fd06e7384835f10066ee34b581e2121552656163e285d574d17e732e88d5023a8f6654e479926e792e686eeb6fcb61da6e SHA512 2a33bfb58c9e202d66c0a72896aec8c9584692bf5714cd1e1034646f20cc827bc8f9144186b2d0e9dd1241bfe7299513ca89bbd497ed9900ebcf7f3f230e2853
diff --git a/www-apps/kibana-bin/kibana-bin-6.5.1.ebuild b/www-apps/kibana-bin/kibana-bin-6.5.1.ebuild
new file mode 100644
index 000000000000..54fce5a19974
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-6.5.1.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.11.4"
+
+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."
+}