diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-06-28 15:09:46 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-06-28 15:39:25 +0200 |
commit | 481c1c90bf02eb69bf1d08c026bd172755a7bcbf (patch) | |
tree | bca8469e351cc068206a73262fc1513b163f7c62 /www-apps | |
parent | app-emulation/docker: sync live ebuild (diff) | |
download | gentoo-481c1c90bf02eb69bf1d08c026bd172755a7bcbf.tar.gz gentoo-481c1c90bf02eb69bf1d08c026bd172755a7bcbf.tar.bz2 gentoo-481c1c90bf02eb69bf1d08c026bd172755a7bcbf.zip |
www-apps/grafana-bin: Bump to 3.1_beta
Package-Manager: portage-2.3.0
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/grafana-bin/Manifest | 1 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-3.1.0_beta1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index ada2638fac23..0302ba37625f 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1 +1,2 @@ DIST grafana-bin-3.0.4.tar.gz 40460699 SHA256 ec5581d055bb67abac3007457a30869bca263c151264011cf0c9ce086c5329df SHA512 eca12381e5aec14ba40e0821a3e46a169f789f7d7d00c89db2ef1d7db1a770a09906d144515cfac72d5b1bff72a18f9ad71316439ea33240ccefcd859752a916 WHIRLPOOL fa48e9f6b4792cc3f1d6123d624d4404a7283aee9dca8b59ce524fd02db6de9120607d0bb04eae052d56f0cd416e46b67a7cbb212cb64994b2d78e281ba88d5f +DIST grafana-bin-3.1.0_beta1.tar.gz 40611974 SHA256 46e22ddf361c862f8c867ab7e69bddeb39b6b143f052cca93bbfd237b89ad317 SHA512 42817c355347505281e0e7de976f5d995a204231c5ad0a20c0d5a59ae459c12c5bfc3a8390e473b34f5206a3bf73719cc30666b0acc229ac2aa1959cafdc1ce9 WHIRLPOOL f501cc193438c782e6376a4cf9c5bd141ba201775cce6348e2e74974fa48654f2f53433a837f02a55d1cd13a97963097936aae2b13730d3648c06667853c8cbb diff --git a/www-apps/grafana-bin/grafana-bin-3.1.0_beta1.ebuild b/www-apps/grafana-bin/grafana-bin-3.1.0_beta1.ebuild new file mode 100644 index 000000000000..0c1efcaf920b --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-3.1.0_beta1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit user +MY_PN=${PN/-bin/} +MY_PV="3.1.0-1466666977beta1" +S=${WORKDIR}/${MY_PN}-${MY_PV} + +DESCRIPTION="Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB" +HOMEPAGE="http://grafana.org" +SRC_URI="https://grafanarel.s3.amazonaws.com/builds/${MY_PN}-${MY_PV}.linux-x64.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + >=dev-lang/go-1.5 + net-libs/nodejs +" + +pkg_setup() { + enewgroup grafana + enewuser grafana -1 -1 /usr/share/grafana grafana +} + +src_install() { + keepdir /etc/grafana + insinto /etc/grafana + newins "${S}"/conf/sample.ini grafana.ini + rm "${S}"/conf/sample.ini + + # Frontend assets + insinto /usr/share/${MY_PN} + doins -r public conf vendor + + dobin bin/grafana-cli + dobin bin/grafana-server + + newconfd "${FILESDIR}"/grafana.confd grafana + newinitd "${FILESDIR}"/grafana.initd grafana + + keepdir /var/{lib,log}/grafana + fowners grafana:grafana /var/{lib,log}/grafana + fperms 0750 /var/{lib,log}/grafana +} |