--- net-cpp-2.0.0.orig/debian/changelog +++ net-cpp-2.0.0/debian/changelog @@ -0,0 +1,131 @@ +net-cpp (2.0.0-0ubuntu1) wily; urgency=medium + + * Bump version. + + -- Thomas Voß Tue, 21 Jul 2015 11:44:30 +0200 + +net-cpp (2.0.0) wily; urgency=medium + + * Bump major revision to account for toolchain update. Fixes LP:#1452333. + + -- Thomas Voß Mon, 20 Jul 2015 21:11:18 +0200 + +net-cpp (1.2.0+15.04.20150415.2-0ubuntu1) vivid; urgency=medium + + [ Thomas Voß ] + * Introduce a streaming http interface. + + -- CI Train Bot Wed, 15 Apr 2015 12:34:49 +0000 + +net-cpp (1.1.0+15.04.20150305-0ubuntu1) vivid; urgency=medium + + [ thomas-voss ] + * Make sure that Multi::Private instances are correctly cleaned up by + only handing out weak_ptr's to it. (LP: #1419620, #1423765) + + -- CI Train Bot Thu, 05 Mar 2015 12:08:09 +0000 + +net-cpp (1.1.0+15.04.20150123-0ubuntu1) vivid; urgency=low + + [ Ubuntu daily release ] + * New rebuild forced + + [ Marcus Tomlinson ] + * Explicitly cast milliseconds::count() to long. + + -- Ubuntu daily release Fri, 23 Jan 2015 10:17:07 +0000 + +net-cpp (1.1.0+15.04.20141204-0ubuntu1) vivid; urgency=low + + [ Ubuntu daily release ] + * debian/libnet-cpp1.symbols: auto-update to released version + * New rebuild forced + + [ thomas-voss ] + * Robustify header line parser against empty values in header lines. + Add test case to verify that empty header value handling is correct. + (LP: #1392315) + + -- Ubuntu daily release Thu, 04 Dec 2014 20:54:29 +0000 + +net-cpp (1.1.0+14.10.20140804-0ubuntu1) utopic; urgency=medium + + [ Pete Woods ] + * Add Uri class and corresponding string conversion. + + [ Ubuntu daily release ] + * debian/libnet-cpp1.symbols: auto-update to released version + + -- Ubuntu daily release Mon, 04 Aug 2014 09:41:07 +0000 + +net-cpp (1.0.0+14.10.20140729.1-0ubuntu1) utopic; urgency=low + + [ Pete Woods ] + * No change rebuild + + -- Ubuntu daily release Tue, 29 Jul 2014 10:18:39 +0000 + +net-cpp (1.0.0+14.10.20140718-0ubuntu1) utopic; urgency=medium + + [ Thomas Voß ] + * Bump major revision and so name to account for toolchain update. + + -- Ubuntu daily release Fri, 18 Jul 2014 12:38:11 +0000 + +net-cpp (0.0.1+14.10.20140611-0ubuntu1) utopic; urgency=low + + [ Thomas Voß ] + * Initial release. + + [ Ubuntu daily release ] + * debian/*symbols: auto-update new symbols to released version + + [ thomas-voss ] + * Initial checkin. + * Adjusted URI parsing. + * Add documentation for the Uri class. + * Added an exception for signalling parsing errors. + * GET, POST, PUT, HEAD now works. + * Add tests working against the mozilla location service. Add a + missing handle reset for handles recycled from the pool. + * Add curl multi support. + * Cleanup curl based implementatoin and split out easy, multi and + shared into their own header/implementation files. Provide an async + interface to executing requests. Provide basic and digest auth + support. + * Cleanup error handling. Add documentation for + core::net::http::Request. + * Add documentation and clean up. + * Add load tests and statistics. + * Add debian packaging. Add timeout for requests. Add cancel + functionality for requests. + * Add pkg-config setup. + * Add doc package. Add symbols file and symbols map. + * Enable ssl default engine. Disable host and peer ssl checks. + * Make sure that a request survives an async execution. + * Add libcurl4-openssl-dev as a build-dependency. Ensure that no + signals are being caught by curl. Switch to production url for + Mozilla's location service. + * Get rid of custom Uri class, not needed right now. Add custom header + support for http requests. + * Make test-cases standalone by running a local instance of httpbin. + * Add bzr builddeb configuration. + * Remove references to core::net::Uri. + * Remove further references to core::net::Uri. + * Adjust path to server executable in tests. Add missing build + dependencies. + * Make sure that we do not block indefinitely waiting for the httpbin + instance to be torn down. + * Make sure to strip leading and trailing whitespace from header + fields. + * Make sure that we kill the entire python process group running the + httpbin instance. + * Run httpbin without the flask-weirdness to allow for killing it with + a vanilla unix signal. Make sure we execute all the right tests :-) + * Disable test case running against the Ubuntu app store. + * Merged lp:~pete-woods/net-cpp/base64 + + [ CI bot ] + * Empty MP for landing. + + -- Ubuntu daily release Wed, 11 Jun 2014 10:28:20 +0000 --- net-cpp-2.0.0.orig/debian/compat +++ net-cpp-2.0.0/debian/compat @@ -0,0 +1 @@ +9 --- net-cpp-2.0.0.orig/debian/control +++ net-cpp-2.0.0/debian/control @@ -0,0 +1,60 @@ +Source: net-cpp +Priority: optional +Maintainer: Ubuntu Developers +Build-Depends: cmake, + debhelper (>= 9), + doxygen, + google-mock, + graphviz, + libboost-dev, + libboost-serialization-dev, + libboost-system-dev, + libcurl4-openssl-dev, + libjsoncpp-dev, + libprocess-cpp-dev (>= 2.0.0), + pkg-config, + python-decorator, + python-flask, + python-flask-script, + python-simplejson, +Standards-Version: 3.9.5 +Section: libs +Homepage: https://launchpad.net/net-cpp +# If you aren't a member of ~phablet-team but need to upload packaging changes, +# just go ahead. ~phablet-team will notice and sync up the code again. +Vcs-Bzr: https://code.launchpad.net/~phablet-team/net-cpp/trunk +Vcs-Browser: https://bazaar.launchpad.net/~phablet-team/net-cpp/trunk/files + +Package: libnet-cpp2 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: C++11 library for networking purposes - runtime library + Net-Cpp is a simple and straightforward networking library for C++11. + . + This package includes the net-cpp runtime libraries. + +Package: libnet-cpp-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, +Depends: libnet-cpp2 (= ${binary:Version}), + ${misc:Depends}, +Description: C++11 library for networking purposes - runtime library + Net-Cpp is a simple and straightforward networking library for C++11. + . + This package includes all the development headers and libraries for + net-cpp. + +Package: libnet-cpp-doc +Section: doc +Architecture: all +Depends: ${misc:Depends}, +Suggests: libnet-cpp-dev, +Description: Documentation files for libnet-cpp-dev + Net-Cpp is a simple and straightforward networking library for C++11. + . + This package includes documentation files for libnet-cpp development. --- net-cpp-2.0.0.orig/debian/copyright +++ net-cpp-2.0.0/debian/copyright @@ -0,0 +1,22 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: net-cpp +Source: https://launchpad.net/net-cpp + +Files: * +Copyright: 2012-2013 Canonical Ltd. +License: LGPL-3.0 + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 3 of + the License. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in /usr/share/common-licenses/LGPL-3. --- net-cpp-2.0.0.orig/debian/libnet-cpp-dev.install +++ net-cpp-2.0.0/debian/libnet-cpp-dev.install @@ -0,0 +1,3 @@ +usr/include/core/* +usr/lib/*/libnet-cpp.so +usr/lib/*/pkgconfig/* --- net-cpp-2.0.0.orig/debian/libnet-cpp-doc.install +++ net-cpp-2.0.0/debian/libnet-cpp-doc.install @@ -0,0 +1 @@ +usr/share/doc/net-cpp/ \ No newline at end of file --- net-cpp-2.0.0.orig/debian/libnet-cpp2.install +++ net-cpp-2.0.0/debian/libnet-cpp2.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* --- net-cpp-2.0.0.orig/debian/libnet-cpp2.symbols +++ net-cpp-2.0.0/debian/libnet-cpp2.symbols @@ -0,0 +1,39 @@ +libnet-cpp.so.2 libnet-cpp2 #MINVER# + (c++)"core::net::http::make_client()@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::make_streaming_client()@Base" 1.1.0+15.04.20150305-0ubuntu1 + (c++)"core::net::make_uri(std::__cxx11::basic_string, std::allocator > const&, std::vector, std::allocator >, std::allocator, std::allocator > > > const&, std::vector, std::allocator >, std::__cxx11::basic_string, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > const&)@Base" 1.1.0+14.10.20140804 + (c++)"core::net::http::Client::uri_to_string[abi:cxx11](core::net::Uri const&) const@Base" 1.1.0+14.10.20140804 + (c++)"core::net::http::Client::Errors::HttpMethodNotSupported::HttpMethodNotSupported(core::net::http::Method, core::Location const&)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Client::post_form(core::net::http::Request::Configuration const&, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > const, std::__cxx11::basic_string, std::allocator > > > > const&)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Header::canonicalize_key(std::__cxx11::basic_string, std::allocator > const&)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Header::add(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Header::set(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Header::remove(std::__cxx11::basic_string, std::allocator > const&)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Header::remove(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Header::enumerate(std::function, std::allocator > const&, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&)> const&) const@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Request::Errors::AlreadyActive::AlreadyActive(core::Location const&)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Request::Handler::on_progress(std::function const&)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Request::Handler::on_response(std::function const&)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Request::Handler::on_error(std::function const&)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::operator<<(std::basic_ostream >&, core::net::http::Status)@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Header::has(std::__cxx11::basic_string, std::allocator > const&) const@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Header::has(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) const@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Request::Handler::on_progress() const@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Request::Handler::on_response() const@Base" 0.0.1+14.10.20140611 + (c++)"core::net::http::Request::Handler::on_error() const@Base" 0.0.1+14.10.20140611 + (c++)"typeinfo for core::net::http::Client::Errors::HttpMethodNotSupported@Base" 0.0.1+14.10.20140611 + (c++)"typeinfo for core::net::http::Client@Base" 0.0.1+14.10.20140611 + (c++)"typeinfo for core::net::http::Header@Base" 0.0.1+14.10.20140611 + (c++)"typeinfo for core::net::http::Request::Errors::AlreadyActive@Base" 0.0.1+14.10.20140611 + (c++)"typeinfo for core::net::http::Request@Base" 0.0.1+14.10.20140611 + (c++)"typeinfo name for core::net::http::Client::Errors::HttpMethodNotSupported@Base" 0.0.1+14.10.20140611 + (c++)"typeinfo name for core::net::http::Client@Base" 0.0.1+14.10.20140611 + (c++)"typeinfo name for core::net::http::Header@Base" 0.0.1+14.10.20140611 + (c++)"typeinfo name for core::net::http::Request::Errors::AlreadyActive@Base" 0.0.1+14.10.20140611 + (c++)"typeinfo name for core::net::http::Request@Base" 0.0.1+14.10.20140611 + (c++)"vtable for core::net::http::Client::Errors::HttpMethodNotSupported@Base" 0.0.1+14.10.20140611 + (c++)"vtable for core::net::http::Client@Base" 0.0.1+14.10.20140611 + (c++)"vtable for core::net::http::Header@Base" 0.0.1+14.10.20140611 + (c++)"vtable for core::net::http::Request::Errors::AlreadyActive@Base" 0.0.1+14.10.20140611 + (c++)"typeinfo for core::net::http::StreamingRequest@Base" 1.1.0+15.04.20150305-0ubuntu1 + (c++)"typeinfo name for core::net::http::StreamingRequest@Base" 1.1.0+15.04.20150305-0ubuntu1 --- net-cpp-2.0.0.orig/debian/rules +++ net-cpp-2.0.0/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 +export DEB_CXXFLAGS_MAINT_APPEND = -Wno-error=unused-variable + +include /usr/share/dpkg/default.mk + +%: + dh $@ --fail-missing + +override_dh_auto_configure: + dh_auto_configure -- -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_COMPILER=$(CXX)