commit:     47aa5e81bedbbfda27ef176f9a2ee123522e058b
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Wed May  2 13:33:27 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed May  2 22:01:00 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47aa5e81

www-apps/kibana-bin: version bump to 5.6.9.

Package-Manager: Portage-2.3.31, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8243

 www-apps/kibana-bin/Manifest                |  1 +
 www-apps/kibana-bin/kibana-bin-5.6.9.ebuild | 66 +++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 8abec126f0e..5e58016c864 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -1,4 +1,5 @@
 DIST kibana-5.6.8-linux-x86_64.tar.gz 51974963 BLAKE2B 
d90b3e56e9d19c3846b7fae294d8bf27b89ffe462d8554e465bb5235741915ee65c1c6e58b94453ffbb80eaac17ede190300d614b25cf033d84231d87a46c6e9
 SHA512 
a819fc1166994364e94a47fa6f55f06e0672a6c5fc9bc8d594ad5ba48092033faafcc8fc70aae3c4b04300f96a9221683711bc2e2b5d343fd85d7dc22b173513
+DIST kibana-5.6.9-linux-x86_64.tar.gz 52381284 BLAKE2B 
962891ada991f718bb3a1445ec369db0e71e27aa76fb0170d57dfa66ea2b3e14289412464ec6c6b687e09fb3cad77a7900985dbcbd7fb29e103b06ba6cc8aa9c
 SHA512 
e30fd6735b5fa510b81ba70a66faf2ff57ea01bcc0b0379607173d7a8cef44628efcaa0bd055b3f6672f7874c616c0d99b353a0e14d354879a9675fd367676fa
 DIST kibana-6.0.1-linux-x86_64.tar.gz 62720465 BLAKE2B 
81c3cb130067483cc6138c5274555c01102e365d873bf753a534cbcd96487516af41fbb91878cea4f80ffc02c5d18c82d322b0530cf1d3a55adffeefe60d9574
 SHA512 
3761f8abff5d949631f365c228af2f205597e1f05137d0140917b35128d2dcb79e32db355873864c1f01bce06121af71f1bfcb1679ae25903e1121bc76f68ecc
 DIST kibana-6.1.2-linux-x86_64.tar.gz 65093343 BLAKE2B 
08254af4fcc261a49f5f6e4e1c734acca799708394d95d3203d6355d1e9dc3fa6bfa3eb85b1cb40e5d52a4558b6ea202d54e87ff6274823767f8332a7b01b9c7
 SHA512 
eefe3ae73e08c0cd14c5c7d7f962dc78cdfff1096895a1ab539f172b84dfa0d8c197d99573ac7dea6c60adb89b5e3fd5be10dddd749c060c540b30c34426c8a1
 DIST kibana-6.2.2-linux-x86_64.tar.gz 83415765 BLAKE2B 
86f7511c82b6954a8769673b856eb46f2b633490535a013d4e30138e8abee470776493de43284f2e68b2cac6b74ba2b76245fd35803b8b5834f79ea5f488dd6b
 SHA512 
8d26eb8293028aa0c35942a7b5025401f9b717d5c548d6cdbcf2761c0d8cc1189fdbf12c6f39468d4c809a3975f5f3c817e0f02424b296ce36183e118b0c72c6

diff --git a/www-apps/kibana-bin/kibana-bin-5.6.9.ebuild 
b/www-apps/kibana-bin/kibana-bin-5.6.9.ebuild
new file mode 100644
index 00000000000..cb88e5913e4
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-5.6.9.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eapi7-ver 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="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.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"
+
+RDEPEND="net-libs/nodejs"
+
+S="${WORKDIR}/${MY_P}-linux-x86_64"
+
+pkg_setup() {
+       enewgroup ${MY_PN}
+       enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
+}
+
+src_prepare() {
+       default
+
+       # remove bundled nodejs
+       rm -r node || die
+
+       # remove empty unused directory
+       rmdir data || die
+}
+
+src_install() {
+       insinto /etc/${MY_PN}
+       doins -r config/.
+       rm -r 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}
+
+       insinto /opt/${MY_PN}
+       doins -r .
+
+       chmod +x "${ED%/}"/opt/${MY_PN}/bin/* || die
+
+       diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
+       keepdir /var/log/${MY_PN}
+}
+
+pkg_postinst() {
+       elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 
1-2)"
+       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."
+}

Reply via email to