[Bug 267957] net-mgmt/zabbix6-server: add option to select between PCRE and PCRE2

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Nov 2022 08:24:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267957

            Bug ID: 267957
           Summary: net-mgmt/zabbix6-server: add option to select between
                    PCRE and PCRE2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: otis@FreeBSD.org
          Reporter: michael.osipov@siemens.com
             Flags: maintainer-feedback?(otis@FreeBSD.org)
          Assignee: otis@FreeBSD.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.