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 531E015808B for ; Sun, 27 Mar 2022 07:51:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C388E0900; Sun, 27 Mar 2022 07:51:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EA0CBE0900 for ; Sun, 27 Mar 2022 07:51:16 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 07EE9343662 for ; Sun, 27 Mar 2022 07:51:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CD1A317 for ; Sun, 27 Mar 2022 07:51:14 +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: <1648367473.5a344cb7c02c7d563e1a4b7f5aaba55499287a4a.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.3.7.ebuild www-apps/grafana-bin/grafana-bin-8.4.4.ebuild X-VCS-Directories: www-apps/grafana-bin/ X-VCS-Committer: patrick X-VCS-Committer-Name: 罗百科 X-VCS-Revision: 5a344cb7c02c7d563e1a4b7f5aaba55499287a4a X-VCS-Branch: master Date: Sun, 27 Mar 2022 07:51:14 +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: 196a54be-c29c-4e2e-8933-51cc8009cc3e X-Archives-Hash: 70257305a5a701c6cf9f0f2ed2ea6a37 commit: 5a344cb7c02c7d563e1a4b7f5aaba55499287a4a Author: Patrick Lauer gentoo org> AuthorDate: Sun Mar 27 07:51:05 2022 +0000 Commit: 罗百科 gentoo org> CommitDate: Sun Mar 27 07:51:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a344cb7 www-apps/grafana-bin: Bump to 8.3.7 8.4.4 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.3.7.ebuild | 64 +++++++++++++++++++++++++++ www-apps/grafana-bin/grafana-bin-8.4.4.ebuild | 64 +++++++++++++++++++++++++++ 3 files changed, 130 insertions(+) diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 5b7c57d939ce..a82e73255270 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,2 +1,4 @@ DIST grafana-bin-7.5.15.tar.gz 52222968 BLAKE2B 0d1d0282eb4cbd8a91c1719b2085ff78c5dfccdb751fdb005191a493b1885286834e64dfa9dacde989ef682a2243234cea572708122438d988e16838bfc1adff SHA512 0c94d36dd51386f7ebd88227df7a600e6e5ea2f4bcf3acbc819460cec717fa8fa75d93db72a7d272a6177ef235c061dc251439d25a9e4df2db3b395c647f6f0e 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 diff --git a/www-apps/grafana-bin/grafana-bin-8.3.7.ebuild b/www-apps/grafana-bin/grafana-bin-8.3.7.ebuild new file mode 100644 index 000000000000..b15b8f8775d4 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-8.3.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.4.4.ebuild b/www-apps/grafana-bin/grafana-bin-8.4.4.ebuild new file mode 100644 index 000000000000..b15b8f8775d4 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-8.4.4.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 +}