diff options
author | Ferenc Erki <erkiferenc@gmail.com> | 2020-04-23 11:25:55 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-04-26 16:36:44 +0300 |
commit | 4a61c4cce53ab7152fe798d189bf6ca1b62874d8 (patch) | |
tree | abdfff70c994bc1ad3afd46f14e12d43e6e7fdbd /www-apps | |
parent | app-arch/rpm2targz: fix prefix installation (diff) | |
download | gentoo-4a61c4cce53ab7152fe798d189bf6ca1b62874d8.tar.gz gentoo-4a61c4cce53ab7152fe798d189bf6ca1b62874d8.tar.bz2 gentoo-4a61c4cce53ab7152fe798d189bf6ca1b62874d8.zip |
www-apps/kibana-bin: bump version to 7.6.2
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ferenc Erki <erkiferenc@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/kibana-bin/Manifest | 2 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-7.6.2.ebuild | 90 |
2 files changed, 92 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest index a4883bc3d9a6..9aac72665bd0 100644 --- a/www-apps/kibana-bin/Manifest +++ b/www-apps/kibana-bin/Manifest @@ -6,6 +6,7 @@ DIST kibana-7.3.2-linux-x86_64.tar.gz 236654252 BLAKE2B 0e851e372e628d72670f1615 DIST kibana-7.4.1-linux-x86_64.tar.gz 252517864 BLAKE2B 18337665a86d54cedda2f3a6e03294d69a8fe25a445ec07b2df838872fd66cc96d095d0b1d496426c7e4ae3c6dec8ff2b4f78ec98225c64192aeac779d9e907c SHA512 9fbb5b754cd94599ab50c794df7b8337c8fa9f11ba810e3edf1cd12c60de40f91dbf4dbbc7178b35495b67a588a9fbec4333ab73df41deaab8bc1d907565ac14 DIST kibana-7.5.2-linux-x86_64.tar.gz 238726293 BLAKE2B 845a6df316c1fb03b70bdb01572167ca430990e13fa10a85db55f5708fb201cd32ddc37057f1ea6706c193d47c8268cfb3d922f6202f1c3ae3a4271ca654f2b4 SHA512 7717eabe15a2ccd50cdc2acce592fc60af303516af2337145ab59be901d781e6545503a969ff7147e71e7189404ecbc870898daa92292e42002390f65e7cae41 DIST kibana-7.6.1-linux-x86_64.tar.gz 249498863 BLAKE2B ec2011e601dda84f8f6de63e89d73e6c9ef0da645218845fd0215084c2daf6c26312bc553c894b7bfcbe9b795208b43db7e40a6a10174dcb4e8168dd921a4232 SHA512 9739e9521f699dcade3c3ae548fe1b9325de0d94856b7c1ff1426bd58a70db8eb7d25b128d8b8ade68f9797b873c827263ea7678aba48eb384394302606db688 +DIST kibana-7.6.2-linux-x86_64.tar.gz 249555386 BLAKE2B e3db49bbf87de5c20dd8ae91a3835d27d10bcfa914b6cf6501eeddb229f896cdfbd78fa712c0ed63498a80a87ae48b0d2bac4218d8e1328c4c228f61e4c9b5d4 SHA512 5a7187f7fd1af3d4009053b904948fca08e171ea5eea36f8120019721d84b1649bdaf1bc606577ebad179bd4d24b014a1733c8221f67b1b7da2c756c68819311 DIST kibana-oss-6.7.1-linux-x86_64.tar.gz 62807564 BLAKE2B 8fec550769f4a2a88a4fab72b0ecb49d81d25d2f13d365cfefce2f70ed5c088a72f750a0b5807d729621a78c7fe393a5f9875012b6559aa82bb049083eaff5bf SHA512 309c25a16d535b1c5f0853ea89b7b69b61e3472afdabdd6f60a86fabba4c76c034b620cbe3d7f988cc78d21e5ed058b4f97e4995d868876a55fcc30769822882 DIST kibana-oss-6.8.4-linux-x86_64.tar.gz 65407401 BLAKE2B a58bb44227a861c83342168b189cb133be93976a8f89ad7d29b0684d47621d6b4fe561a503abb896fb4d9325cbdf1a05bdc7da7063c4cadb62859563a4ff1398 SHA512 7d751eef44d669b8a989079a15e987535d6185f04ec8929c63cd2374aba9bd86a4f2301f13ee26308c769096b78f409b99b925f6125cef8f598dd7ffd587eedc DIST kibana-oss-7.2.0-linux-x86_64.tar.gz 82672623 BLAKE2B 770e35f8025fb65513e51cb6a582dfe456e348efc7493c3710f2fa8ee49207392494aa437d7fe2d7115e5f607926e185264b6f92dacdc202331aab3d8ab10254 SHA512 ea735ecd18fc4441f29adcd7fd5a08a61e8bf1e82170219f598edf4a7726a11166e16b36f125edbfecafb6ed2c7cf003880d428960765861868e22cf55542e6b @@ -13,3 +14,4 @@ DIST kibana-oss-7.3.2-linux-x86_64.tar.gz 87456219 BLAKE2B acfc04f9b4afc582d7959 DIST kibana-oss-7.4.1-linux-x86_64.tar.gz 84250969 BLAKE2B 3975a3a4f3ccdbf360316e225d86a08cd90736660ffd7b149d16da59080e6c54ad9aadfb77ff5d6695b5133e865318df69575ce9f8a0a39cf8d98c83da83f9b5 SHA512 fd439967b50fd43cd0bb065b8d9eaf1591baa158317c06e200b50511a92cfaf4ccbadb708b5585b8f7ce14fd1982e4d20cf49546829d67880435a5e694e8dc9e DIST kibana-oss-7.5.2-linux-x86_64.tar.gz 84048258 BLAKE2B bbe82c125e530c28f531bd1d94eae106bc0622dea252eb77cbe7d4d4107098fbd0296f61ee3f6866567681a650c94bcd533e1465a92590798750f887d88bcd40 SHA512 cbab66b5dbede14566143ba2e4e51c9ae1f59355c1d0899a8f61e70e81415e3d284d205a98b7b7d27b829a89003902c3eb5ef4c0bf65278ceabfa34fc97ed8c4 DIST kibana-oss-7.6.1-linux-x86_64.tar.gz 102240842 BLAKE2B a3a7ded76f06b2e3a1ef0e758770e82def85bad97fc7371cd1e8b2f38fb6c53b08d90ac3d93844783744e49ba17770bf0c2cda0c5dbcf8b6dbfbd35a11830b50 SHA512 13360740f0b0f4ee399d2b919e982c6004f31e412b488aaeb916bd9d6f36737d860ac5d6c0e0972926ed32010d7496d0ab8f815e2784be13048d10e681408f42 +DIST kibana-oss-7.6.2-linux-x86_64.tar.gz 102252121 BLAKE2B f0b6571733b7eb5379491b8a27ee3b0ab49c643c73fd9ba53b0446f70deb059f788abf789037b9988ff398013c46653570c5ed3e539e76dd424b3ea624280e1c SHA512 639119273e0184640cf25513dd29633939c4bdc173e6577d377d60503db68989980fe09829fad8ba0862695dd7f79fd7dbd0102c3c2f9eb5e762071579a3d424 diff --git a/www-apps/kibana-bin/kibana-bin-7.6.2.ebuild b/www-apps/kibana-bin/kibana-bin-7.6.2.ebuild new file mode 100644 index 000000000000..0c312d1ff10f --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-7.6.2.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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="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=" + acct-group/kibana + acct-user/kibana + >=net-libs/nodejs-10.15.2 + x-pack? ( + dev-libs/expat + dev-libs/nss + )" + +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 optimize/plugins to /var/lib/kibana + rm -r optimize plugins || 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/lib/${MY_PN}/optimize + keepdir /var/lib/${MY_PN}/plugins + keepdir /var/log/${MY_PN} + + dosym ../../var/lib/kibana/optimize /opt/kibana/optimize # Bug 667214 + dosym ../../var/lib/kibana/plugins /opt/kibana/plugins +} + +pkg_postinst() { + ewarn "Kibana optimize/plugins directories were moved to /var/lib/kibana." + ewarn "In case of startup failures (FATAL Error: Cannot find module...)," + ewarn "please remove the optimize directory content:" + ewarn "rm -r /var/lib/kibana/optimize/*" + elog "This version of Kibana is compatible with Elasticsearch $(ver_cut 1-2) and" + elog "Node.js 10. 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." +} |