PCRE(1) has been deprecated for quite some time now and superseded by PCRE2. All users are advised to switch to it. http://pcre.org/ says: ====================== There are two major versions of the PCRE library. The current version, PCRE2, released in 2015, is now at version 10.39. The older, but still widely deployed PCRE library, originally released in 1997, is at version 8.45. This version of PCRE is now at end of life, and is no longer being actively maintained. Version 8.45 is expected to be the final release of the older PCRE library, and new projects should use PCRE2 instead. ====================== Proposal: Add option to choose between PCRE1 and PCRE2. According to the Zabbix Upgrade Guide not all regex statements might be compatible. Future Zabbix 6.x should only use PCRE2. Current (6.0.x, not 6.2.x because it is shortlived) might migrate somewhere in the future. See: * https://support.zabbix.com/browse/ZBXNEXT-4922 * https://www.zabbix.com/documentation/6.0/en/manual/installation/upgrade_notes_600#pcre2-support
This actually applies to agentd and proxy likely as well since the Makefile is shared.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0715efc3ee3d45c75f2c1ae3d451f557b49553ab commit 0715efc3ee3d45c75f2c1ae3d451f557b49553ab Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2022-11-27 21:25:23 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2022-11-27 21:31:17 +0000 net-mgmt/zabbix62-server: Add PCRE2 support - Add pcre2 support, making it the default (bumping PORTREVISION) - Small Makefile tweaks (no functional changes intended) Suggested by: Michael Osipov <michael.osipov@siemens.com> PR: 267957 net-mgmt/zabbix62-server/Makefile | 85 ++++++++++++++++++++------------------ net-mgmt/zabbix62-server/pkg-plist | 2 + 2 files changed, 47 insertions(+), 40 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=13d643f5d19762157ecd93e4c82712d73679db8d commit 13d643f5d19762157ecd93e4c82712d73679db8d Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2022-11-27 21:16:11 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2022-11-27 21:31:17 +0000 net-mgmt/zabbix6-server: Add PCRE2 support - Add pcre2 support, making it the default (bumping PORTREVISION) - Small Makefile tweaks (no functional changes intended) Suggested by: Michael Osipov <michael.osipov@siemens.com> PR: 267957 net-mgmt/zabbix6-server/Makefile | 89 +++++++++++++++++++++------------------ net-mgmt/zabbix6-server/pkg-plist | 2 + 2 files changed, 49 insertions(+), 42 deletions(-)
Committed, thanks.