Bug 255255 - www/grafana7: missing run_depends on ca_root_nss
Summary: www/grafana7: missing run_depends on ca_root_nss
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-20 12:09 UTC by Ronald Klop
Modified: 2021-05-09 10:51 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (robsonmantovani)


Attachments
git diff in the ports dir (507 bytes, patch)
2021-04-20 12:09 UTC, Ronald Klop
ronald-lists: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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 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 2021-05-09 10:51:34 UTC
Committed to main and 2021Q2, thanks for the patch.