diff options
author | Patrick Lauer <patrick@gentoo.org> | 2023-03-20 08:28:16 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2023-03-20 08:28:16 +0000 |
commit | c855edf9d5c30cbe1d830eedb8474e5eb931e2f5 (patch) | |
tree | e4a1fc7d13760c0e3644ab26ea9778835291d50e /www-apps | |
parent | www-apps/grafana-bin: drop 9.2.4, 9.2.7, 9.2.8, 9.2.10 (diff) | |
download | gentoo-c855edf9d5c30cbe1d830eedb8474e5eb931e2f5.tar.gz gentoo-c855edf9d5c30cbe1d830eedb8474e5eb931e2f5.tar.bz2 gentoo-c855edf9d5c30cbe1d830eedb8474e5eb931e2f5.zip |
www-apps/grafana-bin: add 9.4.3
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/grafana-bin/Manifest | 2 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-9.4.3.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 3242b555bc8e..4dce2f7eaa7f 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,3 +1,5 @@ DIST grafana-bin-9.3.0.tar.gz 88847005 BLAKE2B 4c37dc077b7f9fb8f9256a2a85094eef5ae2dabe693d039b7c5509ec2662ec544d307dc1cf0043301fb4c3525107bddfac0a7f7a67f0efb8b333936c1b96192d SHA512 1489d3f948259dd3db6403e95f176fea664cb5bfc83a6f22e57ffbe075cc07257a463c4b1d1fd8aa94fbad5473b29608f0c3fc6fdf0c08bcb72f3beeff5163c7 DIST grafana-bin-9.3.2.tar.gz 89322650 BLAKE2B b9256b6468aa4eff1d77a7bce1f701ab61a372baf2f239572921b04a5624933e57c881035de9a0a86a5ff17b942e2965a7807ae2c183a60cfabb4bd4bf546acb SHA512 9d13624f728b5f5845c9780372b9334d81faadf03b47034b0de708fe87e50db3daff95f61e5649548cf6a4181253cc39f6d523dde5651833e72df42fe3577f16 DIST grafana-bin-9.3.6.tar.gz 89397564 BLAKE2B 1095be4f4fd4cedb70ddc0500b7ec84466d6db5a9be8154e5675fa47cdef0082cd57f5c03e0035f84989e639df2f30ced644c270b0d1189d7a00c54f5dd8ca66 SHA512 2619a6fef8bfaafdd45469198b7b7542def77d795e9c58a03a0308cce1e21db0dda936966a098e750304e6cc5a3576ba059d13aad0fd5f59ca24cf3074dba921 +DIST grafana-bin-9.3.8.tar.gz 69932750 BLAKE2B 57c1ad7910145f81b552cdb68fb835bfa0de45c73f69cdff9fdc6565827d73c957513bb02aba31871895d641457c8dc68e19689af4b476ff659d1ab2b84d67dd SHA512 4e321d007011452dac57daf0dfad55430f46b96f04be7d4f779809900c2dd81b3817123419c9570c84eb9496e3bd38f73af4a63a6c00e95a9d6c252afeda1ccf +DIST grafana-bin-9.4.3.tar.gz 83780585 BLAKE2B b8b609bb701b63262e0b70e551b608e4923721664a40ce4eb91a50c60f0978f93c53dd05d5e0e7758ecd7a38f3a459cf695175912c5806f6cfda3e4109114c7e SHA512 bd315ab4ddd52ad7d9cbf81bce9d04fb00fdf418d2148c84385a47649b76df3e2f36c5664692bfe99038b6f4a280176152d508627f57b7f4402767c03f73f7a6 diff --git a/www-apps/grafana-bin/grafana-bin-9.4.3.ebuild b/www-apps/grafana-bin/grafana-bin-9.4.3.ebuild new file mode 100644 index 000000000000..0e8aae35965c --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-9.4.3.ebuild @@ -0,0 +1,66 @@ +# 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-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} +} + +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 +} |