summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2023-04-28 08:10:01 +0000
committerPatrick Lauer <patrick@gentoo.org>2023-04-28 08:10:41 +0000
commit090be2cd827a3689028a7b74c4ef3ab93d6c8f98 (patch)
treeb2ae489bbcbdc5ea938da226eab15c5f291d224e /www-apps/grafana-bin
parentnet-misc/tigervnc: update xserver version (diff)
downloadgentoo-090be2cd827a3689028a7b74c4ef3ab93d6c8f98.tar.gz
gentoo-090be2cd827a3689028a7b74c4ef3ab93d6c8f98.tar.bz2
gentoo-090be2cd827a3689028a7b74c4ef3ab93d6c8f98.zip
www-apps/grafana-bin: Bump
Bug: https://bugs.gentoo.org/905208 Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'www-apps/grafana-bin')
-rw-r--r--www-apps/grafana-bin/Manifest5
-rw-r--r--www-apps/grafana-bin/grafana-bin-9.3.13.ebuild (renamed from www-apps/grafana-bin/grafana-bin-9.3.11.ebuild)0
-rw-r--r--www-apps/grafana-bin/grafana-bin-9.4.9.ebuild (renamed from www-apps/grafana-bin/grafana-bin-9.4.7.ebuild)0
-rw-r--r--www-apps/grafana-bin/grafana-bin-9.5.1.ebuild67
4 files changed, 70 insertions, 2 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest
index 91c6b9c62b83..55ea4f2968d3 100644
--- a/www-apps/grafana-bin/Manifest
+++ b/www-apps/grafana-bin/Manifest
@@ -1,2 +1,3 @@
-DIST grafana-bin-9.3.11.tar.gz 70182266 BLAKE2B dd1a1eb95cfe356a77975fdb5af75b8f4a6f5b0b9f3245311b269911061e25a8b07c55e13e9f2364328c847170813e1dfdf8bf27108e7423a6969ff23bc1bf11 SHA512 47ce7f321e94495fd53c2fa292edd63ecf75bcd7dd1e5dd67d78fe9cb28e4ae423da5e7071b57ecaacbe6cf7b4ce6cd321022a61eca4c2e083e68729de1e5bf1
-DIST grafana-bin-9.4.7.tar.gz 83744269 BLAKE2B a34d1e0761b6e16673ac8d4ad0e25cb6caadde06af0986053cb455edd143cc5aa6b70672e43afd6c1381658136ce2243e03ef871416969a26e346a99e1ddbb11 SHA512 7511bdb68e9a3c15e318a7d0d98b3b9df4c8827793498aadd45a12aac92646a8888ab8c1b6d97422b6473553ab62d8f0dcb9e797d9c3df150a877e61182fca32
+DIST grafana-bin-9.3.13.tar.gz 70060389 BLAKE2B 7cc6ba1f114587fbdf927e8321591154c79c1a1d86a29c802b86ce28f2a0c96c9c74b8e0ef3899f8873fdb1068edcf2003be20f21a8c28f3ce8231b74a15a41d SHA512 6b6ee9148b5244ff64472b5cd1a0378a14b121e6f6c06594ae619b590f1a7a31432b1dbb4ec24e20a66d2ede0eacd89e46fb94a11d95780a3915a5ba0b0b1298
+DIST grafana-bin-9.4.9.tar.gz 83943489 BLAKE2B de65fcd81d79c3291ea3abfb4c79c91fda67b7b9454903b3c41d611bc7df93d763f9ae092e280b00f1e5c4d7a4e186630bb5001c4835839db8256f8f76b293fc SHA512 659b66c4859088a0ce531fcdb0febea210b7a951b3d779fa9ee0b6daa64974c8f033734afd04f3c73daef9a06036c67cf184f93cc840b115ca300d711052e323
+DIST grafana-bin-9.5.1.tar.gz 78487778 BLAKE2B d59ec2e7866b14e895dfc8aa9c8d6f4584a1941b2eadb02a8a3d275a986823f1d8a9a5089e844b64f62c1e9b3e629d7affb110184cb23abd7b506c32d3996966 SHA512 8409654ea5f2632f32005e52e83b3aa36c7b0a8cdc1e49be79491c21ae6babdf26071f446e65223b2788672a87d9bf701ad80fce8d7bb6689cfcc381945518ec
diff --git a/www-apps/grafana-bin/grafana-bin-9.3.11.ebuild b/www-apps/grafana-bin/grafana-bin-9.3.13.ebuild
index ed079e9887f5..ed079e9887f5 100644
--- a/www-apps/grafana-bin/grafana-bin-9.3.11.ebuild
+++ b/www-apps/grafana-bin/grafana-bin-9.3.13.ebuild
diff --git a/www-apps/grafana-bin/grafana-bin-9.4.7.ebuild b/www-apps/grafana-bin/grafana-bin-9.4.9.ebuild
index ed079e9887f5..ed079e9887f5 100644
--- a/www-apps/grafana-bin/grafana-bin-9.4.7.ebuild
+++ b/www-apps/grafana-bin/grafana-bin-9.4.9.ebuild
diff --git a/www-apps/grafana-bin/grafana-bin-9.5.1.ebuild b/www-apps/grafana-bin/grafana-bin-9.5.1.ebuild
new file mode 100644
index 000000000000..ed079e9887f5
--- /dev/null
+++ b/www-apps/grafana-bin/grafana-bin-9.5.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}-${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
+}