diff options
-rw-r--r-- | www-apps/grafana-bin/Manifest | 3 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-5.0.0.ebuild (renamed from www-apps/grafana-bin/grafana-bin-4.5.2.ebuild) | 2 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-5.0.0_beta4.ebuild | 63 |
3 files changed, 2 insertions, 66 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index a8e91f8d8209..ab6a4e376dc6 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,3 +1,2 @@ -DIST grafana-bin-4.5.2.tar.gz 50374607 BLAKE2B 0cb4fb5c6b2b465e7cc9ce1f99bf102cd8fc5bc1fad1d995393923e0d6e0e16dd3bd9858b6ad93fc178092e6ef32c1000d4928187d67ab2cdd4f8e9d5a0c71eb SHA512 9b650e204f90dfec7ea3ff723a937a3332064c3b5a00bebf3aca4cffe1fdccf83efbe5040c954dc82bc3389a4f5d72f7fa47941f43d022cbdf40e067f9c5adf7 DIST grafana-bin-4.6.3.tar.gz 47187988 BLAKE2B 8d09f6569c8cc7b880fe852e0696b5d8b811d91a8aed360dffb40dc033e8ca756f7b37c6f2fd16d9925c33f2b7fcc4d279e31611fdb5aa7e4b24eee88cea0d38 SHA512 dad2c26b998910519cc462aa3dc91bd6d7ab6b7fdea9e1aa3c54ed5eb86830e9b8484434a5fd307f7ff490549509df97486249b301ccd84a7bd5b2de11ffe929 -DIST grafana-bin-5.0.0_beta4.tar.gz 51499427 BLAKE2B fe00d9f1ef5e248bcb33f338aba7294751f4f635ac96841a8902e5dfc988918505a204a0d733c68c2993bc72a61b769fff946421e8172152043baf279caa9b74 SHA512 b07c7e42d47e1782afa00f04805a1d4b7b119270602a885d93095ccb3455c99bb0c067c07442f973302069480a60c3c4cde51386ecc8cf0e5c40304ed1a9c21b +DIST grafana-bin-5.0.0.tar.gz 51530668 BLAKE2B e916c67a5eedb5cd852d994e81d90fbbdf0be31bdfef1030ea62997892b55ec0c234a88c8843d2e9490ea50f248df78ad8140406e4bd4e0de403b447950a81ec SHA512 1b6a49a296215558218d7fe6d40da1fafd2e4a1a902f1b1950bdc2ca50825eb09b100ad8d2e47c786cdee8926e1f902aae2da97e53c4d62ccaa716d9377910b7 diff --git a/www-apps/grafana-bin/grafana-bin-4.5.2.ebuild b/www-apps/grafana-bin/grafana-bin-5.0.0.ebuild index 3a8308e2d6d7..581f18f6aada 100644 --- a/www-apps/grafana-bin/grafana-bin-4.5.2.ebuild +++ b/www-apps/grafana-bin/grafana-bin-5.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 diff --git a/www-apps/grafana-bin/grafana-bin-5.0.0_beta4.ebuild b/www-apps/grafana-bin/grafana-bin-5.0.0_beta4.ebuild deleted file mode 100644 index cbcca07e13c1..000000000000 --- a/www-apps/grafana-bin/grafana-bin-5.0.0_beta4.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit user systemd - -MY_PN=${PN/-bin/} -MY_SRC="${MY_PN}-${PV/_/-}.linux-x64.tar.gz" -S=${WORKDIR}/${MY_PN}-${PV/_/-} - -DESCRIPTION="Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB" -HOMEPAGE="http://grafana.org" -SRC_URI="https://s3-us-west-2.amazonaws.com/grafana-releases/release/${MY_SRC} -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="" - -DEPEND="" -RDEPEND="${DEPEND}" - -QA_EXECSTACK="usr/share/grafana/vendor/phantomjs/phantomjs" -QA_PRESTRIPPED=${QA_EXECSTACK} - -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 || die - - # Frontend assets - insinto /usr/share/${MY_PN} - doins -r public conf - - dobin bin/grafana-cli - dobin bin/grafana-server - - newconfd "${FILESDIR}"/grafana.confd grafana - newinitd "${FILESDIR}"/grafana.initd.3 grafana - systemd_newunit "${FILESDIR}"/grafana.service grafana.service - - keepdir /var/{lib,log}/grafana - keepdir /var/lib/grafana/{dashboards,plugins} - fowners grafana:grafana /var/{lib,log}/grafana - fowners grafana:grafana /var/lib/grafana/{dashboards,plugins} - fperms 0750 /var/{lib,log}/grafana - fperms 0750 /var/lib/grafana/{dashboards,plugins} -} - -postinst() { - elog "${PN} has built-in log rotation. Please see [log.file] section of" - elog "/etc/grafana/grafana.ini for related settings." - elog - elog "You may add your own custom configuration for app-admin/logrotate if you" - elog "wish to use external rotation of logs. In this case, you also need to make" - elog "sure the built-in rotation is turned off." -} |