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 6DB12158086 for ; Tue, 9 Nov 2021 00:31:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B92D92BC04E; Tue, 9 Nov 2021 00:31:01 +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 9B5B52BC04E for ; Tue, 9 Nov 2021 00:31:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2B1AA342DCA for ; Tue, 9 Nov 2021 00:31:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72D97156 for ; Tue, 9 Nov 2021 00:30:42 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1636417515.ef4faf8d786ee74866692064f4ff137c1065b232.whissi@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.1.7.ebuild X-VCS-Directories: www-apps/grafana-bin/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: ef4faf8d786ee74866692064f4ff137c1065b232 X-VCS-Branch: master Date: Tue, 9 Nov 2021 00:30:42 +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: b511c7f5-b550-4ad5-853b-7e1f632e43bd X-Archives-Hash: 5f0c7eabba6354105f2677691c36c2a5 commit: ef4faf8d786ee74866692064f4ff137c1065b232 Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Nov 9 00:25:15 2021 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Nov 9 00:25:15 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef4faf8d www-apps/grafana-bin: bump to v8.1.7 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann gentoo.org> www-apps/grafana-bin/Manifest | 1 + www-apps/grafana-bin/grafana-bin-8.1.7.ebuild | 64 +++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 11a3a62ebea..878bec46e3b 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,2 +1,3 @@ DIST grafana-bin-7.5.11.tar.gz 52218943 BLAKE2B 5c8faef6ccc5460f33e7b2ba876270739a4ad4a2cc036760e3b5c0f84130bd74895f38df3ab9cbf9b85221f66565b8f526392238585d88bf8d8e643a300f5533 SHA512 fa1c228f5c54a4563268192388a43762fcee90f8093caa25ad656de4ba49444944809c03b7934e7f78aefd642432a1bd5fdb6ce93da2ec0d3f3547c46af8fb6a DIST grafana-bin-8.1.6.tar.gz 55983069 BLAKE2B 91c4cba7595e6d0dc303f246907330707f51ee7c7bd0f983cde4a87806e8cd92bb16b5014df7dfa6103ab47bf71f7bf2adb1a55ab3d9d5d01776f72d2c2b27f7 SHA512 84b1186fe5160a6c7d5a7ec5ffb96e4bd0fef821b381b196301910a74890307833a06cd3cb133eb5efb93c49744d4646a6cbd52fa0e1dc87afa8fb41dfbcea73 +DIST grafana-bin-8.1.7.tar.gz 56240059 BLAKE2B 69cc05433c19330521920af1ff1816830a66d098db4fc8999bdc267a438be3a033a827dc06ffec5e8c587c552c1b310048b75706127eecfed52285f2f6f380b1 SHA512 5f32601db056b29ece2dae28b19547a7eb93b2068cf8cf17dfb743a83d326f00689375be7bec3e4fb08d215a3b2387565d338c5943e29e2664ec93482b157494 diff --git a/www-apps/grafana-bin/grafana-bin-8.1.7.ebuild b/www-apps/grafana-bin/grafana-bin-8.1.7.ebuild new file mode 100644 index 00000000000..937332ec5f0 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-8.1.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 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 +}