diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-03-20 08:55:27 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-03-20 08:55:27 +0000 |
commit | 29465016e72b9b8132955088077acf7b6fada09e (patch) | |
tree | 4bf4abd87f3fa27e550ad956a4a51131f1d3684d | |
parent | bump; add ~arm64 based on addition to 2.5.2 by dlan (diff) | |
download | gentoo-2-29465016e72b9b8132955088077acf7b6fada09e.tar.gz gentoo-2-29465016e72b9b8132955088077acf7b6fada09e.tar.bz2 gentoo-2-29465016e72b9b8132955088077acf7b6fada09e.zip |
binary package for the purpose of bringing ELK to Gentoo; written by T. Mozes and runtested in a production env.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
-rw-r--r-- | www-apps/kibana-bin/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/kibana-bin/Manifest | 4 | ||||
-rw-r--r-- | www-apps/kibana-bin/files/kibana.initd | 39 | ||||
-rw-r--r-- | www-apps/kibana-bin/kibana-bin-4.0.1.ebuild | 39 | ||||
-rw-r--r-- | www-apps/kibana-bin/metadata.xml | 12 |
5 files changed, 104 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/ChangeLog b/www-apps/kibana-bin/ChangeLog new file mode 100644 index 000000000000..2b1c1a3cbfa2 --- /dev/null +++ b/www-apps/kibana-bin/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2015/03/20 08:55:27 idella4 Exp $ + +*kibana-bin-4.0.1 (20 Mar 2015) + + 20 Mar 2015; Ian Delaney <idella4@gentoo.org> +files/kibana.initd, + +kibana-bin-4.0.1.ebuild, +metadata.xml: + binary package for the purpose of bringing ELK to Gentoo; written by T. Mozes + and runtested in a production env. diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest new file mode 100644 index 000000000000..9bca4e30eaee --- /dev/null +++ b/www-apps/kibana-bin/Manifest @@ -0,0 +1,4 @@ +AUX kibana.initd 698 SHA256 41e45ef5eec82507a4985e5ff1a5ed03437b1df4142a244eea8d525d5666b983 SHA512 5e6072395ac7114eaae1504509daf87dff6249d2766f2ec477a3f0d9c6135a83f9777273c261ba37daf1520311b865c0ef95da76dc3e75942b297d317b05daa6 WHIRLPOOL a63998a12697b55725ff1215984c7857a3370a9d0bec32f6e78ea881410ad325ce92492f5f1e04601d9e681343f573c1bafb9426e19dbd0d5e18fd91bc75e769 +DIST kibana-4.0.1-linux-x64.tar.gz 13625479 SHA256 7d3cbe26267b921487c0ad845fad26d4fbad9f0b296eb55997f0987987468a3f SHA512 4e62aff88d947a32ec6d435a5e01479e2fe7e97e5ddf06808bdaeeb3396edc63c2f79043b6b27d565063ec435df05257620364a1c8467796c0ddb350b9eecde6 WHIRLPOOL da11a1f6b9602bb99240ec517fa80480cb24df1f07cc12e443d6ee48b2ddec00cbf4b0b009696c803f1d0283a6bf1304642eeed7cc943caef459767e93661d6e +EBUILD kibana-bin-4.0.1.ebuild 795 SHA256 c357a17d5cc514eb102ffabb7bbd1cad12f96e3ee6642657b522fa4c92d080fe SHA512 9abb6247b995434b6b079fee5c223f115d60c32e0133ad3acc8169de784609fef4af200fdf35d80177e142aca307da7d9477e15202ee2871f283b6f6aec05965 WHIRLPOOL 7c34a8fc9160f2ae52d020571bad70d28d0676ced120025ed1e259fc8c1c216b2f4267b0aaaefc8d51a25f8f64fb7e8e859a65beec0008c588ac58ef6ab86f58 +MISC metadata.xml 428 SHA256 b5ed3fa71bfd6230fc6e7639ddfb57c62f2c61fbd06097b6d1784f1137fdec08 SHA512 e3d4bb9f76b8b27139d1fad084d975dbf7ab2937a9fd72a5d98cf3dcf4b010e1099dfb9bbfe5cce922c8bbc48fe5d4cabdbad9f961fcd1bf2e9743803fab7389 WHIRLPOOL 2153c6fc176cdf431de70c26be69abab7ad1d6b0b032727624540dd8e586ec2e7ff557bf97edfbd44e635a26bc290147cb037433009110100d1c0166629b2a2c diff --git a/www-apps/kibana-bin/files/kibana.initd b/www-apps/kibana-bin/files/kibana.initd new file mode 100644 index 000000000000..6de46c58c579 --- /dev/null +++ b/www-apps/kibana-bin/files/kibana.initd @@ -0,0 +1,39 @@ +#!/sbin/runscript +# 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/files/kibana.initd,v 1.1 2015/03/20 08:55:27 idella4 Exp $ + +command="/opt/kibana/bin/kibana" +pidfile="/run/kibana.pid" +KIBANA_USER=${KIBANA_USER:="kibana"} + +depend() { + need elasticsearch +} + +start() { + ebegin "Starting ${SVCNAME}" + + checkpath -d -o "${KIBANA_USER}" -m750 "/var/log/kibana" + + start-stop-daemon --start \ + --user $KIBANA_USER \ + --background \ + --make-pidfile \ + --pidfile $pidfile \ + --stdout /var/log/kibana/kibana.log \ + --stderr /var/log/kibana/kibana.err \ + --exec $command + + eend $? +} + +stop() { + ebegin "Stopping ${SVCNAME}" + + start-stop-daemon --stop \ + --pidfile $pidfile + + + eend $? +} diff --git a/www-apps/kibana-bin/kibana-bin-4.0.1.ebuild b/www-apps/kibana-bin/kibana-bin-4.0.1.ebuild new file mode 100644 index 000000000000..6bb46cbc0ed1 --- /dev/null +++ b/www-apps/kibana-bin/kibana-bin-4.0.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.0.1.ebuild,v 1.1 2015/03/20 08:55:27 idella4 Exp $ + +EAPI=5 + +inherit user + +MY_PN="kibana" +MY_P=${MY_PN}-${PV/_rc/-rc} + +DESCRIPTION="visualize logs and time-stamped data" +HOMEPAGE="http://www.elasticsearch.org/overview/kibana/" +SRC_URI="https://download.elasticsearch.org/${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 "${MY_PN}" + + mv * "${D}/opt/${MY_PN}" +} diff --git a/www-apps/kibana-bin/metadata.xml b/www-apps/kibana-bin/metadata.xml new file mode 100644 index 000000000000..cf1b4281a444 --- /dev/null +++ b/www-apps/kibana-bin/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>idella4@gentoo.org</email> + </maintainer> + <maintainer> + <email>hydrapolic@gmail.com</email> + <name>Tomas Mozes</name> + <description>Proxy maintainer</description> + </maintainer> +</pkgmetadata> |