Bug 255255

Summary: www/grafana7: missing run_depends on ca_root_nss
Product: Ports & Packages Reporter: Ronald Klop <ronald-lists>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: rene, robsonmantovani
Priority: --- Flags: bugzilla: maintainer-feedback? (robsonmantovani)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
git diff in the ports dir ronald-lists: maintainer-approval?

Description Ronald Klop 2021-04-20 12:09:41 UTC
Created attachment 224289 [details]
git diff in the ports dir

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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-05-09 10:49:11 UTC
A commit in branch main references this bug:

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(+)
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-05-09 10:51:12 UTC
A commit in branch 2021Q2 references this bug:

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

commit 0f72879436e724b5443d439721d78fa0edbd6cdd
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: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(+)
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2021-05-09 10:51:34 UTC
Committed to main and 2021Q2, thanks for the patch.