Bug 272475 - www/grafana: Revive and update to 10.2.3
Summary: www/grafana: Revive and update to 10.2.3
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: Matthew Seaman
URL: https://grafana.com/blog/2023/06/13/g...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-12 18:35 UTC by Boris Korzun
Modified: 2023-12-21 10:37 UTC (History)
5 users (show)

See Also:


Attachments
grafana.patch (483.85 KB, patch)
2023-07-12 18:35 UTC, Boris Korzun
drtr0jan: maintainer-approval+
Details | Diff
grafana.patch (483.85 KB, patch)
2023-07-27 07:45 UTC, Boris Korzun
drtr0jan: maintainer-approval+
Details | Diff
grafana.patch (11.53 KB, patch)
2023-11-30 14:01 UTC, Boris Korzun
drtr0jan: maintainer-approval+
Details | Diff
grafana.patch (11.04 KB, patch)
2023-12-07 20:37 UTC, Boris Korzun
drtr0jan: maintainer-approval+
Details | Diff
grafana.patch (10.54 KB, patch)
2023-12-20 08:03 UTC, Boris Korzun
drtr0jan: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Korzun 2023-07-12 18:35:13 UTC
Created attachment 243359 [details]
grafana.patch

There're some problems for support previous version of Grafana (sometimes there aren't fixes for fresh CVEe).
I think, support current version only is good idea.

I want to revive www/grafana and update it to 10.0.2.

What's new: https://grafana.com/docs/grafana/next/whatsnew/whats-new-in-v10-0/
Changelog:
* https://github.com/grafana/grafana/releases/tag/v10.0.2
* https://github.com/grafana/grafana/releases/tag/v10.0.1
* https://github.com/grafana/grafana/releases/tag/v10.0.0
Comment 1 Boris Korzun 2023-07-27 07:45:01 UTC
Created attachment 243636 [details]
grafana.patch

Changelog: https://github.com/grafana/grafana/releases/tag/v10.0.3
Comment 2 jan 2023-07-31 09:53:44 UTC
the patch works great for me. thanks
Comment 3 jan 2023-09-28 07:12:37 UTC
any chance that can get committed (and maybe get updated to 10.1?)
Comment 4 Boris Korzun 2023-09-28 07:20:40 UTC
(In reply to jan from comment #3)
There's a problem with update to 10.1 without security announcements. 10.1 package has incorrect bundfled input-datasource plugin.

It's should be opened issue on grafana upstream for the problem.
Comment 5 Boris Korzun 2023-09-28 21:31:24 UTC
I've opened https://github.com/grafana/grafana/issues/75700 on upstream.
Comment 6 jan 2023-10-13 08:02:41 UTC
I don't really know if I understand the problem correctly - but for me it looks like it was fixed in 10.1.5. At least grafana-10.1.5/plugins-bundled/internal/input-datasource exist now
Comment 7 Boris Korzun 2023-10-13 11:30:14 UTC
(In reply to jan from comment #6)
Afaik, there's no module.js in grafana-10.1.5/plugins-bundled/internal/input-datasource. There's plugin sources only.
Comment 8 jan 2023-11-29 08:40:43 UTC
Again - sorry for the stupid question: grafana-10.2.2.linux-amd64.tar.gz contains plugins-bundled/internal/input-datasource/dist/module.js. Is that what we're looking for? There was no "dist" in 10.1.5
Comment 9 Boris Korzun 2023-11-29 08:50:18 UTC
(In reply to jan from comment #8)
Good news. I prepare the new patch ASAP.
Thx.
Comment 10 Boris Korzun 2023-11-29 18:31:55 UTC
(In reply to jan from comment #8)
Hmmm, there's another problem for build 10.2.2:

https://github.com/grafana/grafana/issues/78157
Comment 12 jan 2023-12-01 08:12:01 UTC
just installed using your patch. Thanks!
Comment 13 Boris Korzun 2023-12-07 20:37:38 UTC
Created attachment 246884 [details]
grafana.patch
Comment 15 Matthew Seaman freebsd_committer freebsd_triage 2023-12-21 10:37:06 UTC
Committed, thanks!