aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald Klop <ronald-lists@klop.ws>2021-05-09 10:42:59 +0000
committerRene Ladan <rene@FreeBSD.org>2021-05-09 10:47:35 +0000
commitcf3eb1d087d2245f8961724e4d7d54b5f8fdd8ac (patch)
treed257b2ee5840b96fa389512eda7a79b169abf4b1
parentc3c9b8490c7428c266bfa5ce7e142386e3691d45 (diff)
downloadports-cf3eb1d087d2245f8961724e4d7d54b5f8fdd8ac.tar.gz
ports-cf3eb1d087d2245f8961724e4d7d54b5f8fdd8ac.zip
www/grafana7: add dependency on ca_root_nss
Logs contains all kind of certificate errors if ca_root_nss is not installed. t=2021-04-20T13:55:49+0200 lvl=dbug msg="Failed to get plugins repo from grafana.com, Get \"https://grafana.com/api/plugins/versioncheck?slugIn=grafana-piechart-panel,grafana-clock-panel,grafana-worldmap-panel,savantly-heatmap-panel&grafanaVersion=7.5.1\": x509: certificate signed by unknown authority" Effectively it is not possible to install dashboards/etc. from the grafana site without this dependency install. Installing ca_root_nss and restarting grafana resolved the problem immediately. PR: 255255 Approved by: maintainer timeout (2+ weeks)
-rw-r--r--www/grafana7/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/grafana7/Makefile b/www/grafana7/Makefile
index 602838e8b9cd..38a7c24f2697 100644
--- a/www/grafana7/Makefile
+++ b/www/grafana7/Makefile
@@ -1,5 +1,6 @@
PORTNAME= grafana
PORTVERSION= 7.5.1
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES+= https://dl.grafana.com/oss/release/:public \
@@ -20,6 +21,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= aarch64 amd64 i386
+RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss
+
USES= go:modules
USE_GITHUB= yes