From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1498788-garchives=archives.gentoo.org@lists.gentoo.org>
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 2A54215A7D9
	for <garchives@archives.gentoo.org>; Mon, 20 Mar 2023 08:28:56 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6925CE0391;
	Mon, 20 Mar 2023 08:28:55 +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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 31DE5E0391
	for <gentoo-commits@lists.gentoo.org>; Mon, 20 Mar 2023 08:28:55 +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 41FCE341298
	for <gentoo-commits@lists.gentoo.org>; Mon, 20 Mar 2023 08:28:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 81C5A8E0
	for <gentoo-commits@lists.gentoo.org>; Mon, 20 Mar 2023 08:28:52 +0000 (UTC)
From: "罗百科" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "罗百科" <patrick@gentoo.org>
Message-ID: <1679300896.c855edf9d5c30cbe1d830eedb8474e5eb931e2f5.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-9.4.3.ebuild
X-VCS-Directories: www-apps/grafana-bin/
X-VCS-Committer: patrick
X-VCS-Committer-Name: 罗百科
X-VCS-Revision: c855edf9d5c30cbe1d830eedb8474e5eb931e2f5
X-VCS-Branch: master
Date: Mon, 20 Mar 2023 08:28:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 7b714ce8-ed3f-4381-b9b7-e59c7ce5c0b6
X-Archives-Hash: 9a97c5cae999a9e9bf1af87c6e370d0d

commit:     c855edf9d5c30cbe1d830eedb8474e5eb931e2f5
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 08:28:16 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Mar 20 08:28:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c855edf9

www-apps/grafana-bin: add 9.4.3

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 www-apps/grafana-bin/Manifest                 |  2 +
 www-apps/grafana-bin/grafana-bin-9.4.3.ebuild | 66 +++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest
index 3242b555bc8e..4dce2f7eaa7f 100644
--- a/www-apps/grafana-bin/Manifest
+++ b/www-apps/grafana-bin/Manifest
@@ -1,3 +1,5 @@
 DIST grafana-bin-9.3.0.tar.gz 88847005 BLAKE2B 4c37dc077b7f9fb8f9256a2a85094eef5ae2dabe693d039b7c5509ec2662ec544d307dc1cf0043301fb4c3525107bddfac0a7f7a67f0efb8b333936c1b96192d SHA512 1489d3f948259dd3db6403e95f176fea664cb5bfc83a6f22e57ffbe075cc07257a463c4b1d1fd8aa94fbad5473b29608f0c3fc6fdf0c08bcb72f3beeff5163c7
 DIST grafana-bin-9.3.2.tar.gz 89322650 BLAKE2B b9256b6468aa4eff1d77a7bce1f701ab61a372baf2f239572921b04a5624933e57c881035de9a0a86a5ff17b942e2965a7807ae2c183a60cfabb4bd4bf546acb SHA512 9d13624f728b5f5845c9780372b9334d81faadf03b47034b0de708fe87e50db3daff95f61e5649548cf6a4181253cc39f6d523dde5651833e72df42fe3577f16
 DIST grafana-bin-9.3.6.tar.gz 89397564 BLAKE2B 1095be4f4fd4cedb70ddc0500b7ec84466d6db5a9be8154e5675fa47cdef0082cd57f5c03e0035f84989e639df2f30ced644c270b0d1189d7a00c54f5dd8ca66 SHA512 2619a6fef8bfaafdd45469198b7b7542def77d795e9c58a03a0308cce1e21db0dda936966a098e750304e6cc5a3576ba059d13aad0fd5f59ca24cf3074dba921
+DIST grafana-bin-9.3.8.tar.gz 69932750 BLAKE2B 57c1ad7910145f81b552cdb68fb835bfa0de45c73f69cdff9fdc6565827d73c957513bb02aba31871895d641457c8dc68e19689af4b476ff659d1ab2b84d67dd SHA512 4e321d007011452dac57daf0dfad55430f46b96f04be7d4f779809900c2dd81b3817123419c9570c84eb9496e3bd38f73af4a63a6c00e95a9d6c252afeda1ccf
+DIST grafana-bin-9.4.3.tar.gz 83780585 BLAKE2B b8b609bb701b63262e0b70e551b608e4923721664a40ce4eb91a50c60f0978f93c53dd05d5e0e7758ecd7a38f3a459cf695175912c5806f6cfda3e4109114c7e SHA512 bd315ab4ddd52ad7d9cbf81bce9d04fb00fdf418d2148c84385a47649b76df3e2f36c5664692bfe99038b6f4a280176152d508627f57b7f4402767c03f73f7a6

diff --git a/www-apps/grafana-bin/grafana-bin-9.4.3.ebuild b/www-apps/grafana-bin/grafana-bin-9.4.3.ebuild
new file mode 100644
index 000000000000..0e8aae35965c
--- /dev/null
+++ b/www-apps/grafana-bin/grafana-bin-9.4.3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 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"
+
+RESTRICT="mirror"
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+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-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}
+}
+
+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
+}