diff options
author | Tobias Klausmann <klausman@gentoo.org> | 2016-12-01 18:07:25 +0100 |
---|---|---|
committer | Tobias Klausmann <klausman@gentoo.org> | 2016-12-01 18:08:01 +0100 |
commit | 848133690f3aa52e0da2d370af3e197e89cd4372 (patch) | |
tree | bf502b69b91e8234b08e48fe66545aba8bc80025 /www-apps | |
parent | sys-cluster/nova: 14.0.1 cleanup (diff) | |
download | gentoo-848133690f3aa52e0da2d370af3e197e89cd4372.tar.gz gentoo-848133690f3aa52e0da2d370af3e197e89cd4372.tar.bz2 gentoo-848133690f3aa52e0da2d370af3e197e89cd4372.zip |
Revert "www-apps/grafana-bin: Add v4.0.0 and clean up old"
This reverts commit 3ddd8eb7d18e7f74826d3bc04963786dd7f9b65b.
This _actually_ reverts grafana 4.0.0 to 4.0.0_beta2
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/grafana-bin/Manifest | 3 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-3.1.0-r1.ebuild (renamed from www-apps/grafana-bin/grafana-bin-4.0.0.ebuild) | 2 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-4.0.0_beta2.ebuild | 51 |
3 files changed, 54 insertions, 2 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 1cd92c09a2e4..d1f1f433d411 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.0.tar.gz 42173882 SHA256 95ca8f3d063bc046b1dae443e58cdcaa6a603ecfe1b39293c03b87ec6bddc382 SHA512 ef989308188d1599c870900de8a7a95a115b6e838e91e40196bd758fe5381ae13faab5e3768ebf4426001b6e0b299039b94aad1e4e51c436f1c82d5b778072b2 WHIRLPOOL cad3988b98109058d6fe205002d4bcaf205b726620eb09ee4894495f115e87b91d8e9e354c3a2d7d3383df11c7b5ed20822ad7795cdb6035e94362f2242faba5 +DIST grafana-bin-4.0.0_beta2.tar.gz 41890077 SHA256 5b4c45866bbfb169a3b39e9ceadd59968e74a88bd27d9952dcaa3366ad3455a6 SHA512 ee79fc53d55cb7a7b73e73ff251b8d750f5c6d25b86e265ce511fa67ed82e35ddb3e256f9a30f4601ea3e945fe55c733ce7795049a804a1c6495abdf6347de69 WHIRLPOOL 27eac1214054220f04cfa6d1c6c5052a724ec564764f352b9dfd6615836a4db36a00d46689b98b19ab4934f948a6d4094b20fd9c31b86593d12d3dd2a17b3fab diff --git a/www-apps/grafana-bin/grafana-bin-4.0.0.ebuild b/www-apps/grafana-bin/grafana-bin-3.1.0-r1.ebuild index b46087709f6f..37523480bc5a 100644 --- a/www-apps/grafana-bin/grafana-bin-4.0.0.ebuild +++ b/www-apps/grafana-bin/grafana-bin-3.1.0-r1.ebuild @@ -6,7 +6,7 @@ EAPI=5 inherit user MY_PN=${PN/-bin/} -MY_PV="4.0.0-1480439068" +MY_PV="3.1.0-1468321182" S=${WORKDIR}/${MY_PN}-${MY_PV} DESCRIPTION="Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB" diff --git a/www-apps/grafana-bin/grafana-bin-4.0.0_beta2.ebuild b/www-apps/grafana-bin/grafana-bin-4.0.0_beta2.ebuild new file mode 100644 index 000000000000..ee40613244ab --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-4.0.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-1479719016beta2" +S=${WORKDIR}/${MY_PN}-${MY_PV} + +DESCRIPTION="Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB" +HOMEPAGE="http://grafana.org" +SRC_URI="https://skade.schwarzvogel.de/~klausman/gentoo/${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 +} |