summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2017-09-21 09:58:02 +0200
committerAmy Liffey <amynka@gentoo.org>2017-09-21 16:50:18 +0200
commit14a051866e68998e32bde479cae23329b44de608 (patch)
treee780dc16c92449c22c7a0a619a4e20bebd717e29
parentapp-emulation/vagrant: add version bump 2.0.0 (diff)
downloadgentoo-14a051866e68998e32bde479cae23329b44de608.tar.gz
gentoo-14a051866e68998e32bde479cae23329b44de608.tar.bz2
gentoo-14a051866e68998e32bde479cae23329b44de608.zip
www-apps/kibana-bin: bump to 5.6.1
Closes:#5744 Package-Manager: Portage-2.3.10, Repoman-2.3.2
-rw-r--r--www-apps/kibana-bin/Manifest2
-rw-r--r--www-apps/kibana-bin/kibana-bin-5.6.1.ebuild66
2 files changed, 68 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index d851f15b7c3..87d49cf963e 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -1,2 +1,4 @@
DIST kibana-5.5.2-linux-x86.tar.gz 50521894 SHA256 f74e16d73da0b31e8c04276b13f755c49f95e59209079adbefff40cd56e5a62a SHA512 30b2c75661b8d4632f5e063dc79261d01ed96c03ded64d9b05671489d9497339934284ea57ef079dfaab11031f59be8c38ae8338e6dd69b50ff36f0ba37b2315 WHIRLPOOL 65f788bcf26e3247c2604f0195c7dd5b5f2a5ea45bfa87f0ca0f46209080f4afbe2dbd61e8926550d2c299f1342dc32cc4e6fc0ba34390a9e5e9236b6b57d01b
DIST kibana-5.5.2-linux-x86_64.tar.gz 51073441 SHA256 4b879a36899d886c1264c6c2e0c662d56ebefee703fa4c62bca793124d3ebd5a SHA512 eab223176ea2a92234cf074a245024f1612e66361811a481f2ae9199afd92b4d01e10048adf1cb5ca3a60ef4d671705b70dc39c76e90d5c1ab5d07851d0b0096 WHIRLPOOL 05d12811a929507b01ac1a48c3aa038cab0b944e85d2b95272a4ddacec5325da697033e4f063648f39debfc2a0fffb7e15c6bdc141e5cf7641ce9df66572b2dc
+DIST kibana-5.6.1-linux-x86.tar.gz 50320540 SHA256 154c9a7dad6b7bc2d8c55ee2a1f454276abe6bb237b9fbf7b3f6e026c8c83fc0 SHA512 2e19a57d4f12619e97f857656fd0095b82c4159e5d23293d8a2bff273b19691882a5eb7018b90e11b0c9de371d72556aeac57e5e62c78607ab589472c78f43b2 WHIRLPOOL 01021e3b0a054e6d1b644d95e07db7277436153b3effc981fb89b7dd1fe774a4f46da02d55a7595eb012c1af9027c239626290a386b99dc325a5f5cdf3d28d92
+DIST kibana-5.6.1-linux-x86_64.tar.gz 50876859 SHA256 dc52083e3ca7f7479d63831aae60cff2e0f03f4e8a65d744bc79d66bc285b009 SHA512 b7fccd1bbd9a884f3b8b46ca8f166561d17935215607ff7f2c6fc20a423e4c81b2a1a0302419b86a75641bc634c7f5a8c0096d284cac0c8e7344e60baa818235 WHIRLPOOL 2403686768e826d41169aaf57e02b2e501cfc499ff0e77e41376ec6d023a42db4b3b7a38a25ccddc34f73bc4055f51ff3ca9a94ed0c24ec4f52812e59a8bf929
diff --git a/www-apps/kibana-bin/kibana-bin-5.6.1.ebuild b/www-apps/kibana-bin/kibana-bin-5.6.1.ebuild
new file mode 100644
index 00000000000..73a56f0ceb4
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-5.6.1.ebuild
@@ -0,0 +1,66 @@
+# 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="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 )"
+
+# 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 ~x86"
+
+RDEPEND="net-libs/nodejs"
+
+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
+
+ # 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 5.6"
+ 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."
+}