From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5419B15802E for ; Sun, 30 Jun 2024 12:55:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A17AE2AC0; Sun, 30 Jun 2024 12:55:58 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 570F5E2AC0 for ; Sun, 30 Jun 2024 12:55:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7EA08335C31 for ; Sun, 30 Jun 2024 12:55:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0EE71C93 for ; Sun, 30 Jun 2024 12:55:55 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1719752133.3ede0b7202a626f3952c1b0f295411b126670d1a.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/grafana-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/grafana-bin/Manifest www-apps/grafana-bin/grafana-bin-11.1.0.ebuild X-VCS-Directories: www-apps/grafana-bin/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 3ede0b7202a626f3952c1b0f295411b126670d1a X-VCS-Branch: master Date: Sun, 30 Jun 2024 12:55:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0892f3cd-a28a-4ee9-923f-de72c1e14c30 X-Archives-Hash: ed39825b09e4121c579986291aeaa01f commit: 3ede0b7202a626f3952c1b0f295411b126670d1a Author: Louis Sautier gentoo org> AuthorDate: Sun Jun 30 12:21:12 2024 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sun Jun 30 12:55:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ede0b72 www-apps/grafana-bin: add 11.1.0 with ARM64 support Closes: https://bugs.gentoo.org/873178 Signed-off-by: Louis Sautier gentoo.org> www-apps/grafana-bin/Manifest | 2 + www-apps/grafana-bin/grafana-bin-11.1.0.ebuild | 74 ++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index e15f4c3fb328..2b85fa239bc5 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,4 +1,6 @@ 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 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 +}