diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/Manifest.gz | bin | 13451 -> 13456 bytes | |||
-rw-r--r-- | www-apps/kibana-bin/Manifest | 2 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-7.17.12.ebuild | 94 |
3 files changed, 96 insertions, 0 deletions
diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz Binary files differindex 5117b2e6fccf..55df5370589a 100644 --- a/www-apps/Manifest.gz +++ b/www-apps/Manifest.gz diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest index a16b8f3c3371..8d556a3b37fd 100644 --- a/www-apps/kibana-bin/Manifest +++ b/www-apps/kibana-bin/Manifest @@ -4,7 +4,9 @@ AUX kibana.initd-r1 1040 BLAKE2B 12fc93fcb8f79fc5013fab36eb74335a967f5573d7361db AUX kibana.logrotate 186 BLAKE2B e0446247e29b474dcab5756ac26f10fd8f46300e144386ff54a4e25fc1c2678ce0d21196b7365b01417cd0304a3f1edd6841800256e931bdc10f7d4e0f4ccd49 SHA512 1e0a51a83798e30b3807f496245b5733bc60a7bd1a529d2548a187ff8d3fa56d60bc23abf516d239ef76a8e9b66358ed84c687040a7b04c7818ea63417d33a1e AUX kibana.service 511 BLAKE2B 2b0786bfaf37c26e061973f38adea0a55ac1b8bf771395242c0ed3b53c6586099c121c286b23f0a3be67dc481a3e95c6f87486cd1601df997126d3cfd14435c1 SHA512 0b7754ebfa7e3538e64843436d8abe32a6ce38a9ab5e252e52657a99d97fa1801777db4502c1af5ec6082d83f0b3a0613e074f6ebe28624832bd0c258a478899 DIST kibana-7.17.10-linux-x86_64.tar.gz 269001610 BLAKE2B f4f4dc6c560167fae23031c7456122b50572dea4cace924b2cf462ab8e463966b7fa6a348b6308056763c454d1bac29b337d238805c096e6b7ad48f87831d6d9 SHA512 d3d5e8906e64ae3c469e4df80e1c692ce1912e36f68ddf36b99b7019faf34aebaa329061904a6d2b6a32486c6e19d1c5f2ea30c25479a7960ed93bc1c0cb1691 +DIST kibana-7.17.12-linux-x86_64.tar.gz 272588610 BLAKE2B 6751d40a043f532d7b5837aee1ff60446dbfc45530bf8b793b2b468f55d3646c85215ad678871a62d9872d6fd5822418354bf42ce589cdc3f2a0359b66c71117 SHA512 aa14345b5dfc53f449ff9aa979e5d82f65949177380b7318e6f6068de9cddceae8b52e2f0680f37581efcd12c9b367f13e3ac58bf35d00911942bd71fd23d196 DIST kibana-7.17.9-linux-x86_64.tar.gz 268769436 BLAKE2B 7c40aeaa407f879e364bf0b3472fb14794fc2e340545bc5099af1bdfad9d9977bf2ebdd4a30bd8e27e6ca7afc294b05486958176f6242a891c9f7676245fd0d0 SHA512 f0f9f65b6ba3cc401a519f764314854f6f1f22a9c3b55dfc5a4921455d64fc0d5b8352d267217076da82157553f235ab3d2506497132f23789b126205177e86b EBUILD kibana-bin-7.17.10.ebuild 2547 BLAKE2B 2d2edf632782aa29a0485c85edc09a8834265d20892b03eb822275f27076a73b86711639b8e37d9dd66a42a61ea79b6a27209a2de5afc0f5babbdabbf2b303c6 SHA512 cf614d97469e3c9875b95a459a0a7636ded5f4e5292f619500856c795a65065644032a0b6d42841df99b318830a3e3dcdb27b8b9e777a7db43b2d23895e8cbc2 +EBUILD kibana-bin-7.17.12.ebuild 2547 BLAKE2B 2d2edf632782aa29a0485c85edc09a8834265d20892b03eb822275f27076a73b86711639b8e37d9dd66a42a61ea79b6a27209a2de5afc0f5babbdabbf2b303c6 SHA512 cf614d97469e3c9875b95a459a0a7636ded5f4e5292f619500856c795a65065644032a0b6d42841df99b318830a3e3dcdb27b8b9e777a7db43b2d23895e8cbc2 EBUILD kibana-bin-7.17.9.ebuild 2547 BLAKE2B 2d2edf632782aa29a0485c85edc09a8834265d20892b03eb822275f27076a73b86711639b8e37d9dd66a42a61ea79b6a27209a2de5afc0f5babbdabbf2b303c6 SHA512 cf614d97469e3c9875b95a459a0a7636ded5f4e5292f619500856c795a65065644032a0b6d42841df99b318830a3e3dcdb27b8b9e777a7db43b2d23895e8cbc2 MISC metadata.xml 477 BLAKE2B 427185c252047ce2b2bbee8ddf2dbc9e59a6c701d3f0c6dec44158627d41f8266f8cedbba9b330c34bbc77335a5763598897fda097f6991a78f96ed9cce1f826 SHA512 6e158be025d255cf1a189bd02d4c9679aa96cc6b15985c321af0102498a760333fa82f4cc90aa3370820626c0d5478fb821eeef24c603d8dac82996447dc7c2c diff --git a/www-apps/kibana-bin/kibana-bin-7.17.12.ebuild b/www-apps/kibana-bin/kibana-bin-7.17.12.ebuild new file mode 100644 index 000000000000..819607376c5d --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-7.17.12.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +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 Elastic-2.0 icu ISC MIT MPL-2.0 OFL-1.1 openssl public-domain Unlicense WTFPL-2 ZLIB" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + acct-group/kibana + acct-user/kibana + dev-libs/expat + dev-libs/nspr + dev-libs/nss + >=net-libs/nodejs-16.13.0 + <net-libs/nodejs-18 + sys-libs/glibc +" + +# Do not complain about CFLAGS etc since we don't use them +QA_FLAGS_IGNORED='.*' +QA_PRESTRIPPED=" + opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/headless_shell + opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/swiftshader/libEGL.so + opt/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_x64/swiftshader/libGLESv2.so + opt/kibana/node_modules/re2/build/Release/re2.node +" + +S="${WORKDIR}/${MY_P}-linux-x86_64" + +src_prepare() { + default + + # remove unused directory + rm -r data || die + + # remove bundled nodejs + rm -r node || die + sed -i 's@\(^NODE="\).*@\1/usr/bin/node"@g' \ + bin/kibana || die + + # move plugins to /var/lib/kibana + rm -r plugins || die + + # handle node.js version with RDEPEND + sed -i /node_version_validator/d \ + src/setup_node_env/no_transpilation_dist.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-r1 ${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/lib/${MY_PN}/plugins + keepdir /var/log/${MY_PN} + + dosym ../../var/lib/kibana/plugins /opt/kibana/plugins +} + +pkg_postinst() { + elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and" + elog "Node.js 16. 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." +} |