public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/, www-apps/kibana-bin/files/
Date: Tue, 22 Dec 2015 15:12:29 +0000 (UTC)	[thread overview]
Message-ID: <1450797132.84050bc196fbc6b6c81a663ff581e4714ff8bf03.idella4@gentoo> (raw)

commit:     84050bc196fbc6b6c81a663ff581e4714ff8bf03
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Tue Dec 22 14:55:37 2015 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Tue Dec 22 15:12:12 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84050bc1

www-apps/kibana-bin: bump to 4.1.4, fixes bug #567934

Package-Manager: portage-2.2.26

 www-apps/kibana-bin/Manifest                       |  3 +-
 www-apps/kibana-bin/files/kibana.initd-r2          |  5 ++--
 ...na-bin-4.1.3.ebuild => kibana-bin-4.1.4.ebuild} | 34 ++++++++++++++++------
 3 files changed, 30 insertions(+), 12 deletions(-)

diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
index e495012..b3c77f2 100644
--- a/www-apps/kibana-bin/Manifest
+++ b/www-apps/kibana-bin/Manifest
@@ -1 +1,2 @@
-DIST kibana-4.1.3-linux-x64.tar.gz 11800636 SHA256 f2cb5389ad0acfbc4006f739d75d5ede541483d1fa6be728bbf547a9d7ddeb4a SHA512 81549c881ec222bcac73a0cf60766752591031ea8f3d28cce98ce06458376036f119353e7b820faef2cb42b23e5f6ef96cd98c1f256b3361513e71877082301c WHIRLPOOL 0d2272361a1b07984cfa7539d4d36e2465b87cdc046ae7cd6d2b6e5da69861feca0e74d9e0ad467d7f4cef9865b72c0bcc1a769bbc6458227fe590e1f99a21b1
+DIST kibana-4.1.4-linux-x64.tar.gz 11805519 SHA256 2d11c63268f49b95726bfa0f3c09cf898ea67b65da3599989d17a27095987b0d SHA512 a89290502d887002a65405e7e10de9ddefb176d262584f35ec58352a7ee9b5a88d0db2949d00eefee3752d1bccd4964f7d4f5935d5fb32c50a46e8b2e1f03a6c WHIRLPOOL 33eeda21ab98a04400d3b26bd10c9f9bbc813a8bf934897fc5dc0d354d25dd223caa60fa09613e3a0db74246d1482708620d23b18c6e740480973f77f769b99f
+DIST kibana-4.1.4-linux-x86.tar.gz 11595160 SHA256 e197ad2936488764b7167a9ea9989c26600fe3797d22c0e522244eef7eb6b809 SHA512 1651a31ee98315dea0cac83f0e80c45deabf0720e0c4b6b4e337512a1f23b8bd31e853f0b59e08cb53189c76369892ebc88dee5d796118aa659dbaa177698e13 WHIRLPOOL 4cd79f2b4bdf96d72626ad4ac992de9127095f3a96a09735a784e678fefc250f0cdbbb1776876afd9596fbe69e884133e2236f4ffe099e89fc159910048a06f4

diff --git a/www-apps/kibana-bin/files/kibana.initd-r2 b/www-apps/kibana-bin/files/kibana.initd-r2
index 85ec76f..d469ec4 100644
--- a/www-apps/kibana-bin/files/kibana.initd-r2
+++ b/www-apps/kibana-bin/files/kibana.initd-r2
@@ -3,14 +3,15 @@
 # Distributed under the terms of the GNU General Public License v2
 
 KIBANA_USER=${KIBANA_USER:-kibana}
+KIBANA_CONFIG=${KIBANA_CONFIG:-/etc/kibana/kibana.yml}
 
 command="/opt/kibana/bin/kibana"
-command_args="--elasticsearch ${ES_INSTANCE}"
+command_args="--elasticsearch ${ES_INSTANCE} --config ${KIBANA_CONFIG}"
 
 pidfile="/run/kibana.pid"
 command_background="true"
 start_stop_daemon_args="--user=\"${KIBANA_USER}\" --stdout /var/log/kibana/kibana.log --stderr /var/log/kibana/kibana.err"
 
 start_pre() {
-        checkpath -d -o "${KIBANA_USER}" -m750 "/var/log/kibana"
+	checkpath -d -o "${KIBANA_USER}" -m750 "/var/log/kibana"
 }

diff --git a/www-apps/kibana-bin/kibana-bin-4.1.3.ebuild b/www-apps/kibana-bin/kibana-bin-4.1.4.ebuild
similarity index 59%
rename from www-apps/kibana-bin/kibana-bin-4.1.3.ebuild
rename to www-apps/kibana-bin/kibana-bin-4.1.4.ebuild
index facd6af..a91ca43 100644
--- a/www-apps/kibana-bin/kibana-bin-4.1.3.ebuild
+++ b/www-apps/kibana-bin/kibana-bin-4.1.4.ebuild
@@ -1,38 +1,49 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Id$
 
 EAPI=5
 
-inherit user
+inherit pax-utils user
 
 MY_PN="kibana"
 MY_P=${MY_PN}-${PV/_rc/-rc}
 
 DESCRIPTION="Explore and visualize data"
 HOMEPAGE="https://www.elastic.co/products/kibana"
-SRC_URI="https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}-linux-x64.tar.gz"
+SRC_URI="amd64? ( https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}-linux-x64.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"
-
-DEPEND=""
-RDEPEND=""
+KEYWORDS="~amd64 ~x86"
 
 RESTRICT="strip"
 QA_PREBUILT="opt/kibana/node/bin/node"
 
-S="${WORKDIR}/${MY_P}-linux-x64"
-
 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-x64"
+	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
 
 	insinto /etc/logrotate.d
 	newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
@@ -41,9 +52,14 @@ src_install() {
 	newinitd "${FILESDIR}"/${MY_PN}.initd-r2 ${MY_PN}
 
 	mv * "${D}"/opt/${MY_PN}
+
+	# bug 567934
+	pax-mark m "${ED}/opt/${MY_PN}/node/bin/node"
 }
 
 pkg_postinst() {
+	elog "This version of Kibana is compatible with Elasticsearch 1.4.4 - 1.7."
+	elog
 	elog "Be sure to point ES_INSTANCE to your Elasticsearch instance"
 	elog "in /etc/conf.d/${MY_PN}."
 	elog


             reply	other threads:[~2015-12-22 15:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22 15:12 Ian Delaney [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-14  1:19 [gentoo-commits] repo/gentoo:master commit in: www-apps/kibana-bin/, www-apps/kibana-bin/files/ Sam James
2021-07-31 10:03 Joonas Niilola
2017-08-26  7:09 Patrice Clement
2017-06-27 12:44 Michael Palimaka
2015-12-22 15:12 Ian Delaney
2015-11-21  0:38 Ian Delaney
2015-10-15 14:51 Amy Winston

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450797132.84050bc196fbc6b6c81a663ff581e4714ff8bf03.idella4@gentoo \
    --to=idella4@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox