diff options
author | 2018-10-03 11:47:58 +0200 | |
---|---|---|
committer | 2018-10-03 11:47:58 +0200 | |
commit | 33d037b6a4dbdd8814caa5eada93683ca39be75f (patch) | |
tree | b53c2e30dfb7d7400c4c0f594b9bfd13c1284771 | |
parent | media-sound/pulseaudio: media-sound/pusleaudio: remove unused ebuild (diff) | |
download | eva-33d037b6a4dbdd8814caa5eada93683ca39be75f.tar.gz eva-33d037b6a4dbdd8814caa5eada93683ca39be75f.tar.bz2 eva-33d037b6a4dbdd8814caa5eada93683ca39be75f.zip |
www-apps/grafana: remove outdated ebuild
Use gentoo repository ebuild instead.
-rw-r--r-- | www-apps/grafana/Manifest | 14 | ||||
-rw-r--r-- | www-apps/grafana/files/grafana.confd | 7 | ||||
-rw-r--r-- | www-apps/grafana/files/grafana.ini | 198 | ||||
-rw-r--r-- | www-apps/grafana/files/grafana.initd | 37 | ||||
-rw-r--r-- | www-apps/grafana/grafana-2.1.3.ebuild | 92 | ||||
-rw-r--r-- | www-apps/grafana/metadata.xml | 11 |
6 files changed, 0 insertions, 359 deletions
diff --git a/www-apps/grafana/Manifest b/www-apps/grafana/Manifest deleted file mode 100644 index 9f30460..0000000 --- a/www-apps/grafana/Manifest +++ /dev/null @@ -1,14 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 - -DIST grafana-2.1.3.tar.gz 19701620 SHA256 83414fadbbaeb938b69166f3079d54b65abf1e1f048c4c0b74ecda43f848cfdd SHA512 b4bc0d0078652ab246945e742e02cf6b96b68f6638fb84e58133758bdf09cf20917b9522cdf8609127efcd1992e705d1eeabe5b58ee6cb28ae3d71dd3d1958f7 WHIRLPOOL b047a27f4d479ff50dec468d7e5af262fedf7a0d3d97c54a4ba2953514a2d5974a9e6eeb3380bc4c49c6f2d2b25af5630f40095d23450e886becb87bfc5a7610 -DIST grafana-2.6.0.tar.gz 5666091 SHA256 58ad96f5ded48976bacbddc8b7a6a1f9409650d91bcbd7cc3e2cc03e3824cc51 SHA512 1690e690fceb3107fc9f88b9da732a6ebea43e404c94afa12fab5c186c06161f09bb3f93ca7f6dee15ac1129baca8c40fd822a090178b468cae2fa0e062ef267 WHIRLPOOL 2ae2ada1025a2a19ffe84daa40dee13b78a2490c6c667bfdabf79ecdd8f160e62946717f0ff1b8d51a4eaca2ce3a40af614d539b8fef2a879f90c4f807df0391 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iL0EAREKAH0WIQRcpBfyexMbpZPAvpDV+ZXBxghYBgUCWNDjwl8UgAAAAAAuAChp -c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0NUNB -NDE3RjI3QjEzMUJBNTkzQzBCRTkwRDVGOTk1QzFDNjA4NTgwNgAKCRDV+ZXBxghY -BuVpAJwNhEWAec1Ov+0a/yw5NKBlMr2YIgCg6RCoHheB84by8wEDjuKaFXL001M= -=3mm/ ------END PGP SIGNATURE----- diff --git a/www-apps/grafana/files/grafana.confd b/www-apps/grafana/files/grafana.confd deleted file mode 100644 index 207ef76..0000000 --- a/www-apps/grafana/files/grafana.confd +++ /dev/null @@ -1,7 +0,0 @@ -# Config file for /etc/init.d/grafana - -# The user to run your application as. -GRAFANA_USER=grafana - -# The group to run your application as. -GRAFANA_GROUP=grafana diff --git a/www-apps/grafana/files/grafana.ini b/www-apps/grafana/files/grafana.ini deleted file mode 100644 index 6aaa69f..0000000 --- a/www-apps/grafana/files/grafana.ini +++ /dev/null @@ -1,198 +0,0 @@ -##################### Grafana Configuration Example ##################### -# -# Everything has defaults so you only need to uncomment things you want to -# change - -; app_mode = production - -#################################### Paths #################################### -[paths] -# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is useD) -# -;data = /var/lib/grafana -# -# Directory where grafana can store logs -# -;logs = /var/log/grafana - -#################################### Server #################################### -[server] -# Protocol (http or https) -;protocol = http - -# The ip address to bind to, empty will bind to all interfaces -;http_addr = - -# The http port to use -;http_port = 3000 - -# The public facing domain name used to access grafana from a browser -;domain = localhost - -# The full public facing url -;root_url = %(protocol)s://%(domain)s:%(http_port)s/ - -# Log web requests -;router_logging = false - -# the path relative working path -;static_root_path = public - -# enable gzip -;enable_gzip = false - -# https certs & key file -;cert_file = -;cert_key = - -#################################### Database #################################### -[database] -# Either "mysql", "postgres" or "sqlite3", it's your choice -;type = sqlite3 -;host = 127.0.0.1:3306 -;name = grafana -;user = root -;password = - -# For "postgres" only, either "disable", "require" or "verify-full" -;ssl_mode = disable - -# For "sqlite3" only, path relative to data_path setting -;path = grafana.db - -#################################### Session #################################### -[session] -# Either "memory", "file", "redis", "mysql", default is "memory" -;provider = file - -# Provider config options -# memory: not have any config yet -# file: session dir path, is relative to grafana data_path -# redis: config like redis server addr, poolSize, password, e.g. `127.0.0.1:6379,100,grafana` -# mysql: go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1)/database_name` -;provider_config = sessions - -# Session cookie name -;cookie_name = grafana_sess - -# If you use session in https only, default is false -;cookie_secure = false - -# Session life time, default is 86400 -;session_life_time = 86400 - -#################################### Analytics #################################### -[analytics] -# Server reporting, sends usage counters to stats.grafana.org every 24 hours. -# No ip addresses are being tracked, only simple counters to track -# running instances, dashboard and error counts. It is very helpful to us. -# Change this option to false to disable reporting. -;reporting_enabled = true - -# Google Analytics universal tracking code, only enabled if you specify an id here -;google_analytics_ua_id = - -#################################### Security #################################### -[security] -# default admin user, created on startup -;admin_user = admin - -# default admin password, can be changed before first start of grafana, or in profile settings -;admin_password = admin - -# used for signing -;secret_key = SW2YcwTIb9zpOOhoPsMm - -# Auto-login remember days -;login_remember_days = 7 -;cookie_username = grafana_user -;cookie_remember_name = grafana_remember - -#################################### Users #################################### -[users] -# disable user signup / registration -;allow_sign_up = true - -# Allow non admin users to create organizations -;allow_org_create = true - -# Set to true to automatically assign new users to the default organization (id 1) -;auto_assign_org = true - -# Default role new users will be automatically assigned (if disabled above is set to true) -;auto_assign_org_role = Viewer - -#################################### Anonymous Auth ########################## -[auth.anonymous] -# enable anonymous access -;enabled = false - -# specify organization name that should be used for unauthenticated users -;org_name = Main Org. - -# specify role for unauthenticated users -;org_role = Viewer - -#################################### Github Auth ########################## -[auth.github] -;enabled = false -;client_id = some_id -;client_secret = some_secret -;scopes = user:email -;auth_url = https://github.com/login/oauth/authorize -;token_url = https://github.com/login/oauth/access_token -;api_url = https://api.github.com/user -# Uncomment bellow to only allow specific email domains -; allowed_domains = mycompany.com othercompany.com - -#################################### Google Auth ########################## -[auth.google] -;enabled = false -;client_id = some_client_id -;client_secret = some_client_secret -;scopes = https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email -;auth_url = https://accounts.google.com/o/oauth2/auth -;token_url = https://accounts.google.com/o/oauth2/token -;api_url = https://www.googleapis.com/oauth2/v1/userinfo -# Uncomment bellow to only allow specific email domains -; allowed_domains = mycompany.com othercompany.com - -#################################### Logging ########################## -[log] -# Either "console", "file", default is "console" -# Use comma to separate multiple modes, e.g. "console, file" -;mode = console, file - -# Buffer length of channel, keep it as it is if you don't know what it is. -;buffer_len = 10000 - -# Either "Trace", "Debug", "Info", "Warn", "Error", "Critical", default is "Trace" -;level = Info - -# For "console" mode only -[log.console] -;level = - -# For "file" mode only -[log.file] -;level = -# This enables automated log rotate(switch of following options), default is true -;log_rotate = true - -# Max line number of single file, default is 1000000 -;max_lines = 1000000 - -# Max size shift of single file, default is 28 means 1 << 28, 256MB -;max_lines_shift = 28 - -# Segment log daily, default is true -;daily_rotate = true - -# Expired days of log file(delete after max days), default is 7 -;max_days = 7 - -#################################### AMPQ Event Publisher ########################## -[event_publisher] -;enabled = false -;rabbitmq_url = amqp://localhost/ -;exchange = grafana_events diff --git a/www-apps/grafana/files/grafana.initd b/www-apps/grafana/files/grafana.initd deleted file mode 100644 index 80a3f5d..0000000 --- a/www-apps/grafana/files/grafana.initd +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -depend() { - need localmount -} - -start() { - ebegin "Starting grafana server" - - touch /var/run/grafana.pid - chown ${GRAFANA_USER}:${GRAFANA_GROUP} /var/run/grafana.pid - - start-stop-daemon --start -b \ - --chdir /usr/share/grafana \ - --user ${GRAFANA_USER}:${GRAFANA_GROUP} \ - --exec /usr/sbin/grafana -- \ - -pidfile=/var/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 /var/run/grafana.pid \ - --user "${GRAFANA_USER}" \ - --retry=TERM/20/KILL/5 - - eend $? -} diff --git a/www-apps/grafana/grafana-2.1.3.ebuild b/www-apps/grafana/grafana-2.1.3.ebuild deleted file mode 100644 index 4d21cd9..0000000 --- a/www-apps/grafana/grafana-2.1.3.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -EGO_PN="github.com/grafana/grafana" - -inherit golang-build user - -DESCRIPTION="Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB" -HOMEPAGE="http://grafana.org" -SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND} - >=net-libs/nodejs-0.12 - dev-go/amqp:= - dev-go/asn1-ber:1= - dev-go/binding:0= - dev-go/com:= - dev-go/gls:= - >=dev-go/goconvey-1.5:= - dev-go/go-net:= - dev-go/go-oauth2:= - dev-go/go-spew:= - dev-go/go-sqlite3:= - dev-go/go-xorm-core:= - dev-go/go-xorm:= - dev-go/ini:1= - dev-go/ldap:1= - dev-go/libpq:= - dev-go/macaron:0= - dev-go/mysql:= - dev-go/redis:2= - dev-go/session:= - dev-go/slug:= - dev-go/toml:= - dev-go/unidecode:= -" - -STRIP_MASK="*.a" - -pkg_setup() { - enewgroup grafana - enewuser grafana -1 -1 /usr/share/grafana grafana -} - -src_prepare() { - mkdir -p src/${EGO_PN} || die - mv *.go pkg src/${EGO_PN} || die - - # For local npm installs - mkdir -p node_modules || die -} - -src_compile() { - golang-build_src_compile - - # XXX: no nodejs eclass to help with this mess yet - npm install || die - npm install grunt-cli || die - PATH="${PATH}:${S}/node_modules/.bin/" grunt || die -} - -src_test() { - golang-build_src_test -} - -src_install() { - golang-build_src_install - - # Frontend assets - insinto /usr/share/${PN} - doins -r public conf - - dosbin grafana - - newconfd "${FILESDIR}"/grafana.confd grafana - newinitd "${FILESDIR}"/grafana.initd grafana - - keepdir /etc/grafana - insinto /etc/grafana - doins "${FILESDIR}"/grafana.ini - - keepdir /var/{lib,log}/grafana - fowners grafana:grafana /var/{lib,log}/grafana - fperms 0750 /var/{lib,log}/grafana -} diff --git a/www-apps/grafana/metadata.xml b/www-apps/grafana/metadata.xml deleted file mode 100644 index 706fdd9..0000000 --- a/www-apps/grafana/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>eva@gentoo.org</email> - <name>Gilles Dartiguelongue</name> -</maintainer> -<upstream> - <remote-id type="github">grafana/grafana</remote-id> -</upstream> -</pkgmetadata> |