summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/kibana-bin')
-rw-r--r--www-apps/kibana-bin/Manifest2
-rw-r--r--www-apps/kibana-bin/kibana-bin-5.0.0_beta1.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 961406626d18..12ac0a85a0e1 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -4,3 +4,5 @@ DIST kibana-4.5.4-linux-x64.tar.gz 33265835 SHA256 f4f11ce06679f734d01446d0e4016
DIST kibana-4.5.4-linux-x86.tar.gz 32766907 SHA256 c0f99975a9679c56aa4c0258bdad8befe0add56c1a5e313c2d55e4e3de7dc9df SHA512 0c8b78fcb2fe8c2f1ca61f0a70c93d68839915f573a81c6b4ae4e58350fb96eb05b95d69fa700e0de0f79038789227482a25e19d701e0012aa37c1fe45b39170 WHIRLPOOL bfe15953ee5a33ad826ddf51578d46c93ce8e63f077fa0be8f27e71cf9807942b943347aa6f2c942fab61a331b83115ad92e32d16c3373f144bd79ea21a16013
DIST kibana-4.6.1-linux-x86.tar.gz 33590940 SHA256 ab2a95222419286c7a3c32c17623fea9325cb95c383ade3e4c8ae29d0b1cd6ee SHA512 8a1147ab3cdbe5562e15056b797412330bc8ea38c099c4ff4ca565a3296405e978988d85ef1ad0883dc2d3ce335f74403960159ee1f4c77032178f9ee7b0cfaf WHIRLPOOL 54f363a0d043ce30a78d73cb89009210a9d3985aecdcec8021ec5ff35a9fc3426b51f50c9acfb6843612ce15d4826bcb948db49b9f8218c84d17caf0dd354557
DIST kibana-4.6.1-linux-x86_64.tar.gz 34114110 SHA256 2cc005b7bfbe2436f4cf93fcdb957ab5683e7d7843537dfd2bd51644c835dcaf SHA512 9418f03a82b5e8865b915a97445b9e3ba84c354435588815606220e720c6e9e115792e9fa8185241d0ff9e6c2b2862d1c26210a467a58069d6879eef0301fa93 WHIRLPOOL 14cf7d1cd9582fa379c413d757e04471fd94f1647d467040c2333585feb897557514882cbe9020cd8970b2e41f471f5856af863c7439ba518bac0ff0a1f144ef
+DIST kibana-5.0.0-beta1-linux-x86.tar.gz 39553169 SHA256 b029d7b28b888f45de1f6b263e3b184973f3313ba547e1f19f4570f071e23088 SHA512 c3e9c34fac93422bbc78f46d5c9d3b4ac92c88bef34b352fea7726298fc318198a661bd43e3950e63bd0e2674502626ecc7fd8aa3aafb18507e50dff3c4d13c0 WHIRLPOOL 3f3d9b3e193a8faa45179418d38d613d3043e887ececc968c62674cc3715ae9ec6d29bc6a60eb0803b4c7e1ae6cc96a471b9b77fbbae6c60124120a38d6803ec
+DIST kibana-5.0.0-beta1-linux-x86_64.tar.gz 40103583 SHA256 4ffee3ac30d9474f98dffa16c3471de82b6227da480098978a15a0e688114013 SHA512 0b2ec904db5509aa7f826e590c0d5cd1e0bb29ab9afdd2e3b31d493cd503046441703d346e97ddc7fd2d351f46a1000d41f7a4e343320ea7e219aabbab3be4c9 WHIRLPOOL 51569650b076a1036f24051202e2d20864e145e1e79e3e05e3c6718acfbfdb59f38bb9ea4917b4e3b2885a0645856a72827c6b81329108b941ae3f42a3b49a8f
diff --git a/www-apps/kibana-bin/kibana-bin-5.0.0_beta1.ebuild b/www-apps/kibana-bin/kibana-bin-5.0.0_beta1.ebuild
new file mode 100644
index 000000000000..1bfebee22aa9
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-5.0.0_beta1.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=""
+
+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 2.4+"
+ 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."
+}