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 10B5F158090 for ; Thu, 5 May 2022 05:03:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23CA7E0769; Thu, 5 May 2022 05:03:03 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 C4E45E0769 for ; Thu, 5 May 2022 05:03:02 +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 75C46341B61 for ; Thu, 5 May 2022 05:03:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A7D513F0 for ; Thu, 5 May 2022 05:02:59 +0000 (UTC) From: "罗百科" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "罗百科" Message-ID: <1651726969.57c4f1a94ac89ef0c281ee5e4e17e77cfdff7082.patrick@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-8.4.7.ebuild www-apps/grafana-bin/grafana-bin-8.5.2.ebuild X-VCS-Directories: www-apps/grafana-bin/ X-VCS-Committer: patrick X-VCS-Committer-Name: 罗百科 X-VCS-Revision: 57c4f1a94ac89ef0c281ee5e4e17e77cfdff7082 X-VCS-Branch: master Date: Thu, 5 May 2022 05:02:59 +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: 50b3da33-8b51-4c44-9577-c784d9071847 X-Archives-Hash: 86913098e1a6c636352248e4ae4b3f14 commit: 57c4f1a94ac89ef0c281ee5e4e17e77cfdff7082 Author: Patrick Lauer gentoo org> AuthorDate: Thu May 5 05:02:49 2022 +0000 Commit: 罗百科 gentoo org> CommitDate: Thu May 5 05:02:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57c4f1a9 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 gentoo.org> www-apps/grafana-bin/Manifest | 2 + www-apps/grafana-bin/grafana-bin-8.4.7.ebuild | 64 +++++++++++++++++++++++++++ www-apps/grafana-bin/grafana-bin-8.5.2.ebuild | 64 +++++++++++++++++++++++++++ 3 files changed, 130 insertions(+) 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 +}