Filing so we don't forget. See https://bugs.gentoo.org/835131#c3: (In reply to Hans de Graaff from comment #3) > Not changed yet: > > *) Support pcre2 (10.x) library in place of the now end-of-life pcre (8.x) > for regular expression evaluation. This depends on locating > pcre2-config. > [William Rowe, Petr Pisar <ppisar redhat.com>, Rainer Jung] > > This will require changes in the apache-2.eclass and is probably best left > for a non-security revision.
[19:30:23] <@sam_> graaff: I think apache may automagically use pcre2 atm: https://github.com/apache/httpd/commit/c602ba14811ede722017c4e59e4e30d9990227b4 [19:30:44] <@sam_> graaff: you'll need to do --with-pcre to force pcre1 usage
(In reply to Sam James from comment #1) > [19:30:23] <@sam_> graaff: I think apache may automagically use pcre2 atm: > https://github.com/apache/httpd/commit/ > c602ba14811ede722017c4e59e4e30d9990227b4 > [19:30:44] <@sam_> graaff: you'll need to do --with-pcre to force pcre1 > usage (graaff noted this is wrong -- eclass handles it, so not automagic.)
ping
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8b25e7793653137f231e511807765283ca225b3 commit b8b25e7793653137f231e511807765283ca225b3 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-14 11:39:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-14 11:39:21 +0000 app-admin/apache-tools: switch to pcre2 Closes: https://bugs.gentoo.org/835151 Signed-off-by: Sam James <sam@gentoo.org> .../apache-tools/apache-tools-2.4.54-r3.ebuild | 113 +++++++++++++++++++++ 1 file changed, 113 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62c4b9e66fdc6b4f9ad949fba1038ce59ec77835 commit 62c4b9e66fdc6b4f9ad949fba1038ce59ec77835 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-14 11:36:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-14 11:36:27 +0000 www-servers/apache: switch to pcre2 Bug: https://bugs.gentoo.org/835151 Signed-off-by: Sam James <sam@gentoo.org> www-servers/apache/apache-2.4.54-r7.ebuild | 259 +++++++++++++++++++++++++++++ 1 file changed, 259 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1886d2501961e18cf5ca2f88c4b988e3ca09f67 commit f1886d2501961e18cf5ca2f88c4b988e3ca09f67 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-14 11:29:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-14 11:36:18 +0000 www-servers/apache: set GENTOO_USE_PCRE1 in stable ebuilds Bug: https://bugs.gentoo.org/835151 Signed-off-by: Sam James <sam@gentoo.org> www-servers/apache/apache-2.4.54-r2.ebuild | 2 ++ www-servers/apache/apache-2.4.54-r3.ebuild | 2 ++ www-servers/apache/apache-2.4.54-r4.ebuild | 2 ++ www-servers/apache/apache-2.4.54-r5.ebuild | 2 ++ www-servers/apache/apache-2.4.54-r6.ebuild | 2 ++ 5 files changed, 10 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc3e1cc11a179319bc34f903ea46a75117394734 commit bc3e1cc11a179319bc34f903ea46a75117394734 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-14 11:28:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-14 11:36:18 +0000 apache-2.eclass: add pcre2 support Wire up a temporary eclass variable to allow older ebuilds to opt-in to legacy PCRE1 usage so we can transition gradually to PCRE2 in ~arch without affecting stable ebuilds. Stable ebuilds should set GENTOO_USE_PCRE1=1. Bug: https://bugs.gentoo.org/835151 Signed-off-by: Sam James <sam@gentoo.org> eclass/apache-2.eclass | 82 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 63 insertions(+), 19 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=654908ac2bac28133b1515494361242078528488 commit 654908ac2bac28133b1515494361242078528488 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-26 05:19:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-26 05:19:55 +0000 apache-2.eclass: cleanup libpcre1 support Bug: https://bugs.gentoo.org/835151 Signed-off-by: Sam James <sam@gentoo.org> eclass/apache-2.eclass | 82 ++++++++++++++------------------------------------ 1 file changed, 22 insertions(+), 60 deletions(-)