From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1561935-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 B556D158089
	for <garchives@archives.gentoo.org>; Wed, 11 Oct 2023 12:23:36 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 09A502BC06D;
	Wed, 11 Oct 2023 12:23:36 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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 E7E042BC06D
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Oct 2023 12:23:35 +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 09F49335C2A
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Oct 2023 12:23:34 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9BAF4992
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Oct 2023 12:23:32 +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: <1697027008.7c38c73e7f843bcf03e016e677c90411a9109f65.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.3.16.ebuild www-apps/grafana-bin/grafana-bin-9.4.15.ebuild www-apps/grafana-bin/grafana-bin-9.5.12.ebuild
X-VCS-Directories: www-apps/grafana-bin/
X-VCS-Committer: patrick
X-VCS-Committer-Name: 罗百科
X-VCS-Revision: 7c38c73e7f843bcf03e016e677c90411a9109f65
X-VCS-Branch: master
Date: Wed, 11 Oct 2023 12:23:32 +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: 6ee4bd3c-83c4-4658-84e7-1d75fa98b182
X-Archives-Hash: 2b1923886cd99b1060fdba11dffa344e

commit:     7c38c73e7f843bcf03e016e677c90411a9109f65
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 11 12:21:08 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Oct 11 12:23:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c38c73e

www-apps/grafana-bin: add 9.3.16, 9.4.15, 9.5.12

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

 www-apps/grafana-bin/Manifest                  |  3 ++
 www-apps/grafana-bin/grafana-bin-9.3.16.ebuild | 67 ++++++++++++++++++++++++++
 www-apps/grafana-bin/grafana-bin-9.4.15.ebuild | 67 ++++++++++++++++++++++++++
 www-apps/grafana-bin/grafana-bin-9.5.12.ebuild | 67 ++++++++++++++++++++++++++
 4 files changed, 204 insertions(+)

diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest
index 829569c19891..01ef7c076802 100644
--- a/www-apps/grafana-bin/Manifest
+++ b/www-apps/grafana-bin/Manifest
@@ -1,3 +1,6 @@
 DIST grafana-bin-9.3.15.tar.gz 70054630 BLAKE2B cde395bf6869b0ec83aff85951e1f8c431d4e666d89f1ae7aeb4bec3b2f94a814954bd906a470eb0bea2010e6ae5fc5f6861517311bdfdfd406fb2d972a48b20 SHA512 e7b8f9192a05a41744b26dc85208bec6ff97fae9036dd9852caeaaab9d38ca2635ee1b122413b2136bb58116df37ca24f97c1475c096d47cad6f352751ee4423
+DIST grafana-bin-9.3.16.tar.gz 70053977 BLAKE2B 349aec2e1f92f62e8b3838d2c4611552fb27dd216c6e1a0c6e1a571d21388f518ba4fa7db1a946a275ec4e7e34014b102fc511d310384ec0843679c56df71c7b SHA512 0f04f69dcb9413b20c3ae64d21c6bc4ab0cf3ff7f40cb682314e8cadea31f01ebf13189a768bdec8f7f75f5b467fb6533e058b74a3041a5b96a7480e46589469
 DIST grafana-bin-9.4.12.tar.gz 83938603 BLAKE2B 47893428bca4a3d443c127a2ca83aad4b4c47fb033d61c256a952586447c7a6b47aded2ccdbe1fa0e9d6c2a3e70dfd1f206412445f9babcbb3252470a34040df SHA512 f3fc7f9cce92be5128168f6f3081110c7395ecefadc328bef6de41b681d02956ab89355eb64d260a53f20389a3e217ad43e59abb94c99ae6c1da22bbb59ed08a
+DIST grafana-bin-9.4.15.tar.gz 91458612 BLAKE2B c2921c597a7ba82021401d8a75828dc13656603b9a24e829e31b68138c25ed5782ee22c62057c5ff03f0cb12a697891e54efaf8720f7d1f3f30f845c3564802c SHA512 807fd5cb3a47670053aa76b971df00bfc37fae3d1a5d2ef5952765b04216ae559308bfd145392974b241bd81078653cfb7bf9c5030829c4628de3f325ff696f6
+DIST grafana-bin-9.5.12.tar.gz 86825096 BLAKE2B f108922ddd9a1b9c8c5899abbaff6c4fb72824094b099a7104418751877409e371a8c0e653c5a2c6ca5d51dc864d5bb10353dcc30f8e54032340a1e617086e1f SHA512 0772388a68b466c7fddfc145c180470d7fa5de72b2fee4203c303ffc2c62664a6f349df8e2893ac3dee053bee58e712957e7e9912b3aafce712e53fe0e37b107
 DIST grafana-bin-9.5.3.tar.gz 78499106 BLAKE2B c6fe7942450f83447a99a343844e089381110810f58a68be78ec5366febabcb53f8670afb4a0531c39a4a8e7f498298b715a8e706b7a302b71062693d4b08998 SHA512 3c5c21b887d4948e6f76be0ba29b62db3273e17aa86f5a7001762c192b18de6963e7fd5029a8fa7800a58b362b67a7e54a1409cdea667d490b68c90289ff8608

diff --git a/www-apps/grafana-bin/grafana-bin-9.3.16.ebuild b/www-apps/grafana-bin/grafana-bin-9.3.16.ebuild
new file mode 100644
index 000000000000..ed079e9887f5
--- /dev/null
+++ b/www-apps/grafana-bin/grafana-bin-9.3.16.ebuild
@@ -0,0 +1,67 @@
+# 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
+	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
+}

diff --git a/www-apps/grafana-bin/grafana-bin-9.4.15.ebuild b/www-apps/grafana-bin/grafana-bin-9.4.15.ebuild
new file mode 100644
index 000000000000..ed079e9887f5
--- /dev/null
+++ b/www-apps/grafana-bin/grafana-bin-9.4.15.ebuild
@@ -0,0 +1,67 @@
+# 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
+	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
+}

diff --git a/www-apps/grafana-bin/grafana-bin-9.5.12.ebuild b/www-apps/grafana-bin/grafana-bin-9.5.12.ebuild
new file mode 100644
index 000000000000..ed079e9887f5
--- /dev/null
+++ b/www-apps/grafana-bin/grafana-bin-9.5.12.ebuild
@@ -0,0 +1,67 @@
+# 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
+	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
+}