docker: T7450: use PCRE2 for vyos-utils and libvyosconfig #964
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change summary
vyos-utils and vyos1x-config now use the original pcre OCaml package. That package is based on the original PCRE library. Its latest release 8.45 is the last release and the original implementation is now declared EOL. That package is named libpcre3 in Debian, for some reason.
PCRE maintainers made a new release line called PCRE2 that has now replaced the original. Debian Trixie no longer includes the original implementation, only PCRE2. The package is called libpcre2. Yes, you read it right: libpcre2 is newer than libpcre3.
There are already OCaml bindings for PCRE2 — they are API-compatible, just use a different module name, so we only need to update those names and dependencies to make it work.
Types of changes
Related Task(s)
Related PR(s)
Checklist: