update to 1.3.0 [release 1.3.0-1mamba;Thu Aug 20 2020]
This commit is contained in:
parent
e8dcdcdbfa
commit
44adb38e1e
22
libjson-rpc-cpp-1.3.0-libmicrohttpd-0.9.71.patch
Normal file
22
libjson-rpc-cpp-1.3.0-libmicrohttpd-0.9.71.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- libjson-rpc-cpp-1.3.0/src/jsonrpccpp/server/connectors/httpserver.cpp.orig 2020-08-20 15:21:21.993000000 +0200
|
||||||
|
+++ libjson-rpc-cpp-1.3.0/src/jsonrpccpp/server/connectors/httpserver.cpp 2020-08-20 15:24:49.158000000 +0200
|
||||||
|
@@ -151,7 +151,7 @@
|
||||||
|
this->SetHandler(NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
-int HttpServer::callback(void *cls, MHD_Connection *connection, const char *url,
|
||||||
|
+MHD_Result HttpServer::callback(void *cls, MHD_Connection *connection, const char *url,
|
||||||
|
const char *method, const char *version,
|
||||||
|
const char *upload_data, size_t *upload_data_size,
|
||||||
|
void **con_cls) {
|
||||||
|
--- libjson-rpc-cpp-1.3.0/src/jsonrpccpp/server/connectors/httpserver.h.orig 2020-08-20 15:22:10.705000000 +0200
|
||||||
|
+++ libjson-rpc-cpp-1.3.0/src/jsonrpccpp/server/connectors/httpserver.h 2020-08-20 15:24:04.849000000 +0200
|
||||||
|
@@ -79,7 +79,7 @@
|
||||||
|
std::map<std::string, IClientConnectionHandler *> urlhandler;
|
||||||
|
struct sockaddr_in loopback_addr;
|
||||||
|
|
||||||
|
- static int callback(void *cls, struct MHD_Connection *connection,
|
||||||
|
+ static MHD_Result callback(void *cls, struct MHD_Connection *connection,
|
||||||
|
const char *url, const char *method, const char *version,
|
||||||
|
const char *upload_data, size_t *upload_data_size,
|
||||||
|
void **con_cls);
|
@ -1,6 +1,6 @@
|
|||||||
Name: libjson-rpc-cpp
|
Name: libjson-rpc-cpp
|
||||||
Version: 1.2.0
|
Version: 1.3.0
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: C++ framework for json-rpc (json remote procedure call)
|
Summary: C++ framework for json-rpc (json remote procedure call)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -8,6 +8,7 @@ Distribution: openmamba
|
|||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/cinemast/libjson-rpc-cpp.git
|
URL: https://github.com/cinemast/libjson-rpc-cpp.git
|
||||||
Source: https://github.com/cinemast/libjson-rpc-cpp.git/v%{version}/libjson-rpc-cpp-%{version}.tar.bz2
|
Source: https://github.com/cinemast/libjson-rpc-cpp.git/v%{version}/libjson-rpc-cpp-%{version}.tar.bz2
|
||||||
|
Patch0: libjson-rpc-cpp-1.3.0-libmicrohttpd-0.9.71.patch
|
||||||
License: MIT
|
License: MIT
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -21,7 +22,7 @@ BuildRequires: libmicrohttpd-devel
|
|||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: libjsoncpp-devel >= 1.9.2
|
BuildRequires: libjsoncpp-devel >= 1.9.3
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -48,9 +49,13 @@ This package contains utility applications for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake -d build \
|
||||||
|
-DCOMPILE_TESTS=NO \
|
||||||
|
-DCOMPILE_EXAMPLES=NO
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -93,6 +98,9 @@ This package contains utility applications for %{name}.
|
|||||||
%{_mandir}/man1/jsonrpcstub.1*
|
%{_mandir}/man1/jsonrpcstub.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 20 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
|
||||||
|
- update to 1.3.0
|
||||||
|
|
||||||
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
|
||||||
- rebuilt with libjson-rpc-cpp 1.9.2
|
- rebuilt with libjson-rpc-cpp 1.9.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user