diff options
author | Patrick Lauer <patrick@gentoo.org> | 2023-11-17 09:50:55 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2023-11-17 09:50:55 +0000 |
commit | a344f57da54d35a2907226a3aec8d17326dc8790 (patch) | |
tree | a5da3885dd3b657b97d917bf608dde13fc55fb36 /www-apps/grafana-bin | |
parent | dev-db/pgrouting: add 3.5.1 (diff) | |
download | gentoo-a344f57da54d35a2907226a3aec8d17326dc8790.tar.gz gentoo-a344f57da54d35a2907226a3aec8d17326dc8790.tar.bz2 gentoo-a344f57da54d35a2907226a3aec8d17326dc8790.zip |
www-apps/grafana-bin: add 9.5.14, 10.2.1
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'www-apps/grafana-bin')
-rw-r--r-- | www-apps/grafana-bin/Manifest | 2 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-10.2.1.ebuild | 67 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-9.5.14.ebuild | 67 |
3 files changed, 136 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 292caa9a6dca..6103a9db35a5 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,8 +1,10 @@ DIST grafana-bin-10.1.4.tar.gz 109641021 BLAKE2B 75f43df4d306323e2b0314711b0335d890658da3a4cb7142f4c02960313c61e4fce5102c15593b930f273d6bdee1e32120d52e0eab2aab89211fd37263121cba SHA512 6893c5e8def812a1e6600f334654f22cfd114cc3960621860c100f36f46a20114dbdca08ae6cc70da968d52577c074777f79e9184645a95269bf6d80ac85901d DIST grafana-bin-10.1.5.tar.gz 109636687 BLAKE2B 0d299181a51879673d73700120938c88f4655e2c35aedf74dc14c5a3581a787de118381f28a4df6cba51533f011e5cf2587b80eadc438684d45eb077cc1e621e SHA512 a2add2a4bcd126c3a27c7aefa1164361f4f4dcd21ef50d7b8922aa533f4d169bce6971c336fc391928bbc56b22a88bce3a877a941c26aa758490c5ece1f33186 DIST grafana-bin-10.2.0.tar.gz 109010183 BLAKE2B 8a4233d6201ff53dca565b9ae84f3288b0e318b86a54324a5110fd4764b39677d0b783f64b61be3a23aa28e94ab84514426b31525a0cbbdd9d70796e2722ec2a SHA512 c11cf34cea58de73f4ba513ca4b4fb21acb914b974e97e0254fffba8096741f8b5bba49dc85004732e61074e4169c3d491205110c9c6f2a4f27ce734a9405c16 +DIST grafana-bin-10.2.1.tar.gz 108828465 BLAKE2B a32eae41ff7a67a5e478de0859294630251312b85437b0f2586ef7747fced8fa5ac8e6e138440ddeb085bb172847b6e68d78cceb65bf421b511da5e0956ead4e SHA512 e7a3c37f3b8d68b5f2fedfba7d97a927e7f610c382984b930f84d55a313c9dcca28d82b4ed40b7239e0453bc83a36c2aac42e1e88b96490671f292599c8223b8 DIST grafana-bin-9.4.12.tar.gz 83938603 BLAKE2B 47893428bca4a3d443c127a2ca83aad4b4c47fb033d61c256a952586447c7a6b47aded2ccdbe1fa0e9d6c2a3e70dfd1f206412445f9babcbb3252470a34040df SHA512 f3fc7f9cce92be5128168f6f3081110c7395ecefadc328bef6de41b681d02956ab89355eb64d260a53f20389a3e217ad43e59abb94c99ae6c1da22bbb59ed08a DIST grafana-bin-9.4.15.tar.gz 91458612 BLAKE2B c2921c597a7ba82021401d8a75828dc13656603b9a24e829e31b68138c25ed5782ee22c62057c5ff03f0cb12a697891e54efaf8720f7d1f3f30f845c3564802c SHA512 807fd5cb3a47670053aa76b971df00bfc37fae3d1a5d2ef5952765b04216ae559308bfd145392974b241bd81078653cfb7bf9c5030829c4628de3f325ff696f6 DIST grafana-bin-9.5.12.tar.gz 86825096 BLAKE2B f108922ddd9a1b9c8c5899abbaff6c4fb72824094b099a7104418751877409e371a8c0e653c5a2c6ca5d51dc864d5bb10353dcc30f8e54032340a1e617086e1f SHA512 0772388a68b466c7fddfc145c180470d7fa5de72b2fee4203c303ffc2c62664a6f349df8e2893ac3dee053bee58e712957e7e9912b3aafce712e53fe0e37b107 DIST grafana-bin-9.5.13.tar.gz 86809672 BLAKE2B fccea691d57941afcc4e7ac89110a17d6201733d7a61669e168b40753309a023bc4b4c7f24e339f9267f663e451097d1603798cc95f35073481e75c99fc6cca4 SHA512 2dbe9f8d8fb374e84b31418316d1c4e64a8e9e616d6b30c054f2b3bd9ac910efcec79394abd86489716c233d0b388b3786feee9c6ab4a5b513a94de37102a459 +DIST grafana-bin-9.5.14.tar.gz 87131800 BLAKE2B d6ae4d90781c79e5d87e4b418146869fab84ac49e3fa71608af3d6986a4920e4d50fdf00cc4952d22804061a46709226770f1c85165fa234207bdd41c13c1187 SHA512 685ec6607e082d8f687bb90a32a8c675f6aa0abd31f31169e957b3bbb50221d77e47c019128b2e701d9c29bb9b89bc4e7e4f31e21a75e8c9dcf1d1155bf2d8a2 DIST grafana-bin-9.5.3.tar.gz 78499106 BLAKE2B c6fe7942450f83447a99a343844e089381110810f58a68be78ec5366febabcb53f8670afb4a0531c39a4a8e7f498298b715a8e706b7a302b71062693d4b08998 SHA512 3c5c21b887d4948e6f76be0ba29b62db3273e17aa86f5a7001762c192b18de6963e7fd5029a8fa7800a58b362b67a7e54a1409cdea667d490b68c90289ff8608 diff --git a/www-apps/grafana-bin/grafana-bin-10.2.1.ebuild b/www-apps/grafana-bin/grafana-bin-10.2.1.ebuild new file mode 100644 index 000000000000..65d333f6f3a8 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-10.2.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +MY_PN=${PN/-bin/} +MY_PV=${PV/_beta/-beta} +S=${WORKDIR}/${MY_PN}-v${MY_PV} + +DESCRIPTION="Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB" +HOMEPAGE="https://grafana.org" +SRC_URI="https://dl.grafana.com/oss/release/grafana-${PV}.linux-amd64.tar.gz -> ${P}.tar.gz" + +RESTRICT="mirror" +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="-* ~amd64" + +DEPEND="acct-group/grafana + acct-user/grafana" +RDEPEND="${DEPEND} + media-libs/fontconfig + sys-libs/glibc" + +QA_PREBUILT="usr/bin/grafana-*" +QA_PRESTRIPPED=${QA_PREBUILT} + +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 + dobin bin/grafana-server + + newconfd "${FILESDIR}"/grafana-r1.confd grafana + newinitd "${FILESDIR}"/grafana.initd2 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} +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # This is a new installation + + 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." + fi +} diff --git a/www-apps/grafana-bin/grafana-bin-9.5.14.ebuild b/www-apps/grafana-bin/grafana-bin-9.5.14.ebuild new file mode 100644 index 000000000000..65d333f6f3a8 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-9.5.14.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +MY_PN=${PN/-bin/} +MY_PV=${PV/_beta/-beta} +S=${WORKDIR}/${MY_PN}-v${MY_PV} + +DESCRIPTION="Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB" +HOMEPAGE="https://grafana.org" +SRC_URI="https://dl.grafana.com/oss/release/grafana-${PV}.linux-amd64.tar.gz -> ${P}.tar.gz" + +RESTRICT="mirror" +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="-* ~amd64" + +DEPEND="acct-group/grafana + acct-user/grafana" +RDEPEND="${DEPEND} + media-libs/fontconfig + sys-libs/glibc" + +QA_PREBUILT="usr/bin/grafana-*" +QA_PRESTRIPPED=${QA_PREBUILT} + +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 + dobin bin/grafana-server + + newconfd "${FILESDIR}"/grafana-r1.confd grafana + newinitd "${FILESDIR}"/grafana.initd2 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} +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # This is a new installation + + 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." + fi +} |