diff --git a/cpprest-pthread.patch b/cpprest-pthread.patch index 334ef46..6d9a1a9 100644 --- a/cpprest-pthread.patch +++ b/cpprest-pthread.patch @@ -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) diff --git a/cpprest.changes b/cpprest.changes index 51431dc..6d9b6bb 100644 --- a/cpprest.changes +++ b/cpprest.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Oct 30 15:15:58 UTC 2016 - astieger@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 + ------------------------------------------------------------------- Mon Apr 4 08:13:14 UTC 2016 - astieger@suse.com diff --git a/cpprest.spec b/cpprest.spec index 9420663..679dd62 100644 --- a/cpprest.spec +++ b/cpprest.spec @@ -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 @@ Development files. %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 @@ make %{?_smp_mflags} 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 diff --git a/v2.8.0.tar.gz b/v2.8.0.tar.gz deleted file mode 100644 index b0fc4a5..0000000 --- a/v2.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3d1c38aa7ef34b3d3e9a6e84d3866554fe48c3d9d9977896d18a7cfb80d5a4ea -size 1607422 diff --git a/v2.9.0.tar.gz b/v2.9.0.tar.gz new file mode 100644 index 0000000..bbb340d --- /dev/null +++ b/v2.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:217a41c7ff2bab82c372a120cbdb350371065df464d06bba1adbeb1590736e3e +size 1616568