diff options
author | Patrick Lauer <patrick@gentoo.org> | 2024-08-05 06:31:01 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2024-08-05 06:31:01 +0000 |
commit | 82dfae0ab31f11fa6373adb8f5b761881fac00c0 (patch) | |
tree | 71df511c86ebd4fb3e1b1d8d778f6e680074a770 /www-apps | |
parent | sys-apps/syd: drop 3.23.14 (diff) | |
download | gentoo-82dfae0ab31f11fa6373adb8f5b761881fac00c0.tar.gz gentoo-82dfae0ab31f11fa6373adb8f5b761881fac00c0.tar.bz2 gentoo-82dfae0ab31f11fa6373adb8f5b761881fac00c0.zip |
www-apps/grafana-bin: add 11.1.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-11.1.3.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 2b85fa239bc5..14e79f8a0578 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -3,4 +3,6 @@ DIST grafana-bin-10.2.3.tar.gz 108993853 BLAKE2B c04ca8a92d974b74732c5da21129311 DIST grafana-bin-10.3.1.tar.gz 111106552 BLAKE2B 36ee6dc1fe05e622a67f386d386bdbc27ccf2d1259a35984654cdbb26cd1cff5b65e8996e33e19e56a2d898e0be2eebb04848599c332bf712f2ec872e72f31c1 SHA512 c89ef027c119de69034140e21a680d1045882877579c3c71d8d33310429e21d8ff849c3d9c18b2e559bb238218125646f02d8f532e74a657629e52b794d449a3 DIST grafana-bin-11.1.0.amd64.tar.gz 123535977 BLAKE2B 57f205222fd2329be0c1986f3eb3610d14997a5a0de75d2a6d5d7823a481e9a2f2520c9eab22bdf16d6a5161792db9d7bbe3e8fdf78aa4869a4651608f206371 SHA512 f43781c5148a0de77e2a9591987fd3927ccfe565609701f88999b73102f45ef62883775d51d47c8712414baabc5627331d8127437798a8341fc758c6c90627ba DIST grafana-bin-11.1.0.arm64.tar.gz 119348599 BLAKE2B da717dc2e32b72a806e4049a6ebddff334388b55607e2aafb9038e1a61684c57796541e9ebf1af78d2d54cc4792f0fa64888e13418a00c2d78f7374d6b0d5daf SHA512 8d302a22bff30a0bcd57bb3b6c08cc43826c85b6b6847f47c8bc444ed2493bd6d086693bff55f5b1498de916e21641fb59d3c870d7c1e54a4e01184c41d34ade +DIST grafana-bin-11.1.3.amd64.tar.gz 123663816 BLAKE2B 6fea7ec44c0bbeeaeff8810d6368e0773467ccd8e77cdbfd700033fc13af26b9ffac719882d1231d8ec6c664641f1a455f2876a76714c6320d16eb7a9879413b SHA512 531c9f84082a998efbfd8c30c93fba12f6542abbdfe938e427a31be6db992c33c4a3bab5b712a057d01288acbd2716d9959535fd6b881864eb21f60c51efc781 +DIST grafana-bin-11.1.3.arm64.tar.gz 119469378 BLAKE2B b7e66e141ed2fc2d297ffa9c46c1dd3fcb662822e2acbf2a3c0b2f1abcf7d2203bac05f9610ec70539150d086863ba58d584bdde526491c9541787b5b3329c23 SHA512 169b472002134e898d5faa6a8b1cb3096a7767f327a7c13c7fa6f4fbebddc850fabf8b3612441edce92c886268e7e3867bfe1ad35c25b8d6fb7c076687f9ecfa DIST grafana-bin-9.5.15.tar.gz 87141838 BLAKE2B 8677442b150ea8b7f92df30bc2f7d5e3baaaf305206a7b351c50ab9d7e1a440565be32ab4875462cbe15042af2195c5523b59e09d1f2f7eeebdeef28bd62842c SHA512 ea3c8a19c9f0db1a2ad98317c28acebf96eb2f071df381028d260050434ec1b55b7e977250211fe87ceafc72ce17afb5112ae7a99debddfc6537ae0d795a8939 diff --git a/www-apps/grafana-bin/grafana-bin-11.1.3.ebuild b/www-apps/grafana-bin/grafana-bin-11.1.3.ebuild new file mode 100644 index 000000000000..3f4d5b1b9814 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-11.1.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 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} + +DESCRIPTION="Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB" +HOMEPAGE="https://grafana.org" +SRC_URI=" +amd64? ( + https://dl.grafana.com/oss/release/grafana-${PV}.linux-amd64.tar.gz -> ${P}.amd64.tar.gz +) +arm64? ( + https://dl.grafana.com/oss/release/grafana-${PV}.linux-arm64.tar.gz -> ${P}.arm64.tar.gz +) +" +S=${WORKDIR}/${MY_PN}-v${MY_PV} + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" +RESTRICT="mirror" + +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 +} |