summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2023-10-11 12:21:08 +0000
committerPatrick Lauer <patrick@gentoo.org>2023-10-11 12:23:28 +0000
commit7c38c73e7f843bcf03e016e677c90411a9109f65 (patch)
tree34b706e0587b06a87e28631df73d3ef90574685b /www-apps
parentdev-lang/erlang: add libei fix to erlang-25.3 (diff)
downloadgentoo-7c38c73e7f843bcf03e016e677c90411a9109f65.tar.gz
gentoo-7c38c73e7f843bcf03e016e677c90411a9109f65.tar.bz2
gentoo-7c38c73e7f843bcf03e016e677c90411a9109f65.zip
www-apps/grafana-bin: add 9.3.16, 9.4.15, 9.5.12
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/grafana-bin/Manifest3
-rw-r--r--www-apps/grafana-bin/grafana-bin-9.3.16.ebuild67
-rw-r--r--www-apps/grafana-bin/grafana-bin-9.4.15.ebuild67
-rw-r--r--www-apps/grafana-bin/grafana-bin-9.5.12.ebuild67
4 files changed, 204 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest
index 829569c19891..01ef7c076802 100644
--- a/www-apps/grafana-bin/Manifest
+++ b/www-apps/grafana-bin/Manifest
@@ -1,3 +1,6 @@
DIST grafana-bin-9.3.15.tar.gz 70054630 BLAKE2B cde395bf6869b0ec83aff85951e1f8c431d4e666d89f1ae7aeb4bec3b2f94a814954bd906a470eb0bea2010e6ae5fc5f6861517311bdfdfd406fb2d972a48b20 SHA512 e7b8f9192a05a41744b26dc85208bec6ff97fae9036dd9852caeaaab9d38ca2635ee1b122413b2136bb58116df37ca24f97c1475c096d47cad6f352751ee4423
+DIST grafana-bin-9.3.16.tar.gz 70053977 BLAKE2B 349aec2e1f92f62e8b3838d2c4611552fb27dd216c6e1a0c6e1a571d21388f518ba4fa7db1a946a275ec4e7e34014b102fc511d310384ec0843679c56df71c7b SHA512 0f04f69dcb9413b20c3ae64d21c6bc4ab0cf3ff7f40cb682314e8cadea31f01ebf13189a768bdec8f7f75f5b467fb6533e058b74a3041a5b96a7480e46589469
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.3.tar.gz 78499106 BLAKE2B c6fe7942450f83447a99a343844e089381110810f58a68be78ec5366febabcb53f8670afb4a0531c39a4a8e7f498298b715a8e706b7a302b71062693d4b08998 SHA512 3c5c21b887d4948e6f76be0ba29b62db3273e17aa86f5a7001762c192b18de6963e7fd5029a8fa7800a58b362b67a7e54a1409cdea667d490b68c90289ff8608
diff --git a/www-apps/grafana-bin/grafana-bin-9.3.16.ebuild b/www-apps/grafana-bin/grafana-bin-9.3.16.ebuild
new file mode 100644
index 000000000000..ed079e9887f5
--- /dev/null
+++ b/www-apps/grafana-bin/grafana-bin-9.3.16.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
+}
diff --git a/www-apps/grafana-bin/grafana-bin-9.4.15.ebuild b/www-apps/grafana-bin/grafana-bin-9.4.15.ebuild
new file mode 100644
index 000000000000..ed079e9887f5
--- /dev/null
+++ b/www-apps/grafana-bin/grafana-bin-9.4.15.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
+}
diff --git a/www-apps/grafana-bin/grafana-bin-9.5.12.ebuild b/www-apps/grafana-bin/grafana-bin-9.5.12.ebuild
new file mode 100644
index 000000000000..ed079e9887f5
--- /dev/null
+++ b/www-apps/grafana-bin/grafana-bin-9.5.12.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
+}