-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add pcre2 support #4736
add pcre2 support #4736
Conversation
without removing pcre1 support Based on a patch from @yselkowitz in cyrusimap#4545
@elliefm When backporting, leave out the "prefer pcre2..." commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builds and unit tests clean on my build
"pcre": false,
"pcre2": true,
Same here. |
118d37d
to
1dc08fe
Compare
@rsto I've added upgrade instructions to the changes file to clarify the pcre/pcre2/pcre3 situation, to explain how to make configure use the older one when both are present (otherwise it will prefer the newer one), and to explain how to deal with a situation where pcre2 is half-installed already (but not enough for Cyrus to use). I think this should address your issues deploying this PR to Fastmail -- in a generic way that will be useful to non-Fastmail deployments. Sorry I missed this earlier. My bullseye VM already had In Fastmail-specific terms (but please read the generic instructions too): I think you need to modify
We can get away with staying on the old (unsupported, unmaintained) pcre (aka pcre3) for the time being, but we will be forced to upgrade to pcre2 when we upgrade to Bookworm, so IMO we might as well get it over with now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with a small nit
Fixes: #3861 #4711