debian/0002755000000000000000000000000012275201605007170 5ustar debian/source/0002755000000000000000000000000012275176530010500 5ustar debian/source/format0000644000000000000000000000001412275176530011704 0ustar 3.0 (quilt) debian/libcurlpp0.dirs0000644000000000000000000000001012275176530012124 0ustar usr/lib debian/compat0000644000000000000000000000000212275176530010374 0ustar 9 debian/libcurlpp-dev.dirs0000644000000000000000000000002412275176530012625 0ustar usr/lib usr/include debian/control0000644000000000000000000000205212275176561010604 0ustar Source: curlpp Priority: extra Maintainer: Ximin Luo Build-Depends: debhelper (>= 9), dh-autoreconf, libboost-dev (>= 1.33), libcurl4-openssl-dev | libcurl4-dev Standards-Version: 3.9.5 Section: libs Homepage: http://www.curlpp.org/ Vcs-Git: git://anonscm.debian.org/users/infinity0-guest/curlpp.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/infinity0-guest/curlpp.git Package: libcurlpp0 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: c++ wrapper for libcurl curlpp provides a C++ wrapper for the libcurl library . This package provides the shared libraries needed to run programs using curlpp. Package: libcurlpp-dev Section: libdevel Architecture: any Multi-Arch: same Depends: ${misc:Depends}, libcurlpp0 (= ${binary:Version}) Description: c++ wrapper for libcurl (development files) curlpp provides a C++ wrapper for the libcurl library . This package provides the include files and static libraries needed to build programs using curlpp. debian/copyright0000644000000000000000000000271212275176535011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: curlpp Source: http://www.curlpp.org/ Files: * Copyright: 2002-2009 Jean-Philippe Barrette-LaPierre License: Expat Files: src/curlpp/autolink.h Copyright: 2005 Giuseppe "Cowo" Corbelli License: Expat Files: debian/* Copyright: 2010 Goedson Teixeira Paixao 2013 Ximin Luo License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (cURLpp), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/rules0000755000000000000000000000111112275176530010250 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with autoreconf override_dh_installdocs: dh_installdocs --link-doc=libcurlpp0 override_dh_installchangelogs: dh_installchangelogs CHANGES debian/changelog0000644000000000000000000000244712275201557011055 0ustar curlpp (0.7.3-5) unstable; urgency=low [ Logan Rosen ] * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by getting new libtool macros. (Closes: #733081) [ Ximin Luo ] * Update to latest Standards-Version. -- Ximin Luo Fri, 07 Feb 2014 15:59:50 +0000 curlpp (0.7.3-4) unstable; urgency=low * Don't mess with quilt patches during clean; it's more properly taken care of by dpkg-source instead. (Closes: #728097) -- Ximin Luo Tue, 29 Oct 2013 13:40:09 +0000 curlpp (0.7.3-3) unstable; urgency=low * Update autotools config to take into account newer architectures (Closes: #727350) * Pre-emptively remove curlpp.spec via quilt so it can be restored later when `dh clean` gets rid of it -- Ximin Luo Thu, 24 Oct 2013 14:20:44 +0100 curlpp (0.7.3-2) unstable; urgency=low * Don't install config.h nor include it in headers. -- Ximin Luo Sat, 21 Sep 2013 12:10:31 +0100 curlpp (0.7.3-1) unstable; urgency=low [ Goedson Teixeira Paixao ] * Fix Makefile.in to include config.h [ Ximin Luo ] * Patch global.h so users don't need to define HAVE_CONFIG_H * Initial release (Closes: #592133) -- Ximin Luo Wed, 18 Sep 2013 19:03:56 +0100 debian/docs0000644000000000000000000000014312275176530010047 0ustar AUTHORS # should be uncommented if future upstream actually puts something in it #NEWS README TODO debian/watch0000644000000000000000000000016712275176530010233 0ustar version=3 http://code.google.com/p/curlpp/downloads/list .*/curlpp-(\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) debian/libcurlpp-dev.install0000644000000000000000000000100712275176530013334 0ustar usr/include/curlpp/internal/*.h usr/include/curlpp/internal/*.hpp usr/include/curlpp/internal/*.inl usr/include/curlpp/*.hpp usr/include/curlpp/*.inl usr/include/utilspp/*.hpp usr/include/utilspp/*.inl usr/include/utilspp/functor/*.hpp usr/include/utilspp/singleton/*.hpp usr/include/utilspp/singleton/*.inl usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/* # don't include .la files, see # https://wiki.debian.org/ReleaseGoals/LAFileRemoval #usr/lib/*/*.la # don't include useless script #usr/bin/curlpp-config debian/patches/0002755000000000000000000000000012275176545010635 5ustar debian/patches/series0000644000000000000000000000006112275176545012045 0ustar dont-install-config-h.patch rm-curlpp-spec.patch debian/patches/dont-install-config-h.patch0000644000000000000000000002503612275176545015762 0ustar Description: Don't install config.h or include it in headers. config.h is an artefact of the GNU autotools and is dependent on the local build environment. It is not meant to be distributed to other systems, nor installed as headers, since it would then conflict with other generated config.h files in projects that include these headers, because they define the same macros. For more details, see: - http://stackoverflow.com/questions/1810216/autoconf-where-does-config-h-go - http://inaugust.com/post/68 - http://gnu-autoconf.7623.n7.nabble.com/make-install-config-h-td18986.html Author: Ximin Luo Origin: vendor Bug: http://code.google.com/p/curlpp/issues/detail?id=26 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ diff --git a/include/curlpp/Makefile.am b/include/curlpp/Makefile.am index db10941..b7a5c59 100644 --- a/include/curlpp/Makefile.am +++ b/include/curlpp/Makefile.am @@ -11,9 +11,6 @@ pkginclude_HEADERS = \ OptionBase.hpp \ Options.hpp \ Types.hpp \ - cURLpp.hpp \ - config.h.in \ - config.h.sample \ - config.win32.h + cURLpp.hpp pkgincludedir=$(includedir)/curlpp diff --git a/include/curlpp/Makefile.in b/include/curlpp/Makefile.in index 53ebe5d..7c25101 100644 --- a/include/curlpp/Makefile.in +++ b/include/curlpp/Makefile.in @@ -205,10 +205,7 @@ pkginclude_HEADERS = \ OptionBase.hpp \ Options.hpp \ Types.hpp \ - cURLpp.hpp \ - config.h.in \ - config.h.sample \ - config.win32.h + cURLpp.hpp all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive diff --git a/include/curlpp/Types.hpp b/include/curlpp/Types.hpp index 26ed04e..57c354b 100644 --- a/include/curlpp/Types.hpp +++ b/include/curlpp/Types.hpp @@ -25,8 +25,6 @@ #define CURLPP_TYPES_HPP -#include "internal/global.h" - #ifdef HAVE_BOOST #include #endif diff --git a/include/curlpp/config.h.sample b/include/curlpp/config.h.sample deleted file mode 100644 index 48a92b7..0000000 --- a/include/curlpp/config.h.sample +++ /dev/null @@ -1,71 +0,0 @@ -/* curlpp/config.h. Generated from config.h.in by configure. */ -/* curlpp/config.h.in. Generated from configure.ac by autoheader. */ - -/* when building cURLpp itself */ -/* #undef BUILDING_CURLPP */ - -/* when not building a shared library */ -/* #undef CURLPP_STATICLIB */ - -/* define if the Boost library is available */ -/* #undef HAVE_BOOST */ - -/* Define to 1 if you have the header file. */ -#define HAVE_CURL_CURL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OSTREAM 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Name of package */ -#define PACKAGE "curlpp" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "" - -/* Define to 1 if you have the ANSI C header files. */ -/* #undef STDC_HEADERS */ - -/* Version number of package */ -#define VERSION "0.7.2" diff --git a/include/curlpp/internal/Makefile.am b/include/curlpp/internal/Makefile.am index af431de..bc15112 100644 --- a/include/curlpp/internal/Makefile.am +++ b/include/curlpp/internal/Makefile.am @@ -5,7 +5,6 @@ pkginclude_HEADERS = \ OptionList.hpp \ OptionSetter.hpp OptionSetter.inl \ SList.hpp \ - buildconfig.h \ - global.h + buildconfig.h pkgincludedir=$(includedir)/curlpp/internal diff --git a/include/curlpp/internal/Makefile.in b/include/curlpp/internal/Makefile.in index f702e33..c33acc1 100644 --- a/include/curlpp/internal/Makefile.in +++ b/include/curlpp/internal/Makefile.in @@ -189,8 +189,7 @@ pkginclude_HEADERS = \ OptionList.hpp \ OptionSetter.hpp OptionSetter.inl \ SList.hpp \ - buildconfig.h \ - global.h + buildconfig.h all: all-am diff --git a/include/curlpp/internal/global.h b/include/curlpp/internal/global.h deleted file mode 100644 index 6020c6a..0000000 --- a/include/curlpp/internal/global.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) <2002-2009> - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files - * (curlpp), to deal in the Software without restriction, - * including without limitation the rights to use, copy, modify, merge, - * publish, distribute, sublicense, and/or sell copies of the Software, - * and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY - * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -#ifndef CURLPP_GLOBAL_H -#define CURLPP_GLOBAL_H - -#ifndef HAVE_CONFIG_H - #include "curlpp/config.win32.h" -#else - #include "curlpp/config.h" -#endif - -#endif // #ifndef CURLPP_GLOBAL_H diff --git a/src/curlpp/Easy.cpp b/src/curlpp/Easy.cpp index dc2ae1c..86f1232 100644 --- a/src/curlpp/Easy.cpp +++ b/src/curlpp/Easy.cpp @@ -24,7 +24,7 @@ #include "curlpp/Easy.hpp" #include "curlpp/Options.hpp" -#include "curlpp/internal/global.h" +#include "config.h" #include "curlpp/internal/buildconfig.h" diff --git a/src/curlpp/Exception.cpp b/src/curlpp/Exception.cpp index e2cc97a..efa2300 100644 --- a/src/curlpp/Exception.cpp +++ b/src/curlpp/Exception.cpp @@ -21,7 +21,7 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "curlpp/internal/global.h" +#include "config.h" #include "curlpp/Exception.hpp" curlpp::RuntimeError::~RuntimeError() throw() diff --git a/src/curlpp/Form.cpp b/src/curlpp/Form.cpp index e2704ce..e759379 100644 --- a/src/curlpp/Form.cpp +++ b/src/curlpp/Form.cpp @@ -21,7 +21,7 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "curlpp/internal/global.h" +#include "config.h" #include "curlpp/Form.hpp" diff --git a/src/curlpp/Info.cpp b/src/curlpp/Info.cpp index 8bbb4ac..ee8e713 100644 --- a/src/curlpp/Info.cpp +++ b/src/curlpp/Info.cpp @@ -1,4 +1,4 @@ -#include "curlpp/internal/global.h" +#include "config.h" #include "curlpp/internal/SList.hpp" #include "curlpp/Info.hpp" diff --git a/src/curlpp/Multi.cpp b/src/curlpp/Multi.cpp index 360ba17..0af5f97 100644 --- a/src/curlpp/Multi.cpp +++ b/src/curlpp/Multi.cpp @@ -21,7 +21,7 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "curlpp/internal/global.h" +#include "config.h" #include "curlpp/Easy.hpp" #include "curlpp/Exception.hpp" diff --git a/src/curlpp/OptionBase.cpp b/src/curlpp/OptionBase.cpp index 1d82816..85075f8 100644 --- a/src/curlpp/OptionBase.cpp +++ b/src/curlpp/OptionBase.cpp @@ -21,7 +21,7 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "curlpp/internal/global.h" +#include "config.h" #include "curlpp/OptionBase.hpp" diff --git a/src/curlpp/Options.cpp b/src/curlpp/Options.cpp index 21063d7..3219e50 100644 --- a/src/curlpp/Options.cpp +++ b/src/curlpp/Options.cpp @@ -21,7 +21,7 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "curlpp/internal/global.h" +#include "config.h" #include "curlpp/Options.hpp" #include "curlpp/Easy.hpp" diff --git a/src/curlpp/cURLpp.cpp b/src/curlpp/cURLpp.cpp index ec96a59..5a9087f 100644 --- a/src/curlpp/cURLpp.cpp +++ b/src/curlpp/cURLpp.cpp @@ -1,7 +1,7 @@ #include "utilspp/singleton/SingletonHolder.hpp" #include "utilspp/singleton/CreationStatic.hpp" -#include "curlpp/internal/global.h" +#include "config.h" #include "curlpp/cURLpp.hpp" #include "curlpp/Exception.hpp" diff --git a/src/curlpp/internal/CurlHandle.cpp b/src/curlpp/internal/CurlHandle.cpp index e4ce138..f159916 100644 --- a/src/curlpp/internal/CurlHandle.cpp +++ b/src/curlpp/internal/CurlHandle.cpp @@ -21,7 +21,7 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "curlpp/internal/global.h" +#include "config.h" #include "curlpp/internal/CurlHandle.hpp" #include "curlpp/cURLpp.hpp" diff --git a/src/curlpp/internal/OptionList.cpp b/src/curlpp/internal/OptionList.cpp index ef9ecd8..1f86f64 100644 --- a/src/curlpp/internal/OptionList.cpp +++ b/src/curlpp/internal/OptionList.cpp @@ -21,7 +21,7 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "curlpp/internal/global.h" +#include "config.h" #include "curlpp/internal/OptionList.hpp" #include diff --git a/src/curlpp/internal/OptionSetter.cpp b/src/curlpp/internal/OptionSetter.cpp index 117ec90..168a41b 100644 --- a/src/curlpp/internal/OptionSetter.cpp +++ b/src/curlpp/internal/OptionSetter.cpp @@ -21,7 +21,7 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "curlpp/internal/global.h" +#include "config.h" #include "curlpp/internal/CurlHandle.hpp" #include "curlpp/internal/OptionSetter.hpp" diff --git a/src/curlpp/internal/SList.cpp b/src/curlpp/internal/SList.cpp index bdda998..ce9d13b 100644 --- a/src/curlpp/internal/SList.cpp +++ b/src/curlpp/internal/SList.cpp @@ -1,5 +1,5 @@ #include "curlpp/internal/SList.hpp" -#include "curlpp/internal/global.h" +#include "config.h" #if HAVE_OSTREAM # include debian/patches/rm-curlpp-spec.patch0000644000000000000000000000663012275176545014532 0ustar Description: Don't keep curlpp.spec under VCS curlpp.spec is built during configure and is useless without the Makefile. . It also interferes with `make distclean` which deletes it unconditionally. This means the user needs to check it back out of VCS if he doesn't want to pollute his commit with "deleted curlpp.spec". . So, just get rid of it for simplicity. Author: Ximin Luo Bug: https://code.google.com/p/curlpp/issues/detail?id=28 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/curlpp.spec +++ /dev/null @@ -1,96 +0,0 @@ -Summary: cURLpp is a libcurl C++ wrapper -Name: cURLpp -Version: 0.7.3 -Release: 1 -License: MIT -Group: Development/Libraries -URL: http://rrette.com/curlpp.html -Source0: curlpp-0.7.3.tar.gz -BuildRoot: %{_tmppath}/curlpp-0.7.3-%{release}-buildroot -Requires: curl >= 7.10.0 - - -%package devel -Summary: The includes and libs to develop with cURLpp -Group: Development/Libraries -Requires: curl >= 7.10.0 -Provides: curlpp-devel - -%description -cURLpp is a libcurl C++ wrapper. There is the libcurl description: "libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and more! - -libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, Net/Free/Open BSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS and more... " - -%description devel -This packages contains all the libs and headers to develop applications using cURLpp. - - -%prep -%setup -qn curlpp-0.7.3 - - -%build -%configure -make - -%install -[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} -make DESTDIR=%{buildroot} install - -%clean -rm -rf %{buildroot} - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%files -%defattr(-,root,root) -%{_libdir}/libcurlpp.so* - - -%files devel -%defattr(-,root,root) -%attr(0755,root,root) %{_bindir}/curlpp-config -%dir %{_includedir}/curlpp -%{_includedir}/curlpp/*.hpp -%{_includedir}/curlpp/*.inl -%{_includedir}/curlpp/*.h -%dir %{_includedir}/curlpp/utilspp -%dir %{_includedir}/curlpp/utilspp/singleton -%{_includedir}/curlpp/utilspp/singleton/*.hpp -%{_includedir}/curlpp/utilspp/singleton/*.inl -%dir %{_includedir}/utilspp -%{_includedir}/utilspp/*.hpp -%{_includedir}/utilspp/*.inl -%dir %{_includedir}/utilspp/functor -%{_includedir}/utilspp/functor/*.hpp -%{_libdir}/libcurlpp.la -%{_libdir}/libcurlpp.a -%{_libdir}/pkgconfig/curlpp.pc -%dir - - -%changelog - -* Sun Jul 17 2005 Jean-Philippe Barrette-LaPierre - 0.5.1-1 -- removed {%name} use - -* Wed Jan 5 2005 Jean-Philippe Barrette-LaPierre - 0.3.2-rc1-1 -- Version depends now on configure script - -* Thu Sep 30 2004 Jean-Philippe Barrette-LaPierre 0.3.1-1 -- Removed any utilspp reference. (Not used anymore) - -* Thu Jun 17 2004 Jean-Philippe Barrette-LaPierre 0.3.1-1 -- Removed the unusefull BuildRequires - -* Mon Oct 20 2003 Jean-Philippe Barrette-LaPierre - 0.3.0-2 -- Added the devel package - -* Wed Oct 15 2003 Jean-Philippe Barrette-LaPierre - 0.3.0-1 -- Initial build. - - debian/libcurlpp0.install0000644000000000000000000000002412275176530012636 0ustar usr/lib/*/lib*.so.*