summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2021-12-09 06:37:31 +0000
committerPatrick Lauer <patrick@gentoo.org>2021-12-09 06:37:54 +0000
commit83bb4dff3c2fa1626118e11d6f4aa7cac5629b7b (patch)
tree760fb5a2557c6da1fac3818309a2ac4807940130 /www-apps/grafana-bin
parentsys-libs/glibc: re-sync 2.34-r3/9999 for warning-on-upgrade (diff)
downloadgentoo-83bb4dff3c2fa1626118e11d6f4aa7cac5629b7b.tar.gz
gentoo-83bb4dff3c2fa1626118e11d6f4aa7cac5629b7b.tar.bz2
gentoo-83bb4dff3c2fa1626118e11d6f4aa7cac5629b7b.zip
www-apps/grafana-bin: Bump to 8.2.7 8.3.1
Remove old Closes: https://bugs.gentoo.org/828582 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'www-apps/grafana-bin')
-rw-r--r--www-apps/grafana-bin/Manifest3
-rw-r--r--www-apps/grafana-bin/grafana-bin-8.2.7.ebuild (renamed from www-apps/grafana-bin/grafana-bin-8.2.4.ebuild)0
-rw-r--r--www-apps/grafana-bin/grafana-bin-8.3.1.ebuild64
3 files changed, 66 insertions, 1 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest
index ce4d57907bfd..4e1740563f7a 100644
--- a/www-apps/grafana-bin/Manifest
+++ b/www-apps/grafana-bin/Manifest
@@ -1,2 +1,3 @@
DIST grafana-bin-7.5.11.tar.gz 52218943 BLAKE2B 5c8faef6ccc5460f33e7b2ba876270739a4ad4a2cc036760e3b5c0f84130bd74895f38df3ab9cbf9b85221f66565b8f526392238585d88bf8d8e643a300f5533 SHA512 fa1c228f5c54a4563268192388a43762fcee90f8093caa25ad656de4ba49444944809c03b7934e7f78aefd642432a1bd5fdb6ce93da2ec0d3f3547c46af8fb6a
-DIST grafana-bin-8.2.4.tar.gz 67219378 BLAKE2B 59c04a3cbfd5f9da47fd43c255c1c63891dddb81aa30077132a76229ca521f7d2319fc986c522926c8e0a0a9e8893c1784f16af332d95d0553a149c46bcf20c4 SHA512 c4e6f87952dffc7197b8c0e276315a2cfcd4d8437fb19da0b8d240be3261f079d6f6e1bba3d50ff2a3e75677b0f14ea246ddc411f859b46746472aa276ffa1a3
+DIST grafana-bin-8.2.7.tar.gz 67238090 BLAKE2B 0830a2070c161a2c46f18eaea29b54f5c885a0f5b51e30b5dbe2971dbc0bec201a7a9a4ad45174e8db04eb7e9189210c01fd77f56bfaffc2aa6103c46d8c6b51 SHA512 0dfc306e50e372187b325501b5f9818771745d8fca17eb536f6f53a5942e760f96e3c1efadd821ef9ec63d0c6894416777f6bc5605277494eaf045d3a7cd2b35
+DIST grafana-bin-8.3.1.tar.gz 72989759 BLAKE2B 37f079bafdfe319032afdcb3c24e7c6bcb6a9a9cc91592d241ab961c69048b29d8bcadc156bdfe16e18b3bec7f7c4efdafa2539a55fa09fbaee97526c5dcce0a SHA512 eed8a24df19c24399b93e103be43bd95f4f0c3aa59c6583804547daecb75c072159b4f3cc28e9898f9a68cdf52d3e072423706e0ddbcdb2e984758b4b727dd35
diff --git a/www-apps/grafana-bin/grafana-bin-8.2.4.ebuild b/www-apps/grafana-bin/grafana-bin-8.2.7.ebuild
index 937332ec5f09..937332ec5f09 100644
--- a/www-apps/grafana-bin/grafana-bin-8.2.4.ebuild
+++ b/www-apps/grafana-bin/grafana-bin-8.2.7.ebuild
diff --git a/www-apps/grafana-bin/grafana-bin-8.3.1.ebuild b/www-apps/grafana-bin/grafana-bin-8.3.1.ebuild
new file mode 100644
index 000000000000..937332ec5f09
--- /dev/null
+++ b/www-apps/grafana-bin/grafana-bin-8.3.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 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"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="acct-group/grafana
+ acct-user/grafana"
+RDEPEND="${DEPEND}
+ media-libs/fontconfig"
+
+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-server
+
+ newconfd "${FILESDIR}"/grafana-r1.confd grafana
+ newinitd "${FILESDIR}"/grafana.initd 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() {
+ 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
+}