diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2017-01-15 06:06:38 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-01-17 23:58:30 +0100 |
commit | c98a81398687f4ba0d9e900533d6d021e802e6f5 (patch) | |
tree | 7e428a76834b9ea1ac61c6b3abe12bd007efe1c8 | |
parent | app-misc/mosquitto-1.4.10: keyword for ~arm. (diff) | |
download | gentoo-c98a81398687f4ba0d9e900533d6d021e802e6f5.tar.gz gentoo-c98a81398687f4ba0d9e900533d6d021e802e6f5.tar.bz2 gentoo-c98a81398687f4ba0d9e900533d6d021e802e6f5.zip |
www-apps/kibana-bin: version bump to 4.6.4/5.1.2.
Gentoo-Bug: https://bugs.gentoo.org/605808
Closes: https://github.com/gentoo/gentoo/pull/3484
-rw-r--r-- | www-apps/kibana-bin/Manifest | 4 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-4.6.4.ebuild | 67 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-5.1.2.ebuild | 67 |
3 files changed, 138 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest index 07969aef10b7..4c0af2be1b41 100644 --- a/www-apps/kibana-bin/Manifest +++ b/www-apps/kibana-bin/Manifest @@ -1,4 +1,8 @@ DIST kibana-4.6.3-linux-x86.tar.gz 33610389 SHA256 942550e1f74fd491c7e42d056ab9165bbd86aaa53385b5b1cba07171aaea5b59 SHA512 aaad8306c12624ebf080d248b6ab7c002543ba2db8c035ba0168e84fe20dc7af92d22c64ca3a0a1e5ff087f492da9208dd388175cb5fafed84d1dedc56334aa9 WHIRLPOOL 960b5d41f084142dac18d78a57f6ef486532fc4cfc781568a8816a845d28b67d01c9df11679087ecd97a68a2968af06556e051d769cc03a29c6a951e5e58c031 DIST kibana-4.6.3-linux-x86_64.tar.gz 34135857 SHA256 483d49d7d03052f4885c88d905b602f3fa432cb12e2c2cbdab82bb0d259d00c7 SHA512 5e3b5abc81637fcfc8d1b0318bede20432f6b9ddc70c7e2ce2a61b36c983e0fbf1667f0939481ffe542e3000239a84568684c398edcabae1658ebf09b1314b39 WHIRLPOOL f3930869e8148647fe1c1cd053cdc6ef0787cd01d473972f6da9f34ac516fe96aa4d2907ac7491c62df186f2a938907eef320bf97a3ca3450bdf9c3f9c12bbf6 +DIST kibana-4.6.4-linux-x86.tar.gz 35102428 SHA256 4c221ff74ae85218df86b0049154d5470217e1491292ed830f749046f76b3ab7 SHA512 e171c4fbb22db6ba615dc9a33090c4246bf09781c0f3be9d946a3e74ad6ccc98fc60af25848bb687caa8d0eaa604e2839c57d38b8f5f0f13bd0d9c0beb947ca7 WHIRLPOOL 1c6a418d18d84b9960676aa34cb98e8300ae4b214eaedf193d9ab3da56881eaf09d866599b2b8c6d89d4ded4043418785e3c97a665d5d5c7e4b255b55a2bffff +DIST kibana-4.6.4-linux-x86_64.tar.gz 35651364 SHA256 05699ab7810d1291d555b429081e0299575270e0eb06491af44ba76b355acead SHA512 9006adebbb2c6980bbe3dc1cb9e21a2657dfced9e5b07b5176782ecda0a8c687478c06a9ba353c54720efb690f54626797628ebe35366a0ffd07c5f71bb8bc84 WHIRLPOOL a8411bcd56bf8704089ebc30a06ce5f4386c1a4146f00be49e6c34981402daf3ba0c56b91a1c05b4ad81e2d3181a9106e39066cb233d8456a1fa3fe4c36860c5 DIST kibana-5.1.1-linux-x86.tar.gz 38350169 SHA256 59ea9ceefbcc55c3283a8da5cfee72c865162a1bff70d128c04ca63f7f80ea8c SHA512 fac89049e30450f2876dfa544d9571b6fbe9230083b074f3d4348824d1fb05fec67782c67522ef5ac9479ebab417b37e3d4d0178d048d7e8c60825b205922e5e WHIRLPOOL dfb8c97052f9f5b6cc126d57261b5418690257583e62b97a9e9f222172cf58828f61213dba9db44ad2726fbdea228386edd7756b4f08254266847ec7b5c6e00d DIST kibana-5.1.1-linux-x86_64.tar.gz 38909731 SHA256 da0383be8a12936c7d2a0a145e7bf0eb15abf972e585e0115ed8742032c79245 SHA512 6dd86aa15c563060ba52d87d68258e694c552826ec8a74578c19d0c9bcdfe1e6107f39e756af771495a88ba0ebda994f3e5b45e0afb07e6cbeb80e6d8ed685ea WHIRLPOOL 3b76c3280173ce6c203adb243d07d3df42cdeae6dc177169e4aa205fdd82bbc6e1605322ac2087c42b5b069158fd70a7a9822380f02515a2de41c9990bda5059 +DIST kibana-5.1.2-linux-x86.tar.gz 38506277 SHA256 e612e0669de687d20ac9896c4cb7a1d7a2bdcb7205af531188013044d659ab90 SHA512 f8d80f3c8d9643dcbf5abb8035dbde15b48f099a1bba9a9d7b18c9894f4d9cb427bc5b850d4005182cde127f9967b2d2786964518637c5312e00020e0fe8e68e WHIRLPOOL abf990db0cf0fd50f6f4d4ea1a56703d955b603b0c80b61860800886546fadd1d79fe402cfa31aa414169290f623c1877e1826c3c4dccaad230657360289d785 +DIST kibana-5.1.2-linux-x86_64.tar.gz 39069457 SHA256 c2e30b9581e7222e8f2536d4b08087dc282a6b31a24ec0e43b905507fe2f2b04 SHA512 d1bebb18d1b3af49b7306f6192ba46bf2485b2eb9a6ddbe9028b5dec921104fbd22ab44d028a9d8ca16730d8f8f7533abb79561b420620859a32edda07369b01 WHIRLPOOL cecadd767316d1404bf60afd57dcb52da289197d173bffd5e320daa4a31c43624ff3ca4f75569916ec960beb2e5a4626159c5eaa26846060331e2bff879b3439 diff --git a/www-apps/kibana-bin/kibana-bin-4.6.4.ebuild b/www-apps/kibana-bin/kibana-bin-4.6.4.ebuild new file mode 100644 index 000000000000..f9e7e9ec44aa --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-4.6.4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}-linux-x86_64.tar.gz ) + x86? ( https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}-linux-x86.tar.gz )" + +LICENSE="Apache-2.0" +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-r3 ${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 2.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." +} diff --git a/www-apps/kibana-bin/kibana-bin-5.1.2.ebuild b/www-apps/kibana-bin/kibana-bin-5.1.2.ebuild new file mode 100644 index 000000000000..30ebbefcaab8 --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-5.1.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 )" + +LICENSE="Apache-2.0" +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-r4 ${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.1" + 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." +} |