Replace http-parser with llhttp
Backported upstream patch from https://github.com/libgit2/libgit2/pull/6713 Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
71e7114a4f
commit
34d9fba81d
15030
0001-Replace-http-parser-with-llhttp.patch
Normal file
15030
0001-Replace-http-parser-with-llhttp.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -13,10 +13,14 @@ License: GPLv2 with exceptions
|
|||||||
URL: https://libgit2.org/
|
URL: https://libgit2.org/
|
||||||
Source0: https://github.com/libgit2/libgit2/archive/refs/tags/v%{version}.tar.gz#/libgit2-%{version}.tar.gz
|
Source0: https://github.com/libgit2/libgit2/archive/refs/tags/v%{version}.tar.gz#/libgit2-%{version}.tar.gz
|
||||||
|
|
||||||
|
# Patches
|
||||||
|
# Backported patch from https://github.com/libgit2/libgit2/pull/6713
|
||||||
|
Patch: 0001-Replace-http-parser-with-llhttp.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: cmake >= 3.5.1
|
BuildRequires: cmake >= 3.5.1
|
||||||
BuildRequires: ninja-build
|
BuildRequires: ninja-build
|
||||||
BuildRequires: http-parser-devel
|
BuildRequires: llhttp-devel
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
%if %{with libssh2}
|
%if %{with libssh2}
|
||||||
@ -79,7 +83,7 @@ popd
|
|||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
-DREGEX_BACKEND=pcre2 \
|
-DREGEX_BACKEND=pcre2 \
|
||||||
-DBUILD_CLI=OFF \
|
-DBUILD_CLI=OFF \
|
||||||
-DUSE_HTTP_PARSER=system \
|
-DUSE_HTTP_PARSER=llhttp \
|
||||||
-DUSE_SHA1=HTTPS \
|
-DUSE_SHA1=HTTPS \
|
||||||
-DUSE_HTTPS=OpenSSL \
|
-DUSE_HTTPS=OpenSSL \
|
||||||
-DUSE_NTLMCLIENT=OFF \
|
-DUSE_NTLMCLIENT=OFF \
|
||||||
|
Loading…
Reference in New Issue
Block a user