summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-11-28 12:07:27 +0100
committerPatrick Lauer <patrick@gentoo.org>2016-11-28 12:07:41 +0100
commit1db79c9ae21660f65a8a2077d2406be3c1850fdc (patch)
tree41e0b6cd6d46472b0196703fc1fd61c38c0535e5
parentapp-admin/logstash-bin: Bump (diff)
downloadgentoo-1db79c9ae21660f65a8a2077d2406be3c1850fdc.tar.gz
gentoo-1db79c9ae21660f65a8a2077d2406be3c1850fdc.tar.bz2
gentoo-1db79c9ae21660f65a8a2077d2406be3c1850fdc.zip
www-apps/kibana-bin: Bump
Package-Manager: portage-2.3.2
-rw-r--r--www-apps/kibana-bin/Manifest2
-rw-r--r--www-apps/kibana-bin/kibana-bin-5.0.1.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 1c29e303ec6..63d4ba163cd 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -6,3 +6,5 @@ DIST kibana-4.6.1-linux-x86.tar.gz 33590940 SHA256 ab2a95222419286c7a3c32c17623f
DIST kibana-4.6.1-linux-x86_64.tar.gz 34114110 SHA256 2cc005b7bfbe2436f4cf93fcdb957ab5683e7d7843537dfd2bd51644c835dcaf SHA512 9418f03a82b5e8865b915a97445b9e3ba84c354435588815606220e720c6e9e115792e9fa8185241d0ff9e6c2b2862d1c26210a467a58069d6879eef0301fa93 WHIRLPOOL 14cf7d1cd9582fa379c413d757e04471fd94f1647d467040c2333585feb897557514882cbe9020cd8970b2e41f471f5856af863c7439ba518bac0ff0a1f144ef
DIST kibana-5.0.0-linux-x86.tar.gz 39564812 SHA256 8ca381bfa2d490919f4469bbf356d1ef19eddb424eaeac819d585191fdd759fd SHA512 9cbe41f901736b20408c85505807a989ef85f02a8a5765ec0b523cb1caaa597a8df17a356839c42e9c2abf5c5895830d7fbdb40d42f993ad971468cd072aa99d WHIRLPOOL 64be8b7d95036f0658afb14719641776612fdb2a8c454ba15f401b167040d2301c179a3e9d8e3b37ee1febe403a1879b216d14f6128e7a1f3a689d64fa87bdf6
DIST kibana-5.0.0-linux-x86_64.tar.gz 40124789 SHA256 39cf5bc9e249df7ef98f0b7883f4ff23514a40290dfc48c5101b1d1ab67d60ae SHA512 4f7b6ac1acd539d0cfbd242e10912aac7e7ba010bb4fe3ceb09eb86b3b363acc0a2373916b09d9767e1e6b4ac804561c1b926791222e648c63498b1fc7498a8a WHIRLPOOL d76003089b7f1743651de98715f78e7be5c87d863cb5f8ad3671eeec8c48803a5b053fd98a57d5250e7e9ca2c952f5c481880e929f2bb326daf98f2a99d14c02
+DIST kibana-5.0.1-linux-x86.tar.gz 39568060 SHA256 2609f26ad122a49cc8c3aff250526612e3b1634f28f47a358baf2847b970b520 SHA512 6878be6960373a6c80f1ee2459b48bb8dfe2534300fad6aef5cde750ae796c44fc4804edd60d378d2ecac75788d64d85483e6ac6a13011f402683d7774077705 WHIRLPOOL d3e9891cf063516b9000bb3a33d6b92faca30bd987510400d6f0143850fe350ff55bf448dcf6065e548ebdaf1f7e637fbc69a1f249a293d44e48b36d12f80619
+DIST kibana-5.0.1-linux-x86_64.tar.gz 40119079 SHA256 bf845a27d37c24a8d63f8407691001d3c8dd31d2317e6866a4473d421aa9acd9 SHA512 7f1efc235b85f9f2eeb31cebfcb3e2c84c033a7cfdff65b1d4faa1e8192ece05fb28356a2aca7f2918b68104fc2428a386a9f7ae76f3379e87c4c581a4737b52 WHIRLPOOL 150c8a8133127de6dd3c4f52a48c0aa16b122e6339e004426f47374802db76b356804646c0f4d14c1f70469201d8be7a8c2536d692159718f8a2c681832364f4
diff --git a/www-apps/kibana-bin/kibana-bin-5.0.1.ebuild b/www-apps/kibana-bin/kibana-bin-5.0.1.ebuild
new file mode 100644
index 00000000000..c64d92c9256
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-5.0.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit pax-utils user
+
+MY_PN="kibana"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Explore and visualize data"
+HOMEPAGE="https://www.elastic.co/products/kibana"
+SRC_URI="amd64? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
+ x86? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="strip"
+QA_PREBUILT="opt/kibana/node/bin/node"
+
+pkg_setup() {
+ enewgroup ${MY_PN}
+ enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
+}
+
+src_unpack() {
+ if use amd64; then
+ S="${WORKDIR}/${MY_P}-linux-x86_64"
+ elif use x86; then
+ S="${WORKDIR}/${MY_P}-linux-x86"
+ fi
+
+ default
+}
+
+src_install() {
+ keepdir /opt/${MY_PN}
+ keepdir /var/log/${MY_PN}
+ keepdir /etc/${MY_PN}
+
+ insinto /etc/${MY_PN}
+ doins config/*
+ rm -rf 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-r3 ${MY_PN}
+
+ mv * "${ED%/}"/opt/${MY_PN} || die
+
+ # bug 567934
+ pax-mark m "${ED%/}/opt/${MY_PN}/node/bin/node"
+}
+
+pkg_postinst() {
+ elog "This version of Kibana is compatible with Elasticsearch 5.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."
+}