diff options
author | Tobias Klausmann <klausman@gentoo.org> | 2017-01-11 13:42:29 +0100 |
---|---|---|
committer | Tobias Klausmann <klausman@gentoo.org> | 2017-01-11 13:42:50 +0100 |
commit | 796da8e7ab713ee1451f034f4749e6625b245111 (patch) | |
tree | 67d4cef5549ffbbedc459ef021ee569c53b09f56 /www-apps | |
parent | dev-lang/teyjus: Bump to 2.1. Fix build with ocaml 4.03 and above. (diff) | |
download | gentoo-796da8e7ab713ee1451f034f4749e6625b245111.tar.gz gentoo-796da8e7ab713ee1451f034f4749e6625b245111.tar.bz2 gentoo-796da8e7ab713ee1451f034f4749e6625b245111.zip |
www-apps/grafana-bin: Add version 4.1.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/grafana-bin/Manifest | 1 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-4.1.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 50d512792be3..5a5df5579397 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,2 +1,3 @@ DIST grafana-bin-4.0.1.tar.gz 42179027 SHA256 910327d0d7b7597cb471a697766baea170da9eb2ac59c94782c90744a16a218b SHA512 7aea39aa8dddf4123d7716b4561476beb50c4725c1ef59f5d8ab033134725445c9c3b47fda9538de58edf5c45c2145f2a9cf0bd33352764fd2840ba090967bd0 WHIRLPOOL 5d0ecc929b681ead4a17d544631b54cb0b76705f5a72470acc646b7d5888937a02b033a1d3aeab901f436fb6c0d8c21460bcf0422b0db99578dfc0378d13deb5 DIST grafana-bin-4.0.2.tar.gz 42180591 SHA256 679c2522ba1e39bc34949249e4ee9dfeaa83a30597ac303e9831e4922c14d0ca SHA512 ffa28b9b0335e0c3c081938b5a7ebf3d2668837656c382289e97c8d78fdfad4a1219fded50ce3f52ee966c12338a0596229ed32632d02847c1e0c4a5d1c09915 WHIRLPOOL fed2e69e710a890e69dbae1779f4ebf00d2aa9a3df817a229995f5c61c855e24b365379a8896c90730084990672a781638cdadf95f028b4bd5525e8e57ab80e6 +DIST grafana-bin-4.1.0.tar.gz 45019530 SHA256 d2653300a02c646e1a7bc5519711f9a5ec48e4168ae00d0ba88641c94d18608f SHA512 071fa0b542675621e58f1d08fb2c1468b0dff4efecdc27e06d1e0eb103af541021c45f9a852908d072c6ff6c53c49e6d1855125fdf918a49d6b790bf89aa06ed WHIRLPOOL bc1e5e45a607d74898426780f641ef51251e4496ec59b54744fbc61665e88223b2de895f29c5093397305bb06db3f1f3a847cda68f699985fa4b76f5c794c5a6 diff --git a/www-apps/grafana-bin/grafana-bin-4.1.0.ebuild b/www-apps/grafana-bin/grafana-bin-4.1.0.ebuild new file mode 100644 index 000000000000..73222f3e5108 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-4.1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 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.1.0-1484127817" +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 +} |