grafana: update to 6.1.0.
This commit is contained in:
parent
383712eba1
commit
a22ba991b0
1 changed files with 6 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'grafana'
|
# Template file for 'grafana'
|
||||||
pkgname=grafana
|
pkgname=grafana
|
||||||
version=6.0.2
|
version=6.1.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/grafana/grafana
|
go_import_path=github.com/grafana/grafana
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://grafana.com"
|
homepage="https://grafana.com"
|
||||||
distfiles="https://github.com/grafana/grafana/archive/v${version}.tar.gz"
|
distfiles="https://github.com/grafana/grafana/archive/v${version}.tar.gz"
|
||||||
checksum=148f8225bd23efbdb7046e30ffad2d53a71b448f1f143e5cfe1a71c5050b4056
|
checksum=f22b079c1bd835f7c8bba93cbaa3e1f39f4dd93f7bbe908914f6236b133d0610
|
||||||
|
|
||||||
system_accounts="_grafana"
|
system_accounts="_grafana"
|
||||||
_grafana_homedir="/var/lib/grafana"
|
_grafana_homedir="/var/lib/grafana"
|
||||||
|
@ -31,8 +31,6 @@ post_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.md
|
|
||||||
|
|
||||||
vmkdir var/lib/grafana
|
vmkdir var/lib/grafana
|
||||||
touch ${DESTDIR}/var/lib/grafana/.empty
|
touch ${DESTDIR}/var/lib/grafana/.empty
|
||||||
|
|
||||||
|
@ -45,10 +43,10 @@ post_install() {
|
||||||
# don't want to version the config file.
|
# don't want to version the config file.
|
||||||
vmkdir etc/grafana
|
vmkdir etc/grafana
|
||||||
vinstall conf/defaults.ini 0644 etc/grafana grafana.ini
|
vinstall conf/defaults.ini 0644 etc/grafana grafana.ini
|
||||||
sed -i "s:data = data:data = /var/lib/grafana/data:" ${DESTDIR}/etc/grafana/grafana.ini
|
vsed -i "s:data = data:data = /var/lib/grafana/data:" ${DESTDIR}/etc/grafana/grafana.ini
|
||||||
sed -i "s:data/log:/var/log/grafana:" ${DESTDIR}/etc/grafana/grafana.ini
|
vsed -i "s:data/log:/var/log/grafana:" ${DESTDIR}/etc/grafana/grafana.ini
|
||||||
sed -i "s:data/plugins:/var/lib/grafana/plugins:" ${DESTDIR}/etc/grafana/grafana.ini
|
vsed -i "s:data/plugins:/var/lib/grafana/plugins:" ${DESTDIR}/etc/grafana/grafana.ini
|
||||||
sed -i "s:grafana.db:/var/lib/grafana/grafana.db:" ${DESTDIR}/etc/grafana/grafana.ini
|
vsed -i "s:grafana.db:/var/lib/grafana/grafana.db:" ${DESTDIR}/etc/grafana/grafana.ini
|
||||||
|
|
||||||
# And finally, the service directory
|
# And finally, the service directory
|
||||||
vsv grafana
|
vsv grafana
|
||||||
|
|
Loading…
Reference in a new issue