forked from pool/cpprest
Accepting request 1131539 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1131539 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpprest?expand=0&rev=23
This commit is contained in:
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 6 20:41:44 UTC 2023 - Antoine Belvire <antoine.belvire@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 2.10.19:
|
||||||
|
* Make Uri.is_host_loopback() only return true for localhost and 127.0.0.1 exactly.
|
||||||
|
The old behavior could potentially return "true" for URLs that were not, in fact, local,
|
||||||
|
and this could cause security issues if is_host_loopback was used in certain ways.
|
||||||
|
* Fix likely typo in SafeInt3.hpp, that results in error with clang 15
|
||||||
|
* Support for oauth2 with "client_credentials" grant type.
|
||||||
|
* Add constructor from all integer types for json value.
|
||||||
|
* Export http_exception for non Windows builds using visibility macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 7 13:57:13 UTC 2021 - Antoine Belvire <antoine.belvire@opensuse.org>
|
Sun Feb 7 13:57:13 UTC 2021 - Antoine Belvire <antoine.belvire@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
14
cpprest.spec
14
cpprest.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cpprest
|
# spec file for package cpprest
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
%define major 2
|
%define major 2
|
||||||
%define minor 10
|
%define minor 10
|
||||||
Name: cpprest
|
Name: cpprest
|
||||||
Version: 2.10.18
|
Version: 2.10.19
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C++ REST library
|
Summary: C++ REST library
|
||||||
# main: MIT (license.txt)
|
# main: MIT (license.txt)
|
||||||
@@ -28,9 +28,9 @@ Summary: C++ REST library
|
|||||||
# sha1/sha1.hpp: BSD-3-Clause (ThirdPartyNotices.txt)
|
# sha1/sha1.hpp: BSD-3-Clause (ThirdPartyNotices.txt)
|
||||||
# common/md5.hpp: Zlib (ThirdPartyNotices.txt)
|
# common/md5.hpp: Zlib (ThirdPartyNotices.txt)
|
||||||
# utf8_validation.hpp: MIT (ThirdPartyNotices.txt)
|
# utf8_validation.hpp: MIT (ThirdPartyNotices.txt)
|
||||||
License: MIT AND BSD-3-Clause AND Zlib
|
License: BSD-3-Clause AND MIT AND Zlib
|
||||||
URL: https://github.com/Microsoft/cpprestsdk
|
URL: https://github.com/Microsoft/cpprestsdk
|
||||||
Source: https://github.com/Microsoft/cpprestsdk/archive/%{version}/cpprestsdk-%{version}.tar.gz
|
Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}/cpprestsdk-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM -- https://github.com/Microsoft/cpprestsdk/issues/576
|
# PATCH-FIX-UPSTREAM -- https://github.com/Microsoft/cpprestsdk/issues/576
|
||||||
Patch1: cpprest-2.10.9-disable-test-extract_floating_point.patch
|
Patch1: cpprest-2.10.9-disable-test-extract_floating_point.patch
|
||||||
# PATCH-FIX-UPSTREAM -- https://github.com/microsoft/cpprestsdk/pull/1557
|
# PATCH-FIX-UPSTREAM -- https://github.com/microsoft/cpprestsdk/pull/1557
|
||||||
@@ -99,10 +99,10 @@ exec_prefix=%{_prefix}
|
|||||||
libdir=%{_libdir}
|
libdir=%{_libdir}
|
||||||
includedir=%{_includedir}
|
includedir=%{_includedir}
|
||||||
|
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
Description: cloud-based client-server communication
|
Description: cloud-based client-server communication
|
||||||
URL: %{url}
|
URL: %{url}
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Libs: -L%{_libdir} -lcpprest
|
Libs: -L%{_libdir} -lcpprest
|
||||||
Cflags: -I%{_includedir}/cpprest -I%{_includedir}/pplx
|
Cflags: -I%{_includedir}/cpprest -I%{_includedir}/pplx
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6bd74a637ff182144b6a4271227ea8b6b3ea92389f88b25b215e6f94fd4d41cb
|
|
||||||
size 1747792
|
|
||||||
3
cpprestsdk-2.10.19.tar.gz
Normal file
3
cpprestsdk-2.10.19.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4b0d14e5bfe77ce419affd253366e861968ae6ef2c35ae293727c1415bd145c8
|
||||||
|
size 1749647
|
||||||
Reference in New Issue
Block a user