SHA256
8
0
forked from pool/cpprest

Accepting request 437906 from home:AndreasStieger:branches:devel:libraries:c_c++

cpprest 2.9.0

OBS-URL: https://build.opensuse.org/request/show/437906
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=16
This commit is contained in:
2016-10-30 15:44:52 +00:00
committed by Git OBS Bridge
parent 2b702eca90
commit 34a7a6f74d
5 changed files with 24 additions and 12 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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

View File

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

3
v2.9.0.tar.gz Normal file
View File

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