mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
grafana: update to 10.0.3
This commit is contained in:
parent
8a2ee284fb
commit
0f00eb53e8
2 changed files with 6 additions and 7 deletions
|
@ -1,4 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
|
exec chpst -u _grafana:_grafana grafana server -homepath /usr/share/grafana/ -config /etc/grafana/grafana.ini 2>&1
|
||||||
exec chpst -u _grafana:_grafana grafana-server -homepath /usr/share/grafana/ -config /etc/grafana/grafana.ini 2>&1
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'grafana'
|
# Template file for 'grafana'
|
||||||
pkgname=grafana
|
pkgname=grafana
|
||||||
version=8.5.24
|
version=10.0.3
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/grafana/grafana
|
go_import_path=github.com/grafana/grafana
|
||||||
go_package="${go_import_path}/pkg/cmd/grafana-cli ${go_import_path}/pkg/cmd/grafana-server"
|
go_package="${go_import_path}/pkg/cmd/grafana-cli ${go_import_path}/pkg/cmd/grafana-server ${go_import_path}/pkg/cmd/grafana"
|
||||||
hostmakedepends="tar make"
|
hostmakedepends="tar make"
|
||||||
short_desc="Open platform for beautiful analytics and monitoring"
|
short_desc="Open platform for beautiful analytics and monitoring"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
|
@ -12,8 +12,8 @@ license="Apache-2.0"
|
||||||
homepage="https://grafana.com"
|
homepage="https://grafana.com"
|
||||||
distfiles="https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz
|
distfiles="https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz
|
||||||
https://github.com/grafana/grafana/archive/v${version}.tar.gz"
|
https://github.com/grafana/grafana/archive/v${version}.tar.gz"
|
||||||
checksum="ff088012f356bcece24e5c89f924fed83a3b63736ec2cc9bc2a66341bf8fe00c
|
checksum="daeb7eee1327b6d407cdaaf1a234ec9d8e2ae5a6d085e0fd3d8c606214eb6032
|
||||||
9332fea516f617e6f9b418f28154f4f8f162c2abb3b739cc6ae7fedac21ddc41"
|
9c1a1e3a9133abe4140aabad0d968f43ec2b3b14309f0dff80da367220bf58ff"
|
||||||
|
|
||||||
system_accounts="_grafana"
|
system_accounts="_grafana"
|
||||||
_grafana_homedir="/var/lib/grafana"
|
_grafana_homedir="/var/lib/grafana"
|
||||||
|
@ -35,7 +35,7 @@ pre_build() {
|
||||||
do_install() {
|
do_install() {
|
||||||
# only install grafana binaries - GOPATH/bin contains eg. wire used at
|
# only install grafana binaries - GOPATH/bin contains eg. wire used at
|
||||||
# buildtime, which we don't want in the package
|
# buildtime, which we don't want in the package
|
||||||
for f in ${GOPATH}/bin/grafana-* ${GOPATH}/bin/*/grafana-*; do
|
for f in ${GOPATH}/bin/grafana* ${GOPATH}/bin/*/grafana*; do
|
||||||
if [ -f "$f" ] && [ -x "$f" ]; then
|
if [ -f "$f" ] && [ -x "$f" ]; then
|
||||||
vbin "$f"
|
vbin "$f"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue