commit:     6508e8b6d1ead2ad6e4636f6a33a684f00bf65d0
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Aug  3 08:59:33 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Aug  5 13:57:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6508e8b6

www-apps/kibana-bin: bump to 6.3.2

 www-apps/kibana-bin/Manifest                |  2 +
 www-apps/kibana-bin/kibana-bin-6.3.2.ebuild | 71 +++++++++++++++++++++++++++++
 www-apps/kibana-bin/metadata.xml            | 25 +++++-----
 3 files changed, 87 insertions(+), 11 deletions(-)

diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 8bcd8492254..2384eeb6707 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -1,3 +1,5 @@
 DIST kibana-5.6.10-linux-x86_64.tar.gz 52586941 BLAKE2B 
cb4e1716c640c80be980541e5496a96fc6baa04152e11f754b46dc71a9995809038b8a82c3404d9d86d1bd0381e9fc55fca44c66f046cb41e005c760aa077092
 SHA512 
c56c600c79bf2f5d2991d6c1442db300c78dd4135bf8dec5b9f500d609e2f041d09649195cfdae2f6d30cf8de2c2c865ac607283f865c4aa8ec1d400af84c270
 DIST kibana-6.2.4-linux-x86_64.tar.gz 85348919 BLAKE2B 
ce062a5a7d96c0266143f1091f7dbe5ade6236068a73f6fedbe253957f7ddf2d00b441d985f72e9936aa3bfa7ecd9e7b7672b301b726a7d78c3e2b71d52c3b24
 SHA512 
125c2002e1a3b197f9f0d6200f2979f2e5974a902bfec2baa4b34a0c8d55babccafdb87b8a7b69c61ca4c02b8ae97e69b9b2743f7d445f0e53e31c69288296d5
+DIST kibana-6.3.2-linux-x86_64.tar.gz 205331616 BLAKE2B 
17273e641a9f146943cc4aebbce1114706dcf5d4c5f4d865a79d5b576a845c40268ea4389c358d555ca278c0bed4a68baef661472f80f7957dd013f0ce2e9835
 SHA512 
35eb97ca2f8d0bd80dc7dcdc5bc03f8ab21d1280d11d892f12eda5a173a951dfe88718d45c94ff0a748bb324e44f243cda0ba314c6dcd249cd960928f7c7b7ea
 DIST kibana-oss-6.3.1-linux-x86_64.tar.gz 89617065 BLAKE2B 
bdadf0ddecb060d64ed07f4f3f62934b4ae686f00d1dafbe8030acf95431b13049f53ffe7a6f8eb695d9cb1dc45151110f430c1953e1c0e1edd3656819ee0cb8
 SHA512 
6be02af23878dae1d48b81e8a46704f35a0bc136dd0952d997ba1f00d080868960fc3fc86d37e1e1fad5acb74dc2345e09ccc7d27862575d5783708d058c6831
+DIST kibana-oss-6.3.2-linux-x86_64.tar.gz 89561513 BLAKE2B 
37031653e171d683a18f25c957545b6b143c2f0d8c07da6c02ea61c8296657d190540f4ffee2c6a62a9146800971041d7e4e30767892ba2bbff0486aef31cda5
 SHA512 
87236fa1a45a5c5e0ecdc033f864e9a1f74cb148e350b83c6c024b37eb71e3c16236fe52525898532f286f816cb6d03de23cba3d97e0cc0c4d622cdd18c7defb

diff --git a/www-apps/kibana-bin/kibana-bin-6.3.2.ebuild 
b/www-apps/kibana-bin/kibana-bin-6.3.2.ebuild
new file mode 100644
index 00000000000..e6790f0a74f
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-6.3.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eapi7-ver systemd 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="x-pack? ( 
https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
+       !x-pack? ( 
https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-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 x-pack? ( Elastic 
)"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="x-pack"
+
+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}
+       systemd_dounit "${FILESDIR}"/${MY_PN}.service
+
+       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) and"
+       elog "Node.js 8. Some plugins may fail with other versions of Node.js 
(Bug #656008)."
+       elog
+       elog "To set a customized Elasticsearch instance:"
+       elog "  OpenRC: set ES_INSTANCE in /etc/conf.d/${MY_PN}"
+       elog "  systemd: set elasticsearch.url in /etc/${MY_PN}/kibana.yml"
+       elog
+       elog "Elasticsearch can run local or remote."
+}

diff --git a/www-apps/kibana-bin/metadata.xml b/www-apps/kibana-bin/metadata.xml
index 235a4590e78..8a7e9b80fe5 100644
--- a/www-apps/kibana-bin/metadata.xml
+++ b/www-apps/kibana-bin/metadata.xml
@@ -1,15 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-  <maintainer type="person">
-    <email>hydrapo...@gmail.com</email>
-    <name>Tomáš Mózes</name>
-  </maintainer>
-  <maintainer type="project">
-    <email>proxy-ma...@gentoo.org</email>
-    <name>Proxy Maintainers</name>
-  </maintainer>
-  <upstream>
-    <remote-id type="github">elastic/kibana</remote-id>
-  </upstream>
+       <maintainer type="person">
+               <email>hydrapo...@gmail.com</email>
+               <name>Tomáš Mózes</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-ma...@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">elastic/kibana</remote-id>
+       </upstream>
+       <use>
+               <flag name="x-pack">Enable additional features (may need a 
license)</flag>
+       </use>
 </pkgmetadata>

Reply via email to