From 62f67115b5c46134c34f88f4b1cbdacc19384c0a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 30 Sep 2018 11:19:18 +0100 Subject: gentoo resync : 30.09.2018 --- www-apps/kibana-bin/Manifest | 2 +- www-apps/kibana-bin/kibana-bin-6.4.0-r1.ebuild | 74 ++++++++++++++++++++++++++ www-apps/kibana-bin/kibana-bin-6.4.0.ebuild | 71 ------------------------ 3 files changed, 75 insertions(+), 72 deletions(-) create mode 100644 www-apps/kibana-bin/kibana-bin-6.4.0-r1.ebuild delete mode 100644 www-apps/kibana-bin/kibana-bin-6.4.0.ebuild (limited to 'www-apps/kibana-bin') diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest index 36ffc08cbc9b..008378952ded 100644 --- a/www-apps/kibana-bin/Manifest +++ b/www-apps/kibana-bin/Manifest @@ -9,5 +9,5 @@ DIST kibana-oss-6.3.2-linux-x86_64.tar.gz 89561513 BLAKE2B 37031653e171d683a18f2 DIST kibana-oss-6.4.0-linux-x86_64.tar.gz 75103937 BLAKE2B 6fa7b731a15f2fb2088740a59706bf4085b049cd880f63b10cdcc0cd9e3e7d197384731360c285adab2a6838454761f6fa95bddbc470b4895728f87b14b946ff SHA512 eec78bb1935fdc126f7c69ea08c0997abc74f435f5ca24aa6fa370ad201dd1ebe9ab1d177f64ec66652a3c9c0dd3f13a8fa7866697d3f201f8bc124c051ebeba EBUILD kibana-bin-5.6.10.ebuild 1612 BLAKE2B fba7f593b8a2bbed90cf316f4c7f118fb65204efb9be4ebd81480f0ddc0333648a6478bb4fe0d2c1bda61e7ed355f084647d55c62685852daab3c0182b1f7476 SHA512 eb15aae68dec70c34af29140039ec0e16ccc8721817df07ff191eb18ea81bd1d4872b37ade34b74ca5470847b158d90d81c4e0b123073c5bee89854ad41f3c76 EBUILD kibana-bin-6.3.2.ebuild 1892 BLAKE2B 29ed1dfb8f3b986e6b0d1cc2d2e5c1d87e903108963acd4ebac21f44252f8daa1c76165fe6bb49dfb1e079d47c8378d7285b9650170db4c2a03da01d371a79cd SHA512 8b269eab38464251f02d9e25882543d520efb2eadde3b0164977f808dfb5d70b943f995c573f00210e3367462cda985b034a0a6bf5d54bd0c48a5b5d8d126071 -EBUILD kibana-bin-6.4.0.ebuild 1882 BLAKE2B 1275be8817fc3a1fc6d039fb90e38f9e2bcffc65bc96a1de5296e63231a669f93df712b0e9a8de3f67d2ed85d9168d0966bd295bc4d7e4bb071cf54bc73b1b73 SHA512 de9a09a3c293382e9e9c97d9d38d33dcdb8e044407538d724369a43fa159d64acc792db1279252a403454ad3998752fefc6243a92f841ec740b775d1eea2646e +EBUILD kibana-bin-6.4.0-r1.ebuild 1986 BLAKE2B cafeb52102f2b0178d64ad4a00f2a8e5493639849f65b9849b1446a416aaa026458358d0a6ab3a9ffd25925a171d7fd83d6c598cc26cc738e5ae0958cb96bbfc SHA512 298c1a920a31d534562db1f1a2bc4ca5f3407c0e52a0979b204f203292cfe68e908506aa6bf4eeb8997b3743d7410963c074f9646fff161d1c1c61a107f2b944 MISC metadata.xml 538 BLAKE2B 649a05badea8d1116854565d09820a8ce623c733d9d0d1cbded145fdc0dfcac2478273d99f686119adab16126149ad4da8f6feb0c7be9499f5721f31a259ec34 SHA512 f0e65883a644eeb57f2d11d0871631142665e74bf8820431ac8333a1cf3e40a0b517b5cca747adba173c7eab20b70311b7bd8de6c4fb5cee4982e044189e5256 diff --git a/www-apps/kibana-bin/kibana-bin-6.4.0-r1.ebuild b/www-apps/kibana-bin/kibana-bin-6.4.0-r1.ebuild new file mode 100644 index 000000000000..fda8f3b78d71 --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-6.4.0-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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.11.4" + +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." +} diff --git a/www-apps/kibana-bin/kibana-bin-6.4.0.ebuild b/www-apps/kibana-bin/kibana-bin-6.4.0.ebuild deleted file mode 100644 index ad544d11f39b..000000000000 --- a/www-apps/kibana-bin/kibana-bin-6.4.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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" - -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." -} -- cgit v1.2.3