summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-08-24 12:36:57 +0200
committerPacho Ramos <pacho@gentoo.org>2016-08-24 12:38:01 +0200
commit696e9771c2429d256ba0c5fb38ee19a1dcd7b873 (patch)
tree94f9bec533f3ae23d9f72c439e87b65c5e79c619
parentnet-analyzer/prelude-lml: use #!/sbin/openrc-run instead of #!/sbin/runscript (diff)
downloadgentoo-696e9771c2429d256ba0c5fb38ee19a1dcd7b873.tar.gz
gentoo-696e9771c2429d256ba0c5fb38ee19a1dcd7b873.tar.bz2
gentoo-696e9771c2429d256ba0c5fb38ee19a1dcd7b873.zip
www-apps/grafana-bin: Drop old
Package-Manager: portage-2.3.0
-rw-r--r--www-apps/grafana-bin/Manifest1
-rw-r--r--www-apps/grafana-bin/files/grafana.initd34
-rw-r--r--www-apps/grafana-bin/grafana-bin-3.0.4.ebuild51
3 files changed, 0 insertions, 86 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest
index 0a0e660bae92..72ae710f17d1 100644
--- a/www-apps/grafana-bin/Manifest
+++ b/www-apps/grafana-bin/Manifest
@@ -1,2 +1 @@
-DIST grafana-bin-3.0.4.tar.gz 40460699 SHA256 ec5581d055bb67abac3007457a30869bca263c151264011cf0c9ce086c5329df SHA512 eca12381e5aec14ba40e0821a3e46a169f789f7d7d00c89db2ef1d7db1a770a09906d144515cfac72d5b1bff72a18f9ad71316439ea33240ccefcd859752a916 WHIRLPOOL fa48e9f6b4792cc3f1d6123d624d4404a7283aee9dca8b59ce524fd02db6de9120607d0bb04eae052d56f0cd416e46b67a7cbb212cb64994b2d78e281ba88d5f
DIST grafana-bin-3.1.0.tar.gz 40620308 SHA256 da8175ee46d2dc39cbe29f49bf5efdd34fddaad53d4ddfcef1316356fa029c9c SHA512 fb458299c8622ed0c2478928aa72b565fb87127cde342cc1b3f36a3582b3f76031547b7fef4240a37a51c1ac2ce239b086f97dfddf1309fe99d3c999ee80747e WHIRLPOOL 37f8f6ade9eb250c7a1591b975014410adf3e4dd8c803c842d37c30e88a3b7b64b05ff02a4849139216ffe9e76e75fd2e87db9e24dc404b60966e7b4ced47f7d
diff --git a/www-apps/grafana-bin/files/grafana.initd b/www-apps/grafana-bin/files/grafana.initd
deleted file mode 100644
index ecbd2e22d814..000000000000
--- a/www-apps/grafana-bin/files/grafana.initd
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need localmount
-}
-
-start() {
- ebegin "Starting grafana server"
-
- start-stop-daemon --start -b \
- --chdir /usr/share/grafana \
- --user ${GRAFANA_USER}:${GRAFANA_GROUP} \
- --exec /usr/bin/grafana-server -- \
- -pidfile=/run/grafana.pid \
- -config=/etc/grafana/grafana.ini \
- cfg:default.paths.data=/var/lib/grafana \
- cfg:default.paths.logs=/var/log/grafana
-
- eend $?
-}
-
-stop() {
- ebegin "Stopping grafana server"
-
- start-stop-daemon --stop \
- --pidfile /run/grafana.pid \
- --user "${GRAFANA_USER}" \
- --retry=TERM/20/KILL/5
-
- eend $?
-}
diff --git a/www-apps/grafana-bin/grafana-bin-3.0.4.ebuild b/www-apps/grafana-bin/grafana-bin-3.0.4.ebuild
deleted file mode 100644
index 4b2e8abf73f0..000000000000
--- a/www-apps/grafana-bin/grafana-bin-3.0.4.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# 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.0.4-1464167696"
-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="~amd64"
-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
-}