Update to 0.12.4 for fix CVE-2023-26130
This commit is contained in:
parent
f00b01cbae
commit
b84078d02e
BIN
cpp-httplib-0.12.4.tar.gz
Normal file
BIN
cpp-httplib-0.12.4.tar.gz
Normal file
Binary file not shown.
@ -1,12 +1,12 @@
|
|||||||
Name: cpp-httplib
|
Name: cpp-httplib
|
||||||
Version: 0.11.1
|
Version: 0.12.4
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A C++ header-only HTTP/HTTPS server and client library
|
Summary: A C++ header-only HTTP/HTTPS server and client library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/yhirose/cpp-httplib
|
URL: https://github.com/yhirose/cpp-httplib
|
||||||
Source0: https://github.com/yhirose/%{name}/archive/refs/tags/v%{version}.tar.gz
|
Source0: https://github.com/yhirose/cpp-httplib/archive/v%{version}/cpp-httplib-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildRequires: gcc-c++ meson >= 0.47.0 openssl-devel brotli-devel gtest-devel zlib-devel
|
||||||
Requires: openssl-devel, glibc-devel, zlib-devel
|
Requires: openssl-devel, glibc-devel, zlib-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -14,17 +14,15 @@ A C++11 single-file header-only cross platform HTTP/HTTPS library.
|
|||||||
It's extremely easy to setup. Just include httplib.h file in your code!
|
It's extremely easy to setup. Just include httplib.h file in your code!
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}/
|
%autosetup -p1 -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%meson -Dcpp-httplib_compile=true -Dcpp-httplib_test=true \
|
||||||
|
--buildtype=release
|
||||||
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d %{buildroot}/%{_includedir}
|
%meson_install
|
||||||
install -m0644 httplib.h %{buildroot}/%{_includedir}
|
|
||||||
install -d %{buildroot}/%{_docdir}/%{name}
|
|
||||||
cp -r example %{buildroot}/%{_docdir}/%{name}
|
|
||||||
cp %{buildroot}/%{_includedir}/httplib.h %{buildroot}/%{_docdir}/%{name}
|
|
||||||
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%preun
|
%preun
|
||||||
@ -32,15 +30,21 @@ cp %{buildroot}/%{_includedir}/httplib.h %{buildroot}/%{_docdir}/%{name}
|
|||||||
%postun
|
%postun
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
export GTEST_FILTER='_Online$'
|
||||||
|
%meson_test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md split.py
|
%doc README.md example
|
||||||
%{_includedir}/*
|
%{_includedir}/httplib.h
|
||||||
%{_docdir}/%{name}/httplib.h
|
%{_libdir}/lib%{name}.so
|
||||||
%{_docdir}/%{name}/example
|
%{_libdir}/lib%{name}.so.*
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 13 2023 yaoxin <yao_xin001@hoperun.com> - 0.12.4-1
|
||||||
|
- Update to 0.12.4 for fix CVE-2023-26130
|
||||||
|
|
||||||
* Tue Aug 16 2022 jinzhiguang <jinzhiguang@kylinos.cn> - 0.11.1-1
|
* Tue Aug 16 2022 jinzhiguang <jinzhiguang@kylinos.cn> - 0.11.1-1
|
||||||
- update to 0.11.1
|
- update to 0.11.1
|
||||||
|
|
||||||
|
|||||||
BIN
v0.11.1.tar.gz
BIN
v0.11.1.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user