diff options
author | Patrick Lauer <patrick@gentoo.org> | 2022-05-05 05:02:49 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2022-05-05 05:02:49 +0000 |
commit | 57c4f1a94ac89ef0c281ee5e4e17e77cfdff7082 (patch) | |
tree | e9560ef49ec0254886a907a1e9887694edef24e2 /www-apps | |
parent | net-p2p/go-ipfs: fix build error (diff) | |
download | gentoo-57c4f1a94ac89ef0c281ee5e4e17e77cfdff7082.tar.gz gentoo-57c4f1a94ac89ef0c281ee5e4e17e77cfdff7082.tar.bz2 gentoo-57c4f1a94ac89ef0c281ee5e4e17e77cfdff7082.zip |
www-apps/grafana-bin: Bump to 8.4.7 8.5.2
Package-Manager: Portage-3.0.30, Repoman-3.0.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-8.4.7.ebuild | 64 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-8.5.2.ebuild | 64 |
3 files changed, 130 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index a82e73255270..abb62e814894 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -2,3 +2,5 @@ DIST grafana-bin-7.5.15.tar.gz 52222968 BLAKE2B 0d1d0282eb4cbd8a91c1719b2085ff78 DIST grafana-bin-8.3.5.tar.gz 72641356 BLAKE2B a75e20de51f0b2346bc504a0c65a14e818697d346352f51197edb1d783db4d234b65cf09c7915d6f2e902f0e4e65076cac723453e9fc7d2fc78b8d5316b4a25d SHA512 ce8afd0da6e7f0e712cb181a6c1ac4ff95cb0349862da673c547eb2ce4426d7fa1402f7fbf3cfa56b5b1006788864f0a54fbbca4b29c456b6c6ca4a5862bc9da DIST grafana-bin-8.3.7.tar.gz 72682810 BLAKE2B e7ceb64d3caaf3fcf02aba8beaf1cde9d66f25b673752fb342f74c2e2bd2f60cd60771ede6f2401fe0e2e2b345457d2d2e6d2b3f19532a2f393528cf21b4b594 SHA512 57e6c25698db943b5eca15b588f50bb01d30e88d227ba6499c5fcd8df185a8e6e6f799cba0c0953efc397b04315ffa755193cc7a90197e5cd93375481d999fe1 DIST grafana-bin-8.4.4.tar.gz 74258533 BLAKE2B 9635e39f816c88c7573eda4e6309c2958adc08585b3cb5da94f9ca95b3c7c15a9c048e06e3594a394bf7831b28476f406ff748330c386716aee62e67c266b201 SHA512 1977e031234e4fd24de87b6d34ae012851575fd51a668e172b6e8b8a490019f162dac376beb492d31b76dcc15dc8e9a8546b3e1a85b23945308281ab688d19ee +DIST grafana-bin-8.4.7.tar.gz 75609875 BLAKE2B 157e1c0ee3ac49d817004da9484097d960e900f6727a1fd4e3386d6573a88e72e5477e4085b3e12659fc3ac295ce77adbace708f0dabc787eab88a1432a2617b SHA512 663a78cb2e51e0d95e1bc0e03faacc8f0c0ab666154adcc465c6b0f3ddc2a2fa7e73acff9a74b95a6a9865c041499397e74a081cec2686973b1acdc33a19e802 +DIST grafana-bin-8.5.2.tar.gz 77679732 BLAKE2B 7ae347eed09074f840b0bf0a663fc893c07cb8b97f0dda4fce5f5e7a75fffd875327efdc2dbcf16e6af00228bdd62e39328c30c2968ea48369a9eeb565b21b6b SHA512 0d1afdc8c4a1f09a3005a321cbf1647f8aca4b508a2041f21d7477fc041cdf348944f5b3473084beff5993f3c7e9b2da2fad321066dea9f34294bf023ff1cf01 diff --git a/www-apps/grafana-bin/grafana-bin-8.4.7.ebuild b/www-apps/grafana-bin/grafana-bin-8.4.7.ebuild new file mode 100644 index 000000000000..b15b8f8775d4 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-8.4.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 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 +} diff --git a/www-apps/grafana-bin/grafana-bin-8.5.2.ebuild b/www-apps/grafana-bin/grafana-bin-8.5.2.ebuild new file mode 100644 index 000000000000..b15b8f8775d4 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-8.5.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 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 +} |