From a127ddababedab2ed29fea7129aa810e732488bd Mon Sep 17 00:00:00 2001 From: Tobias Klausmann Date: Sat, 24 Feb 2018 11:08:49 +0100 Subject: www-apps/grafana-bin: Bump for 5.0 beta Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- www-apps/grafana-bin/Manifest | 2 +- .../grafana-bin/grafana-bin-5.0.0_beta1.ebuild | 63 ---------------------- .../grafana-bin/grafana-bin-5.0.0_beta4.ebuild | 63 ++++++++++++++++++++++ 3 files changed, 64 insertions(+), 64 deletions(-) delete mode 100644 www-apps/grafana-bin/grafana-bin-5.0.0_beta1.ebuild create mode 100644 www-apps/grafana-bin/grafana-bin-5.0.0_beta4.ebuild (limited to 'www-apps') diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 29e5db45b42e..a8e91f8d8209 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,3 +1,3 @@ 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_beta1.tar.gz 52551303 BLAKE2B 442060a1a69e10c7694c742de386a6d05754a66baaa79b9e9e036b333e90a81da375b0eb1eaf753f30989f16899db35c07ac10bc37239217214600339ace6cc4 SHA512 013c13c43b1b60ccbb23d7fa57c9aa07e7a74895df745dc5c879a3423b1f8cf5129411c220dd06697bb13f6a13674b8b1b265b8d21ac0ad67da484a93e41f0f0 +DIST grafana-bin-5.0.0_beta4.tar.gz 51499427 BLAKE2B fe00d9f1ef5e248bcb33f338aba7294751f4f635ac96841a8902e5dfc988918505a204a0d733c68c2993bc72a61b769fff946421e8172152043baf279caa9b74 SHA512 b07c7e42d47e1782afa00f04805a1d4b7b119270602a885d93095ccb3455c99bb0c067c07442f973302069480a60c3c4cde51386ecc8cf0e5c40304ed1a9c21b diff --git a/www-apps/grafana-bin/grafana-bin-5.0.0_beta1.ebuild b/www-apps/grafana-bin/grafana-bin-5.0.0_beta1.ebuild deleted file mode 100644 index cbcca07e13c1..000000000000 --- a/www-apps/grafana-bin/grafana-bin-5.0.0_beta1.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." -} 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 new file mode 100644 index 000000000000..cbcca07e13c1 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-5.0.0_beta4.ebuild @@ -0,0 +1,63 @@ +# 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." +} -- cgit v1.2.3-65-gdbad