diff options
author | Tomas Mozes <hydrapolic@gmail.com> | 2017-05-23 14:48:40 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-23 21:57:50 +0200 |
commit | c7949770246e2e97a0c8699e1955a74e71792997 (patch) | |
tree | e246e512301dfddfbc3e82f134281ab80dbfbdd4 /www-apps | |
parent | app-misc/elasticsearch: bump to 5.4.0 (diff) | |
download | gentoo-c7949770246e2e97a0c8699e1955a74e71792997.tar.gz gentoo-c7949770246e2e97a0c8699e1955a74e71792997.tar.bz2 gentoo-c7949770246e2e97a0c8699e1955a74e71792997.zip |
www-apps/kibana-bin: bump to 5.4.0
Closes: https://github.com/gentoo/gentoo/pull/4730
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/kibana-bin/Manifest | 2 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-5.4.0.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest index 7934a6b6d6c5..0439ae8e6a7d 100644 --- a/www-apps/kibana-bin/Manifest +++ b/www-apps/kibana-bin/Manifest @@ -6,3 +6,5 @@ DIST kibana-5.2.2-linux-x86.tar.gz 38297223 SHA256 de0421728aca00e9d4114b45ad551 DIST kibana-5.2.2-linux-x86_64.tar.gz 38853061 SHA256 9c7c526ce286da7f63aed9fb9f9d752ec182ff16bf374c55e55e5a0536a33563 SHA512 15e3c7919e24f0161b734e80513747655d7dad9996c26c07f96a4b4fe8408cae310f01b518d0555d8bbfc883604b3c95a0e4323fdb0c675d5e0ea384c2e7755c WHIRLPOOL d7e3e1cbf037eba0ff76b088eafd377a54d2f0962b416f6f85790bf781c9206026c5bb34dbe80ac8601bce7ed8274eec02667f95458057dcb8fda1de685405ed DIST kibana-5.3.2-linux-x86.tar.gz 38184703 SHA256 312aec766105a5638459bf2e6a2c3abc841dc7fc7cf0f18308e67dc15bde8fc2 SHA512 d9c81e9cea11eb5417fc9af19a1de8c7add4684dc904f670df509ebbbabbe82d0d7aa9790dd20017020707d32cbd7324a098bd9c2b492f850e4b382557298590 WHIRLPOOL 218f70607e7ac2c524a658b2b37fb3cfab11ca42414fd065eb4ee9f45a13453e5f3d272ecf5cb7370b6b886f60dc1c602d7682b299b388b5f77d5fe916fffed9 DIST kibana-5.3.2-linux-x86_64.tar.gz 38743345 SHA256 3c0a548dd38bc1a6ba700b161ce059e0144d27f4000856bd5d577a3bd3200518 SHA512 db22a1cb2f42fb9751f08c5acb26b6af7b317e3ecd6832f2191d536d316d621a4b8efa63b1dd82372cccf52c67d0adf7a85bf1afe232317dae3a3878d11334bb WHIRLPOOL 1c4d047720a4edc30a22c5619091cd470e4ab6cbb1b914b321062f57f59bb875e44ad345dbff11ada29824fb901a6678fddd7b144fa8193dc67e9d4028a758a6 +DIST kibana-5.4.0-linux-x86.tar.gz 53217191 SHA256 fbeda3f125cd95cc914c1eb49f65313eb55ce65c9300f231f2d050f4c6bbb65f SHA512 dfa5c57e7e3956fa1ef763af0f397540473dd867d811aa99bbb79b07bc6ed3bb372def3d3cdde9cd1e85cdb3823178eb5abbd485131fe3336dd0d4edd2ee364f WHIRLPOOL 5ce6abcc45aaaff78445564cd163aa5afc436c7f8c42c4542dad0dec3c3a9db8c2acd991827d066adbcfb1291ab3eecb1755ed6cdcdc98b853f66605426c9a25 +DIST kibana-5.4.0-linux-x86_64.tar.gz 53788694 SHA256 58838dcb5b3195455e1eb05926fed27d882a3476370facfc35d39d837940b1bc SHA512 aeccd25adb0023faeb8f6d383dfbd81f7615616c12b8cd2f5a3a6837b87d4963f27003a2b59cc15a0f5477cd44baaed2f6e553c2589725a6a86415bea318198c WHIRLPOOL aa9ec5219c4ab5adf51574ee0876574534fdde03ebe8bfc5db94e9b3417e3870c6e5b9f003e1f947bf0259f2a62bd3018beb9334d1b4e8ab2595ac326db1b88e diff --git a/www-apps/kibana-bin/kibana-bin-5.4.0.ebuild b/www-apps/kibana-bin/kibana-bin-5.4.0.ebuild new file mode 100644 index 000000000000..bdc63152e458 --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-5.4.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit pax-utils user + +MY_PN="${PN%-bin}" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Explore and visualize data" +HOMEPAGE="https://www.elastic.co/products/kibana" +SRC_URI="amd64? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz ) + x86? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86.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 ~x86" + +RESTRICT="strip" +QA_PREBUILT="opt/kibana/node/bin/node" + +pkg_setup() { + enewgroup ${MY_PN} + enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN} +} + +src_unpack() { + if use amd64; then + S="${WORKDIR}/${MY_P}-linux-x86_64" + elif use x86; then + S="${WORKDIR}/${MY_P}-linux-x86" + fi + + default +} + +src_install() { + keepdir /opt/${MY_PN} + keepdir /var/log/${MY_PN} + keepdir /etc/${MY_PN} + + insinto /etc/${MY_PN} + doins config/* + rm -rf 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-r5 ${MY_PN} + + mv * "${ED%/}"/opt/${MY_PN} || die + + # bug 567934 + pax-mark m "${ED%/}/opt/${MY_PN}/node/bin/node" +} + +pkg_postinst() { + elog "This version of Kibana is compatible with Elasticsearch 5.4" + 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." +} |