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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E08B7138334 for ; Mon, 19 Nov 2018 01:36:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2DCFE093D; Mon, 19 Nov 2018 01:36:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A17D8E093D for ; Mon, 19 Nov 2018 01:36:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8EDA335C36 for ; Mon, 19 Nov 2018 01:36:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AA4C45D for ; Mon, 19 Nov 2018 01:36:23 +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: <1542591343.6b288fdbb9a93cb81c7d3abf7862f2a54443e170.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-5.3.4.ebuild X-VCS-Directories: www-apps/grafana-bin/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 6b288fdbb9a93cb81c7d3abf7862f2a54443e170 X-VCS-Branch: master Date: Mon, 19 Nov 2018 01:36:23 +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-Archives-Salt: f48c61c8-96a5-4ec9-b2c5-db7556cfca22 X-Archives-Hash: 1fe3f8bb5def1bc4166928bcb31a5ac2 commit: 6b288fdbb9a93cb81c7d3abf7862f2a54443e170 Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Nov 19 01:35:43 2018 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Nov 19 01:35:43 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b288fdb www-apps/grafana-bin: bump to v5.3.4 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> www-apps/grafana-bin/Manifest | 1 + www-apps/grafana-bin/grafana-bin-5.3.4.ebuild | 63 +++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index fe1e3c91103..0e0b8815a03 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -2,3 +2,4 @@ DIST grafana-bin-5.2.4.tar.gz 54300847 BLAKE2B defb1b32fafe95c17ab4201665df053d8 DIST grafana-bin-5.2.5.tar.gz 54300812 BLAKE2B c6b0928f15938e6240551a80b00e996e450a1fef5aeb703728e4654d4e0c081ad23f3250775d5de5858b4bff7ed0753a90b41caf502e2e93b28bb4fa4f1c86c7 SHA512 eff8331c99ed4483a6d715b58170cc0b9c7f57aaff66cc03daa68e767cfb67635ece0583ea476a74e0df176d40fe4d92778533d0545476a5528d8ec8f9e400a7 DIST grafana-bin-5.3.1.tar.gz 54595281 BLAKE2B a6feb32e885bb6ce89c168e51e2b2ef6fd33557b44e6ed5f23a3b724b67f7e3055234bb25a714cc515a89d0de6dd69ccfec92c5aeeed72865ce4f646b3a9bba5 SHA512 b439be6d031d24f046985cddce0ce2866efb808f9d107f305998ed042b6bc86f5fdb4482d31bb3da53e4f57d52ac61bd7448394410cd063e46f396f7506cd179 DIST grafana-bin-5.3.2.tar.gz 54609996 BLAKE2B c5c4493e31a766332cda727ede440d4cce59278e1d1693409d112d8093f3074f95e2cc10b0c21379f306eed497d1fc236d5744f111afb512473ff5e097afb3d2 SHA512 d2f4786c304af42c2680210f712cb11010825b76cb1155235841a1f80d30715f2f2b3510ac93594d807b132e4f5c43d89cab026db2b7ea20672f592e3b117b09 +DIST grafana-bin-5.3.4.tar.gz 54609273 BLAKE2B 4a9197baaa6d6689d1e23630f49513a9b6b90ebb081ab8f82fff8e2f3f1c156b0fec5a30c6f6222a3225646b37305a535747e4a60157528a56f222cba56a8ada SHA512 97aa9325f9886a13844828d29395fb6a0752ccc0311119850c78425a0d0c8e82844b20b4c0dbacec0de479aaa26dddb5510485d0fd6a8a7e760f4b540bb3b270 diff --git a/www-apps/grafana-bin/grafana-bin-5.3.4.ebuild b/www-apps/grafana-bin/grafana-bin-5.3.4.ebuild new file mode 100644 index 00000000000..211fc9468af --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-5.3.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit user systemd + +MY_PN=${PN/-bin/} +S=${WORKDIR}/${MY_PN}-${PV} + +DESCRIPTION="Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB" +HOMEPAGE="https://grafana.org" +SRC_URI="https://s3-us-west-2.amazonaws.com/grafana-releases/release/${MY_PN}-${PV}.linux-amd64.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND}" + +QA_EXECSTACK="usr/share/grafana/vendor/phantomjs/phantomjs" +QA_PREBUILT="usr/bin/grafana-*" +QA_PRESTRIPPED=${QA_EXECSTACK} + +pkg_setup() { + enewgroup grafana + enewuser grafana -1 -1 /usr/share/grafana grafana +} + +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.confd grafana + newinitd "${FILESDIR}"/grafana.initd.3 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() { + 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." +}