Created attachment 264415 [details] Beats 8.19.5 Related to the ELK stack: Bug #288653 for textproc/elasticsearch8 updates. Bug #289759 for textproc/kibana8 updates.
Created attachment 264859 [details] Beats 8.19.6
Created attachment 265342 [details] Beats 8.19.7
Created attachment 265383 [details] Beats 8.19.7_1 Corrected GO_MODULE in Makefile.
Created attachment 265768 [details] patch for Beats 8.19.7_1 ^Triage: convert to git diff.
Created attachment 266688 [details] Beats 8.19.9
Created attachment 267342 [details] Beats 8.19.10
(In reply to Saro from comment #6) git apply /tmp/b8 /tmp/b8:173: space before tab in indent. "golang.org/x/text/cases" /tmp/b8:174: space before tab in indent. "golang.org/x/text/language" /tmp/b8:175: space before tab in indent. "gopkg.in/yaml.v3" /tmp/b8:576: space before tab in indent. return cpuData, errors.Join(errs...) /tmp/b8:591: space before tab in indent. procfs := m.Hostfs error: patch failed: sysutils/beats8/Makefile:1 error: sysutils/beats8/Makefile: patch does not apply
Created attachment 268652 [details] Beats 8.19.12
(In reply to Saro from comment #3) Why v7? It was v8 before and work.
(In reply to Vladimir Druzenko from comment #9) I noticed that too, but it's technically incorrect: https://github.com/elastic/beats/blob/v8.19.12/go.mod > module github.com/elastic/beats/v7 I'm honestly surprised it even worked with v8.
====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: @dir %%ETCDIR%% ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: %%ETCDIR%%/filebeat.yml.reference Error: Missing: %%ETCDIR%%/filebeat.yml.sample Error: Missing: %%ETCDIR%%/heartbeat.yml.reference Error: Missing: %%ETCDIR%%/heartbeat.yml.sample Error: Missing: %%ETCDIR%%/metricbeat.yml.reference Error: Missing: %%ETCDIR%%/metricbeat.yml.sample Error: Missing: sbin/filebeat Error: Missing: sbin/heartbeat Error: Missing: sbin/metricbeat Error: Missing: @dir /var/db/beats/filebeat Error: Missing: @dir /var/db/beats/heartbeat Error: Missing: @dir /var/db/beats/metricbeat Error: Missing: @dir /var/db/beats ===> Error: Plist issues found. *** Error code 1
Ignore my last message - bug on my side.
(In reply to Saro from comment #8) You removed patch: sysutils/beats8/files/patch-vendor_github.com_insomniacslk_dhcp_dhcpv4_bindtodevice__bsd.go But returned it in sysutils/beats91. Then removed again in sysutils/beats92 and sysutils/beats93. What should be correct?
(In reply to Vladimir Druzenko from comment #13) I believe this is expected as branch 9.1 is slightly behind in updates right now.
(In reply to Saro from comment #14) So it's correct: 8, 92 and 93 without patch and 91 with patch?
(In reply to Vladimir Druzenko from comment #15) Yes, that is correct. I was unable to build 8.19.12/9.2.6/9.3.1 as go complained about duplicate BindToInterface() functions. 8.19, 9.2 and 9.3 had `github.com/insomniacslk/dhcp` updated to v0.0.0-20251020182700-175e84fbb167: https://github.com/elastic/beats/blob/v8.19.12/go.mod#L97 https://github.com/elastic/beats/blob/v9.2.6/go.mod#L97 https://github.com/elastic/beats/blob/v9.3.1/go.mod#L96 9.1.10 is still on v0.0.0-20220119180841-3c283ff8b7dd: https://github.com/elastic/beats/blob/v9.1.10/go.mod#L97 Upstream also has this available for some time: https://github.com/insomniacslk/dhcp/blob/master/interfaces/bindtodevice_bsd.go Full history (file was moved from 'dhcpv4/' folder): https://github.com/insomniacslk/dhcp/commits/master/interfaces/bindtodevice_bsd.go Interesting thing is, even on commit 3c283ff8b7dd, the implementation was available although with different modules (syscall vs unix): https://github.com/insomniacslk/dhcp/blob/3c283ff8b7dd3a8ea2dbc37d13a35bba7aab00e5/interfaces/bindtodevice_bsd.go It's possible I am interpreting the go.mod incorrectly, or this is a compiler change with recent go versions.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fae0cd1f8ee485b9c813d6d4c98b8ff6f3e46b8c commit fae0cd1f8ee485b9c813d6d4c98b8ff6f3e46b8c Author: Saro <web@saromedia.com> AuthorDate: 2026-03-17 20:06:17 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-03-17 21:12:08 +0000 sysutils/beats8: Update 8.14.3 => 8.19.12 Release Notes (42 new versions): https://www.elastic.co/guide/en/beats/libbeat/current/release-notes-8.15.0.html . . . https://www.elastic.co/guide/en/beats/libbeat/current/release-notes-8.19.12.html - Remove unnecessary '?' in "PKGNAMESUFFIX?=8". - Adjust COMMENT. - Simplify removing "./" from GO_TARGET. - Remove unnecessary '+' in "MAKE_ENV+=". - Fix GO_MODULE - must be "v7" instead of "v8". - Adjust CONFLICTS. - Use ".ifmake makesum" for generate distfiles with non-default modules too. - Add LOCAL/vvd/elastic to MASTER_SITES for those who can't download due to the HTTP error "Forbidden 403". - Replace PORTVERSION with DISTVERSION. - Add '(' and ')' around the block that is executed in the shell. - Refresh patches. - Fix description in rc.d scripts. PR: 290094 Approved by: elastic (maintainer, implicit - inactive for more than 6 months) Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> sysutils/beats8/Makefile | 46 +++++++++------ sysutils/beats8/distinfo | 30 +++++----- sysutils/beats8/files/auditbeat.in | 4 +- sysutils/beats8/files/filebeat.in | 4 +- sysutils/beats8/files/heartbeat.in | 5 +- sysutils/beats8/files/metricbeat.in | 4 +- sysutils/beats8/files/packetbeat.in | 4 +- .../files/patch-auditbeat_auditbeat.reference.yml | 8 +-- .../beats8/files/patch-auditbeat_auditbeat.yml | 2 +- .../beats8/files/patch-dev-tools_mage_settings.go | 16 +++--- .../files/patch-filebeat_filebeat.reference.yml | 8 +-- sysutils/beats8/files/patch-filebeat_filebeat.yml | 8 +-- sysutils/beats8/files/patch-go-sysinfo | 67 +++++++++------------- ...libbeat_autodiscover_providers_docker_config.go | 4 +- ...libbeat_autodiscover_providers_docker_docker.go | 6 +- ...eat_autodiscover_providers_kubernetes_config.go | 4 +- ...autodiscover_providers_kubernetes_kubernetes.go | 4 +- .../beats8/files/patch-libbeat_scripts_Makefile | 8 +-- .../patch-metricbeat_metricbeat.reference.yml | 8 +-- .../beats8/files/patch-metricbeat_metricbeat.yml | 6 +- .../patch-packetbeat_packetbeat.reference.yml | 6 +- .../beats8/files/patch-packetbeat_packetbeat.yml | 2 +- ...t-system-metrics_metric_cpu_metrics__freebsd.go | 6 +- ...m-metrics_metric_cpu_metrics__procfs__common.go | 10 ++-- ...bus_dbus_transport__unixcred__freebsd.go (gone) | 12 ---- ...niacslk_dhcp_dhcpv4_bindtodevice__bsd.go (gone) | 22 ------- .../beats8/files/patch-vendor_modules.txt (new) | 10 ++++ 27 files changed, 143 insertions(+), 171 deletions(-)
Thanks.