summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2016-12-21 11:18:04 +0100
committerGöktürk Yüksek <gokturk@gentoo.org>2016-12-24 20:15:19 -0500
commit9459219d76dbe9ecc4e459491fc1c64d8433007b (patch)
tree75d3703e53b674373bce2cee388c068f04ef6765 /www-apps
parentdev-java/jsr67: tidy up ebuild. (diff)
downloadgentoo-9459219d76dbe9ecc4e459491fc1c64d8433007b.tar.gz
gentoo-9459219d76dbe9ecc4e459491fc1c64d8433007b.tar.bz2
gentoo-9459219d76dbe9ecc4e459491fc1c64d8433007b.zip
www-apps/kibana-bin: bump to 5.1.1
Package-Manager: portage-2.3.3
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/kibana-bin/Manifest2
-rw-r--r--www-apps/kibana-bin/kibana-bin-5.1.1.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 63d4ba163cda..d6341ec15d9f 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -8,3 +8,5 @@ DIST kibana-5.0.0-linux-x86.tar.gz 39564812 SHA256 8ca381bfa2d490919f4469bbf356d
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
+DIST kibana-5.1.1-linux-x86.tar.gz 38350169 SHA256 59ea9ceefbcc55c3283a8da5cfee72c865162a1bff70d128c04ca63f7f80ea8c SHA512 fac89049e30450f2876dfa544d9571b6fbe9230083b074f3d4348824d1fb05fec67782c67522ef5ac9479ebab417b37e3d4d0178d048d7e8c60825b205922e5e WHIRLPOOL dfb8c97052f9f5b6cc126d57261b5418690257583e62b97a9e9f222172cf58828f61213dba9db44ad2726fbdea228386edd7756b4f08254266847ec7b5c6e00d
+DIST kibana-5.1.1-linux-x86_64.tar.gz 38909731 SHA256 da0383be8a12936c7d2a0a145e7bf0eb15abf972e585e0115ed8742032c79245 SHA512 6dd86aa15c563060ba52d87d68258e694c552826ec8a74578c19d0c9bcdfe1e6107f39e756af771495a88ba0ebda994f3e5b45e0afb07e6cbeb80e6d8ed685ea WHIRLPOOL 3b76c3280173ce6c203adb243d07d3df42cdeae6dc177169e4aa205fdd82bbc6e1605322ac2087c42b5b069158fd70a7a9822380f02515a2de41c9990bda5059
diff --git a/www-apps/kibana-bin/kibana-bin-5.1.1.ebuild b/www-apps/kibana-bin/kibana-bin-5.1.1.ebuild
new file mode 100644
index 000000000000..bae693f548ec
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-5.1.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-r4 ${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 ${PV}"
+ 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."
+}