diff options
author | Tobias Klausmann <klausman@gentoo.org> | 2016-11-18 11:59:22 +0100 |
---|---|---|
committer | Tobias Klausmann <klausman@gentoo.org> | 2016-11-18 11:59:22 +0100 |
commit | 5632873fa4a2cf920ff3be6d5fd0d6751fe95889 (patch) | |
tree | c19cd7c0838cd03e294c49141950a9bd52dd4914 /www-apps | |
parent | dev-perl/Digest-JHash: Bump to version 0.90.0 (diff) | |
download | gentoo-5632873fa4a2cf920ff3be6d5fd0d6751fe95889.tar.gz gentoo-5632873fa4a2cf920ff3be6d5fd0d6751fe95889.tar.bz2 gentoo-5632873fa4a2cf920ff3be6d5fd0d6751fe95889.zip |
www-apps/grafana-bin: version bump to v3.1.1
Package-Manager: portage-2.3.2
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.1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 72ae710f17d1..6fa250f21bd9 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1 +1,2 @@ DIST grafana-bin-3.1.0.tar.gz 40620308 SHA256 da8175ee46d2dc39cbe29f49bf5efdd34fddaad53d4ddfcef1316356fa029c9c SHA512 fb458299c8622ed0c2478928aa72b565fb87127cde342cc1b3f36a3582b3f76031547b7fef4240a37a51c1ac2ce239b086f97dfddf1309fe99d3c999ee80747e WHIRLPOOL 37f8f6ade9eb250c7a1591b975014410adf3e4dd8c803c842d37c30e88a3b7b64b05ff02a4849139216ffe9e76e75fd2e87db9e24dc404b60966e7b4ced47f7d +DIST grafana-bin-3.1.1.tar.gz 40570215 SHA256 20f70a63ad01535e2e3d1e2ffba59374f6283dd71b652428fef73c9aa68cdc7f SHA512 90f567889a2eca9152919f1199b810bb8b99b4bea5691d5edb1fb52e309a192b2efed1f5f1e66c95f81291dd9a621c06243e029b907e2ce5362e757f916a063b WHIRLPOOL 67a3c8ca217984a21858db5fe27da7c06b60e9d4f2d915966cb722e5948d0f4636645b678246003ea742ed7a6b50d5554d76f088aac1cd5ef20928fc1ae98aa9 diff --git a/www-apps/grafana-bin/grafana-bin-3.1.1.ebuild b/www-apps/grafana-bin/grafana-bin-3.1.1.ebuild new file mode 100644 index 000000000000..aa9a771deadf --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-3.1.1.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.1-1470047149" +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="~amd64" +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.2 grafana + + keepdir /var/{lib,log}/grafana + fowners grafana:grafana /var/{lib,log}/grafana + fperms 0750 /var/{lib,log}/grafana +} |