Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 835151

Summary: >=app-admin/apache-tools-2.4.53, >=www-servers/apache-2.4.53: adapt to dev-libs/libpcre2
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: holger
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=844868
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 890274    
Bug Blocks: 837980    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-14 16:36:36 UTC
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.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-15 19:35:58 UTC Comment hidden (obsolete)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-12 07:23:09 UTC Comment hidden (obsolete)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-12 08:05:13 UTC
ping
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-09 00:06:40 UTC
ping
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-01 03:23:04 UTC
ping
Comment 6 Larry the Git Cow gentoo-dev 2022-12-14 11:40:10 UTC
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(-)
Comment 7 Larry the Git Cow gentoo-dev 2023-01-26 05:20:34 UTC
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(-)