From c690d9f88734fd94bc276775e3d3eb893b0f48cb64aaf348540e0529ac040393 Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Sat, 12 Jan 2019 06:12:20 +0000 Subject: [PATCH 1/2] Accepting request 664955 from home:MargueriteSu:branches:devel:libraries:c_c++ - Update to 2.10.8 * Allow ppltasks.h and pplxtasks.h to co-exist * Fix incorrect const in reinterpret_cast * Fix UWP missing header * Adds support for OpenSSL 1.1.1 * Fix string size for error message generated by windows_category * Add uri_builder::append_path_raw(...) to allow adding elements to path intentionally beginning with '/' ("//" will result in the final path value) * cmake: add code to detect system brotli library * Fix Brotli compress_helper early termination issue - Update to 2.10.7 * Several race conditions in the listener were worked around; the listeners remain experimental and are unlikely to productized in their current form; the race conditions are structural, but at least the client tests pass most of the time. * Incorrect handling of connection pooling bug that caused segfaults on Ubuntu introduced in 2.10.4 has been repaired. * websocketpp checked in 0.5.1 version has been changed to a submodule and updated to 0.8.1. * Added an API to set the number of threads in the asio thread pool * Add Transfer-Encoding compression support and extensible compression API * Improve utf8_to_utf16 speed for common path * added URI resolution according to RFC3986 * Use pplx namespace consistently * Remove _ASYNCRTIMP from ~http_listener() and implement inline * Avoid using identifiers reserved by C++ in header guards * blackjack sample: use vector instead of shared pointer for array OBS-URL: https://build.opensuse.org/request/show/664955 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=37 --- cpprest.changes | 33 +++++++++++++++++++++++++++++++++ cpprest.spec | 9 +++++---- cpprestsdk-2.10.6.tar.gz | 3 --- cpprestsdk-2.10.8.tar.gz | 3 +++ 4 files changed, 41 insertions(+), 7 deletions(-) delete mode 100644 cpprestsdk-2.10.6.tar.gz create mode 100644 cpprestsdk-2.10.8.tar.gz diff --git a/cpprest.changes b/cpprest.changes index a181ef9..f75e518 100644 --- a/cpprest.changes +++ b/cpprest.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Sat Jan 12 02:21:13 UTC 2019 - Marguerite Su + +- Update to 2.10.8 + * Allow ppltasks.h and pplxtasks.h to co-exist + * Fix incorrect const in reinterpret_cast + * Fix UWP missing header + * Adds support for OpenSSL 1.1.1 + * Fix string size for error message generated by windows_category + * Add uri_builder::append_path_raw(...) to allow adding elements + to path intentionally beginning with '/' ("//" will result in + the final path value) + * cmake: add code to detect system brotli library + * Fix Brotli compress_helper early termination issue +- Update to 2.10.7 + * Several race conditions in the listener were worked around; the + listeners remain experimental and are unlikely to productized + in their current form; the race conditions are structural, but + at least the client tests pass most of the time. + * Incorrect handling of connection pooling bug that caused segfaults + on Ubuntu introduced in 2.10.4 has been repaired. + * websocketpp checked in 0.5.1 version has been changed to a + submodule and updated to 0.8.1. + * Added an API to set the number of threads in the asio thread pool + * Add Transfer-Encoding compression support and extensible compression + API + * Improve utf8_to_utf16 speed for common path + * added URI resolution according to RFC3986 + * Use pplx namespace consistently + * Remove _ASYNCRTIMP from ~http_listener() and implement inline + * Avoid using identifiers reserved by C++ in header guards + * blackjack sample: use vector instead of shared pointer for array + ------------------------------------------------------------------- Thu Sep 13 05:27:01 UTC 2018 - antoine.belvire@opensuse.org diff --git a/cpprest.spec b/cpprest.spec index a74dc14..446b7b9 100644 --- a/cpprest.spec +++ b/cpprest.spec @@ -1,7 +1,7 @@ # # spec file for package cpprest # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define major 2 %define minor 10 Name: cpprest -Version: 2.10.6 +Version: 2.10.8 Release: 0 Summary: C++ REST library # main: MIT (license.txt) @@ -31,7 +31,8 @@ Summary: C++ REST library License: MIT AND BSD-3-Clause AND Zlib Group: Development/Libraries/C and C++ URL: https://github.com/Microsoft/cpprestsdk -Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}/cpprestsdk-%{version}.tar.gz +#Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}/cpprestsdk-%{version}.tar.gz +Source: cpprestsdk-%{version}.tar.gz BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ BuildRequires: openssl-devel >= 1.0 diff --git a/cpprestsdk-2.10.6.tar.gz b/cpprestsdk-2.10.6.tar.gz deleted file mode 100644 index dd09e93..0000000 --- a/cpprestsdk-2.10.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5fecccc779b077f18acf0f7601b19b39c3da963498ed5b10bb2700dccfe66c5a -size 2069474 diff --git a/cpprestsdk-2.10.8.tar.gz b/cpprestsdk-2.10.8.tar.gz new file mode 100644 index 0000000..758d209 --- /dev/null +++ b/cpprestsdk-2.10.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4a0b98758a6de8fa7fb53467355d8f79333759e06a868e92df795692d8b81d8 +size 56145920 From 8efc78f8d7b2f24df35a483a899c141d71fdaf147a9d8810ea5a4522db0062b5 Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Tue, 22 Jan 2019 12:53:48 +0000 Subject: [PATCH 2/2] Accepting request 667306 from home:1Antoine1:branches:devel:libraries:c_c++ - Fix licensing issues: * Use upstream tarball as is, i.e. don't include third-party stuff from vcpkg submodule. * As a consequence, websocketpp is not embedded in tarball so add build requirement on system's websocketpp. OBS-URL: https://build.opensuse.org/request/show/667306 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=38 --- cpprest.changes | 9 +++++++++ cpprest.spec | 4 ++-- cpprestsdk-2.10.8.tar.gz | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/cpprest.changes b/cpprest.changes index f75e518..c35ba24 100644 --- a/cpprest.changes +++ b/cpprest.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Jan 20 09:24:04 UTC 2019 - antoine.belvire@opensuse.org + +- Fix licensing issues: + * Use upstream tarball as is, i.e. don't include third-party + stuff from vcpkg submodule. + * As a consequence, websocketpp is not embedded in tarball so + add build requirement on system's websocketpp. + ------------------------------------------------------------------- Sat Jan 12 02:21:13 UTC 2019 - Marguerite Su diff --git a/cpprest.spec b/cpprest.spec index 446b7b9..904ef4c 100644 --- a/cpprest.spec +++ b/cpprest.spec @@ -31,11 +31,11 @@ Summary: C++ REST library License: MIT AND BSD-3-Clause AND Zlib Group: Development/Libraries/C and C++ URL: https://github.com/Microsoft/cpprestsdk -#Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}/cpprestsdk-%{version}.tar.gz -Source: cpprestsdk-%{version}.tar.gz +Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}/cpprestsdk-%{version}.tar.gz BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ BuildRequires: openssl-devel >= 1.0 +BuildRequires: pkgconfig(websocketpp) >= 0.8 %if 0%{?suse_version} > 1325 BuildRequires: libboost_atomic-devel BuildRequires: libboost_filesystem-devel diff --git a/cpprestsdk-2.10.8.tar.gz b/cpprestsdk-2.10.8.tar.gz index 758d209..1f30e99 100644 --- a/cpprestsdk-2.10.8.tar.gz +++ b/cpprestsdk-2.10.8.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c4a0b98758a6de8fa7fb53467355d8f79333759e06a868e92df795692d8b81d8 -size 56145920 +oid sha256:fd79d34b3fad4622ff58480f57ecdf374061c5bdbd83e317019422575c820443 +size 1750353