git: 0f72879436e7 - 2021Q2 - www/grafana7: add dependency on ca_root_nss
Rene Ladan
rene at FreeBSD.org
Sun May 9 10:50:28 UTC 2021
The branch 2021Q2 has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0f72879436e724b5443d439721d78fa0edbd6cdd
commit 0f72879436e724b5443d439721d78fa0edbd6cdd
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:50:03 +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)
(cherry picked from commit cf3eb1d087d2245f8961724e4d7d54b5f8fdd8ac)
---
www/grafana7/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/www/grafana7/Makefile b/www/grafana7/Makefile
index 0d7c108bf70f..4a3e6356548b 100644
--- a/www/grafana7/Makefile
+++ b/www/grafana7/Makefile
@@ -1,6 +1,7 @@
PORTNAME= grafana
PORTVERSION= 7.5.1
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES+= https://dl.grafana.com/oss/release/:public \
@@ -21,6 +22,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