summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2017-11-25 03:13:41 +0000
committerAmy Liffey <amynka@gentoo.org>2017-11-25 14:22:27 +0100
commit596daccc9d675e1f8e0a95ebb0b801354061431f (patch)
treea4fcfc6ae3250e7d0ee2583f2a22a1cb47268f3e /www-apps/kibana-bin
parentdev-python/fonttools: version bump to 3.20.1 (diff)
downloadgentoo-596daccc9d675e1f8e0a95ebb0b801354061431f.tar.gz
gentoo-596daccc9d675e1f8e0a95ebb0b801354061431f.tar.bz2
gentoo-596daccc9d675e1f8e0a95ebb0b801354061431f.zip
www-apps/kibana-bin: bump to 6.0.0
Closes:#6289
Diffstat (limited to 'www-apps/kibana-bin')
-rw-r--r--www-apps/kibana-bin/Manifest1
-rw-r--r--www-apps/kibana-bin/kibana-bin-6.0.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 04a5fc2e3215..35f1272f2713 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -2,3 +2,4 @@ DIST kibana-5.5.2-linux-x86.tar.gz 50521894 SHA256 f74e16d73da0b31e8c04276b13f75
DIST kibana-5.5.2-linux-x86_64.tar.gz 51073441 SHA256 4b879a36899d886c1264c6c2e0c662d56ebefee703fa4c62bca793124d3ebd5a SHA512 eab223176ea2a92234cf074a245024f1612e66361811a481f2ae9199afd92b4d01e10048adf1cb5ca3a60ef4d671705b70dc39c76e90d5c1ab5d07851d0b0096 WHIRLPOOL 05d12811a929507b01ac1a48c3aa038cab0b944e85d2b95272a4ddacec5325da697033e4f063648f39debfc2a0fffb7e15c6bdc141e5cf7641ce9df66572b2dc
DIST kibana-5.6.4-linux-x86.tar.gz 51264296 SHA256 a8efaccfa13e1a7f074fafda628c2965c3f4fdd5143377e524c07217aeacb310 SHA512 b6829b35ca7dd486855fb5258a6839a641253a32a40a23ff83d22d808a96726deaaa36f759afb5bdd5ed8eeb7cef8f6e1b0d833ba2c50824aa232178ac59f850 WHIRLPOOL 85eb440abf988f3208debd38bc96b366844d5da1b296e0d7156ed1b89c5379a7ebe863a933968333a4f27479dc2e6a2319990bcbd94bc4860bfb58752d507b6d
DIST kibana-5.6.4-linux-x86_64.tar.gz 51834711 SHA256 253dea10f0fa535c6c984981c4012559b43907d4bc6f21668b43295428cef21d SHA512 9cf1633405bd3513ca1533786aa46d0b17d28a0dfe7762018c744a693efbcfec9e24e0e222d1192d2cb12a664a391bc8fd072b82236c2bbfadb786ddcadecfef WHIRLPOOL 2a24028d545f892b4cee38ade18d3bd77a60acb4b0824b4027b21fb7ac5effcd9752f6ec9e4b2e7c4c0ec94cf615aba8e5ab783a0b83fa055c7b07dcfcf6a9b1
+DIST kibana-6.0.0-linux-x86_64.tar.gz 62681537 BLAKE2B 98b7a70b055073bbefe7dd9bbf3e7867d39d95ad8119221364eb92f91601dc28fe9581c5b3b4725ae16eed940a8673fa4a30424a274be29e3d68fb5476944a33 SHA512 dd1ea5f344fe31da49ed56c844d3c0792f7ef748fc8b43450c611e7eb7f44b7cde8ae1b98c3ebfec7a87090fe82dab49b2176e947aad13d72176ec609f8a79c6
diff --git a/www-apps/kibana-bin/kibana-bin-6.0.0.ebuild b/www-apps/kibana-bin/kibana-bin-6.0.0.ebuild
new file mode 100644
index 000000000000..6f152c22bac7
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-6.0.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit 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="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 icu ISC MIT MPL-2.0 OFL-1.1 openssl public-domain Unlicense WTFPL-2 ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="net-libs/nodejs"
+
+pkg_setup() {
+ enewgroup ${MY_PN}
+ enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
+}
+
+src_unpack() {
+ S="${WORKDIR}/${MY_P}-linux-x86_64"
+
+ default
+
+ # remove bundled nodejs
+ rm -rv "${S}"/node || die
+}
+
+src_install() {
+ keepdir /opt/${MY_PN}
+ keepdir /var/log/${MY_PN}
+ keepdir /etc/${MY_PN}
+
+ insinto /etc/${MY_PN}
+ doins config/*
+ rm -rv 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}
+
+ mv * "${ED%/}"/opt/${MY_PN} || die
+}
+
+pkg_postinst() {
+ elog "This version of Kibana is compatible with Elasticsearch 6.0"
+ elog
+ elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
+ elog "in /etc/conf.d/${MY_PN}."
+ elog
+ elog "Elasticsearch can run local or remote."
+}