summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2018-01-29 09:51:48 +0100
committerMichał Górny <mgorny@gentoo.org>2018-01-31 23:01:34 +0100
commit9cac60a02fe532578b89bff3e7d29d276987c29f (patch)
treece72477e17583b00eb249350a57fda650de5bce9 /www-apps/kibana-bin
parentapp-admin/logstash-bin: drop old (diff)
downloadgentoo-9cac60a02fe532578b89bff3e7d29d276987c29f.tar.gz
gentoo-9cac60a02fe532578b89bff3e7d29d276987c29f.tar.bz2
gentoo-9cac60a02fe532578b89bff3e7d29d276987c29f.zip
www-apps/kibana-bin: bump to 5.6.6/6.1.2
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'www-apps/kibana-bin')
-rw-r--r--www-apps/kibana-bin/Manifest2
-rw-r--r--www-apps/kibana-bin/kibana-bin-5.6.6.ebuild62
-rw-r--r--www-apps/kibana-bin/kibana-bin-6.1.2.ebuild62
3 files changed, 126 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index c61ede427038..ca9d42d5c600 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -1,3 +1,5 @@
DIST kibana-5.6.5-linux-x86.tar.gz 51333652 BLAKE2B a30fb84cdeff0bcb422fdcb8f5b989991897e4f26612e91dac39c21808f674727c07da14c9d556b1c7b9c520ee62cc732b9d4f9ae2bdc76174a1d22b59932687 SHA512 cd17368ccb4da8c63c760c5284e72ec73a257a9f85cd5d7b246cda04edcfd464d2e813e319881d0c35b4b444155d5a1a4034b5cef47c8a8f2dc8a5a22274ed90
DIST kibana-5.6.5-linux-x86_64.tar.gz 51894267 BLAKE2B 7ab34b72868e195d35f8000a39383982fc9024543cf7f41f65365e87f858d9c994388e8ac10dd7481bf4737f5d515fd777af7e1029858f9251f0290f9e552b13 SHA512 96ff8c183877365cc444631d0dd29d231f8d732e835f1657ccca23ce461e94455915d4785ace79ef01e2b2277dcbba28869b18f4c29a5319ab8b59ce4a581d43
+DIST kibana-5.6.6-linux-x86_64.tar.gz 52322049 BLAKE2B 7c1b36b2231fe6b48977459475aa40badd255391b57dfe32294096514a08335267b7276c17744010dd66ad1497ba80358cc45e0862811c28c0229e0eacfa82e8 SHA512 75803ff81cb73a48e2071f6249ec90b863246ce04b668919f811e43b27614ccb571f220e4667fc0b505ed45f531d8487aed615752752889d498a2f77e06b2f28
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
diff --git a/www-apps/kibana-bin/kibana-bin-5.6.6.ebuild b/www-apps/kibana-bin/kibana-bin-5.6.6.ebuild
new file mode 100644
index 000000000000..8471d3d0b369
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-5.6.6.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user eapi7-ver
+
+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 -rv node || die
+}
+
+src_install() {
+ keepdir /var/log/${MY_PN}
+
+ insinto /etc/${MY_PN}
+ doins -r 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}
+
+ insinto /opt/${MY_PN}
+ doins -r .
+
+ chmod +x "${ED%/}"/opt/${MY_PN}/bin/* || die
+}
+
+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."
+}
diff --git a/www-apps/kibana-bin/kibana-bin-6.1.2.ebuild b/www-apps/kibana-bin/kibana-bin-6.1.2.ebuild
new file mode 100644
index 000000000000..8471d3d0b369
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-6.1.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user eapi7-ver
+
+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 -rv node || die
+}
+
+src_install() {
+ keepdir /var/log/${MY_PN}
+
+ insinto /etc/${MY_PN}
+ doins -r 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}
+
+ insinto /opt/${MY_PN}
+ doins -r .
+
+ chmod +x "${ED%/}"/opt/${MY_PN}/bin/* || die
+}
+
+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."
+}