diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-01 08:00:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-01 08:00:51 +0100 |
commit | d1c14e94a73fba924761cdad7298f3e48c6bc160 (patch) | |
tree | 60b97f0d81b3b06b06acc48ff8856d7c4afa2989 /www-apps | |
parent | d5ee59790ee8298b8599b0aa0fa21a98b972a44d (diff) |
gentoo auto-resync : 01:07:2024 - 08:00:50
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/Manifest.gz | bin | 13486 -> 13483 bytes | |||
-rw-r--r-- | www-apps/grafana-bin/Manifest | 3 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-11.1.0.ebuild | 74 |
3 files changed, 77 insertions, 0 deletions
diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz Binary files differindex ccf620125c5f..39a54268f8d0 100644 --- a/www-apps/Manifest.gz +++ b/www-apps/Manifest.gz diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index e662124ee1f4..24e55ce318a2 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -4,9 +4,12 @@ AUX grafana.service 676 BLAKE2B 98b7e216324a451f97b9b0c2d1bbe493ea3206b8a6113f34 DIST grafana-bin-10.1.6.tar.gz 109521319 BLAKE2B 8184004cdaacbb13d80dfe3606a89d8b52083f0662970a52955a1518894268df047ea23e651d2a43879348c89840cd59301d10a69cc65bddff500e23801bf640 SHA512 1ea0e15dfad9d50fc6f4561d9dade79d1ac9bec5f11d25b97185b4423d3bf23395123cbd09f4cf3646895797c2bac78dd168da5344cdc9dcb7f264a25b6d2aa6 DIST grafana-bin-10.2.3.tar.gz 108993853 BLAKE2B c04ca8a92d974b74732c5da211293117b2b65cd3363445699f7a3e5e1fbaf7e9fb99c183b7c89c8aaec3957cd8e01d2060a7aab55c74bfd000749fe04e75ffa2 SHA512 02e9e2e6d244b36cfabcc7c46bc6356cc66e0f76bd9e96f7c642a5ed44cb8c435b9085d162210dea549bcbad4764a5a1b2c3773b0a2d2db98ab76cbc7f8ab257 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-9.5.15.tar.gz 87141838 BLAKE2B 8677442b150ea8b7f92df30bc2f7d5e3baaaf305206a7b351c50ab9d7e1a440565be32ab4875462cbe15042af2195c5523b59e09d1f2f7eeebdeef28bd62842c SHA512 ea3c8a19c9f0db1a2ad98317c28acebf96eb2f071df381028d260050434ec1b55b7e977250211fe87ceafc72ce17afb5112ae7a99debddfc6537ae0d795a8939 EBUILD grafana-bin-10.1.6.ebuild 1826 BLAKE2B 2863b5506751f18c9487a06842eb29587770ec70f83e1c93540fbfd9a017a3c2fa39a7df032f48d68863954dc69dc96b19649712b9de6726d7049c844ad076a5 SHA512 10932c62052dd1c67f34cc9d5c1321925a83ba341f4d3024b7ad11723d9028b3c2f8c085e7049c8d1058979f9fed34068b698faa9b1ab960a9b48e3b46de7044 EBUILD grafana-bin-10.2.3.ebuild 1826 BLAKE2B 2863b5506751f18c9487a06842eb29587770ec70f83e1c93540fbfd9a017a3c2fa39a7df032f48d68863954dc69dc96b19649712b9de6726d7049c844ad076a5 SHA512 10932c62052dd1c67f34cc9d5c1321925a83ba341f4d3024b7ad11723d9028b3c2f8c085e7049c8d1058979f9fed34068b698faa9b1ab960a9b48e3b46de7044 EBUILD grafana-bin-10.3.1.ebuild 1826 BLAKE2B 2863b5506751f18c9487a06842eb29587770ec70f83e1c93540fbfd9a017a3c2fa39a7df032f48d68863954dc69dc96b19649712b9de6726d7049c844ad076a5 SHA512 10932c62052dd1c67f34cc9d5c1321925a83ba341f4d3024b7ad11723d9028b3c2f8c085e7049c8d1058979f9fed34068b698faa9b1ab960a9b48e3b46de7044 +EBUILD grafana-bin-11.1.0.ebuild 1954 BLAKE2B 949f35d351c39a235dae99bbcc0f8b38cc15470ccc7c851d61e960889397badec9597f24465ec479e05833ea485860c91ff10767d790a4cf87b77ce8d3ca3d03 SHA512 1d2f62939fb54d7312edfe025dc8d2c942c6d4789deb9cfa2f1f7c3f343d80b93a8f76a24233b2006fe278b65e1364051e488a6850357ae5ff4d5b149c279a0a EBUILD grafana-bin-9.5.15.ebuild 1826 BLAKE2B 2863b5506751f18c9487a06842eb29587770ec70f83e1c93540fbfd9a017a3c2fa39a7df032f48d68863954dc69dc96b19649712b9de6726d7049c844ad076a5 SHA512 10932c62052dd1c67f34cc9d5c1321925a83ba341f4d3024b7ad11723d9028b3c2f8c085e7049c8d1058979f9fed34068b698faa9b1ab960a9b48e3b46de7044 MISC metadata.xml 219 BLAKE2B e366b8552425c0b7293381e047210130af3c96a6be5877911f2e3ee77b0c80a475854ec7d59e1a5dea75e9d07cefcb3636947fa0af121357cfe7db12e05e6c34 SHA512 b5fce0d3f0f5fa2729808fad339e6843c6bdf814451d2b65b9b67b4b715194e6de20ad2702c9b5a08d260c97641ab9478d978486e702d85034cfb95d7ceab954 diff --git a/www-apps/grafana-bin/grafana-bin-11.1.0.ebuild b/www-apps/grafana-bin/grafana-bin-11.1.0.ebuild new file mode 100644 index 000000000000..3f4d5b1b9814 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-11.1.0.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 +} |