8
0
forked from pool/cpp-httplib

4 Commits

Author SHA256 Message Date
d6a441f337 Accepting request 1298940 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1298940
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpp-httplib?expand=0&rev=13
2025-08-13 14:22:56 +00:00
12f2a4e7cd cpp-httplib 0.24.0, fix the .pc file, and Tumbleweed build
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=38
2025-08-08 13:22:04 +00:00
074920ce45 Accepting request 1295278 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1295278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpp-httplib?expand=0&rev=12
2025-07-25 15:03:46 +00:00
4e4cc18e88 - version update to 0.23.1
* Fix issue with HTTP handling #2021
  * Fix specific bug addressed in this release #2111
  * Resolve issue #366
  * Resolve issue #1264
  * Fix getaddrinfo stalling issue when network is down
  * Fix proxy-related issues
  * Fix #1656: Improve logging before compression #1656
  * Add URL encoding helpers for user input in GET requests #2170
  * Add SSL error access functionality #2169
  * Cleaner API: API improvements #2166
  * Add POST with content receiver feature #cfb56c0
  * Add Params support for PUT/DELETE methods #b2bf172
  * Complete removal of Windows 8 or lower support #2177
  * Removal of 32-bit environment support (64-bit only) #2173
  * Improve form field access methods #2171

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=36
2025-07-23 10:53:53 +00:00
5 changed files with 39 additions and 9 deletions

BIN
cpp-httplib-0.22.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb788d1ccf6654af77b63f4f3f01f9d9a5b549a8773d02eb88b33ef252a9f78e
size 1301392

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
Mon Aug 4 21:10:04 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- 0.24.0:
* URL Encoding/Decoding Improvements
* Accept Header Quality Value Parsing Exception Handling
* Missing Client::set_max_timeout Method Implementation
- fix incorrect version in openSUSE package specific .pc file
-------------------------------------------------------------------
Tue Jul 22 23:58:47 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
- version update to 0.23.1
* Fix issue with HTTP handling #2021
* Fix specific bug addressed in this release #2111
* Resolve issue #366
* Resolve issue #1264
* Fix getaddrinfo stalling issue when network is down
* Fix proxy-related issues
* Fix #1656: Improve logging before compression #1656
* Add URL encoding helpers for user input in GET requests #2170
* Add SSL error access functionality #2169
* Cleaner API: API improvements #2166
* Add POST with content receiver feature #cfb56c0
* Add Params support for PUT/DELETE methods #b2bf172
* Complete removal of Windows 8 or lower support #2177
* Removal of 32-bit environment support (64-bit only) #2173
* Improve form field access methods #2171
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 24 14:39:29 UTC 2025 - Marius Grossu <marius.grossu@suse.com> Tue Jun 24 14:39:29 UTC 2025 - Marius Grossu <marius.grossu@suse.com>

View File

@@ -5,7 +5,7 @@ libdir=${prefix}/lib64
Name: cpp-httplib Name: cpp-httplib
Description: A C++ HTTP/HTTPS server and client library Description: A C++ HTTP/HTTPS server and client library
URL: https://github.com/yhirose/cpp-httplib URL: https://github.com/yhirose/cpp-httplib
Version: 0.18.1 Version: 0.0.0
Requires.private: openssl >= 3.0.0, zlib, libbrotlicommon, libbrotlidec, libbrotlienc Requires.private: openssl >= 3.0.0, zlib, libbrotlicommon, libbrotlidec, libbrotlienc
Libs: -L${libdir} -lcpp-httplib Libs: -L${libdir} -lcpp-httplib
Libs.private: -pthread Libs.private: -pthread

View File

@@ -2,6 +2,7 @@
# spec file for package cpp-httplib # spec file for package cpp-httplib
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +17,18 @@
# #
%define sover 0.22 %define sover 0.24
%define libver 0_22 %define libver 0_24
Name: cpp-httplib Name: cpp-httplib
Version: 0.22.0 Version: 0.24.0
Release: 0 Release: 0
Summary: A C++11 HTTP/HTTPS server and client library Summary: A C++11 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: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: %{name}.pc Source1: %{name}.pc
BuildRequires: c++_compiler
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig(gtest) BuildRequires: pkgconfig(gtest)
BuildRequires: pkgconfig(libbrotlidec) BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: pkgconfig(libbrotlienc) BuildRequires: pkgconfig(libbrotlienc)
@@ -68,7 +69,6 @@ sed -i 's|Version: 0.0.0|Version: %{version}|g' %{SOURCE1}
%build %build
%cmake \ %cmake \
-DBUILD_SHARED_LIBS=ON \
-DHTTPLIB_REQUIRE_OPENSSL=ON \ -DHTTPLIB_REQUIRE_OPENSSL=ON \
-DHTTPLIB_REQUIRE_ZLIB=ON \ -DHTTPLIB_REQUIRE_ZLIB=ON \
-DHTTPLIB_REQUIRE_BROTLI=ON \ -DHTTPLIB_REQUIRE_BROTLI=ON \
@@ -96,6 +96,7 @@ rm -r %{buildroot}%{_datadir}/{licenses/httplib,doc/packages/cpp-httplib}
%{_libdir}/lib%{name}.so.%{version} %{_libdir}/lib%{name}.so.%{version}
%files devel %files devel
%license LICENSE
%doc README.md example %doc README.md example
%{_libdir}/lib%{name}.so %{_libdir}/lib%{name}.so
%{_includedir}/httplib.h %{_includedir}/httplib.h