Bug 290979 - textproc/kibana9{1,2,3}: New ports: Browser based analytics and search interface to Elasticsearch 9.{1,2,3}.x
Summary: textproc/kibana9{1,2,3}: New ports: Browser based analytics and search interf...
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: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks: 293746
  Show dependency tree / graph
 
Reported: 2025-11-12 16:43 UTC by Saro
Modified: 2026-03-15 01:58 UTC (History)
2 users (show)

See Also:
vvd: maintainer-feedback? (elastic)


Attachments
Kibana 9.2.1 (6.10 KB, application/x-gzip)
2025-11-12 16:43 UTC, Saro
no flags Details
Kibana 9.2.1_1 (5.57 KB, application/x-gzip)
2025-11-12 19:48 UTC, Saro
no flags Details
Kibana 9.2.2 (20.26 KB, patch)
2025-12-04 21:24 UTC, Saro
no flags Details | Diff
Kibana 9.2.3 (22.02 KB, patch)
2025-12-31 14:59 UTC, Saro
no flags Details | Diff
Kibana 9.3.1 (22.79 KB, patch)
2026-03-11 15:08 UTC, Saro
saro: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Saro 2025-11-12 16:43:25 UTC
Created attachment 265368 [details]
Kibana 9.2.1
Comment 1 Saro 2025-11-12 19:48:54 UTC
Created attachment 265375 [details]
Kibana 9.2.1_1

