Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2021 10:48:15 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cf3eb1d087d2 - main - www/grafana7: add dependency on ca_root_nss
Message-ID:  <202105091048.149AmFeA076832@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cf3eb1d087d2245f8961724e4d7d54b5f8fdd8ac

commit cf3eb1d087d2245f8961724e4d7d54b5f8fdd8ac
Author:     Ronald Klop <ronald-lists@klop.ws>
AuthorDate: 2021-05-09 10:42:59 +0000
Commit:     Rene Ladan <rene@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105091048.149AmFeA076832>