I was just wondering what the status was for this project? I see that there are recent openssl 3 fixes but it looks like most distributions have stopped packaging mod_qos because it's reliance on the old 'pcre' package instead of the new 'pcre2' version. Are there plans to update to pcre2? It would be a shame to see this awesome project end.
No problem. Debian "Bookworm" isn't set to be released until mid 2023 so you should have some time before the old pcre package is removed. I've been reviewing how other projects on that list have been dealing with this. Maybe these links will help you:
mod_qos 11.73 has been release. This release introduces support of the PCRE2 (10.x) library in place of the now end-of-life PCRE version 1 (8.x) API.
The module no longer has an explicit dependency to the PCRE library (but uses ap_pregcomp(), ap_regexec(), and ap_regexec_len() from ap_regex.h.) Wrapping the PCRE (v1) and PCRE2 interface by the Apache httpd allows use of the new API version (depends on locating pcre2-config). PCRE2 compatibility requires Apache httpd 2.4.53 or newer.
All the support utilities have been migrated to PCRE2 API (version 10.x). Tested with PCRE version 10.41.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was just wondering what the status was for this project? I see that there are recent openssl 3 fixes but it looks like most distributions have stopped packaging mod_qos because it's reliance on the old 'pcre' package instead of the new 'pcre2' version. Are there plans to update to pcre2? It would be a shame to see this awesome project end.
PcreDeprecation
https://fedoraproject.org/wiki/PcreDeprecation
libapache2-mod-qos: depends on obsolete pcre3 library
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000072
Thank you for sharing the link. I was not aware about this.
No problem. Debian "Bookworm" isn't set to be released until mid 2023 so you should have some time before the old pcre package is removed. I've been reviewing how other projects on that list have been dealing with this. Maybe these links will help you:
Docs
https://www.pcre.org/current/doc/html/index.html
https://github.com/luvit/pcre2/blob/master/src/pcre2demo.c
Discussion
https://github.com/PCRE2Project/pcre2/issues/51
https://github.com/Sigil-Ebook/Sigil/issues/630
https://github.com/Cisco-Talos/clamav/blob/a21cc6dcd7f93ad7418ea6c2f1e01612e23fc36e/libclamav/regex_pcre.c#L28
mod_qos 11.73 has been release. This release introduces support of the PCRE2 (10.x) library in place of the now end-of-life PCRE version 1 (8.x) API.
The module no longer has an explicit dependency to the PCRE library (but uses ap_pregcomp(), ap_regexec(), and ap_regexec_len() from ap_regex.h.) Wrapping the PCRE (v1) and PCRE2 interface by the Apache httpd allows use of the new API version (depends on locating pcre2-config). PCRE2 compatibility requires Apache httpd 2.4.53 or newer.
All the support utilities have been migrated to PCRE2 API (version 10.x). Tested with PCRE version 10.41.
Amazing stuff. Thanks again!