diff options
author | Tobias Klausmann <klausman@gentoo.org> | 2016-11-27 10:43:29 +0100 |
---|---|---|
committer | Tobias Klausmann <klausman@gentoo.org> | 2016-11-27 10:44:00 +0100 |
commit | 2cb96c181089d4522915685704ea301e8cbc61c6 (patch) | |
tree | 6bf8d6137515bbef76a4728bf39818d87d500f63 /www-apps | |
parent | dev-ruby/bundler: drop ia64, sparc stable keywords, bug 576632 (diff) | |
download | gentoo-2cb96c181089d4522915685704ea301e8cbc61c6.tar.gz gentoo-2cb96c181089d4522915685704ea301e8cbc61c6.tar.bz2 gentoo-2cb96c181089d4522915685704ea301e8cbc61c6.zip |
www-apps/grafana-bin: Add 4.0_beta2
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-4.0_beta2.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 6fa250f21bd9..2f1297ca7924 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,2 +1,3 @@ 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 +DIST grafana-bin-4.0_beta2.tar.gz 41911901 SHA256 2ec5e4fa46434e2a4dd6061698ed2f7b5d11ed7e5b8c03f561221458588bad62 SHA512 030fd75d5dd86afbb623d6eb2d5e2a8e789bff806baf139528b5e9bf144fe7050a0d01e6e2bb27ee7388f3aadaa018cf88877aa31f4e966514c5c776d8f2a810 WHIRLPOOL 0ac1f2d1f2a6c86ea9c084ed2673a077e6f3f938a55915d8c6e72f8984113c7027597fd8fc1457c9d49a87e1436f3c17d8d531af7b35241450bc3f15691bba98 diff --git a/www-apps/grafana-bin/grafana-bin-4.0_beta2.ebuild b/www-apps/grafana-bin/grafana-bin-4.0_beta2.ebuild new file mode 100644 index 000000000000..4c948181c6b7 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-4.0_beta2.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="4.0.0-1478693311beta1" +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 +} |