debian/0000755000000000000000000000000012207331476007173 5ustar debian/libmysqlcppconn7.shlibs0000644000000000000000000000005612134272151013677 0ustar libmysqlcppconn 7 libmysqlcppconn7 (>= 1.1.3) debian/copyright0000644000000000000000000001250311453402626011125 0ustar This package was debianized by Rene Engelhard on Tue, 25 Nov 2008 14:39:51 +0100. It was downloaded from http://forge.mysql.com/wiki/Connector_C++ Upstream Authors: MySQL AB, Sun Microsystems Inc. Copyright: Copyright (C) 2000-2008 MySQL AB Copyright (C) 2008 Sun Microsystems Inc. License: GPL v2 with "FLOSS exception" On Debian systems, the full text of the GPL v2 can be found in /usr/share/common-licenses/GPL-2. FLOSS License Exception The MySQL AB Exception for Free/Libre and Open Source Software-only Applications Using MySQL Client Libraries (the "FLOSS Exception"). Version 0.6, 11 Aug 2008 Exception Intent We want specified Free/Libre and Open Source Software ("FLOSS") applications to be able to use specified GPL-licensed MySQL client libraries (the "Program") despite the fact that not all FLOSS licenses are compatible with version 2 of the GNU General Public License (the "GPL"). Legal Terms and Conditions As a special exception to the terms and conditions of version 2.0 of the GPL: You are free to distribute a Derivative Work that is formed entirely from the Program and one or more works (each, a "FLOSS Work") licensed under one or more of the licenses listed below in section 1, as long as: 1. You obey the GPL in all respects for the Program and the Derivative Work, except for identifiable sections of the Derivative Work which are not derived from the Program, and which can reasonably be considered independent and separate works in themselves, 2. all identifiable sections of the Derivative Work which are not derived from the Program, and which can reasonably be considered independent and separate works in themselves, 1. are distributed subject to one of the FLOSS licenses listed below, and 2. the object code or executable form of those sections are accompanied by the complete corresponding machine-readable source code for those sections on the same medium and under the same FLOSS license as the corresponding object code or executable forms of those sections, and 3. any works which are aggregated with the Program or with a Derivative Work on a volume of a storage or distribution medium in accordance with the GPL, can reasonably be considered independent and separate works in themselves which are not derivatives of either the Program, a Derivative Work or a FLOSS Work. If the above conditions are not met, then the Program may only be copied, modified, distributed or used under the terms and conditions of the GPL or another valid licensing option from MySQL AB. 1. FLOSS License List License name Version(s)/Copyright Date Academic Free License 2.0 Apache Software License 1.0/1.1/2.0 Apple Public Source License 2.0 Artistic license From Perl 5.8.0 BSD license "July 22 1999" Common Development and Distribution License (CDDL) 1.0 Common Public License 1.0 Eclipse Public License 1.0 GNU Library or "Lesser" General Public License (LGPL) 2.0/2.1/3.0 Jabber Open Source License 1.0 MIT License (As listed in file MIT-License.txt) - Mozilla Public License (MPL) 1.0/1.1 Open Software License 2.0 OpenSSL license (with original SSLeay license) "2003" ("1998") PHP License 3.0/3.01 Python license (CNRI Python License) - Python Software Foundation License 2.1.1 Sleepycat License "1999" University of Illinois/NCSA Open Source License - W3C License "2001" X11 License "2001" Zlib/libpng License - Zope Public License 2.0 Due to the many variants of some of the above licenses, we require that any version follow the 2003 version of the Free Software Foundation's Free Software Definition (http://www.gnu.org/philosophy/free-sw.html) or version 1.9 of the Open Source Definition by the Open Source Initiative (http://www.opensource.org/docs/definition.php). 2. Definitions 1. Terms used, but not defined, herein shall have the meaning provided in the GPL. 2. Derivative Work means a derivative work under copyright law. 3. Applicability This FLOSS Exception applies to all Programs that contain a notice placed by MySQL AB saying that the Program may be distributed under the terms of this FLOSS Exception. If you create or distribute a work which is a Derivative Work of both the Program and any other work licensed under the GPL, then this FLOSS Exception is not available for that work; thus, you must remove the FLOSS Exception notice from that work and comply with the GPL in all respects, including by retaining all GPL notices. You may choose to redistribute a copy of the Program exclusively under the terms of the GPL by removing the FLOSS Exception notice from that copy of the Program, provided that the copy has never been modified by you or any third party. Appendix A. Qualified Libraries and Packages The following is a a non-exhaustive list of libraries and packages which are covered by the FLOSS License Exception. Please note that appendix is merely provided as an additional service to specific FLOSS projects who wish to simplify licensing information for their users. Compliance with one of the licenses noted under the "FLOSS license list" section remains a prerequisite. Package name Qualifying License and Version Apache Portable Runtime (APR) Apache Software License 2.0 The Debian packaging is (C) 2008, Rene Engelhard and is licensed under the GPL v2, too, see `/usr/share/common-licenses/GPL-2'. debian/libmysqlcppconn-dev.links0000644000000000000000000000007311453402626014224 0ustar usr/lib/libmysqlcppconn-static.a usr/lib/libmysqlcppconn.a debian/control0000644000000000000000000000165512205165072010600 0ustar Source: mysql-connector-c++ Priority: optional Maintainer: Debian MySQL Maintainers Uploaders: Rene Engelhard Build-Depends: debhelper (>= 7), cmake, libmysqlclient-dev, libboost-dev Standards-Version: 3.7.3 Section: libs Package: libmysqlcppconn-dev Section: libdevel Architecture: any Depends: libboost-dev, libmysqlcppconn7 (= ${binary:Version}), ${misc:Depends} Description: MySQL Connector for C++ (development files) MySQL Connector/C++ is a MySQL database connector for C++. . It mimics the JDBC 4.0 API. . This package contains the development files (headers, static library). Package: libmysqlcppconn7 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: MySQL Connector for C++ (library) MySQL Connector/C++ is a MySQL database connector for C++. . It mimics the JDBC 4.0 API. . This package contains the shared library debian/source/0000755000000000000000000000000011453404436010472 5ustar debian/source/format0000644000000000000000000000001411453404435011677 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001043412207331460011040 0ustar mysql-connector-c++ (1.1.3-5) unstable; urgency=low * upload to unstable -- Rene Engelhard Wed, 28 Aug 2013 10:21:46 +0200 mysql-connector-c++ (1.1.3-4) experimental; urgency=low * built with default boost again -- Rene Engelhard Wed, 21 Aug 2013 18:24:41 +0200 mysql-connector-c++ (1.1.3-3) unstable; urgency=low * use libboost1.53-dev to help LO build on sid with sids new gcc-4.7 -- Rene Engelhard Thu, 09 May 2013 22:09:03 +0200 mysql-connector-c++ (1.1.3-2) unstable; urgency=low * upload to unstable -- Rene Engelhard Fri, 19 Apr 2013 18:51:06 +0200 mysql-connector-c++ (1.1.3-1) experimental; urgency=low * New upstream release * remove obsolete libmysqlcppconn-stlport* files * remove Homepage:, http://forge.mysql.com/wiki/Connector_C++ is gone -- Rene Engelhard Fri, 19 Apr 2013 18:49:47 +0200 mysql-connector-c++ (1.1.2-1) experimental; urgency=low * New upstream release -- Rene Engelhard Tue, 19 Mar 2013 18:27:53 +0100 mysql-connector-c++ (1.1.1-2) experimental; urgency=low * remove obsolete libmysqlcppconn6.links.. -- Rene Engelhard Thu, 30 Aug 2012 23:18:08 +0200 mysql-connector-c++ (1.1.1-1) experimental; urgency=low * New upstream release -- Rene Engelhard Sat, 25 Aug 2012 00:38:37 +0200 mysql-connector-c++ (1.1.0-4) unstable; urgency=low * debian/patches/libmysqlclient_SONAME.diff: dynamically determine libmysqlclient_r.so.XX to make it more bin-NMU-friendly * build with make VERBOSE=1 -- Rene Engelhard Tue, 22 May 2012 00:12:12 +0200 mysql-connector-c++ (1.1.0-3) unstable; urgency=low * depend on libboost-dev (closes: #623556) * add build-arch/build-indep targets (just depending on build), thanks lintian -- Rene Engelhard Fri, 19 Aug 2011 19:26:57 +0000 mysql-connector-c++ (1.1.0-2) unstable; urgency=low * upload to unstable -- Rene Engelhard Fri, 04 Feb 2011 00:25:57 +0100 mysql-connector-c++ (1.1.0-1) experimental; urgency=low * Update to 1.1.0 final release * migrate from dpatch to "3.0 (quilt)" format -- Rene Engelhard Thu, 07 Oct 2010 22:23:42 +0200 mysql-connector-c++ (1.1.0~r814-1) unstable; urgency=low * new bzr snapshot * remove -stlport* packages, not needed anymore and never used anyway * add ${misc:Depends} -- Rene Engelhard Tue, 09 Mar 2010 22:45:04 +0100 mysql-connector-c++ (1.1.0~r791-1) unstable; urgency=low * new bzr snapshot * add patch to add __attribute__((visibility("default"))) to the exceptions (closes: #559219) * debian/rules: bump .shlibs -- Rene Engelhard Wed, 02 Dec 2009 22:08:19 +0100 mysql-connector-c++ (1.1.0~r786-2) unstable; urgency=low * update 06_stlport_flavour.dpatch -- Rene Engelhard Wed, 23 Sep 2009 20:13:34 +0200 mysql-connector-c++ (1.1.0~r786-1) unstable; urgency=low * New upstream snapshot * fix -stlport-dev to depends on the -stlport shared lib package * add debian/watch * upload to unstable -- Rene Engelhard Wed, 23 Sep 2009 19:07:54 +0200 mysql-connector-c++ (1.0.6~r768-2) experimental; urgency=low * build flavour with STLport on i386; we need it for OOo on i386.... -- Rene Engelhard Sat, 05 Sep 2009 13:01:55 +0200 mysql-connector-c++ (1.0.6~r768-1) experimental; urgency=low * New upstream snapshot -- Rene Engelhard Fri, 28 Aug 2009 16:17:12 +0200 mysql-connector-c++ (1.0.6~r754-1) experimental; urgency=low * New upstream snapshot * use libmysqlclient-dev * enable shared lib (now libmysqcppconn2) * disable build of test/. gets us a bogus libicu dep when icu is there on the build system and we don't/can't run the tests anyway -- Rene Engelhard Thu, 20 Aug 2009 22:38:27 +0200 mysql-connector-c++ (1.0.5-1) experimental; urgency=low * New upstream release * clean up dmake usage -- Rene Engelhard Mon, 08 Jun 2009 22:07:51 +0200 mysql-connector-cpp (1.0.2~20081215-1) experimental; urgency=low * Initial release (closes: #508985) -- Rene Engelhard Mon, 05 Jan 2009 12:29:23 +0100 debian/libmysqlcppconn-dev.install0000644000000000000000000000011011453402626014542 0ustar usr/include usr/lib/libmysqlcppconn.so usr/lib/libmysqlcppconn-static.a debian/watch0000644000000000000000000000053511453402626010225 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 http://ftp.gwdg.de/pub/misc/mysql/Downloads/Connector-C++/mysql-connector-c\+\+-(\d.\d.\d)\.tar\.gz debian uupdate debian/libmysqlcppconn7.install0000644000000000000000000000003511453402626014063 0ustar usr/lib/libmysqlcppconn.so.* debian/patches/0000755000000000000000000000000011756540612010624 5ustar debian/patches/libmysqlclient_SONAME.diff0000755000000000000000000000207211756535442015564 0ustar Note that this needs the CXXFLAGS='-DLIBMYSQLCLIENT_SONAME=\"$(shell readlink -f `mysql_config --variable=pkglibdir`/libmysqlclient_r.so | sed -e s/mysqlclient/mysqlclient_r/ | sed -e "s,`mysql_config --variable=pkglibdir`/\(libmysqlclient_r.so.[0-9][0-9]\).*,\\1,")\" $(CXXFLAGS)' \ from debian/rules. I didn't succeed in getting this into cmake. But this at least works... diff -urNad mysql-connector-c++-1.0.6~r754~/driver/nativeapi/libmysql_dynamic_proxy.cpp mysql-connector-c++-1.0.6~r754/driver/nativeapi/libmysql_dynamic_proxy.cpp --- mysql-connector-c++-1.0.6~r754~/driver/nativeapi/libmysql_dynamic_proxy.cpp 2009-08-20 16:42:14.000000000 +0200 +++ mysql-connector-c++-1.0.6~r754/driver/nativeapi/libmysql_dynamic_proxy.cpp 2009-08-20 20:25:31.000000000 +0200 @@ -41,7 +41,7 @@ #elif defined(__hpux) && defined(__hppa) static const char * const baseName = "libmysqlclient_r.sl"; #else -static const char * const baseName = "libmysqlclient_r.so"; +static const char * const baseName = LIBMYSQLCLIENT_SONAME; #endif template debian/patches/series0000644000000000000000000000017511756540331012042 0ustar #no_README_LICENSE.mysql.diff libmysqlclient_SONAME.diff disable_tests.diff attribute_visibility_default_for_exceptions.diff debian/patches/no_README_LICENSE.mysql.diff0000755000000000000000000000271711453404660015423 0ustar diff -urNad mysql-connector-c++-1.0.6~r754~/CMakeLists.txt mysql-connector-c++-1.0.6~r754/CMakeLists.txt --- mysql-connector-c++-1.0.6~r754~/CMakeLists.txt 2009-08-20 16:42:13.000000000 +0200 +++ mysql-connector-c++-1.0.6~r754/CMakeLists.txt 2009-08-20 19:21:41.000000000 +0200 @@ -198,12 +198,6 @@ SET(CPACK_PACKAGE_VERSION_PATCH 0) SET(CPACK_PACKAGE_RELEASE_TYPE "") SET(CPACK_PACKAGE_VENDOR "Oracle and/or its affiliates") -IF(EXISTS "${CMAKE_SOURCE_DIR}/COPYING") - SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING") -ELSE(EXISTS "${CMAKE_SOURCE_DIR}/COPYING") - SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/ANNOUNCEMENT") -ENDIF(EXISTS "${CMAKE_SOURCE_DIR}/COPYING") -SET(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README") SET(MYSQLCPPCONN_NUMERIC_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") IF(EXTRA_VERSION) SET(MYSQLCPPCONN_VERSION "${MYSQLCPPCONN_NUMERIC_VERSION}${EXTRA_VERSION}${CPACK_PACKAGE_RELEASE_TYPE}") @@ -208,7 +202,7 @@ SET( LICENSE_FILENAME "${CPACK_RESOURCE_FILE_LICENSE}")") ENDIF(WIN32) -INSTALL(FILES ${CPACK_RESOURCE_FILE_README} ${CPACK_RESOURCE_FILE_LICENSE} "${CMAKE_SOURCE_DIR}/ANNOUNCEMENT" DESTINATION "." OPTIONAL) +INSTALL(FILES "${CMAKE_SOURCE_DIR}/ANNOUNCEMENT" DESTINATION "." OPTIONAL) SET(COMMON_IGNORE_FILES "/CMakeFiles/" "/Testing/" "/.bzr/" "_CPack_Packages/" ".cmake$" "~" ".swp" ".log" ".gz" ".directory$" "CMakeCache.txt" "Makefile" debian/patches/attribute_visibility_default_for_exceptions.diff0000755000000000000000000000430511453404640022542 0ustar diff -urNad mysql-connector-c++-1.1.0~r791~/cppconn/exception.h mysql-connector-c++-1.1.0~r791/cppconn/exception.h --- mysql-connector-c++-1.1.0~r791~/cppconn/exception.h 2009-12-02 19:07:54.000000000 +0100 +++ mysql-connector-c++-1.1.0~r791/cppconn/exception.h 2009-12-02 19:11:55.000000000 +0100 @@ -17,6 +17,8 @@ #include #include +#define CPPCONN_PUBLIC_EXCEPTION __attribute__((visibility("default"))) + namespace sql { @@ -37,7 +39,7 @@ #pragma warning(push) #pragma warning(disable: 4275) #endif -class CPPCONN_PUBLIC_FUNC SQLException : public std::runtime_error +class CPPCONN_PUBLIC_EXCEPTION SQLException : public std::runtime_error { #ifdef _WIN32 #pragma warning(pop) @@ -83,26 +85,26 @@ MEMORY_ALLOC_OPERATORS(SQLException) }; -struct CPPCONN_PUBLIC_FUNC MethodNotImplementedException : public SQLException +struct CPPCONN_PUBLIC_EXCEPTION MethodNotImplementedException : public SQLException { MethodNotImplementedException(const MethodNotImplementedException& e) : SQLException(e.what(), e.sql_state, e.errNo) { } MethodNotImplementedException(const std::string& reason) : SQLException(reason, "", 0) {} }; -struct CPPCONN_PUBLIC_FUNC InvalidArgumentException : public SQLException +struct CPPCONN_PUBLIC_EXCEPTION InvalidArgumentException : public SQLException { InvalidArgumentException(const InvalidArgumentException& e) : SQLException(e.what(), e.sql_state, e.errNo) { } InvalidArgumentException(const std::string& reason) : SQLException(reason, "", 0) {} }; -struct CPPCONN_PUBLIC_FUNC InvalidInstanceException : public SQLException +struct CPPCONN_PUBLIC_EXCEPTION InvalidInstanceException : public SQLException { InvalidInstanceException(const InvalidInstanceException& e) : SQLException(e.what(), e.sql_state, e.errNo) { } InvalidInstanceException(const std::string& reason) : SQLException(reason, "", 0) {} }; -struct CPPCONN_PUBLIC_FUNC NonScrollableException : public SQLException +struct CPPCONN_PUBLIC_EXCEPTION NonScrollableException : public SQLException { NonScrollableException(const NonScrollableException& e) : SQLException(e.what(), e.sql_state, e.errNo) { } NonScrollableException(const std::string& reason) : SQLException(reason, "", 0) {} debian/patches/disable_tests.diff0000755000000000000000000000113211453404642014277 0ustar diff -urNad mysql-connector-c++-1.0.6~r754~/CMakeLists.txt mysql-connector-c++-1.0.6~r754/CMakeLists.txt --- mysql-connector-c++-1.0.6~r754~/CMakeLists.txt 2009-08-20 22:25:35.000000000 +0200 +++ mysql-connector-c++-1.0.6~r754/CMakeLists.txt 2009-08-20 22:25:57.000000000 +0200 @@ -241,10 +241,6 @@ ADD_SUBDIRECTORY(cppconn) ADD_SUBDIRECTORY(driver) ADD_SUBDIRECTORY(examples) -ADD_SUBDIRECTORY(test) -ADD_SUBDIRECTORY(test/framework) -ADD_SUBDIRECTORY(test/CJUnitTestsPort) -ADD_SUBDIRECTORY(test/unit) IF(DEFINED CMAKE_SYSTEM_NAME AND ${CMAKE_SYSTEM_NAME} STREQUAL "SunOS") # see also README debian/rules0000755000000000000000000000302212015363644010247 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 builddir/CMakeCache.txt: dh_testdir mkdir -p builddir # work around upstream breakge. cmake . works, but we don't # want that in the toplevel, obviously cp -rav * builddir || true rm -rf builddir/debian cd builddir && \ CXXFLAGS='-DLIBMYSQLCLIENT_SONAME=\"$(shell readlink -f `mysql_config --variable=pkglibdir`/libmysqlclient_r.so | sed -e s/mysqlclient/mysqlclient_r/ | sed -e "s,`mysql_config --variable=pkglibdir`/\(libmysqlclient_r.so.[0-9][0-9]\).*,\\1,")\" $(CXXFLAGS)' \ cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DMYSQLCPPCONN_BUILD_EXAMPLES:BOOL=0 \ -DMYSQLCPPCONN_ICU_ENABLE:BOOL=0 build-arch: build-stamp build-indep: build-stamp build: build-arch build-indep build-stamp: builddir/CMakeCache.txt dh_testdir cd builddir && $(MAKE) VERBOSE=1 touch $@ clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp rm -rf builddir dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs -s cd builddir && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install binary-indep: build install binary-arch: build install dh_testdir dh_testroot dh_installchangelogs CHANGES -s dh_installdocs -s dh_installexamples -s dh_install -s dh_installman -s dh_link -s dh_strip -s dh_compress -s dh_fixperms -s dh_makeshlibs -s dh_installdeb -s dh_shlibdeps -s dh_gencontrol -s dh_md5sums -s dh_builddeb -s binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/compat0000644000000000000000000000000211453402626010367 0ustar 7