diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-09-01 16:12:28 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-09-01 16:12:48 +0200 |
commit | ad6dad4d2afa9b9738fac202b497119d6cb7754b (patch) | |
tree | 1c2d97ba8c0032bbe76dff335a298fcc25c17353 /www-apps | |
parent | app-admin/logstash-bin: Bump (diff) | |
download | gentoo-ad6dad4d2afa9b9738fac202b497119d6cb7754b.tar.gz gentoo-ad6dad4d2afa9b9738fac202b497119d6cb7754b.tar.bz2 gentoo-ad6dad4d2afa9b9738fac202b497119d6cb7754b.zip |
www-apps/kibana-bin: Bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/kibana-bin/Manifest | 2 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-4.6.0.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest index a72c56aa4b0c..3c97923a1224 100644 --- a/www-apps/kibana-bin/Manifest +++ b/www-apps/kibana-bin/Manifest @@ -2,3 +2,5 @@ DIST kibana-4.1.11-linux-x64.tar.gz 18896066 SHA256 406fd817ce9e95bc65ac06361726 DIST kibana-4.1.11-linux-x86.tar.gz 18398607 SHA256 abd72b6c7bad0fd7903c7e39a3f14756e6b8a62cc5b38242bce93a3412feffee SHA512 666f3a7966093eb7a102712fbb0b092ecfc7ef0b8c256791d6bb87d2b894c7b12b2264e239841d42c7e0ca19a7f09e53ce5e1cd3913f2bb04dc720f78500c425 WHIRLPOOL 8424285c83820594fa81fad5a1ca5dc68b50a980d0692695fc941c547bf5d75cc581bf43dfb2e59b270a09d308650aeed487b1bfc06ecce712cd0caf77bdab8f DIST kibana-4.5.4-linux-x64.tar.gz 33265835 SHA256 f4f11ce06679f734d01446d0e4016256c4d9f57be6d07a790dbf97bed0998b44 SHA512 a654ba721d24afe9f7428d6ed3f134db4f0f4063056a7f2d7fed99aab146d061ad7fafb7311cea6515e448280af819b264a1a085d791ba5ed18748fd9316216b WHIRLPOOL 0441d13e3442e460bfe88a9e70cc3f79412fb6f1619ddba85a79b5a0fb7fb0645e15086ae616f582d5244dc52186c2959ee6971b085a50869625815c172926ef DIST kibana-4.5.4-linux-x86.tar.gz 32766907 SHA256 c0f99975a9679c56aa4c0258bdad8befe0add56c1a5e313c2d55e4e3de7dc9df SHA512 0c8b78fcb2fe8c2f1ca61f0a70c93d68839915f573a81c6b4ae4e58350fb96eb05b95d69fa700e0de0f79038789227482a25e19d701e0012aa37c1fe45b39170 WHIRLPOOL bfe15953ee5a33ad826ddf51578d46c93ce8e63f077fa0be8f27e71cf9807942b943347aa6f2c942fab61a331b83115ad92e32d16c3373f144bd79ea21a16013 +DIST kibana-4.6.0-linux-x86.tar.gz 33594129 SHA256 ee92ef18cccf72b843162e21c413ef1a782991daebc3104edee55d12b650e734 SHA512 2cfc1e56779f087d9c73ad14c55e7f42759b01653ba4736f8c3be3ebe2b4b0b2bd47856cde27a097ea61fb6bc5c3fb4efd251096e38015e1fb316226e233b57b WHIRLPOOL 0521c874adec5373bc15a080714f7f410aab53447416d3beababd8eb58a0b0ce71ee5b253d02f81995ef19c82cbd1933d26b7d773814aa19d37311ffb6bba516 +DIST kibana-4.6.0-linux-x86_64.tar.gz 34118139 SHA256 9c6520727e565607bb17c7147591a1328b9de39aa63067e9196ef78cd4f0a3d5 SHA512 8e9ce8d6be0c57b488d464a37e30c0886246ceb042849162addd43aaae8ca57d476b126a379ecb85c73a17db4b9ee7545e8073ed86c77af6639692cbf305440f WHIRLPOOL 3e72b05589e010ad0dd988ed03ba2cebfc576aad62ebef3c4d188c9289513294ce78de1bafa0fa9ef73a208ffe7738c498a5b14ccd5d9c614b0aa49304022398 diff --git a/www-apps/kibana-bin/kibana-bin-4.6.0.ebuild b/www-apps/kibana-bin/kibana-bin-4.6.0.ebuild new file mode 100644 index 000000000000..4923fede8429 --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-4.6.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit pax-utils user + +MY_PN="kibana" +MY_P=${MY_PN}-${PV/_rc/-rc} + +DESCRIPTION="Explore and visualize data" +HOMEPAGE="https://www.elastic.co/products/kibana" +SRC_URI="amd64? ( https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}-linux-x86_64.tar.gz ) + x86? ( https://download.elastic.co/${MY_PN}/${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 + + 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 * "${D}"/opt/${MY_PN} + + # bug 567934 + pax-mark m "${ED}/opt/${MY_PN}/node/bin/node" +} + +pkg_postinst() { + elog "This version of Kibana is compatible with Elasticsearch 2.3+" + 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." +} |