debian/0000775000000000000000000000000012266140220007163 5ustar debian/rules0000775000000000000000000000016012266140152010244 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode #export DH_VERBOSE=1 %: dh $@ --with autoreconf debian/watch0000664000000000000000000000007412211217474010223 0ustar version=3 http://tildeslash.com/libzdb libzdb-(.*)\.tar\.gz debian/libzdb-dev.install0000664000000000000000000000010712211217474012601 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/* debian/changelog0000664000000000000000000000146212266140214011043 0ustar libzdb (2.11.3-1ubuntu1) trusty; urgency=medium * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by getting new libtool macros (still updates config.{sub,guess}). -- Logan Rosen Fri, 17 Jan 2014 00:32:38 -0500 libzdb (2.11.3-1) unstable; urgency=low * New upstream release -- Jack Bates Mon, 02 Sep 2013 23:29:00 +0000 libzdb (2.11.2-1) unstable; urgency=low * New upstream release -- Jack Bates Sun, 02 Jun 2013 23:51:14 +0000 libzdb (2.10.2-1) unstable; urgency=low * upstream release -- Paul J Stevens Thu, 15 Mar 2012 08:12:29 +0000 libzdb (2.9-1) unstable; urgency=low * Initial release (Closes: #466699) -- Paul J Stevens Mon, 15 Aug 2011 07:36:40 +0000 debian/libzdb9.install0000664000000000000000000000002412211217472012112 0ustar usr/lib/*/lib*.so.* debian/compat0000664000000000000000000000000212211217472010365 0ustar 9 debian/copyright0000664000000000000000000000204312211217474011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libzdb Source: Files: * Copyright: Tildeslash Ltd. License: GPL-3.0+ Files: debian/* Copyright: 2013 Jack Bates License: GPL-3.0+ License: GPL-3.0+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . 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 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 General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/source/0000775000000000000000000000000012211217471010466 5ustar debian/source/format0000664000000000000000000000001412211217471011674 0ustar 3.0 (quilt) debian/control0000664000000000000000000000207512266140215010576 0ustar Source: libzdb Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Jack Bates Build-Depends: debhelper (>= 9), dh-autoreconf, flex, libmysqlclient-dev, libpq-dev, libsqlite3-dev, re2c Standards-Version: 3.9.4 Section: libs Homepage: http://tildeslash.com/libzdb Vcs-Git: https://github.com/jablko/debian.git Vcs-Browser: https://github.com/jablko/debian/tree/master/libzdb Package: libzdb-dev Section: libdevel Architecture: any Depends: libzdb9 (= ${binary:Version}) Description: Zild Database Library A small and easy to use database API written in C. . This library provides thread safe connection pooling and exception handling. Currently supports MySQL, Sqlite3 and PostgreSQL. Package: libzdb9 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Zild Database Library A small and easy to use database API written in C. . This library provides thread safe connection pooling and exception handling. Currently supports MySQL, Sqlite3 and PostgreSQL. debian/docs0000664000000000000000000000000712211217472010037 0ustar README debian/libzdb9.symbols0000664000000000000000000002105012211217475012141 0ustar libzdb.so.9 libzdb9 #MINVER# AbortHandler@Base 2.11.2 AssertException@Base 2.11.2 ConnectionPool_active@Base 2.11.2 ConnectionPool_free@Base 2.11.2 ConnectionPool_getConnection@Base 2.11.2 ConnectionPool_getConnectionTimeout@Base 2.11.2 ConnectionPool_getInitialConnections@Base 2.11.2 ConnectionPool_getMaxConnections@Base 2.11.2 ConnectionPool_getURL@Base 2.11.2 ConnectionPool_new@Base 2.11.2 ConnectionPool_reapConnections@Base 2.11.2 ConnectionPool_returnConnection@Base 2.11.2 ConnectionPool_setAbortHandler@Base 2.11.2 ConnectionPool_setConnectionTimeout@Base 2.11.2 ConnectionPool_setInitialConnections@Base 2.11.2 ConnectionPool_setMaxConnections@Base 2.11.2 ConnectionPool_setReaper@Base 2.11.2 ConnectionPool_size@Base 2.11.2 ConnectionPool_start@Base 2.11.2 ConnectionPool_stop@Base 2.11.2 ConnectionPool_version@Base 2.11.2 Connection_beginTransaction@Base 2.11.2 Connection_clear@Base 2.11.2 Connection_close@Base 2.11.2 Connection_commit@Base 2.11.2 Connection_execute@Base 2.11.2 Connection_executeQuery@Base 2.11.2 Connection_free@Base 2.11.2 Connection_getLastAccessedTime@Base 2.11.2 Connection_getLastError@Base 2.11.2 Connection_getMaxRows@Base 2.11.2 Connection_getQueryTimeout@Base 2.11.2 Connection_getURL@Base 2.11.2 Connection_isAvailable@Base 2.11.2 Connection_isInTransaction@Base 2.11.2 Connection_isSupported@Base 2.11.2 Connection_lastRowId@Base 2.11.2 Connection_new@Base 2.11.2 Connection_onstop@Base 2.11.2 Connection_ping@Base 2.11.2 Connection_prepareStatement@Base 2.11.2 Connection_rollback@Base 2.11.2 Connection_rowsChanged@Base 2.11.2 Connection_setAvailable@Base 2.11.2 Connection_setMaxRows@Base 2.11.2 Connection_setQueryTimeout@Base 2.11.2 Exception_init@Base 2.11.2 Exception_stack@Base 2.11.2 Exception_throw@Base 2.11.2 Mem_alloc@Base 2.11.2 Mem_calloc@Base 2.11.2 Mem_free@Base 2.11.2 Mem_resize@Base 2.11.2 MemoryException@Base 2.11.2 MysqlConnection_beginTransaction@Base 2.11.2 MysqlConnection_commit@Base 2.11.2 MysqlConnection_execute@Base 2.11.2 MysqlConnection_executeQuery@Base 2.11.2 MysqlConnection_free@Base 2.11.2 MysqlConnection_getLastError@Base 2.11.2 MysqlConnection_lastRowId@Base 2.11.2 MysqlConnection_new@Base 2.11.2 MysqlConnection_onstop@Base 2.11.2 MysqlConnection_ping@Base 2.11.2 MysqlConnection_prepareStatement@Base 2.11.2 MysqlConnection_rollback@Base 2.11.2 MysqlConnection_rowsChanged@Base 2.11.2 MysqlConnection_setMaxRows@Base 2.11.2 MysqlConnection_setQueryTimeout@Base 2.11.2 MysqlPreparedStatement_execute@Base 2.11.2 MysqlPreparedStatement_executeQuery@Base 2.11.2 MysqlPreparedStatement_free@Base 2.11.2 MysqlPreparedStatement_new@Base 2.11.2 MysqlPreparedStatement_setBlob@Base 2.11.2 MysqlPreparedStatement_setDouble@Base 2.11.2 MysqlPreparedStatement_setInt@Base 2.11.2 MysqlPreparedStatement_setLLong@Base 2.11.2 MysqlPreparedStatement_setString@Base 2.11.2 MysqlResultSet_free@Base 2.11.2 MysqlResultSet_getBlob@Base 2.11.2 MysqlResultSet_getColumnCount@Base 2.11.2 MysqlResultSet_getColumnName@Base 2.11.2 MysqlResultSet_getColumnSize@Base 2.11.2 MysqlResultSet_getString@Base 2.11.2 MysqlResultSet_new@Base 2.11.2 MysqlResultSet_next@Base 2.11.2 PostgresqlConnection_beginTransaction@Base 2.11.2 PostgresqlConnection_commit@Base 2.11.2 PostgresqlConnection_execute@Base 2.11.2 PostgresqlConnection_executeQuery@Base 2.11.2 PostgresqlConnection_free@Base 2.11.2 PostgresqlConnection_getLastError@Base 2.11.2 PostgresqlConnection_lastRowId@Base 2.11.2 PostgresqlConnection_new@Base 2.11.2 PostgresqlConnection_onstop@Base 2.11.2 PostgresqlConnection_ping@Base 2.11.2 PostgresqlConnection_prepareStatement@Base 2.11.2 PostgresqlConnection_rollback@Base 2.11.2 PostgresqlConnection_rowsChanged@Base 2.11.2 PostgresqlConnection_setMaxRows@Base 2.11.2 PostgresqlConnection_setQueryTimeout@Base 2.11.2 PostgresqlPreparedStatement_execute@Base 2.11.2 PostgresqlPreparedStatement_executeQuery@Base 2.11.2 PostgresqlPreparedStatement_free@Base 2.11.2 PostgresqlPreparedStatement_new@Base 2.11.2 PostgresqlPreparedStatement_setBlob@Base 2.11.2 PostgresqlPreparedStatement_setDouble@Base 2.11.2 PostgresqlPreparedStatement_setInt@Base 2.11.2 PostgresqlPreparedStatement_setLLong@Base 2.11.2 PostgresqlPreparedStatement_setString@Base 2.11.2 PostgresqlResultSet_free@Base 2.11.2 PostgresqlResultSet_getBlob@Base 2.11.2 PostgresqlResultSet_getColumnCount@Base 2.11.2 PostgresqlResultSet_getColumnName@Base 2.11.2 PostgresqlResultSet_getColumnSize@Base 2.11.2 PostgresqlResultSet_getString@Base 2.11.2 PostgresqlResultSet_new@Base 2.11.2 PostgresqlResultSet_next@Base 2.11.2 PreparedStatement_execute@Base 2.11.2 PreparedStatement_executeQuery@Base 2.11.2 PreparedStatement_free@Base 2.11.2 PreparedStatement_new@Base 2.11.2 PreparedStatement_setBlob@Base 2.11.2 PreparedStatement_setDouble@Base 2.11.2 PreparedStatement_setInt@Base 2.11.2 PreparedStatement_setLLong@Base 2.11.2 PreparedStatement_setString@Base 2.11.2 ResultSet_free@Base 2.11.2 ResultSet_getBlob@Base 2.11.2 ResultSet_getBlobByName@Base 2.11.2 ResultSet_getColumnCount@Base 2.11.2 ResultSet_getColumnName@Base 2.11.2 ResultSet_getColumnSize@Base 2.11.2 ResultSet_getDouble@Base 2.11.2 ResultSet_getDoubleByName@Base 2.11.2 ResultSet_getInt@Base 2.11.2 ResultSet_getIntByName@Base 2.11.2 ResultSet_getLLong@Base 2.11.2 ResultSet_getLLongByName@Base 2.11.2 ResultSet_getString@Base 2.11.2 ResultSet_getStringByName@Base 2.11.2 ResultSet_new@Base 2.11.2 ResultSet_next@Base 2.11.2 SQLException@Base 2.11.2 SQLiteConnection_beginTransaction@Base 2.11.2 SQLiteConnection_commit@Base 2.11.2 SQLiteConnection_execute@Base 2.11.2 SQLiteConnection_executeQuery@Base 2.11.2 SQLiteConnection_free@Base 2.11.2 SQLiteConnection_getLastError@Base 2.11.2 SQLiteConnection_lastRowId@Base 2.11.2 SQLiteConnection_new@Base 2.11.2 SQLiteConnection_onstop@Base 2.11.2 SQLiteConnection_ping@Base 2.11.2 SQLiteConnection_prepareStatement@Base 2.11.2 SQLiteConnection_rollback@Base 2.11.2 SQLiteConnection_rowsChanged@Base 2.11.2 SQLiteConnection_setMaxRows@Base 2.11.2 SQLiteConnection_setQueryTimeout@Base 2.11.2 SQLitePreparedStatement_execute@Base 2.11.2 SQLitePreparedStatement_executeQuery@Base 2.11.2 SQLitePreparedStatement_free@Base 2.11.2 SQLitePreparedStatement_new@Base 2.11.2 SQLitePreparedStatement_setBlob@Base 2.11.2 SQLitePreparedStatement_setDouble@Base 2.11.2 SQLitePreparedStatement_setInt@Base 2.11.2 SQLitePreparedStatement_setLLong@Base 2.11.2 SQLitePreparedStatement_setString@Base 2.11.2 SQLiteResultSet_free@Base 2.11.2 SQLiteResultSet_getBlob@Base 2.11.2 SQLiteResultSet_getColumnCount@Base 2.11.2 SQLiteResultSet_getColumnName@Base 2.11.2 SQLiteResultSet_getColumnSize@Base 2.11.2 SQLiteResultSet_getString@Base 2.11.2 SQLiteResultSet_new@Base 2.11.2 SQLiteResultSet_next@Base 2.11.2 Str_cat@Base 2.11.2 Str_copy@Base 2.11.2 Str_dup@Base 2.11.2 Str_isByteEqual@Base 2.11.2 Str_isEqual@Base 2.11.2 Str_ndup@Base 2.11.2 Str_parseDouble@Base 2.11.2 Str_parseInt@Base 2.11.2 Str_parseLLong@Base 2.11.2 Str_startsWith@Base 2.11.2 Str_vcat@Base 2.11.2 StringBuffer_append@Base 2.11.2 StringBuffer_clear@Base 2.11.2 StringBuffer_create@Base 2.11.2 StringBuffer_free@Base 2.11.2 StringBuffer_length@Base 2.11.2 StringBuffer_new@Base 2.11.2 StringBuffer_prepare4oracle@Base 2.11.2 StringBuffer_prepare4postgres@Base 2.11.2 StringBuffer_toString@Base 2.11.2 StringBuffer_trim@Base 2.11.2 StringBuffer_vappend@Base 2.11.2 System_abort@Base 2.11.2 System_debug@Base 2.11.2 System_getError@Base 2.11.2 System_getLastError@Base 2.11.2 Time_milli@Base 2.11.2 Time_now@Base 2.11.2 Time_usleep@Base 2.11.2 URL_create@Base 2.11.2 URL_escape@Base 2.11.2 URL_free@Base 2.11.2 URL_getHost@Base 2.11.2 URL_getParameter@Base 2.11.2 URL_getParameterNames@Base 2.11.2 URL_getPassword@Base 2.11.2 URL_getPath@Base 2.11.2 URL_getPort@Base 2.11.2 URL_getProtocol@Base 2.11.2 URL_getQueryString@Base 2.11.2 URL_getUser@Base 2.11.2 URL_new@Base 2.11.2 URL_normalize@Base 2.11.2 URL_toString@Base 2.11.2 URL_unescape@Base 2.11.2 Vector_free@Base 2.11.2 Vector_get@Base 2.11.2 Vector_insert@Base 2.11.2 Vector_isEmpty@Base 2.11.2 Vector_map@Base 2.11.2 Vector_new@Base 2.11.2 Vector_pop@Base 2.11.2 Vector_push@Base 2.11.2 Vector_remove@Base 2.11.2 Vector_set@Base 2.11.2 Vector_size@Base 2.11.2 Vector_toArray@Base 2.11.2 ZBDEBUG@Base 2.11.2 assert@Base 2.11.2 mysqlcops@Base 2.11.2 mysqlpops@Base 2.11.2 mysqlrops@Base 2.11.2 postgresqlcops@Base 2.11.2 postgresqlpops@Base 2.11.2 postgresqlrops@Base 2.11.2 sqlite3cops@Base 2.11.2 sqlite3pops@Base 2.11.2 sqlite3rops@Base 2.11.2 debian/patches/0000775000000000000000000000000012211213415010607 5ustar debian/patches/series0000664000000000000000000000003212152702032012021 0ustar password.patch host.patch debian/patches/host.patch0000664000000000000000000000144012152702032012606 0ustar Index: libzdb-read-only/src/db/mysql/MysqlConnection.c =================================================================== --- libzdb-read-only.orig/src/db/mysql/MysqlConnection.c 2013-03-31 06:11:03.000000000 -0700 +++ libzdb-read-only/src/db/mysql/MysqlConnection.c 2013-03-31 06:12:40.000000000 -0700 @@ -102,8 +102,8 @@ password = URL_getParameter(url, "password"); if (unix_socket) { host = "localhost"; // Make sure host is localhost if unix socket is to be used - } else if (! (host = URL_getHost(url))) - ERROR("no host specified in URL"); + } else + host = URL_getHost(url); if ((port = URL_getPort(url)) <= 0) ERROR("no port specified in URL"); if (! (database = URL_getPath(url))) debian/patches/password.patch0000664000000000000000000000153112152702032013474 0ustar Index: libzdb-read-only/src/db/mysql/MysqlConnection.c =================================================================== --- libzdb-read-only.orig/src/db/mysql/MysqlConnection.c 2013-03-30 18:23:56.000000000 -0700 +++ libzdb-read-only/src/db/mysql/MysqlConnection.c 2013-03-30 18:24:12.000000000 -0700 @@ -99,8 +99,7 @@ if (! (user = URL_getParameter(url, "user"))) ERROR("no username specified in URL"); if (! (password = URL_getPassword(url))) - if (! (password = URL_getParameter(url, "password"))) - ERROR("no password specified in URL"); + password = URL_getParameter(url, "password"); if (unix_socket) { host = "localhost"; // Make sure host is localhost if unix socket is to be used } else if (! (host = URL_getHost(url)))