diff options
author | Tobias Klausmann <klausman@gentoo.org> | 2017-03-17 10:30:16 +0100 |
---|---|---|
committer | Tobias Klausmann <klausman@gentoo.org> | 2017-03-17 10:32:15 +0100 |
commit | d434c9cb2e58a59a6b614a186b336eba4990da52 (patch) | |
tree | 905439113d549784609863b3174af066e4dc30e7 /www-apps | |
parent | dev-python/billiard: Add python3_6 to PYTHON_COMPAT (diff) | |
download | gentoo-d434c9cb2e58a59a6b614a186b336eba4990da52.tar.gz gentoo-d434c9cb2e58a59a6b614a186b336eba4990da52.tar.bz2 gentoo-d434c9cb2e58a59a6b614a186b336eba4990da52.zip |
www-apps/grafana-bin: Add 4.2.0_beta1
Package-Manager: Portage-2.3.4, Repoman-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.2.0_beta1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 3b8c9e06bd5d..1e6feb1c9600 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,3 +1,4 @@ DIST grafana-bin-4.0.1.tar.gz 42179027 SHA256 910327d0d7b7597cb471a697766baea170da9eb2ac59c94782c90744a16a218b SHA512 7aea39aa8dddf4123d7716b4561476beb50c4725c1ef59f5d8ab033134725445c9c3b47fda9538de58edf5c45c2145f2a9cf0bd33352764fd2840ba090967bd0 WHIRLPOOL 5d0ecc929b681ead4a17d544631b54cb0b76705f5a72470acc646b7d5888937a02b033a1d3aeab901f436fb6c0d8c21460bcf0422b0db99578dfc0378d13deb5 DIST grafana-bin-4.1.1.tar.gz 45019506 SHA256 51464c7569638bbfd7c6a7397c8f5f296c6839a113360ff5f908d454a9643aeb SHA512 74df71c1f4b8d84046ed94447d01a759197486232ff4818a10e5e4656c6fd025c9aa224df8c8f02770a77a7483398c881aebfd40a1da12e8d83d8ec97980d3db WHIRLPOOL b8f8d4c59d49303bdb9f53de9d67481083e41ff2d9be43dab2cacfc6bee742bf310cabba0766c58c80c7d42a7aad7e2633d3e57d4603ea23a1fd4a14faba7e16 DIST grafana-bin-4.1.2.tar.gz 45024995 SHA256 b8111cd014e9c202dd1b168b924731a140161e9e43e32f3ca7ae18db850af6c4 SHA512 4a0825c99eebb4185036cf5e1fd2ec26ff12913e474ac6014bb677329e1c92ee866be4ff53bd2560d91ebe38d7d7e3ae310e05b221e415046afbafd7a164e3cf WHIRLPOOL 6c4eda846cdd4ff4ef0ef34a0fd3b45da45cbc0aa0fa46d707616809c3fed322146b89678dcd11de2d31bf6ca94efa6afb7cd9f9423b5cac1847da209b7bae6c +DIST grafana-bin-4.2.0_beta1.tar.gz 46386040 SHA256 522c6a9a956a988580cd0b284d991389ef229ad4d515584fa4df16de6fa95771 SHA512 da4f4c8255b27dfdcc75dc0e356b88e8d6869c07504af7923118c42acea0f6170e4af2fdd89827056a3cace1090ce90bed62544a795f8d5980b93c8bac05444f WHIRLPOOL ee24150ffa3d8d651d3378b1a77837917cb398610330c67dac29a0a17b49114918065f2462ff6d8ce1e13e2f17e455afe9d2195ad58ad5e064bccc18eecd80d2 diff --git a/www-apps/grafana-bin/grafana-bin-4.2.0_beta1.ebuild b/www-apps/grafana-bin/grafana-bin-4.2.0_beta1.ebuild new file mode 100644 index 000000000000..a167febbea0b --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-4.2.0_beta1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit user +MY_PN=${PN/-bin/} +MY_PV="4.2.0-beta1" +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 +} |