commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2020-05-20 18:47:34 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new.2738 (New) Package is "cpprest" Wed May 20 18:47:34 2020 rev:19 rq:807559 version:2.10.16 Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2020-05-08 23:09:21.918354190 +0200 +++ /work/SRC/openSUSE:Factory/.cpprest.new.2738/cpprest.changes 2020-05-20 18:47:43.161586552 +0200 @@ -1,0 +2,7 @@ +Tue May 12 16:39:14 UTC 2020 - Guillaume GARDET + +- Add patch to disable 'extract_floating_point' test failing on + ppc64* and aarch64: + * cpprest-2.10.9-disable-test-extract_floating_point.patch + +--- New: cpprest-2.10.9-disable-test-extract_floating_point.patch Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.zea6Fn/_old 2020-05-20 18:47:44.629589851 +0200 +++ /var/tmp/diff_new_pack.zea6Fn/_new 2020-05-20 18:47:44.633589859 +0200 @@ -31,6 +31,8 @@ License:MIT AND BSD-3-Clause AND Zlib URL:https://github.com/Microsoft/cpprestsdk Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}/cpprestsdk-%{version}.tar.gz +# https://github.com/Microsoft/cpprestsdk/issues/576 +Patch1: cpprest-2.10.9-disable-test-extract_floating_point.patch BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -76,6 +78,9 @@ %prep %setup -q -n cpprestsdk-%{version} +%ifarch aarch64 ppc64 ppc64le +%patch1 -p1 +%endif %build %cmake \ @@ -108,7 +113,7 @@ # do not use macro so we can exclude tests pushd build export LD_LIBRARY_PATH=%{buildroot}%{_libdir} -ctest --output-on-failure --force-new-ctest-process %{_smp_mflags} -E '(httpclient_test|websocketsclient_test)' +ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} -E '(httpclient_test|websocketsclient_test)' popd %post -n libcpprest%{major}_%{minor} -p /sbin/ldconfig ++ cpprest-2.10.9-disable-test-extract_floating_point.patch ++ diff --git a/Release/tests/functional/streams/istream_tests.cpp b/Release/tests/functional/streams/istream_tests.cpp index d1018e31..66b3f801 100644 --- a/Release/tests/functional/streams/istream_tests.cpp +++ b/Release/tests/functional/streams/istream_tests.cpp @@ -1297,6 +1297,7 @@ SUITE(istream_tests) void compare_double(double expected, double actual) { compare_floating(expected, actual, DBL_EPSILON); } void compare_float(float expected, float actual) { compare_floating(expected, actual, FLT_EPSILON); } +/* TEST(extract_floating_point) { std::string test_string; @@ -1343,6 +1344,7 @@ SUITE(istream_tests) if (expected == 0) VERIFY_ARE_EQUAL(1 / expected, 1 / actual); } while (!std_istream.eof()); } +*/ TEST(extract_floating_point_with_exceptions) {
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2020-05-08 23:09:13 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new.2738 (New) Package is "cpprest" Fri May 8 23:09:13 2020 rev:18 rq:801852 version:2.10.16 Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2019-08-06 17:27:13.628689216 +0200 +++ /work/SRC/openSUSE:Factory/.cpprest.new.2738/cpprest.changes 2020-05-08 23:09:21.918354190 +0200 @@ -1,0 +2,7 @@ +Tue May 5 08:15:39 UTC 2020 - Tomáš Chvátal + +- Update to 2.10.16: + * Various c++11 fixes + * Cmake buildsystem improvements + +--- Old: cpprestsdk-2.10.14.tar.gz New: cpprestsdk-2.10.16.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.BIvno2/_old 2020-05-08 23:09:24.21835 +0200 +++ /var/tmp/diff_new_pack.BIvno2/_new 2020-05-08 23:09:24.222358896 +0200 @@ -1,7 +1,7 @@ # # spec file for package cpprest # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define major 2 %define minor 10 Name: cpprest -Version:2.10.14 +Version:2.10.16 Release:0 Summary:C++ REST library # main: MIT (license.txt) @@ -29,12 +29,12 @@ # common/md5.hpp: Zlib (ThirdPartyNotices.txt) # utf8_validation.hpp: MIT (ThirdPartyNotices.txt) 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 BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ -BuildRequires: openssl-devel >= 1.0 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libssl) >= 1.0 BuildRequires: pkgconfig(websocketpp) >= 0.8 BuildRequires: pkgconfig(zlib) %if 0%{?suse_version} > 1325 @@ -57,7 +57,6 @@ %package -n libcpprest%{major}_%{minor} Summary:C++ Rest library -Group: System/Libraries %description -n libcpprest%{major}_%{minor} The C++ REST SDK is a Microsoft project for cloud-based client-server @@ -66,7 +65,6 @@ %package devel Summary:Development files for %{name} -Group: Development/Libraries/C and C++ Requires: libcpprest%{major}_%{minor} = %{version} %description devel @@ -82,21 +80,11 @@ %build %cmake \ -DCMAKE_BUILD_TYPE=Release \ -%ifarch ppc ppc64 ppc64le aarch64 %{arm} - -DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-deprecated-copy -Wno-redundant-move -Wno-error=attributes -Wno-error=type-limits -Wno-error=cast-align -Wno-error=deprecated-declarations" \ -%else - -DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-deprecated-copy -Wno-redundant-move" \ -%endif - ../Release -make %{?_smp_mflags} +-DWERROR=OFF +%cmake_build %install -mkdir -p %{buildroot}%{_includedir} -cp -r Release/include/* %{buildroot}%{_includedir}/ -install -d -m 755 %{buildroot}%{_libdir} -chmod -x %{buildroot}%{_includedir}/cpprest/oauth1.h -cp build/Binaries/libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/ -ln -sf libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/libcpprest.so +%cmake_install # create a pkgconfig file install -d %{buildroot}%{_libdir}/pkgconfig @@ -114,6 +102,15 @@ Cflags: -I%{_includedir}/cpprest -I%{_includedir}/pplx EOF +%check +# websocketsclient_test -> authentication_tests - online tests +# httpclient_test -> follows_retrieval_redirect - online test +# do not use macro so we can exclude tests +pushd build +export LD_LIBRARY_PATH=%{buildroot}%{_libdir} +ctest --output-on-failure --force-new-ctest-process %{_smp_mflags} -E '(httpclient_test|websocketsclient_test)' +popd + %post -n libcpprest%{major}_%{minor} -p /sbin/ldconfig %postun -n libcpprest%{major}_%{minor} -p /sbin/ldconfig @@ -129,6 +126,7 @@ %{_includedir}/%{name} %{_includedir}/pplx %{_libdir}/libcpprest.so +%{_libdir}/cmake/* %{_libdir}/pkgconfig/%{name}.pc %changelog ++ cpprestsdk-2.10.14.tar.gz -> cpprestsdk-2.10.16.tar.gz ++ 4384 lines of diff (skipped)
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2019-08-06 17:27:12 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new.4126 (New) Package is "cpprest" Tue Aug 6 17:27:12 2019 rev:17 rq:721256 version:2.10.14 Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2019-05-22 11:15:31.806539340 +0200 +++ /work/SRC/openSUSE:Factory/.cpprest.new.4126/cpprest.changes 2019-08-06 17:27:13.628689216 +0200 @@ -1,0 +2,16 @@ +Mon Aug 5 19:24:16 UTC 2019 - Antoine Belvire + +- Update to 2.10.14: + * json: {"meow"} is not a valid object. + * Undefine compress if it is defined by zconf.h. + * Use EVP_MAX_MD_SIZE instead of HMAC_MAX_MD_CBLOCK. + * Remove the address_configured flag on tcp::resolver::query. + * Add ping and pong to message handler. + * Fix reusing ASIO http_client connecting to HTTPS server via +proxy. + * Fix order of object destruction (gh#microsoft/cpprestsdk#1171). + * Fix SSL proxy tunnel support with basic auth. +- Fix build with GCC 9: Turn "deprecated-copy" and "redundant-move" + errors into warnings (temporary, gh#microsoft/cpprestsdk#1099). + +--- Old: cpprestsdk-2.10.13.tar.gz New: cpprestsdk-2.10.14.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.VKryn3/_old 2019-08-06 17:27:14.432689041 +0200 +++ /var/tmp/diff_new_pack.VKryn3/_new 2019-08-06 17:27:14.436689041 +0200 @@ -19,7 +19,7 @@ %define major 2 %define minor 10 Name: cpprest -Version:2.10.13 +Version:2.10.14 Release:0 Summary:C++ REST library # main: MIT (license.txt) @@ -83,7 +83,9 @@ %cmake \ -DCMAKE_BUILD_TYPE=Release \ %ifarch ppc ppc64 ppc64le aarch64 %{arm} - -DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-error=attributes -Wno-error=type-limits -Wno-error=cast-align -Wno-error=deprecated-declarations" \ + -DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-deprecated-copy -Wno-redundant-move -Wno-error=attributes -Wno-error=type-limits -Wno-error=cast-align -Wno-error=deprecated-declarations" \ +%else + -DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-deprecated-copy -Wno-redundant-move" \ %endif ../Release make %{?_smp_mflags} ++ cpprestsdk-2.10.13.tar.gz -> cpprestsdk-2.10.14.tar.gz ++ 2550 lines of diff (skipped)
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2019-05-22 11:15:29 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new.5148 (New) Package is "cpprest" Wed May 22 11:15:29 2019 rev:16 rq:704379 version:2.10.13 Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2019-01-24 14:13:34.659351205 +0100 +++ /work/SRC/openSUSE:Factory/.cpprest.new.5148/cpprest.changes 2019-05-22 11:15:31.806539340 +0200 @@ -1,0 +2,24 @@ +Mon May 20 12:52:29 UTC 2019 - Christophe Giboudeaux + +- Add the missing zlib requirement. + +--- +Sat Apr 27 18:43:50 UTC 2019 - Andreas Stieger + +- update to 2.10.13: + * fixes related to date and time handling +- includes changes in 2.10.12: + * Fix race conditions + * Fix oauth nonces containing nulls + * Rewrite date formatting and parsing +- includes changes in 2.10.11: + * Fix HTTP/1.0 'Keep-Alive' handling in http_client + * developer visible changes +- includes changes in 2.10.10: + * Handle multi-byte unicode characters in json parsing +- includes changes in 2.10.9: + * Prevent infinite loop during proxy authentication + * handle null bytes when parsing utf8 + * compiler fixes and developer visible fixes + +--- Old: cpprestsdk-2.10.8.tar.gz New: cpprestsdk-2.10.13.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.SLeESH/_old 2019-05-22 11:15:32.630539189 +0200 +++ /var/tmp/diff_new_pack.SLeESH/_new 2019-05-22 11:15:32.634539187 +0200 @@ -19,7 +19,7 @@ %define major 2 %define minor 10 Name: cpprest -Version:2.10.8 +Version:2.10.13 Release:0 Summary:C++ REST library # main: MIT (license.txt) @@ -36,6 +36,7 @@ BuildRequires: gcc-c++ BuildRequires: openssl-devel >= 1.0 BuildRequires: pkgconfig(websocketpp) >= 0.8 +BuildRequires: pkgconfig(zlib) %if 0%{?suse_version} > 1325 BuildRequires: libboost_atomic-devel BuildRequires: libboost_filesystem-devel ++ cpprestsdk-2.10.8.tar.gz -> cpprestsdk-2.10.13.tar.gz ++ 138633 lines of diff (skipped)
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2019-01-24 14:13:32 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new.28833 (New) Package is "cpprest" Thu Jan 24 14:13:32 2019 rev:15 rq:667790 version:2.10.8 Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2018-09-14 00:02:26.157905840 +0200 +++ /work/SRC/openSUSE:Factory/.cpprest.new.28833/cpprest.changes 2019-01-24 14:13:34.659351205 +0100 @@ -1,0 +2,42 @@ +Sun Jan 20 09:24:04 UTC 2019 - antoine.belv...@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 + +- 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 + +--- Old: cpprestsdk-2.10.6.tar.gz New: cpprestsdk-2.10.8.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.Dl1Gp1/_old 2019-01-24 14:13:35.183350600 +0100 +++ /var/tmp/diff_new_pack.Dl1Gp1/_new 2019-01-24 14:13:35.183350600 +0100 @@ -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) @@ -35,6 +35,7 @@ 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 ++ cpprestsdk-2.10.6.tar.gz -> cpprestsdk-2.10.8.tar.gz ++ 88222 lines of diff (skipped)
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2018-09-14 00:02:23 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is "cpprest" Fri Sep 14 00:02:23 2018 rev:14 rq:635518 version:2.10.6 Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2018-06-19 12:04:23.776399599 +0200 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2018-09-14 00:02:26.157905840 +0200 @@ -1,0 +2,35 @@ +Thu Sep 13 05:27:01 UTC 2018 - antoine.belv...@opensuse.org + +- Update to 2.10.6: + + Fix clang build error (gh#Microsoft/cpprestsdk#844). + +--- +Tue Aug 28 18:48:32 UTC 2018 - antoine.belv...@opensuse.org + +- Update to 2.10.5: + * Fix incorrect `cpprest/version.h`. +- Update to 2.10.4: + * Add a `.clang-format` to enable consistent formatting. + * Add support for `Host:` headers changing the checked CNAME +field for SSL certificates in WinHTTP and Asio. + * Pass 0666 to open() for creating files to better match the +default behavior for other http clients (wget, etc). + * Fix a build issue with clang + * Teach cmake to respect the GNUInstallDirs variables + * Improve handling of dead connections in the connection pool on +Asio. + * Improve error handling in the accept() call in `http_listener` + * Improve the iOS buildsystem +- Update to 2.10.3: + * Add a root `CMakeLists.txt` to improve support for VS2017 Open +Folder. + * Improve support for `/permissive-` in MSVC + * Fix a regression due to compression support; we no longer fail +on unknown Content-Encoding headers if we did not set +Accepts-Encoding + * Fix build failure with boost 1.63 + * Suppress and fix some warnings with new versions of gcc and +clang +- Drop cpprestsdk-2.10.2-fix-gcc8.patch (fixed upstream). + +--- Old: cpprestsdk-2.10.2-fix-gcc8.patch cpprestsdk-2.10.2.tar.gz New: cpprestsdk-2.10.6.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.8N0sz3/_old 2018-09-14 00:02:26.773905370 +0200 +++ /var/tmp/diff_new_pack.8N0sz3/_new 2018-09-14 00:02:26.777905366 +0200 @@ -19,7 +19,7 @@ %define major 2 %define minor 10 Name: cpprest -Version:2.10.2 +Version:2.10.6 Release:0 Summary:C++ REST library # main: MIT (license.txt) @@ -31,8 +31,7 @@ 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}.tar.gz#/cpprestsdk-%{version}.tar.gz -Patch0: cpprestsdk-2.10.2-fix-gcc8.patch +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 @@ -77,7 +76,6 @@ %prep %setup -q -n cpprestsdk-%{version} -%patch0 -p1 %build %cmake \ ++ cpprestsdk-2.10.2.tar.gz -> cpprestsdk-2.10.6.tar.gz ++ 6398 lines of diff (skipped)
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2018-06-19 12:04:22 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is "cpprest" Tue Jun 19 12:04:22 2018 rev:13 rq:617304 version:2.10.2 Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2018-03-24 16:15:55.818307539 +0100 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2018-06-19 12:04:23.776399599 +0200 @@ -1,0 +2,5 @@ +Sun Jun 17 11:09:02 UTC 2018 - astie...@suse.com + +- fix build with gcc8 (add cpprestsdk-2.10.2-fix-gcc8.patch) + +--- New: cpprestsdk-2.10.2-fix-gcc8.patch Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.91ELV5/_old 2018-06-19 12:04:24.468373908 +0200 +++ /var/tmp/diff_new_pack.91ELV5/_new 2018-06-19 12:04:24.472373759 +0200 @@ -30,8 +30,9 @@ # utf8_validation.hpp: MIT (ThirdPartyNotices.txt) License:MIT AND BSD-3-Clause AND Zlib Group: Development/Libraries/C and C++ -Url:https://github.com/Microsoft/cpprestsdk +URL:https://github.com/Microsoft/cpprestsdk Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}.tar.gz#/cpprestsdk-%{version}.tar.gz +Patch0: cpprestsdk-2.10.2-fix-gcc8.patch BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ BuildRequires: openssl-devel >= 1.0 @@ -76,6 +77,7 @@ %prep %setup -q -n cpprestsdk-%{version} +%patch0 -p1 %build %cmake \ @@ -114,11 +116,14 @@ %postun -n libcpprest%{major}_%{minor} -p /sbin/ldconfig %files -n libcpprest%{major}_%{minor} -%doc CONTRIBUTORS.txt license.txt ThirdPartyNotices.txt +%license license.txt ThirdPartyNotices.txt +%license license.txt +%doc CONTRIBUTORS.txt ThirdPartyNotices.txt %{_libdir}/libcpprest.so.%{major}.%{minor} %files devel -%doc CONTRIBUTORS.txt license.txt +%license license.txt ThirdPartyNotices.txt +%doc CONTRIBUTORS.txt %{_includedir}/%{name} %{_includedir}/pplx %{_libdir}/libcpprest.so ++ cpprestsdk-2.10.2-fix-gcc8.patch ++ >From 212536f9d66400bef4400c55efd05dd01303c035 Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Sun, 17 Jun 2018 13:00:05 +0200 Subject: [PATCH] Fix gcc8 error/warning -Werror=format-truncation= utilities::datetime::to_string(): datetime_str and buf were oversized for fitting into output without possible trunctation --- Release/src/utilities/asyncrt_utils.cpp | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Release/src/utilities/asyncrt_utils.cpp b/Release/src/utilities/asyncrt_utils.cpp index 0e62bdee..be38907c 100644 --- a/Release/src/utilities/asyncrt_utils.cpp +++ b/Release/src/utilities/asyncrt_utils.cpp @@ -691,12 +691,13 @@ utility::string_t datetime::to_string(date_format format) const { // Append fractional second, which is a 7-digit value with no trailing zeros // This way, '1200' becomes '00012' -char buf[9] = { 0 }; +const int max_frac_length = 8; +char buf[max_frac_length+1] = { 0 }; snprintf(buf, sizeof(buf), ".%07ld", (long int)frac_sec); // trim trailing zeros -for (int i = 7; buf[i] == '0'; i--) buf[i] = '\0'; +for (int i = max_frac_length-1; buf[i] == '0'; i--) buf[i] = '\0'; // format the datetime into a separate buffer -char datetime_str[max_dt_length+1] = {0}; +char datetime_str[max_dt_length-max_frac_length-1+1] = {0}; strftime(datetime_str, sizeof(datetime_str), "%Y-%m-%dT%H:%M:%S", ); // now print this buffer into the output buffer snprintf(output, sizeof(output), "%s%sZ", datetime_str, buf); -- 2.16.4
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2018-03-24 16:15:36 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is "cpprest" Sat Mar 24 16:15:36 2018 rev:12 rq:590325 version:2.10.2 Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2018-01-09 14:55:30.677282019 +0100 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2018-03-24 16:15:55.818307539 +0100 @@ -1,0 +2,21 @@ +Thu Mar 22 13:48:16 UTC 2018 - astie...@suse.com + +- update to 2.10.2: + * Fix an issue where requests sent via authenticated proxies +could not be successfully redirected from one domain to another + * Add http_listener configuration for the backlog, the maximum +length of the queue of pending connections on the port + * Make it possible to set the user agent for websockets + * Add support for retrieving HTTP version of a request in HTTP +listener + * various language/compiler fixes + * drop upstreamed/unneeded patches: +cpprest-2.10.1-srand-boost-1.66.patch +cpprest-2.10.1-threadpool-boost-1.66.patch + +--- +Thu Mar 22 13:11:01 UTC 2018 - guillaume.gar...@opensuse.org + +- Update _constraint file since we needs more memory + +--- Old: cpprest-2.10.1-srand-boost-1.66.patch cpprest-2.10.1-threadpool-boost-1.66.patch cpprestsdk-2.10.1.tar.gz New: cpprestsdk-2.10.2.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.QH1kIE/_old 2018-03-24 16:15:56.986265437 +0100 +++ /var/tmp/diff_new_pack.QH1kIE/_new 2018-03-24 16:15:56.990265292 +0100 @@ -19,7 +19,7 @@ %define major 2 %define minor 10 Name: cpprest -Version:2.10.1 +Version:2.10.2 Release:0 Summary:C++ REST library # main: MIT (license.txt) @@ -32,10 +32,6 @@ Group: Development/Libraries/C and C++ Url:https://github.com/Microsoft/cpprestsdk Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}.tar.gz#/cpprestsdk-%{version}.tar.gz -# PATCH-FIX-UPSTREAM cpprest-2.10.1-srand-boost-1.66.patch -- Fix build with boost 1.66 -Patch0: cpprest-2.10.1-srand-boost-1.66.patch -# PATCH-FIX-UPSTREAM cpprest-2.10.1-threadpool-boost-1.66.patch -- Fix build with boost 1.66 -Patch1: cpprest-2.10.1-threadpool-boost-1.66.patch BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ BuildRequires: openssl-devel >= 1.0 @@ -80,8 +76,6 @@ %prep %setup -q -n cpprestsdk-%{version} -%patch0 -p1 -%patch1 -p1 %build %cmake \ ++ _constraints ++ --- /var/tmp/diff_new_pack.QH1kIE/_old 2018-03-24 16:15:57.022264139 +0100 +++ /var/tmp/diff_new_pack.QH1kIE/_new 2018-03-24 16:15:57.026263995 +0100 @@ -2,7 +2,7 @@ - 4000 + 5500 ++ cpprestsdk-2.10.1.tar.gz -> cpprestsdk-2.10.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpprestsdk-2.10.1/Build/version.props new/cpprestsdk-2.10.2/Build/version.props --- old/cpprestsdk-2.10.1/Build/version.props 2017-12-15 03:57:43.0 +0100 +++ new/cpprestsdk-2.10.2/Build/version.props 2018-02-07 00:23:26.0 +0100 @@ -4,7 +4,7 @@ cpprest 2 10 -1 +2 $(CppRestSDKVersionMajor)_$(CppRestSDKVersionMinor) $(CppRestSDKVersionMajor).$(CppRestSDKVersionMinor) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpprestsdk-2.10.1/Release/CMakeLists.txt new/cpprestsdk-2.10.2/Release/CMakeLists.txt --- old/cpprestsdk-2.10.1/Release/CMakeLists.txt2017-12-15 03:57:43.0 +0100 +++ new/cpprestsdk-2.10.2/Release/CMakeLists.txt2018-02-07 00:23:26.0 +0100 @@ -4,11 +4,15 @@ cmake_policy(SET CMP0042 NEW) # use MACOSX_RPATH endif() if(UNIX) - project(cpprest C CXX) + project(cpprestsdk C CXX) else() - project(cpprest CXX) + project(cpprestsdk CXX) endif() +set(CPPREST_VERSION_MAJOR 2) +set(CPPREST_VERSION_MINOR 10) +set(CPPREST_VERSION_REVISION 2) + enable_testing() set(WERROR ON CACHE BOOL "Treat Warnings as Errors.") @@ -32,6 +36,22 @@ set(BUILD_SAMPLES ON CACHE BOOL "Build sample applications.") endif() +if(WIN32) + set(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "Default filename postfix for libraries under configuration DEBUG") +else() + set(CMAKE_DEBUG_POSTFIX "" CACHE STRING "Default filename postfix for libraries under configuration DEBUG") +endif() + +if(WIN32) + set(TOOLSET) + if(CMAKE_VS_PLATFORM_TOOLSET) +
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2018-01-09 14:55:22 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is "cpprest" Tue Jan 9 14:55:22 2018 rev:11 rq:562581 version:2.10.1 Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2017-11-17 11:00:51.538844832 +0100 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2018-01-09 14:55:30.677282019 +0100 @@ -1,0 +2,21 @@ +Mon Jan 1 22:10:37 UTC 2018 - antoine.belv...@opensuse.org + +- Update to version 2.10.1: + * Improve CMake generation of UWP binaries. + * Fix regression in CMake versions supported. As listed in the +main CMakeLists.txt, we intend to only require 3.0. + * Mirror changes in the main PPL sources to +Concurrency::details::do_while(), which yield a significant +compiler throughput improvement on MSVC. + * Fix issues under /permissive-, an on-by-default flag for new +projects in VS2017 15.5. +- Fix build with Boost 1.66: + * Add cpprest-2.10.1-srand-boost-1.66.patch. + * Add cpprest-2.10.1-threadpool-boost-1.66.patch. + +--- +Tue Dec 5 11:49:40 UTC 2017 - i...@marguerite.su + +- add a pkgconfig file, fix boo#1068836 + +--- Old: cpprestsdk-2.10.0.tar.gz New: cpprest-2.10.1-srand-boost-1.66.patch cpprest-2.10.1-threadpool-boost-1.66.patch cpprestsdk-2.10.1.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.FzEQiQ/_old 2018-01-09 14:55:33.173165018 +0100 +++ /var/tmp/diff_new_pack.FzEQiQ/_new 2018-01-09 14:55:33.177164831 +0100 @@ -1,7 +1,7 @@ # # spec file for package cpprest # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -19,7 +19,7 @@ %define major 2 %define minor 10 Name: cpprest -Version:2.10.0 +Version:2.10.1 Release:0 Summary:C++ REST library # main: MIT (license.txt) @@ -32,6 +32,10 @@ Group: Development/Libraries/C and C++ Url:https://github.com/Microsoft/cpprestsdk Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}.tar.gz#/cpprestsdk-%{version}.tar.gz +# PATCH-FIX-UPSTREAM cpprest-2.10.1-srand-boost-1.66.patch -- Fix build with boost 1.66 +Patch0: cpprest-2.10.1-srand-boost-1.66.patch +# PATCH-FIX-UPSTREAM cpprest-2.10.1-threadpool-boost-1.66.patch -- Fix build with boost 1.66 +Patch1: cpprest-2.10.1-threadpool-boost-1.66.patch BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ BuildRequires: openssl-devel >= 1.0 @@ -76,6 +80,8 @@ %prep %setup -q -n cpprestsdk-%{version} +%patch0 -p1 +%patch1 -p1 %build %cmake \ @@ -94,6 +100,22 @@ cp build/Binaries/libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/ ln -sf libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/libcpprest.so +# create a pkgconfig file +install -d %{buildroot}%{_libdir}/pkgconfig +cat << EOF > %{buildroot}%{_libdir}/pkgconfig/%{name}.pc +prefix=%{_prefix} +exec_prefix=%{_prefix} +libdir=%{_libdir} +includedir=%{_includedir} + +Name: %{name} +Description: cloud-based client-server communication +URL: %{url} +Version: %{version} +Libs: -L%{_libdir} -lcpprest +Cflags: -I%{_includedir}/cpprest -I%{_includedir}/pplx +EOF + %post -n libcpprest%{major}_%{minor} -p /sbin/ldconfig %postun -n libcpprest%{major}_%{minor} -p /sbin/ldconfig @@ -106,5 +128,6 @@ %{_includedir}/%{name} %{_includedir}/pplx %{_libdir}/libcpprest.so +%{_libdir}/pkgconfig/%{name}.pc %changelog ++ cpprest-2.10.1-srand-boost-1.66.patch ++ >From 6b2e0480018530b616f61d5cdc786c92ba148bb7 Mon Sep 17 00:00:00 2001 From: John HrubyDate: Tue, 26 Dec 2017 16:52:13 +0100 Subject: [PATCH] fixed strand --- Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp b/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp index 0be40f6b..395632c3 100644 --- a/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp +++ b/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp @@ -422,7 +422,7 @@ class connection : public config::socket_type::socket_con_type { m_io_service = io_service; if (config::enable_multithreading) {
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2017-11-17 10:56:59 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is "cpprest" Fri Nov 17 10:56:59 2017 rev:10 rq:542475 version:2.10.0 Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2017-08-30 16:24:42.788745694 +0200 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2017-11-17 11:00:51.538844832 +0100 @@ -1,0 +2,39 @@ +Thu Nov 16 18:28:44 UTC 2017 - astie...@suse.com + +- cpprest 2.10.0: + * build system fixes: ++ build system updates ++ cmake 3.0 required + * Fix static library builds of test_runner on non-Windows platforms ++ compatibility fixes: ++ Improve compatibility with glibc 2.26 ++ Improve compatibility with clang on Linux ++ Improve compatibility with icc 17.0 ++ Improve compatibility with openssl 1.1.0 ++ Fix building with LibreSSL + * Fix several race conditions and memory leaks in the ASIO http_client + * Fix process termination bug around certain exceptional cases in all http_clients + * Add all remaining official HTTP status codes to http::status_codes + * Add convenience wrappers json::value::has_T_field(T) for inspecting object values + * Fix a race condition in the ASIO client during header parsing + * Fix error when handling responses of type NoContent, NotModified, or from 100 to 199 + * Enable specifying the User Agent used in OAuth2 requests + * Add http_request::get_remote_address() to expose the client's IP address for http_listener + * Fix a bug in the ASIO http_client where the proxy is passed the same credentials as the target host + * Make uri_builder::to_string() and uri_builder::to_uri() const + * Add handling for the host wildchar + to the ASIO http_listener + * Handle malformed URL requests to the ASIO http_listener instead of crashing + * Fix a race condition in the websocketpp websocket_client + * Fix several races in the ASIO http_listener which result in memory leaks or use after free of the connection objects + * Add http_client_config::set_nativesessionhandle_options() which enables customization of the session handle on Windows Desktop + * Improve UTF8/16 conversions from 6s per 1MB to 3s per 1GB (2000x improvement) + * Enable limited IPv6 support to http_client and http_server, depending on the underlying platform + * Fix a bug in base64 encoding that previously read beyond the input array, causing segfaults/AVs + * Add compression support (deflate and gzip) for ASIO http_clients based on Zlib + * Fix a memory leak in the UWP http_client when processing headers + * Fix inappropriate handling of certain connections errors in the ASIO http_listener +- drop upstreamed or obsolete patches: + * cpprest-pthread.patch + * cpprestsdk-2.9.1-Fix-build-error-with-glibc-2.26-xlocale.h.patch + +--- Old: cpprest-pthread.patch cpprestsdk-2.9.1-Fix-build-error-with-glibc-2.26-xlocale.h.patch cpprestsdk-2.9.1.tar.gz New: cpprestsdk-2.10.0.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.SwfnrH/_old 2017-11-17 11:00:52.746800622 +0100 +++ /var/tmp/diff_new_pack.SwfnrH/_new 2017-11-17 11:00:52.750800475 +0100 @@ -17,9 +17,9 @@ %define major 2 -%define minor 9 +%define minor 10 Name: cpprest -Version:2.9.1 +Version:2.10.0 Release:0 Summary:C++ REST library # main: MIT (license.txt) @@ -28,16 +28,15 @@ # sha1/sha1.hpp: BSD-3-Clause (ThirdPartyNotices.txt) # common/md5.hpp: Zlib (ThirdPartyNotices.txt) # utf8_validation.hpp: MIT (ThirdPartyNotices.txt) -License:MIT and BSD-3-Clause and Zlib +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}.tar.gz#/cpprestsdk-%{version}.tar.gz -Patch1: cpprest-pthread.patch -Patch2: cpprestsdk-2.9.1-Fix-build-error-with-glibc-2.26-xlocale.h.patch -BuildRequires: cmake >= 2.6 +BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ BuildRequires: openssl-devel >= 1.0 %if 0%{?suse_version} > 1325 +BuildRequires: libboost_atomic-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_random-devel BuildRequires: libboost_regex-devel @@ -77,8 +76,6 @@ %prep %setup -q -n cpprestsdk-%{version} -%patch1 -p1 -%patch2 -p1 %build %cmake \ ++ cpprestsdk-2.9.1.tar.gz -> cpprestsdk-2.10.0.tar.gz ++ 31012 lines of diff (skipped)
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2017-08-30 16:24:41 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is "cpprest" Wed Aug 30 16:24:41 2017 rev:9 rq:519627 version:2.9.1 Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2017-02-04 16:55:01.351957533 +0100 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2017-08-30 16:24:42.788745694 +0200 @@ -1,0 +2,6 @@ +Wed Aug 30 08:48:08 UTC 2017 - astie...@suse.com + +- fix build with glibc 2.26, adding + cpprestsdk-2.9.1-Fix-build-error-with-glibc-2.26-xlocale.h.patch + +--- Old: v2.9.1.tar.gz New: cpprestsdk-2.9.1-Fix-build-error-with-glibc-2.26-xlocale.h.patch cpprestsdk-2.9.1.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.R1S0Ak/_old 2017-08-30 16:24:43.920586480 +0200 +++ /var/tmp/diff_new_pack.R1S0Ak/_new 2017-08-30 16:24:43.920586480 +0200 @@ -22,17 +22,21 @@ Version:2.9.1 Release:0 Summary:C++ REST library -License:MIT and BSD-3-Clause and Zlib -Group: Development/Libraries/C and C++ # main: MIT (license.txt) # Websocket++: BSD-3-Clause (ThirdPartyNotices.txt) # base64/base64.hpp: Zlib (ThirdPartyNotices.txt) # sha1/sha1.hpp: BSD-3-Clause (ThirdPartyNotices.txt) # common/md5.hpp: Zlib (ThirdPartyNotices.txt) # utf8_validation.hpp: MIT (ThirdPartyNotices.txt) +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}.tar.gz +Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}.tar.gz#/cpprestsdk-%{version}.tar.gz Patch1: cpprest-pthread.patch +Patch2: cpprestsdk-2.9.1-Fix-build-error-with-glibc-2.26-xlocale.h.patch +BuildRequires: cmake >= 2.6 +BuildRequires: gcc-c++ +BuildRequires: openssl-devel >= 1.0 %if 0%{?suse_version} > 1325 BuildRequires: libboost_filesystem-devel BuildRequires: libboost_random-devel @@ -42,10 +46,6 @@ %else BuildRequires: boost-devel >= 1.55 %endif -BuildRequires: cmake >= 2.6 -BuildRequires: gcc-c++ -BuildRequires: openssl-devel >= 1.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The C++ REST SDK is a Microsoft project for cloud-based client-server @@ -78,6 +78,7 @@ %prep %setup -q -n cpprestsdk-%{version} %patch1 -p1 +%patch2 -p1 %build %cmake \ @@ -100,12 +101,10 @@ %postun -n libcpprest%{major}_%{minor} -p /sbin/ldconfig %files -n libcpprest%{major}_%{minor} -%defattr(-,root,root) %doc CONTRIBUTORS.txt license.txt ThirdPartyNotices.txt %{_libdir}/libcpprest.so.%{major}.%{minor} %files devel -%defattr(-,root,root) %doc CONTRIBUTORS.txt license.txt %{_includedir}/%{name} %{_includedir}/pplx ++ cpprestsdk-2.9.1-Fix-build-error-with-glibc-2.26-xlocale.h.patch ++ >From d4f707abb4575aacf43ec02d30fa10afed464c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?=Date: Thu, 13 Jul 2017 10:00:12 +0200 Subject: [PATCH] Fix build error with glibc 2.26, xlocale.h - Do not include xlocale.h on systems, where __GLIBC__ is defined xlocale.h has been removed from glibc 2.26 The include of locale.h in asyncrt_utils.h is sufficient Further details: https://sourceware.org/git/?p=glibc.git;a=commit;h=f0be25b - Fixes https://github.com/Microsoft/cpprestsdk/issues/485 --- Release/include/cpprest/asyncrt_utils.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Release/include/cpprest/asyncrt_utils.h b/Release/include/cpprest/asyncrt_utils.h index 169ec3a2..fac70a91 100644 --- a/Release/include/cpprest/asyncrt_utils.h +++ b/Release/include/cpprest/asyncrt_utils.h @@ -29,7 +29,10 @@ #ifndef _WIN32 #include -#if !defined(ANDROID) && !defined(__ANDROID__) // CodePlex 269 +#if !defined(ANDROID) && !defined(__ANDROID__) && !defined(__GLIBC__) // CodePlex 269 +/* Systems using glibc: xlocale.h has been removed from glibc 2.26 + The above include of locale.h is sufficient + Further details: https://sourceware.org/git/?p=glibc.git;a=commit;h=f0be25b6336db7492e47d2e8e72eb8af53b5506d */ #include #endif #endif -- 2.14.1
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2017-02-04 15:21:17 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is "cpprest" Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2016-11-14 20:13:11.0 +0100 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2017-02-04 16:55:01.351957533 +0100 @@ -1,0 +2,12 @@ +Thu Feb 2 09:08:31 UTC 2017 - astie...@suse.com + +- cpprest 2.9.1: + * All embedded licenses changed to MIT + * Update license header to reflect third party embedded code + +--- +Wed Feb 1 10:31:33 UTC 2017 - adam.ma...@suse.de + +- use individual libboost-*-devel packages instead of boost-devel + +--- Old: v2.9.0.tar.gz New: v2.9.1.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.Drx5JZ/_old 2017-02-04 16:55:01.723904583 +0100 +++ /var/tmp/diff_new_pack.Drx5JZ/_new 2017-02-04 16:55:01.723904583 +0100 @@ -1,7 +1,7 @@ # # spec file for package cpprest # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -19,15 +19,29 @@ %define major 2 %define minor 9 Name: cpprest -Version:2.9.0 +Version:2.9.1 Release:0 Summary:C++ REST library -License:Apache-2.0 +License:MIT and BSD-3-Clause and Zlib Group: Development/Libraries/C and C++ +# main: MIT (license.txt) +# Websocket++: BSD-3-Clause (ThirdPartyNotices.txt) +# base64/base64.hpp: Zlib (ThirdPartyNotices.txt) +# sha1/sha1.hpp: BSD-3-Clause (ThirdPartyNotices.txt) +# common/md5.hpp: Zlib (ThirdPartyNotices.txt) +# utf8_validation.hpp: MIT (ThirdPartyNotices.txt) Url:https://github.com/Microsoft/cpprestsdk Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}.tar.gz Patch1: cpprest-pthread.patch +%if 0%{?suse_version} > 1325 +BuildRequires: libboost_filesystem-devel +BuildRequires: libboost_random-devel +BuildRequires: libboost_regex-devel +BuildRequires: libboost_system-devel +BuildRequires: libboost_thread-devel +%else BuildRequires: boost-devel >= 1.55 +%endif BuildRequires: cmake >= 2.6 BuildRequires: gcc-c++ BuildRequires: openssl-devel >= 1.0 @@ -87,7 +101,7 @@ %files -n libcpprest%{major}_%{minor} %defattr(-,root,root) -%doc CONTRIBUTORS.txt license.txt +%doc CONTRIBUTORS.txt license.txt ThirdPartyNotices.txt %{_libdir}/libcpprest.so.%{major}.%{minor} %files devel ++ v2.9.0.tar.gz -> v2.9.1.tar.gz ++ 6245 lines of diff (skipped)
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2016-11-14 20:13:10 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is "cpprest" Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2016-04-11 10:26:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2016-11-14 20:13:11.0 +0100 @@ -1,0 +2,11 @@ +Sun Oct 30 15:15:58 UTC 2016 - astie...@suse.com + +- cpprest 2.9.0: + * Work around SSL compression methods memory leak in ASIO. + * Fix header reading on linux listener using HTTPS. + * Add support for basic authentication. + * honour http_proxy env-variable. + * Update to include access control allow origin. + * Switched license from Apache 2.0 to MIT + +--- Old: v2.8.0.tar.gz New: v2.9.0.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.YF2LPw/_old 2016-11-14 20:13:12.0 +0100 +++ /var/tmp/diff_new_pack.YF2LPw/_new 2016-11-14 20:13:12.0 +0100 @@ -17,9 +17,9 @@ %define major 2 -%define minor 8 +%define minor 9 Name: cpprest -Version:2.8.0 +Version:2.9.0 Release:0 Summary:C++ REST library License:Apache-2.0 @@ -68,7 +68,7 @@ %build %cmake \ -DCMAKE_BUILD_TYPE=Release \ -%ifarch ppc ppc64 ppc64le aarch64 %arm +%ifarch ppc ppc64 ppc64le aarch64 %{arm} -DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-error=attributes -Wno-error=type-limits -Wno-error=cast-align -Wno-error=deprecated-declarations" \ %endif ../Release @@ -78,6 +78,7 @@ mkdir -p %{buildroot}%{_includedir} cp -r Release/include/* %{buildroot}%{_includedir}/ install -d -m 755 %{buildroot}%{_libdir} +chmod -x %{buildroot}%{_includedir}/cpprest/oauth1.h cp build/Binaries/libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/ ln -sf libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/libcpprest.so ++ cpprest-pthread.patch ++ --- /var/tmp/diff_new_pack.YF2LPw/_old 2016-11-14 20:13:12.0 +0100 +++ /var/tmp/diff_new_pack.YF2LPw/_new 2016-11-14 20:13:12.0 +0100 @@ -1,11 +1,11 @@ -Index: cpprestsdk-2.7.0/Release/tests/common/UnitTestpp/CMakeLists.txt +Index: cpprestsdk-2.9.0/Release/tests/common/UnitTestpp/CMakeLists.txt === cpprestsdk-2.7.0.orig/Release/tests/common/UnitTestpp/CMakeLists.txt -+++ cpprestsdk-2.7.0/Release/tests/common/UnitTestpp/CMakeLists.txt +--- cpprestsdk-2.9.0.orig/Release/tests/common/UnitTestpp/CMakeLists.txt cpprestsdk-2.9.0/Release/tests/common/UnitTestpp/CMakeLists.txt @@ -49,4 +49,4 @@ elseif(WIN32) endif() - add_library(${LIB}unittestpp ${UT_SOURCES}) --target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS}) + add_library(unittestpp ${UT_SOURCES}) +-target_link_libraries(unittestpp ${ANDROID_STL_FLAGS}) \ No newline at end of file -+target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS} pthread) ++target_link_libraries(unittestpp ${ANDROID_STL_FLAGS} pthread) ++ v2.8.0.tar.gz -> v2.9.0.tar.gz ++ 10011 lines of diff (skipped)
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2016-04-11 09:14:09 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is "cpprest" Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2015-12-09 22:14:31.0 +0100 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2016-04-11 10:26:17.0 +0200 @@ -1,0 +2,10 @@ +Mon Apr 4 08:13:14 UTC 2016 - astie...@suse.com + +- cpprest 2.8.0: + * oauth: add more proxy support + * http_client: Add TLS extension SNI for boost asio based http_client + * http_client: allow specifying a host header in http requests. + * http_client: add HTTP and HTTPS client proxy support + * fix a bug where http_client_asio took forever to cancel. + +--- Old: v2.7.0.tar.gz New: v2.8.0.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.bhM7uq/_old 2016-04-11 10:26:18.0 +0200 +++ /var/tmp/diff_new_pack.bhM7uq/_new 2016-04-11 10:26:18.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package cpprest # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,20 +17,20 @@ %define major 2 -%define minor 7 +%define minor 8 Name: cpprest -Version:2.7.0 +Version:2.8.0 Release:0 Summary:C++ REST library License:Apache-2.0 -Group: Devlopment/Libraries/C and C++ +Group: Development/Libraries/C and C++ Url:https://github.com/Microsoft/cpprestsdk Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}.tar.gz Patch1: cpprest-pthread.patch -BuildRequires: boost-devel +BuildRequires: boost-devel >= 1.55 BuildRequires: cmake >= 2.6 BuildRequires: gcc-c++ -BuildRequires: openssl-devel +BuildRequires: openssl-devel >= 1.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -82,7 +82,6 @@ ln -sf libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/libcpprest.so %post -n libcpprest%{major}_%{minor} -p /sbin/ldconfig - %postun -n libcpprest%{major}_%{minor} -p /sbin/ldconfig %files -n libcpprest%{major}_%{minor} ++ v2.7.0.tar.gz -> v2.8.0.tar.gz ++ 2277 lines of diff (skipped)
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2015-12-09 19:49:48 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is "cpprest" Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2015-07-12 22:52:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2015-12-09 22:14:31.0 +0100 @@ -1,0 +2,8 @@ +Wed Dec 2 13:50:02 UTC 2015 - mplus...@suse.com + +- Update to 2.7.0 + * see https://github.com/Microsoft/cpprestsdk/releases for full +list of changes +- Update project and download url + +--- Old: cpprest-2.6.0.zip New: v2.7.0.tar.gz Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.VnvGtV/_old 2015-12-09 22:14:32.0 +0100 +++ /var/tmp/diff_new_pack.VnvGtV/_new 2015-12-09 22:14:32.0 +0100 @@ -17,21 +17,20 @@ %define major 2 -%define minor 6 +%define minor 7 Name: cpprest -Version:2.6.0 +Version:2.7.0 Release:0 Summary:C++ REST library License:Apache-2.0 Group: Devlopment/Libraries/C and C++ -Url:https://casablanca.codeplex.com/ -Source: http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=casablanca=c7d85ee385c6#/%{name}-%{version}.zip +Url:https://github.com/Microsoft/cpprestsdk +Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}.tar.gz Patch1: cpprest-pthread.patch BuildRequires: boost-devel BuildRequires: cmake >= 2.6 BuildRequires: gcc-c++ BuildRequires: openssl-devel -BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -63,7 +62,7 @@ Development files. %prep -%setup -q -c +%setup -q -n cpprestsdk-%{version} %patch1 -p1 %build ++ cpprest-pthread.patch ++ --- /var/tmp/diff_new_pack.VnvGtV/_old 2015-12-09 22:14:32.0 +0100 +++ /var/tmp/diff_new_pack.VnvGtV/_new 2015-12-09 22:14:32.0 +0100 @@ -1,11 +1,11 @@ -Index: x/Release/tests/common/UnitTestpp/CMakeLists.txt +Index: cpprestsdk-2.7.0/Release/tests/common/UnitTestpp/CMakeLists.txt === x.orig/Release/tests/common/UnitTestpp/CMakeLists.txt -+++ x/Release/tests/common/UnitTestpp/CMakeLists.txt +--- cpprestsdk-2.7.0.orig/Release/tests/common/UnitTestpp/CMakeLists.txt cpprestsdk-2.7.0/Release/tests/common/UnitTestpp/CMakeLists.txt @@ -49,4 +49,4 @@ elseif(WIN32) - endif() - - add_library(${LIB}unittestpp ${UT_SOURCES}) + endif() + + add_library(${LIB}unittestpp ${UT_SOURCES}) -target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS}) \ No newline at end of file -+target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS} pthread) ++target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS} pthread)
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2015-07-12 22:52:40 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is cpprest Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2015-06-30 10:18:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2015-07-12 22:52:41.0 +0200 @@ -1,0 +2,5 @@ +Tue Jul 7 08:37:35 UTC 2015 - sch...@suse.de + +- Ignore cdecl warning also on arm + +--- Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.7EVx7x/_old 2015-07-12 22:52:42.0 +0200 +++ /var/tmp/diff_new_pack.7EVx7x/_new 2015-07-12 22:52:42.0 +0200 @@ -69,7 +69,7 @@ %build %cmake \ -DCMAKE_BUILD_TYPE=Release \ -%ifarch ppc ppc64 ppc64le aarch64 armv7l +%ifarch ppc ppc64 ppc64le aarch64 %arm -DCMAKE_CXX_FLAGS:STRING=%{optflags} -Wno-error=attributes -Wno-error=type-limits -Wno-error=cast-align -Wno-error=deprecated-declarations \ %endif ../Release
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2015-06-30 10:18:53 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is cpprest Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2015-06-12 20:32:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2015-06-30 10:18:54.0 +0200 @@ -1,0 +2,10 @@ +Sun Jun 28 13:11:08 UTC 2015 - astie...@suse.com + +- fix architecture builds + +--- +Wed Jun 24 10:04:53 UTC 2015 - idon...@suse.com + +- Add cpprest-pthread.patch to fix unit test linking + +--- New: _constraints cpprest-pthread.patch Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.Dl4fhq/_old 2015-06-30 10:18:55.0 +0200 +++ /var/tmp/diff_new_pack.Dl4fhq/_new 2015-06-30 10:18:55.0 +0200 @@ -26,6 +26,7 @@ Group: Devlopment/Libraries/C and C++ Url:https://casablanca.codeplex.com/ Source: http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=casablancachangeSetId=c7d85ee385c6#/%{name}-%{version}.zip +Patch1: cpprest-pthread.patch BuildRequires: boost-devel BuildRequires: cmake = 2.6 BuildRequires: gcc-c++ @@ -63,9 +64,15 @@ %prep %setup -q -c +%patch1 -p1 %build -%cmake -DCMAKE_BUILD_TYPE=Release ../Release +%cmake \ + -DCMAKE_BUILD_TYPE=Release \ +%ifarch ppc ppc64 ppc64le aarch64 armv7l + -DCMAKE_CXX_FLAGS:STRING=%{optflags} -Wno-error=attributes -Wno-error=type-limits -Wno-error=cast-align -Wno-error=deprecated-declarations \ +%endif + ../Release make %{?_smp_mflags} %install ++ cpprest-pthread.patch ++ Index: x/Release/tests/common/UnitTestpp/CMakeLists.txt === --- x.orig/Release/tests/common/UnitTestpp/CMakeLists.txt +++ x/Release/tests/common/UnitTestpp/CMakeLists.txt @@ -49,4 +49,4 @@ elseif(WIN32) endif() add_library(${LIB}unittestpp ${UT_SOURCES}) -target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS}) \ No newline at end of file +target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS} pthread)
commit cpprest for openSUSE:Factory
Hello community, here is the log from the commit of package cpprest for openSUSE:Factory checked in at 2015-06-12 20:32:00 Comparing /work/SRC/openSUSE:Factory/cpprest (Old) and /work/SRC/openSUSE:Factory/.cpprest.new (New) Package is cpprest Changes: --- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes 2015-05-29 10:41:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpprest.new/cpprest.changes 2015-06-12 20:32:15.0 +0200 @@ -1,0 +2,9 @@ +Fri Jun 12 09:00:49 UTC 2015 - astie...@suse.com + +- update to 2.6.0 + * Deprecate streambuf::putn API + * File streams cleanup improvements + * API detail improvements + * Removed dependency on Boost.Locale and libiconv. + +--- Old: cpprest-2.5.0.zip New: cpprest-2.6.0.zip Other differences: -- ++ cpprest.spec ++ --- /var/tmp/diff_new_pack.wu9YrD/_old 2015-06-12 20:32:16.0 +0200 +++ /var/tmp/diff_new_pack.wu9YrD/_new 2015-06-12 20:32:16.0 +0200 @@ -16,14 +16,16 @@ # +%define major 2 +%define minor 6 Name: cpprest -Version:2.5.0 +Version:2.6.0 Release:0 Summary:C++ REST library License:Apache-2.0 Group: Devlopment/Libraries/C and C++ Url:https://casablanca.codeplex.com/ -Source: http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=casablancachangeSetId=25d9ac1966ce#/%{name}-%{version}.zip +Source: http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=casablancachangeSetId=c7d85ee385c6#/%{name}-%{version}.zip BuildRequires: boost-devel BuildRequires: cmake = 2.6 BuildRequires: gcc-c++ @@ -38,11 +40,11 @@ Also known as Casablanca. -%package -n libcpprest2_5 +%package -n libcpprest%{major}_%{minor} Summary:C++ Rest library Group: System/Libraries -%description -n libcpprest2_5 +%description -n libcpprest%{major}_%{minor} The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services. @@ -50,7 +52,7 @@ %package devel Summary:Development files for %{name} Group: Development/Libraries/C and C++ -Requires: libcpprest2_5 = %{version} +Requires: libcpprest%{major}_%{minor} = %{version} %description devel The C++ REST SDK is a Microsoft project for cloud-based client-server @@ -70,17 +72,17 @@ mkdir -p %{buildroot}%{_includedir} cp -r Release/include/* %{buildroot}%{_includedir}/ install -d -m 755 %{buildroot}%{_libdir} -cp build/Binaries/libcpprest.so.2.5 %{buildroot}%{_libdir}/ -ln -sf libcpprest.so.2.5 %{buildroot}%{_libdir}/libcpprest.so +cp build/Binaries/libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/ +ln -sf libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/libcpprest.so -%post -n libcpprest2_5 -p /sbin/ldconfig +%post -n libcpprest%{major}_%{minor} -p /sbin/ldconfig -%postun -n libcpprest2_5 -p /sbin/ldconfig +%postun -n libcpprest%{major}_%{minor} -p /sbin/ldconfig -%files -n libcpprest2_5 +%files -n libcpprest%{major}_%{minor} %defattr(-,root,root) %doc CONTRIBUTORS.txt license.txt -%{_libdir}/libcpprest.so.2.5 +%{_libdir}/libcpprest.so.%{major}.%{minor} %files devel %defattr(-,root,root)