git: cf3eb1d087d2 - main - www/grafana7: add dependency on ca_root_nss
Rene Ladan
rene at FreeBSD.org
Sun May 9 10:48:16 UTC 2021
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cf3eb1d087d2245f8961724e4d7d54b5f8fdd8ac
commit cf3eb1d087d2245f8961724e4d7d54b5f8fdd8ac
Author: Ronald Klop <ronald-lists at klop.ws>
AuthorDate: 2021-05-09 10:42:59 +0000
Commit: Rene Ladan <rene at FreeBSD.org>
CommitDate: 2021-05-09 10:47:35 +0000
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)
---
www/grafana7/Makefile | 3 +++
1 file changed, 3 insertions(+)
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
More information about the dev-commits-ports-all
mailing list