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 2A72C1382DE for ; Tue, 28 Jun 2016 13:40:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44857E09D2; Tue, 28 Jun 2016 13:39:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 914E3E0912 for ; Tue, 28 Jun 2016 13:39:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D2FC340CF4 for ; Tue, 28 Jun 2016 13:39:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BEF3AB3D for ; Tue, 28 Jun 2016 13:39:54 +0000 (UTC) From: "Patrick Lauer" 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 Lauer" Message-ID: <1467121165.481c1c90bf02eb69bf1d08c026bd172755a7bcbf.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-3.1.0_beta1.ebuild X-VCS-Directories: www-apps/grafana-bin/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 481c1c90bf02eb69bf1d08c026bd172755a7bcbf X-VCS-Branch: master Date: Tue, 28 Jun 2016 13:39:54 +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: 9f43f53f-63eb-4a70-b925-c3f13305fd13 X-Archives-Hash: 6f3d20cf7123bb6de742060675b3f6c0 commit: 481c1c90bf02eb69bf1d08c026bd172755a7bcbf Author: Patrick Lauer gentoo org> AuthorDate: Tue Jun 28 13:09:46 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Tue Jun 28 13:39:25 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=481c1c90 www-apps/grafana-bin: Bump to 3.1_beta Package-Manager: portage-2.3.0 www-apps/grafana-bin/Manifest | 1 + .../grafana-bin/grafana-bin-3.1.0_beta1.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index ada2638..0302ba3 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1 +1,2 @@ DIST grafana-bin-3.0.4.tar.gz 40460699 SHA256 ec5581d055bb67abac3007457a30869bca263c151264011cf0c9ce086c5329df SHA512 eca12381e5aec14ba40e0821a3e46a169f789f7d7d00c89db2ef1d7db1a770a09906d144515cfac72d5b1bff72a18f9ad71316439ea33240ccefcd859752a916 WHIRLPOOL fa48e9f6b4792cc3f1d6123d624d4404a7283aee9dca8b59ce524fd02db6de9120607d0bb04eae052d56f0cd416e46b67a7cbb212cb64994b2d78e281ba88d5f +DIST grafana-bin-3.1.0_beta1.tar.gz 40611974 SHA256 46e22ddf361c862f8c867ab7e69bddeb39b6b143f052cca93bbfd237b89ad317 SHA512 42817c355347505281e0e7de976f5d995a204231c5ad0a20c0d5a59ae459c12c5bfc3a8390e473b34f5206a3bf73719cc30666b0acc229ac2aa1959cafdc1ce9 WHIRLPOOL f501cc193438c782e6376a4cf9c5bd141ba201775cce6348e2e74974fa48654f2f53433a837f02a55d1cd13a97963097936aae2b13730d3648c06667853c8cbb diff --git a/www-apps/grafana-bin/grafana-bin-3.1.0_beta1.ebuild b/www-apps/grafana-bin/grafana-bin-3.1.0_beta1.ebuild new file mode 100644 index 0000000..0c1efca --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-3.1.0_beta1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit user +MY_PN=${PN/-bin/} +MY_PV="3.1.0-1466666977beta1" +S=${WORKDIR}/${MY_PN}-${MY_PV} + +DESCRIPTION="Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB" +HOMEPAGE="http://grafana.org" +SRC_URI="https://grafanarel.s3.amazonaws.com/builds/${MY_PN}-${MY_PV}.linux-x64.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + >=dev-lang/go-1.5 + net-libs/nodejs +" + +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 + + # Frontend assets + insinto /usr/share/${MY_PN} + doins -r public conf vendor + + dobin bin/grafana-cli + dobin bin/grafana-server + + newconfd "${FILESDIR}"/grafana.confd grafana + newinitd "${FILESDIR}"/grafana.initd grafana + + keepdir /var/{lib,log}/grafana + fowners grafana:grafana /var/{lib,log}/grafana + fperms 0750 /var/{lib,log}/grafana +}