mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
sysutils/grafana: update to 13.0.1
ok denis@
This commit is contained in:
@@ -3,7 +3,7 @@ NOT_FOR_ARCHS = i386
|
||||
|
||||
COMMENT = monitoring and metric analytics dashboards
|
||||
|
||||
V = 12.4.2
|
||||
V = 13.0.1
|
||||
DISTNAME = grafana+vendor-$V
|
||||
WRKDIST = ${WRKDIR}/grafana-$V
|
||||
EXTRACT_SUFX = .tar.zst
|
||||
@@ -37,13 +37,11 @@ MODGO_GO111MODULE = on
|
||||
MODGO_FLAGS += -ldflags="-w -X main.version=$V"
|
||||
|
||||
do-build:
|
||||
mkdir -p ${WRKDIR}/go/src/github.com/grafana
|
||||
ln -s ../../all ${WRKDIR}/go/src/github.com/grafana/grafana
|
||||
cd ${WRKSRC} && ${MODGO_CMD} run ${MODGO_FLAGS} build.go setup
|
||||
cd ${WRKSRC} && ${MODGO_CMD} run ${MODGO_FLAGS} build.go build
|
||||
cd ${WRKSRC} && ${MODGO_CMD} build ${MODGO_FLAGS} \
|
||||
-o ./bin/openbsd/grafana ./pkg/cmd/grafana
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/openbsd-*/grafana{,-{server,cli}} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/openbsd/grafana ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/grafana
|
||||
${SUBST_CMD} ${WRKSRC}/conf/sample.ini
|
||||
.for c in sample.ini ldap.toml
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
SHA256 (grafana+vendor-12.4.2.tar.zst) = WbSRX27p4slkI9aDrgsLoUVQPNi5z50g7OQZoKxOC2c=
|
||||
SHA256 (grafana-12.4.2.linux-amd64.tar.gz) = 8kCyAKgDv2RZL65kUzF1DCaB318HSWdD1xTbEjk6WR8=
|
||||
SIZE (grafana+vendor-12.4.2.tar.zst) = 123757978
|
||||
SIZE (grafana-12.4.2.linux-amd64.tar.gz) = 198426054
|
||||
SHA256 (grafana+vendor-13.0.1.tar.zst) = Xk3IgZ+UN99F4DcYEb9UAEm3f6s6cS5OuJGCNQ+5nAM=
|
||||
SHA256 (grafana-13.0.1.linux-amd64.tar.gz) = GH3cS622muy3zT+uKISt1+0hrd5xJKb4CTt7QDPXIvI=
|
||||
SIZE (grafana+vendor-13.0.1.tar.zst) = 124328879
|
||||
SIZE (grafana-13.0.1.linux-amd64.tar.gz) = 332024028
|
||||
|
||||
@@ -25,7 +25,7 @@ Index: conf/sample.ini
|
||||
|
||||
# Directories that are permitted to contain local repositories.
|
||||
# This is a list. Each entry is delimited by a pipe (|). No leading or trailing spaces are supported.
|
||||
@@ -282,7 +282,7 @@
|
||||
@@ -285,7 +285,7 @@
|
||||
# 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.
|
||||
@@ -34,7 +34,7 @@ Index: conf/sample.ini
|
||||
|
||||
# The name of the distributor of the Grafana instance. Ex hosted-grafana, grafana-labs
|
||||
;reporting_distributor = grafana-labs
|
||||
@@ -292,7 +292,7 @@
|
||||
@@ -295,7 +295,7 @@
|
||||
# in some UI views to notify that a grafana update exists.
|
||||
# This option does not cause any auto updates, nor send any information
|
||||
# only a GET request to https://grafana.com/api/grafana/versions/stable to get the latest version.
|
||||
@@ -43,7 +43,7 @@ Index: conf/sample.ini
|
||||
|
||||
# Set to false to disable all checks to https://grafana.com
|
||||
# for new versions of plugins. The check is used
|
||||
@@ -1132,7 +1132,7 @@
|
||||
@@ -1144,7 +1144,7 @@
|
||||
[log]
|
||||
# Either "console", "file", "syslog". Default is console and file
|
||||
# Use space to separate multiple modes, e.g. "console file"
|
||||
|
||||
+1864
-778
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user