Created attachment 273929 [details] logstash94.patch Update to 9.4.5 Release notes: https://www.elastic.co/docs/release-notes/logstash#logstash-9.4.5-release-notes Also: - cleaned binary *.so for other platforms (failed testport fix); - removed startup.options config as unnecessary; - updated RC-script (fixed env vars for Logstash JVM); - update pkg-message.in.
ELK need more love… :-(
Maintainer timeout is more than one month...
elastic@ is inactive again…
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=99d3dee52517f9d316392b2cfeceed843c73f0f3 commit 99d3dee52517f9d316392b2cfeceed843c73f0f3 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 01:58:29 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 02:04:17 +0000 sysutils/beats93: Update 9.3.4 => 9.3.8 Changelog: https://www.elastic.co/docs/release-notes/beats#beats-release-notes-9.3.8 PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs sysutils/beats93/Makefile | 20 +++++++++++++------- sysutils/beats93/distinfo | 30 +++++++++++++++--------------- 2 files changed, 28 insertions(+), 22 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=53fa3840c20670177b227dea72775c4a21a7c76a commit 53fa3840c20670177b227dea72775c4a21a7c76a Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-21 23:36:00 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 02:04:16 +0000 sysutils/beats8: Update 8.19.15 => 8.19.21 Changelogs: https://www.elastic.co/guide/en/beats/libbeat/current/release-notes-8.19.16.html https://www.elastic.co/guide/en/beats/libbeat/current/release-notes-8.19.17.html https://www.elastic.co/guide/en/beats/libbeat/current/release-notes-8.19.18.html https://www.elastic.co/guide/en/beats/libbeat/current/release-notes-8.19.19.html https://www.elastic.co/guide/en/beats/libbeat/current/release-notes-8.19.20.html https://www.elastic.co/guide/en/beats/libbeat/current/release-notes-8.19.21.html PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs sysutils/beats8/Makefile | 20 ++++++++++----- sysutils/beats8/distinfo | 30 +++++++++++----------- .../beats8/files/patch-dev-tools_mage_settings.go | 6 ++--- ...libbeat_autodiscover_providers_docker_docker.go | 12 ++++----- .../patch-metricbeat_module_docker_docker.go (new) | 11 ++++++++ .../patch-pkg_autodiscover_docker_client.go (new) | 11 ++++++++ ...h-pkg_autodiscover_docker_client__test.go (new) | 11 ++++++++ .../patch-pkg_autodiscover_docker_watcher.go (new) | 11 ++++++++ ...-pkg_autodiscover_docker_watcher__test.go (new) | 11 ++++++++ ...stic-agent-autodiscover_docker_client.go (gone) | 13 ---------- ...tic-agent-autodiscover_docker_watcher.go (gone) | 13 ---------- ...elastic-agent-libs_monitoring_metrics.go (gone) | 16 ------------ ...m-metrics_metric_cpu_metrics__procfs__common.go | 6 ++--- ...cs_metric_system_filesystem_filesystem__unix.go | 12 ++++----- sysutils/beats8/files/patch-vendor_modules.txt | 4 +-- 15 files changed, 103 insertions(+), 84 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=58e72b81452832db98a6901a50da51c3502fea76 commit 58e72b81452832db98a6901a50da51c3502fea76 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 02:03:01 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 02:04:18 +0000 sysutils/logstash93: Update 9.3.4 => 9.3.8 Changelog: https://www.elastic.co/docs/release-notes/logstash#logstash-9.3.8-release-notes PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs sysutils/logstash93/Makefile | 2 +- sysutils/logstash93/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7793c6714c6c1608de1aef5f2ca917630ed2e635 commit 7793c6714c6c1608de1aef5f2ca917630ed2e635 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-21 23:46:16 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 02:04:17 +0000 textproc/kibana8: Update 8.19.15 => 8.19.21 Changelogs: https://www.elastic.co/guide/en/kibana/8.19/release-notes-8.19.16.html https://www.elastic.co/guide/en/kibana/8.19/release-notes-8.19.17.html https://www.elastic.co/guide/en/kibana/8.19/release-notes-8.19.18.html https://www.elastic.co/guide/en/kibana/8.19/release-notes-8.19.19.html https://www.elastic.co/guide/en/kibana/8.19/release-notes-8.19.20.html https://www.elastic.co/guide/en/kibana/8.19/release-notes-8.19.21.html https://github.com/nodejs/nan/blob/v2.29.0/CHANGELOG.md https://github.com/uhop/node-re2/compare/1.24.1...1.26.1 PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs textproc/kibana8/Makefile | 7 +++---- textproc/kibana8/distinfo | 14 +++++++------- textproc/kibana8/files/extra-node-re2-binding-gyp.patch | 13 ++++++------- 3 files changed, 16 insertions(+), 18 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=780a1ce5f3e137f0b1caa328e2d2107b9e4dd0b1 commit 780a1ce5f3e137f0b1caa328e2d2107b9e4dd0b1 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-21 23:43:00 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 02:04:16 +0000 sysutils/logstash8: Update 8.19.15 => 8.19.21 Changelogs: https://www.elastic.co/guide/en/logstash/8.19/logstash-8-19-16.html https://www.elastic.co/guide/en/logstash/8.19/logstash-8-19-17.html https://www.elastic.co/guide/en/logstash/8.19/logstash-8-19-18.html https://www.elastic.co/guide/en/logstash/8.19/logstash-8-19-19.html https://www.elastic.co/guide/en/logstash/8.19/logstash-8-19-20.html https://www.elastic.co/guide/en/logstash/8.19/logstash-8-19-21.html PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs sysutils/logstash8/Makefile | 2 +- sysutils/logstash8/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=75cc3384dfef438c9557e8e2eeea6cc00bc312c5 commit 75cc3384dfef438c9557e8e2eeea6cc00bc312c5 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 02:01:09 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 02:04:18 +0000 textproc/kibana93: Update 9.3.4 => 9.3.8 Changelogs: https://www.elastic.co/docs/release-notes/kibana#kibana-9.3.8-release-notes https://github.com/nodejs/nan/blob/v2.29.0/CHANGELOG.md https://github.com/uhop/node-re2/compare/1.24.1...1.26.1 PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs textproc/kibana93/Makefile | 6 +++--- textproc/kibana93/distinfo | 14 +++++++------- textproc/kibana93/files/extra-node-re2-binding-gyp.patch | 13 ++++++------- 3 files changed, 16 insertions(+), 17 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=23899e38057582ea87e699139a8bcb3fc4e44eee commit 23899e38057582ea87e699139a8bcb3fc4e44eee Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 21:42:57 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 21:53:21 +0000 sysutils/beats94: Update 9.4.1 => 9.4.7 Changelogs: https://www.elastic.co/docs/release-notes/beats#beats-release-notes-9.4.2 https://www.elastic.co/docs/release-notes/beats#beats-release-notes-9.4.3 https://www.elastic.co/docs/release-notes/beats#beats-release-notes-9.4.4 https://www.elastic.co/docs/release-notes/beats#beats-release-notes-9.4.5 https://www.elastic.co/docs/release-notes/beats#beats-release-notes-9.4.6 https://www.elastic.co/docs/release-notes/beats#beats-release-notes-9.4.7 PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs sysutils/beats94/Makefile | 20 ++++++++++----- sysutils/beats94/distinfo | 30 +++++++++++----------- .../beats94/files/patch-dev-tools_mage_settings.go | 6 ++--- .../files/patch-filebeat_filebeat.reference.yml | 6 ++--- ...libbeat_autodiscover_providers_docker_docker.go | 12 ++++----- .../beats94/files/patch-libbeat_scripts_Makefile | 8 +++--- .../patch-metricbeat_module_docker_docker.go (new) | 11 ++++++++ .../patch-pkg_autodiscover_docker_client.go (new) | 11 ++++++++ ...h-pkg_autodiscover_docker_client__test.go (new) | 11 ++++++++ .../patch-pkg_autodiscover_docker_watcher.go (new) | 11 ++++++++ ...-pkg_autodiscover_docker_watcher__test.go (new) | 11 ++++++++ ...stic-agent-autodiscover_docker_client.go (gone) | 13 ---------- ...tic-agent-autodiscover_docker_watcher.go (gone) | 13 ---------- ...cs_metric_system_filesystem_filesystem__unix.go | 14 +++++----- sysutils/beats94/files/patch-vendor_modules.txt | 4 +-- 15 files changed, 108 insertions(+), 73 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0dec149914bc94d3175e46ee8ccf85b360d0ab2 commit c0dec149914bc94d3175e46ee8ccf85b360d0ab2 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 21:45:51 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 21:53:21 +0000 sysutils/logstash94: Update 9.4.1 => 9.4.7 Changelogs: https://www.elastic.co/docs/release-notes/logstash#logstash-9.4.2-release-notes https://www.elastic.co/docs/release-notes/logstash#logstash-9.4.3-release-notes https://www.elastic.co/docs/release-notes/logstash#logstash-9.4.4-release-notes https://www.elastic.co/docs/release-notes/logstash#logstash-9.4.5-release-notes https://www.elastic.co/docs/release-notes/logstash#logstash-9.4.6-release-notes https://www.elastic.co/docs/release-notes/logstash#logstash-9.4.7-release-notes PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs sysutils/logstash94/Makefile | 3 +-- sysutils/logstash94/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=df8b43588dcebe7d17f2756a45a81275406f6baf commit df8b43588dcebe7d17f2756a45a81275406f6baf Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 21:48:48 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 21:53:22 +0000 textproc/kibana94: Update 9.4.1 => 9.4.7 Changelogs: https://www.elastic.co/docs/release-notes/kibana#kibana-9.4.2-release-notes https://www.elastic.co/docs/release-notes/kibana#kibana-9.4.3-release-notes https://www.elastic.co/docs/release-notes/kibana#kibana-9.4.4-release-notes https://www.elastic.co/docs/release-notes/kibana#kibana-9.4.5-release-notes https://www.elastic.co/docs/release-notes/kibana#kibana-9.4.6-release-notes https://www.elastic.co/docs/release-notes/kibana#kibana-9.4.7-release-notes https://github.com/nodejs/nan/blob/v2.29.0/CHANGELOG.md https://github.com/uhop/node-re2/compare/1.24.1...1.26.1 PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs textproc/kibana94/Makefile | 6 +++--- textproc/kibana94/distinfo | 14 +++++++------- textproc/kibana94/files/extra-node-re2-binding-gyp.patch | 13 ++++++------- 3 files changed, 16 insertions(+), 17 deletions(-)
Thanks.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=639b5406d8e377da596b293d4b506f60de83f1c9 commit 639b5406d8e377da596b293d4b506f60de83f1c9 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 23:11:29 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 23:11:29 +0000 sysutils/beats95: Repocopy from sysutils/beats94 PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs sysutils/beats95/Makefile (new) | 150 +++ sysutils/beats95/distinfo (new) | 15 + sysutils/beats95/files/auditbeat.in (new) | 50 + sysutils/beats95/files/filebeat.in (new) | 43 + sysutils/beats95/files/heartbeat.in (new) | 43 + sysutils/beats95/files/metricbeat.in (new) | 51 + sysutils/beats95/files/packetbeat.in (new) | 43 + .../patch-auditbeat_auditbeat.reference.yml (new) | 20 + .../files/patch-auditbeat_auditbeat.yml (new) | 13 + .../files/patch-dev-tools_mage_settings.go (new) | 20 + .../patch-filebeat_filebeat.reference.yml (new) | 26 + .../files/patch-filebeat_filebeat.yml (new) | 33 + sysutils/beats95/files/patch-go-sysinfo (new) | 1314 ++++++++++++++++++++ .../files/patch-heartbeat_heartbeat.yml (new) | 11 + ...t_autodiscover_providers_docker_config.go (new) | 11 + ...t_autodiscover_providers_docker_docker.go (new) | 20 + ...todiscover_providers_kubernetes_config.go (new) | 11 + ...scover_providers_kubernetes_kubernetes.go (new) | 11 + .../files/patch-libbeat_scripts_Makefile (new) | 26 + ...patch-metricbeat_metricbeat.reference.yml (new) | 20 + .../files/patch-metricbeat_metricbeat.yml (new) | 33 + .../patch-metricbeat_module_docker_docker.go (new) | 11 + ...patch-packetbeat_packetbeat.reference.yml (new) | 11 + .../files/patch-packetbeat_packetbeat.yml (new) | 23 + .../patch-pkg_autodiscover_docker_client.go (new) | 11 + ...h-pkg_autodiscover_docker_client__test.go (new) | 11 + .../patch-pkg_autodiscover_docker_watcher.go (new) | 11 + ...-pkg_autodiscover_docker_watcher__test.go (new) | 11 + ...em-metrics_metric_cpu_metrics__freebsd.go (new) | 10 + ...ics_metric_cpu_metrics__procfs__common.go (new) | 20 + ...ric_system_filesystem_filesystem__unix.go (new) | 14 + .../beats95/files/patch-vendor_modules.txt (new) | 10 + sysutils/beats95/files/pkg-message.in (new) | 10 + sysutils/beats95/pkg-descr (new) | 18 + sysutils/beats95/pkg-plist (new) | 21 + 35 files changed, 2156 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1b7629cf167704d5a2b66d210f7097ff29be5880 commit 1b7629cf167704d5a2b66d210f7097ff29be5880 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 23:19:11 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 23:19:11 +0000 sysutils/logstash95: Repocopy from sysutils/logstash94 PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs sysutils/logstash95/Makefile (new) | 93 ++++++++++++++++ sysutils/logstash95/distinfo (new) | 3 + .../logstash95/files/logstash.conf.sample (new) | 17 +++ sysutils/logstash95/files/logstash.in (new) | 117 +++++++++++++++++++++ .../files/patch-config_logstash.yml (new) | 11 ++ sysutils/logstash95/files/pkg-message.in (new) | 25 +++++ sysutils/logstash95/pkg-descr (new) | 3 + 7 files changed, 269 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7bac8c4aa2daaac114b02385cd5fb9cace681822 commit 7bac8c4aa2daaac114b02385cd5fb9cace681822 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 23:29:25 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 23:29:25 +0000 textproc/kibana95: New port: Browser-based analytics and search interface to Elasticsearch 9.5.x Release Notes: https://www.elastic.co/docs/release-notes/kibana#kibana-9.5.4-release-notes PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs textproc/Makefile | 1 + textproc/kibana95/Makefile | 23 ++--------------------- textproc/kibana95/distinfo | 4 ++-- 3 files changed, 5 insertions(+), 23 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f62589f43bcf4e6a39664363e90bb8e795b2ebeb commit f62589f43bcf4e6a39664363e90bb8e795b2ebeb Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 23:20:40 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 23:20:40 +0000 sysutils/logstash95: New port: Server-side data ingestion and transformation tool 9.5.x Release Notes: https://www.elastic.co/docs/release-notes/logstash#logstash-9.5.4-release-notes PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs sysutils/Makefile | 1 + sysutils/logstash95/Makefile | 2 +- sysutils/logstash95/distinfo | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4f521393d450d6a0cc563e853334d144f10ec612 commit 4f521393d450d6a0cc563e853334d144f10ec612 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 23:16:17 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 23:16:17 +0000 sysutils/beats95: New port: Send logs, network, metrics and heartbeat to Elasticsearch or Logstash 9.5.x Release Notes: https://www.elastic.co/docs/release-notes/beats#beats-release-notes-9.5.4 PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs sysutils/Makefile | 1 + sysutils/beats95/Makefile | 2 +- sysutils/beats95/distinfo | 28 ++++++++++++++-------------- 3 files changed, 16 insertions(+), 15 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=09195e48228b3da0f07e80290a8523e3a5472893 commit 09195e48228b3da0f07e80290a8523e3a5472893 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-22 23:23:41 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-22 23:23:41 +0000 textproc/kibana95: Repocopy from textproc/kibana94 PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs textproc/kibana95/Makefile (new) | 158 +++++++++++++++++++++ textproc/kibana95/distinfo (new) | 7 + .../files/extra-node-re2-binding-gyp.patch (new) | 130 +++++++++++++++++ textproc/kibana95/files/kibana.in (new) | 83 +++++++++++ .../kibana95/files/patch-config_kibana.yml (new) | 15 ++ .../kibana95/files/patch-config_node.options (new) | 11 ++ ...etup-node-env_node__version__validator.js (new) | 16 +++ textproc/kibana95/files/pkg-deinstall.in (new) | 20 +++ textproc/kibana95/files/pkg-message.in (new) | 8 ++ textproc/kibana95/pkg-descr (new) | 6 + 10 files changed, 454 insertions(+)
(In reply to commit-hook from comment #17) Hi Vladimir, why have you add logstash95 with known issues? - testport hasn't passed success: =>> Checking for extra files and directories [00:24:43] Installing from package [pkg] Installing logstash95-9.5.4... pkg-static: Missing shlib libgcc_s.so.1:32 required by logstash95 Failed to install the following 1 package(s): /tmp/pkgs/logstash95-9.5.4.pkg [00:24:43] Cleaning up - using deprecated JAVA_HOME/JAVA_OPTS - noting Logstash 9.3 in pkg-message
(In reply to Boris Korzun from comment #20) How did you get this error? testport on 15.1 amd64: =>> Checking for extra files and directories [00:01:10] Installing from package [151amd64-main] Installing logstash95-9.5.4... ===> Creating groups Using existing group 'logstash' ===> Creating users Using existing user 'logstash' [151amd64-main] Extracting logstash95-9.5.4: .......... done testport on 14.4 amd64: =>> Checking for extra files and directories [00:07:46] Installing from package [144amd64-main] Installing logstash95-9.5.4... ===> Creating groups Using existing group 'logstash' ===> Creating users Using existing user 'logstash' [144amd64-main] Extracting logstash95-9.5.4: .......... done
(In reply to Boris Korzun from comment #20) > - noting Logstash 9.3 in pkg-message Fixed. > - using deprecated JAVA_HOME/JAVA_OPTS Could you explain in more detail what you mean and how you think this needs to be fixed?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bc90dd2b040fad3e4f1979267193207129f6773e commit bc90dd2b040fad3e4f1979267193207129f6773e Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-23 09:37:50 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-23 09:49:53 +0000 sysutils/logstash*: Parametrize version in pkg-message The version in pkg-message was not updated when the ports logstash94 and logstash95 were created. PR: 297679 Approved by: elastic (implicit, inactive for several months again) Sponsored by: UNIS Labs sysutils/logstash8/Makefile | 3 ++- sysutils/logstash8/files/pkg-message.in | 2 +- sysutils/logstash91/Makefile | 3 ++- sysutils/logstash91/files/pkg-message.in | 2 +- sysutils/logstash92/Makefile | 3 ++- sysutils/logstash92/files/pkg-message.in | 2 +- sysutils/logstash93/Makefile | 3 ++- sysutils/logstash93/files/pkg-message.in | 2 +- sysutils/logstash94/Makefile | 4 +++- sysutils/logstash94/files/pkg-message.in | 2 +- sysutils/logstash95/Makefile | 4 +++- sysutils/logstash95/files/pkg-message.in | 2 +- 12 files changed, 20 insertions(+), 12 deletions(-)
I got so caught up in updating all the ports that I completely forgot about your patch… Sorry. 1. I found LS_JAVA_HOME/LS_JAVA_OPTS. Can you please say which versions of logstash must be "fixed"? All - 8/9.x? 2. Why remove startup.options from LOGSTASH_CONF_FILES? 3. I wouldn't complicate the port for the sake of 8 files totaling 300KB that are buried somewhere deep within the embedded JRuby: post-extract: (cd ${WRKSRC}/vendor/jruby/lib/ruby/stdlib/libfixposix/binary && \ ${FIND} -s . -type d -depth 1 ! -name '${ARCH:S/amd64/x86_64/}-freebsd' -exec rm -rf {} +)
4. If we’re going to fix pkg-message.in, we should do it for all versions at once. But I wouldn’t change anything here at all - what’s the point, other than saving three lines?
(In reply to Vladimir Druzenko from comment #24) > 1. I found LS_JAVA_HOME/LS_JAVA_OPTS. Can you please say which versions of logstash must be "fixed"? All - 8/9.x? I don't know, unfortunately. I don't use 9.3 and older. > 2. Why remove startup.options from LOGSTASH_CONF_FILES? startup.options is intended for bin/system-install only, which doesn't using in FreeBSD. > 3. I wouldn't complicate the port for the sake of 8 files totaling 300KB that are buried somewhere deep within the embedded JRuby... These are binary for non-FreeBSD platforms.
(In reply to Boris Korzun from comment #26) 1. Even 8.0.0 uses LS_JAVA_*: https://github.com/elastic/logstash/blob/v8.0.0/bin/logstash.lib.sh 2, 3, 4: Since this doesn't interfere with the port's runtime, I wouldn't change it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=31a6364f7394018750707cf4171cfc3a375b398d commit 31a6364f7394018750707cf4171cfc3a375b398d Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-23 12:39:00 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-23 12:39:00 +0000 sysutils/logstash*: Fix rc script: use LS_JAVA_HOME/LS_JAVA_OPTS instead of JAVA_HOME/JAVA_OPTS The use of JAVA_HOME and JAVA_OPTS is deprecated. PR: 297679 Approved by: blanket (fix runtime) Sponsored by: UNIS Labs Co-authored-by: Boris Korzun <drtr0jan@yandex.ru> sysutils/logstash8/Makefile | 1 + sysutils/logstash8/files/logstash.in | 12 ++++++------ sysutils/logstash91/Makefile | 2 +- sysutils/logstash91/files/logstash.in | 12 ++++++------ sysutils/logstash92/Makefile | 1 + sysutils/logstash92/files/logstash.in | 12 ++++++------ sysutils/logstash93/Makefile | 1 + sysutils/logstash93/files/logstash.in | 12 ++++++------ sysutils/logstash94/Makefile | 2 +- sysutils/logstash94/files/logstash.in | 12 ++++++------ sysutils/logstash95/Makefile | 2 +- sysutils/logstash95/files/logstash.in | 12 ++++++------ 12 files changed, 42 insertions(+), 39 deletions(-)
(In reply to Vladimir Druzenko from comment #21) > testport on 15.1 amd64: > testport on 14.4 amd64: Do you build your poudriere jail with 32-bit library set? I build all environment (system, jail, etc.) WITHOUT_LIB32=true only. There isn't the error while using poudriere WITH_LIB32.
(In reply to Boris Korzun from comment #29) Of course I use jails with default settings. WITHOUT_LIB32=true isn't default option.
(In reply to Vladimir Druzenko from comment #24) Answer for for reason 3: .. but it leads to false positives for linker and pkg solver when packaging and breaks `bulk -t`
Just for example, stage-qa error on aarch64 =>> Status sysutils/logstash94 | logstash94-9.4.7: stage-qa ====> Running Q/A tests (stage-qa) ldd: /usr/bin/ldd32: Exec format error ld-elf.so.1: /wrkdirs/usr/ports/sysutils/logstash94/work/stage/usr/local/logstash/vendor/jruby/lib/ruby/stdlib/libfixposix/binary/x86_64-freebsd/libfixposix.so: unsupported machine /wrkdirs/usr/ports/sysutils/logstash94/work/stage/usr/local/logstash/vendor/jruby/lib/ruby/stdlib/libfixposix/binary/x86_64-freebsd/libfixposix.so: exit status 1 From my POV, all non-${ARCH} libs should be removed from the package
Try patch: EXTRACT_AFTER_ARGS= --exclude jdk.app \ --exclude *.bat \ + --exclude vendor/jruby/lib/ruby/stdlib/libfixposix/binary/*-darwin \ + --exclude vendor/jruby/lib/ruby/stdlib/libfixposix/binary/*-linux \ + --exclude vendor/jruby/lib/ruby/stdlib/libfixposix/binary/${ARCH:S|i386|x86_64|:S|amd64|x86|}-freebsd \ --no-same-owner --no-same-permissions
(In reply to Vladimir Druzenko from comment #33) Bad idea. You need to skip extract libs for all arches but running. No reason to keep x86-freebsd on amd64 too -- it will never be used. Even only are present, I still get stage-qa error on aarch64 =>> Status sysutils/logstash94 | logstash94-9.4.7_2: stage-qa ====> Running Q/A tests (stage-qa) ldd: /usr/bin/ldd32: Exec format error ld-elf.so.1: /wrkdirs/usr/ports/sysutils/logstash94/work/stage/usr/local/logstash/vendor/jruby/lib/ruby/stdlib/libfixposix/binary/x86_64-freebsd/libfixposix.so: unsupported machine /wrkdirs/usr/ports/sysutils/logstash94/work/stage/usr/local/logstash/vendor/jruby/lib/ruby/stdlib/libfixposix/binary/x86_64-freebsd/libfixposix.so: exit status 1
(In reply to Dima Panov from comment #34) --exclude vendor/jruby/lib/ruby/stdlib/libfixposix/binary/*-darwin \ --exclude vendor/jruby/lib/ruby/stdlib/libfixposix/binary/*-linux \ --exclude vendor/jruby/lib/ruby/stdlib/libfixposix/binary/x86-freebsd \ --exclude vendor/jruby/lib/ruby/stdlib/libfixposix/binary/${ARCH:S|aarch64|x86_64|}-freebsd \
(In reply to Vladimir Druzenko from comment #35) Sehr gut, Waldemar! :) Also it will be pleasant if you apply this to other logstash ports
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ff7cc588dd337c812b72bd0cfa860bba137c89e commit 6ff7cc588dd337c812b72bd0cfa860bba137c89e Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-09-24 19:03:11 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-09-24 19:07:33 +0000 sysutils/logstash*: Remove non-${ARCH} libs from the package stage-qa error on aarch64: =>> Status sysutils/logstash94 | logstash94-9.4.7: stage-qa ====> Running Q/A tests (stage-qa) ldd: /usr/bin/ldd32: Exec format error ld-elf.so.1: /wrkdirs/usr/ports/sysutils/logstash94/work/stage/usr/local/logstash/vendor/jruby/lib/ruby/stdlib/libfixposix/binary/x86_64-freebsd/libfixposix.so: unsupported machine /wrkdirs/usr/ports/sysutils/logstash94/work/stage/usr/local/logstash/vendor/jruby/lib/ruby/stdlib/libfixposix/binary/x86_64-freebsd/libfixposix.so: exit status 1 PR: 297679 Approved by: blanket (fix packaging) Tested by: fluffy, Boris Korzun <drtr0jan@yandex.ru> Sponsored by: UNIS Labs sysutils/logstash8/Makefile | 6 +++++- sysutils/logstash91/Makefile | 6 +++++- sysutils/logstash92/Makefile | 6 +++++- sysutils/logstash93/Makefile | 6 +++++- sysutils/logstash94/Makefile | 6 +++++- sysutils/logstash95/Makefile | 6 +++++- 6 files changed, 30 insertions(+), 6 deletions(-)