commit:     3ef30d1919179741deff381ef991b62c1e17023f
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Mon Mar  4 10:52:26 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 15:54:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef30d19

www-apps/kibana-bin: bump to 6.6.1

Bug: https://bugs.gentoo.org/678948
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 www-apps/kibana-bin/Manifest                |  2 +
 www-apps/kibana-bin/kibana-bin-6.6.1.ebuild | 74 +++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 899a742576b..d32b6a7cfac 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -3,6 +3,8 @@ DIST kibana-5.6.15-linux-x86_64.tar.gz 53411172 BLAKE2B 
a5c961f14614f242e2693750
 DIST kibana-6.3.2-linux-x86_64.tar.gz 205331616 BLAKE2B 
17273e641a9f146943cc4aebbce1114706dcf5d4c5f4d865a79d5b576a845c40268ea4389c358d555ca278c0bed4a68baef661472f80f7957dd013f0ce2e9835
 SHA512 
35eb97ca2f8d0bd80dc7dcdc5bc03f8ab21d1280d11d892f12eda5a173a951dfe88718d45c94ff0a748bb324e44f243cda0ba314c6dcd249cd960928f7c7b7ea
 DIST kibana-6.4.3-linux-x86_64.tar.gz 235299366 BLAKE2B 
58d788180b2afbf5c010b712e04fe39f469d63effb256454e8d56e36a0e0eb372255ac8c19af3b3e878992858472353c79eaaf447f2fdd8a8d70235dd79d36bf
 SHA512 
f247078bfa7435239f9b9258a1563e73e17662735a83b154a02809f9c383f56cec68a3c189c84f43ecd2d9e4abc25d55f6593dd79b725fd79820f92d8543d244
 DIST kibana-6.5.4-linux-x86_64.tar.gz 206631363 BLAKE2B 
83be5a2c0f47257338ad5b547fecb20748c10f1607d88543ec36d6a9ea6b519c6545af13df90eac5fbb774ff1431bcede8c29d7cb4c0bca98ce26557d907bb03
 SHA512 
260e577ba5f9464228a03689e8fd823cfba4a91670dea2f210da508d97ade6091febb2bae29893427eccdcfd2db75a8d62e265edade7ca9b9f2513fb66f8917d
+DIST kibana-6.6.1-linux-x86_64.tar.gz 180675854 BLAKE2B 
7c911f6715f1bb526e09a47de55b10b197dd78bcd5c9a6e710890cd333d23c8556d8efb12d34b0c0cdf1e989bb456da8f79e54b1798c02ea57658d90fbb80f83
 SHA512 
df4547a0056b46d6351948e7f67439b5a7fe46c27f20c9cb7783046abea04d28aa85ba74751f54c7a1524dbca55ee9c9bfaec50be903f964dedc1ceeb5d823b0
 DIST kibana-oss-6.3.2-linux-x86_64.tar.gz 89561513 BLAKE2B 
37031653e171d683a18f25c957545b6b143c2f0d8c07da6c02ea61c8296657d190540f4ffee2c6a62a9146800971041d7e4e30767892ba2bbff0486aef31cda5
 SHA512 
87236fa1a45a5c5e0ecdc033f864e9a1f74cb148e350b83c6c024b37eb71e3c16236fe52525898532f286f816cb6d03de23cba3d97e0cc0c4d622cdd18c7defb
 DIST kibana-oss-6.4.3-linux-x86_64.tar.gz 76671516 BLAKE2B 
c3800f2c53af55139ce101ff13391fff2908fb0b9e45b46588f18a27653bf6492259a81e93b5c0f8e654696434efa510646cba5d5f6dba9ba2377451aaf9f259
 SHA512 
db55d5201675d1d71cbc511ffd4fb94332316eef8f06c2419d498b930e068030c625c18a0c2fec761cb0c066abc16ddf2c2d8a2fa59aaa3bc35ea1e289b8ae99
 DIST kibana-oss-6.5.4-linux-x86_64.tar.gz 77637829 BLAKE2B 
f9b6881c35ebcaf112634989337f40820b450cf2a070c32f02f4a7d4c122f0c4ff44f8feb56b0d8683e96a13f2ef6ee96e237dd27fd9c32efdb9c7dfde020fb8
 SHA512 
65c4ab427ae2a2486b71520893eeb78d8628bf3e6fd47c0d576ca4b6bfa8f9058ecf957ef488fd47260c8295ea49952e1b411d6a6c199f26d74e6a84cfcf7309
+DIST kibana-oss-6.6.1-linux-x86_64.tar.gz 59466869 BLAKE2B 
593563976b4d1c89b6042dbd1a945c6fc7ae2a8c3ea18d142d9e7e5f8307d72e7b358059316130880c64c6879e5df41d80005a1dad82d8a5ae223bf292bdf392
 SHA512 
1131ce7cab882166478be89426a8885fb53e2b1154100b6fa5dd0a431b1d9aa20df73c687159c18e1b9703e42f953fb10b3ab7fbfe634ed253331238249bf574

diff --git a/www-apps/kibana-bin/kibana-bin-6.6.1.ebuild 
b/www-apps/kibana-bin/kibana-bin-6.6.1.ebuild
new file mode 100644
index 00000000000..c48b1dd037d
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-6.6.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit 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-8.15.1"
+
+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
+
+       # handle node.js version with RDEPEND
+       sed -i /node_version_validator/d src/setup_node_env/index.js || 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 .
+
+       fperms -R +x /opt/${MY_PN}/bin
+
+       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."
+}

Reply via email to