Fixes the path to the node binary by updating the symlink in the Makefile instead of patching files.
Comment 2 Saro 2025-12-04 21:24:31 UTC
Created attachment 265856 [details]
Kibana 9.2.2
Comment 3 Saro 2025-12-31 14:59:14 UTC
Created attachment 266696 [details]
Kibana 9.2.3
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-09 22:34:26 UTC
Update nodejs, nodejs nan and node-re2 here too.
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-09 22:34:49 UTC
Or even switch to 9.3?
Comment 6 Saro 2026-03-10 12:08:31 UTC
(In reply to Vladimir Druzenko from comment #5)

I believe that is what I'll end up doing (move to 9.3). I'll update the deps too and submit a patch later today.
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-10 18:09:52 UTC
As far as I understand, upstream has the following versioning model: 9.1, 9.2, and 9.3 are not branches and they do not develop in parallel, but rather at some point after 9.x.y, the new version is assigned the number 9.(x+1).0 instead of 9.x.(y+1).
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-10 18:10:33 UTC
Parallel developing branches are 7, 8, 9, etc.
Comment 9 Saro 2026-03-10 18:20:23 UTC
(In reply to Vladimir Druzenko from comment #7)

Well, based on their repository (https://github.com/elastic/elasticsearch/branches/active)
I believe 8.19/9.2/9.3 are indeed separate branches and developed in parallel. On several occasions, I witnessed numerous fixes being backported to active branches.

Example: https://github.com/elastic/elasticsearch/pull/142907
This PR was backported to 8.19, 9.2 and 9.3 (scroll down to see referenced PRs). Note that 9.1 was omitted. You can also differentiate the branch commits by the PR subject prefixes: [8.19|9.2|9.3]

Per this page: https://www.elastic.co/support/eol
7.17.x is EOL as of January 15th, 2026 ("Prior Versions")
Comment 10 Saro 2026-03-10 18:22:41 UTC
(In reply to Vladimir Druzenko from comment #7)

Forgot to reference this file: https://github.com/elastic/elasticsearch/blob/main/branches.json

This will show you exactly what they are working on. :)
Comment 11 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-10 18:31:12 UTC
So, I was wrong... Or do different products have different versioning policies? Kibana, for example.
Comment 12 Saro 2026-03-10 18:56:49 UTC
(In reply to Vladimir Druzenko from comment #11)

I believe they (Kibana, Beats, Elastic Agent, Logstash, ml-cpp) all follow Elasticsearch release & versioning cycles. Elastic officially recommends keeping all ELK stack components on the same version, e.g. ES 9.2.6 == Kibana 9.2.6 == Logstash 9.2.6 == etc. (mainly for ES and Kibana). The ingest components (Logstash, Beats) are a bit less restrictive in this regard.

See: https://www.elastic.co/support/matrix ("Product Compatibility")

They do allow the minor version to be -/+ releases to facilitate upgrades of course. A warning will be logged when a deviation occurs. There used to be a doc page explaining this, but I am unable to find it now.
Comment 13 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-10 22:11:49 UTC
(In reply to Saro from comment #12)
Thanks for info!

Lets update all current ports to recent 8.x - 8.19.
And then create all new ports with recent 9.x - 9.3.

elastic@ looks very inactive :-(
Comment 14 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-10 22:21:31 UTC
Deprecate all 7.x?
https://portscout.freebsd.org/elastic@freebsd.org.html

Update to last versions and deprecate as soon as soon as EoL comes: logstash91 logstash92?
Comment 15 Saro 2026-03-11 12:13:44 UTC
(In reply to Vladimir Druzenko from comment #14)

Logstash already committed, please see bug #290985 and bug #290986. :)

There's an issue with building ES 8.19.12 offline. Elastic will fix it in 8.19.13: https://github.com/elastic/elasticsearch/issues/139048

I will attempt to pull this commit and see if I can resolve the current issues I'm facing with the build.

We absolutely need to eventually commit 8.19 into the ports tree as it's a requirement before upgrading to 9.x.
Comment 16 Saro 2026-03-11 15:08:36 UTC
Created attachment 268719 [details]
Kibana 9.3.1
Comment 17 Saro 2026-03-11 15:13:03 UTC
(In reply to Vladimir Druzenko from comment #14)

I recommend keeping Logstash (and Beats) 9.1/9.2 as their EOL is October 2027, and some admins may prefer sticking with specific versions for compatibility reasons.

Anything 7.x can be removed from the tree as they have been EOL'ed long ago.
Comment 18 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-11 19:01:12 UTC
(In reply to Saro from comment #17)
Maybe we should create a separate PR to track all ELK ports?
And deprecate all 7.x in this PR.
Comment 19 Saro 2026-03-11 19:32:04 UTC
(In reply to Vladimir Druzenko from comment #18)

Separate PRs exist:

ES 8.19: bug #288653
ES 9.x : bug #290954

Beats 8.19: bug #290094
Beats 9.1 : bug #291018
Beats 9.2 : bug #291019

Missing: Beats 9.3, Logstash 9.3

I can create the remaining PRs, although I haven't finalized the ports.
Comment 20 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-11 19:51:04 UTC
(In reply to Saro from comment #19)
I mean a consolidated PR with links to all PRs for updating individual components of the ELK.
Comment 21 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-13 21:02:09 UTC
My English is not very good, but this sentence seemed strange to me:
> "This can be done by with the command"
Comment 22 Saro 2026-03-13 22:18:39 UTC
(In reply to Vladimir Druzenko from comment #21)

I copied the message from kibana8, but I agree, it can be improved. I'll follow-up with a better sentence after reviewing the file.
Comment 23 commit-hook freebsd_committer freebsd_triage 2026-03-15 01:52:45 UTC
A commit in branch main references this bug:

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

commit 818af882aab0ad48e76e68b3ef389078a2225654
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-03-15 01:25:32 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-03-15 01:48:16 +0000

    textproc/kibana92: New port: Browser-based analytics and search interface to Elasticsearch 9.2.x

    Release Notes:
    https://www.elastic.co/docs/release-notes/kibana#kibana-9.2.6-release-notes

    PR:             290979
    Approved by:    elastic (maintainer, implicit - inactive for more than 6 months)

 textproc/kibana92/Makefile                         |  9 ++++----
 textproc/kibana92/distinfo                         |  4 ++--
 textproc/kibana92/files/patch-config_kibana.yml    |  2 +-
 textproc/kibana92/files/patch-config_node.options  |  2 +-
 ..._kbn_setup-node-env_node__version__validator.js | 26 +++++++++++-----------
 textproc/kibana92/pkg-descr                        |  2 +-
 6 files changed, 22 insertions(+), 23 deletions(-)
Comment 24 commit-hook freebsd_committer freebsd_triage 2026-03-15 01:52:46 UTC
A commit in branch main references this bug:

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

commit 13cedaa5d2393cf97d0a1ba9a5fcffecc8c03bf9
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-03-15 01:35:31 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-03-15 01:48:16 +0000

    textproc/kibana93: Repocopy from textproc/kibana92

    PR:             290979
    Approved by:    elastic (maintainer, implicit - inactive for more than 6 months)

 textproc/kibana93/Makefile (new)                   | 158 +++++++++++++++++++++
 textproc/kibana93/distinfo (new)                   |   7 +
 .../files/extra-node-re2-binding-gyp.patch (new)   | 131 +++++++++++++++++
 textproc/kibana93/files/kibana.in (new)            |  83 +++++++++++
 .../kibana93/files/patch-config_kibana.yml (new)   |  15 ++
 .../kibana93/files/patch-config_node.options (new) |  11 ++
 ...etup-node-env_node__version__validator.js (new) |  16 +++
 textproc/kibana93/files/pkg-deinstall.in (new)     |  20 +++
 textproc/kibana93/files/pkg-message.in (new)       |   8 ++
 textproc/kibana93/pkg-descr (new)                  |   6 +
 10 files changed, 455 insertions(+)
Comment 25 commit-hook freebsd_committer freebsd_triage 2026-03-15 01:52:47 UTC
A commit in branch main references this bug:

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

commit b2f10036590ca990dc2f22ccda004d465b30423e
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-03-15 01:16:46 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-03-15 01:48:15 +0000

    textproc/kibana92: Repocopy from textproc/kibana91

    PR:             290979
    Approved by:    elastic (maintainer, implicit - inactive for more than 6 months)

 textproc/kibana92/Makefile (new)                   | 159 +++++++++++++++++++++
 textproc/kibana92/distinfo (new)                   |   7 +
 .../files/extra-node-re2-binding-gyp.patch (new)   | 131 +++++++++++++++++
 textproc/kibana92/files/kibana.in (new)            |  83 +++++++++++
 .../kibana92/files/patch-config_kibana.yml (new)   |  15 ++
 .../kibana92/files/patch-config_node.options (new) |  11 ++
 ...etup-node-env_node__version__validator.js (new) |  16 +++
 textproc/kibana92/files/pkg-deinstall.in (new)     |  20 +++
 textproc/kibana92/files/pkg-message.in (new)       |   8 ++
 textproc/kibana92/pkg-descr (new)                  |   6 +
 10 files changed, 456 insertions(+)
Comment 26 commit-hook freebsd_committer freebsd_triage 2026-03-15 01:52:48 UTC
A commit in branch main references this bug:

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

commit 67d56ba992614fdcb0b4e86535973ad96e22cb59
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-03-15 01:44:34 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-03-15 01:48:17 +0000

    textproc/kibana9{1,2,3}: Connect to build

    PR:             290979
    Approved by:    elastic (maintainer, implicit - inactive for more than 6 months)

 textproc/Makefile | 3 +++
 1 file changed, 3 insertions(+)
Comment 27 commit-hook freebsd_committer freebsd_triage 2026-03-15 01:52:49 UTC
A commit in branch main references this bug:

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

commit 9c86f6739d9d883e04ec821d697c05847006e741
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-03-15 01:10:45 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-03-15 01:48:15 +0000

    textproc/kibana91: New port: Browser-based analytics and search interface to Elasticsearch 9.1.x

    Release Notes:
    https://www.elastic.co/docs/release-notes/kibana#kibana-9.1.10-release-notes

    PR:             290979
    Approved by:    elastic (maintainer, implicit - inactive for more than 6 months)

 textproc/kibana91/Makefile                                 | 14 +++++++-------
 textproc/kibana91/distinfo                                 |  6 +++---
 textproc/kibana91/files/patch-config_kibana.yml            |  2 +-
 textproc/kibana91/files/patch-config_node.options          | 10 ++--------
 ...modules__kbn_setup-node-env_node__version__validator.js |  2 +-
 textproc/kibana91/pkg-descr                                |  2 +-
 6 files changed, 15 insertions(+), 21 deletions(-)
Comment 28 commit-hook freebsd_committer freebsd_triage 2026-03-15 01:52:50 UTC
A commit in branch main references this bug:

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

commit 5fa49afb8d2febdc8d807029b9eaa6ff98bc30a5
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-03-15 00:55:21 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-03-15 01:48:14 +0000

    textproc/kibana8: Port improvements that were made while creating ports of version 9.x

    - Improved text in COMMENT, pkg-deinstall, pkg-message, pkg-descr.
    - Parametrize kibana with ${PORTNAME} in CONFLICTS.
    - Add possibility to run port with non-default user/group www.
    - Fix indents in post-patch.
    - Refresh patches.

    PR:             290979
    Approved by:    elastic (maintainer, implicit - inactive for more than 6 months)

 textproc/kibana8/Makefile                          | 27 +++++++++++++++-------
 textproc/kibana8/files/kibana.in                   |  4 ++--
 textproc/kibana8/files/patch-config_kibana.yml     |  4 ++--
 textproc/kibana8/files/patch-config_node.options   |  7 ++++--
 ..._kbn_setup-node-env_node__version__validator.js |  6 ++---
 textproc/kibana8/files/pkg-deinstall.in            |  4 ++--
 textproc/kibana8/files/pkg-message.in              |  3 +--
 textproc/kibana8/pkg-descr                         |  2 +-
 8 files changed, 34 insertions(+), 23 deletions(-)
Comment 29 commit-hook freebsd_committer freebsd_triage 2026-03-15 01:52:51 UTC
A commit in branch main references this bug:

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

commit b1b176ba54b45f6a86ba0705ca8b1cc6a74b7669
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-03-15 01:07:27 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-03-15 01:48:14 +0000

    textproc/kibana91: Repocopy from textproc/kibana8

    PR:             290979
    Approved by:    elastic (maintainer, implicit - inactive for more than 6 months)

 textproc/kibana91/Makefile (new)                   | 159 +++++++++++++++++++++
 textproc/kibana91/distinfo (new)                   |   7 +
 .../files/extra-node-re2-binding-gyp.patch (new)   | 131 +++++++++++++++++
 textproc/kibana91/files/kibana.in (new)            |  83 +++++++++++
 .../kibana91/files/patch-config_kibana.yml (new)   |  15 ++
 .../kibana91/files/patch-config_node.options (new) |  17 +++
 ...etup-node-env_node__version__validator.js (new) |  16 +++
 textproc/kibana91/files/pkg-deinstall.in (new)     |  20 +++
 textproc/kibana91/files/pkg-message.in (new)       |   8 ++
 textproc/kibana91/pkg-descr (new)                  |   6 +
 10 files changed, 462 insertions(+)
Comment 30 commit-hook freebsd_committer freebsd_triage 2026-03-15 01:52:52 UTC
A commit in branch main references this bug:

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

commit 6688fde35dfd493b9fc98c13733f1919cefea296
Author:     Saro <web@saromedia.com>
AuthorDate: 2026-03-15 01:41:06 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-03-15 01:48:17 +0000

    textproc/kibana93: New port: Browser-based analytics and search interface to Elasticsearch 9.3.x

    Release Notes:
    https://www.elastic.co/docs/release-notes/kibana#kibana-9.3.1-release-notes

    PR:             290979
    Approved by:    elastic (maintainer, implicit - inactive for more than 6 months)
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>

 textproc/kibana93/Makefile                                     | 10 +++++-----
 textproc/kibana93/distinfo                                     |  4 ++--
 textproc/kibana93/files/patch-config_kibana.yml                |  4 ++--
 textproc/kibana93/files/patch-config_node.options              |  2 +-
 ...de__modules__kbn_setup-node-env_node__version__validator.js |  2 +-
 textproc/kibana93/pkg-descr                                    |  2 +-
 6 files changed, 12 insertions(+), 12 deletions(-)
Comment 31 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-15 01:58:05 UTC
Thanks.

I decided to add ports of all 3 branches of 9.x.