summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2019-03-04 11:52:04 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-03-04 16:54:09 +0100
commit6a39fada98fb5e2153b25366445698f02ee683f8 (patch)
treec8716e2c4e38d05b534b7a5b0bad4fb64ae680b2
parentapp-misc/elasticsearch: drop vulnerable (diff)
downloadgentoo-6a39fada98fb5e2153b25366445698f02ee683f8.tar.gz
gentoo-6a39fada98fb5e2153b25366445698f02ee683f8.tar.bz2
gentoo-6a39fada98fb5e2153b25366445698f02ee683f8.zip
www-apps/kibana-bin: bump to 5.6.15
Bug: https://bugs.gentoo.org/678948 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--www-apps/kibana-bin/Manifest1
-rw-r--r--www-apps/kibana-bin/kibana-bin-5.6.15.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index 9ac92b09058..899a742576b 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -1,4 +1,5 @@
DIST kibana-5.6.14-linux-x86_64.tar.gz 53261984 BLAKE2B ec81b6579f00a894ad19c048c54f690611f4f8e015ffdd2e600d207974ac1df31d89b4c242c638ce6b2295ab6cab83ddf78b7e77d802b9dd5037e0c8371db7f5 SHA512 64b12517a6177dde273aefb4d31602c074925e57c842b8c69367098f348a062f5c03c3eddf53ad4260bdebc6e56edfd78ced5e39d557fa03af181ec99c88bda8
+DIST kibana-5.6.15-linux-x86_64.tar.gz 53411172 BLAKE2B a5c961f14614f242e269375040f1f1f05cd510248bc4196409ed53fcf64edf26233268ba86ea8eb7332094504bf779076a12603c3be51efd0716d0f3637b110b SHA512 eede5afbd11bdc84f435567a5d48f53f1a72d6c94522597cb87c2cd295103b3a0ef0e7e43aa33f2731b91ef23f2ae6ccb3d6cbeb86cf3aa89317b61343f5fa8e
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
diff --git a/www-apps/kibana-bin/kibana-bin-5.6.15.ebuild b/www-apps/kibana-bin/kibana-bin-5.6.15.ebuild
new file mode 100644
index 00000000000..d27bc3b0781
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-5.6.15.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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="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-6.16.0"
+
+# Do not complain about CFLAGS etc since kibana does not use them.
+QA_FLAGS_IGNORED='.*'
+
+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 .
+
+ 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 6. Some plugins may fail with other versions of Node.js (Bug #656008)."
+ 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."
+}