diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-07-02 11:14:10 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-07-02 11:14:10 +0000 |
commit | ee12e5931c2f0243da4bbde622a5231f78caec70 (patch) | |
tree | 7fd54408650bc8a1ad7a48d7889010ce7e8a39d2 /www-apps | |
parent | Remove gpe-{base,utils} mask. (diff) | |
download | gentoo-2-ee12e5931c2f0243da4bbde622a5231f78caec70.tar.gz gentoo-2-ee12e5931c2f0243da4bbde622a5231f78caec70.tar.bz2 gentoo-2-ee12e5931c2f0243da4bbde622a5231f78caec70.zip |
bump; New HOMEPAGE, SRC_URI & init script
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/kibana-bin/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/kibana-bin/files/kibana.initd-r1 | 18 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-4.1.1.ebuild | 39 |
3 files changed, 64 insertions, 1 deletions
diff --git a/www-apps/kibana-bin/ChangeLog b/www-apps/kibana-bin/ChangeLog index a15d22e9a494..ac13ce119131 100644 --- a/www-apps/kibana-bin/ChangeLog +++ b/www-apps/kibana-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/kibana-bin # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/kibana-bin/ChangeLog,v 1.3 2015/06/22 08:26:35 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/kibana-bin/ChangeLog,v 1.4 2015/07/02 11:14:10 idella4 Exp $ + +*kibana-bin-4.1.1 (02 Jul 2015) + + 02 Jul 2015; Ian Delaney <idella4@gentoo.org> +files/kibana.initd-r1, + +kibana-bin-4.1.1.ebuild: + bump; New HOMEPAGE, SRC_URI & init script *kibana-bin-4.0.3 (22 Jun 2015) diff --git a/www-apps/kibana-bin/files/kibana.initd-r1 b/www-apps/kibana-bin/files/kibana.initd-r1 new file mode 100644 index 000000000000..3fdcec648c8e --- /dev/null +++ b/www-apps/kibana-bin/files/kibana.initd-r1 @@ -0,0 +1,18 @@ +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +KIBANA_USER=${KIBANA_USER:-kibana} + +command="/opt/kibana/bin/kibana" +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" + +depend() { + need elasticsearch +} + +start_pre() { + checkpath -d -o "${KIBANA_USER}" -m750 "/var/log/kibana" +} diff --git a/www-apps/kibana-bin/kibana-bin-4.1.1.ebuild b/www-apps/kibana-bin/kibana-bin-4.1.1.ebuild new file mode 100644 index 000000000000..d0183ceb1607 --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-4.1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/kibana-bin/kibana-bin-4.1.1.ebuild,v 1.1 2015/07/02 11:14:10 idella4 Exp $ + +EAPI=5 + +inherit user + +MY_PN="kibana" +MY_P=${MY_PN}-${PV/_rc/-rc} + +DESCRIPTION="visualize logs and time-stamped data" +HOMEPAGE="https://www.elastic.co/products/kibana" +SRC_URI="https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}-linux-x64.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=app-misc/elasticsearch-1.4.4" + +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_install() { + keepdir /opt/${MY_PN} + keepdir /var/log/${MY_PN} + + newinitd "${FILESDIR}"/kibana.initd-r1 "${MY_PN}" + + mv * "${D}/opt/${MY_PN}" +} |