FS#76856 - [libgit2] Build against pcre2

Attached to Project: Arch Linux
Opened by BTD Master (btdmaster) - Saturday, 17 December 2022, 10:34 GMT
Last edited by Toolybird (Toolybird) - Saturday, 17 December 2022, 21:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently libgit2 builds against pcre, which has been deprecated for a few years which is an issue for security (and other) bugs. Fortunately, it has CMake configuration to choose a different regex backend.

libgit2 1:1.5.0-2
https://github.com/libgit2/libgit2/blob/v1.5.0/CMakeLists.txt#L36

To build against pcre2, include -DREGEX_BACKEND=pcre2 in the PKGBUILD CMake flags.
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 17 December 2022, 21:22 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#76000 
Comment by Toolybird (Toolybird) - Saturday, 17 December 2022, 21:22 GMT
Please search for duplicates [1] before reporting new bugs.

[1] https://wiki.archlinux.org/title/Bug_reporting_guidelines#Search_for_duplicates

Loading...