debian/0000755000000000000000000000000012216365516007175 5ustar debian/lua5.1.sqlite3.dh-lua.conf0000644000000000000000000000077112216365516013612 0ustar PKG_NAME=sql.sqlite3 CLIB_CFLAGS=$(shell pkg-config sqlite3 --cflags) CLIB_LDFLAGS=$(shell pkg-config sqlite3 --libs) CLIB_OBJS=src/luasql.lo src/ls_sqlite3.lo LUA_HEADER= LUA_SOURCES= LUA_MODNAME=luasql.sqlite3 LUA_TEST=rm -f luasql-test && @@LUA@@ tests/test.lua sqlite3 luasql-test && rm -f luasql-test PKG_VERSION=$(shell dpkg-parsechangelog|grep ^Ver|cut -d ' ' -f 2|cut -d '-' -f 1) PKG_LIBS_PRIVATE= PKG_URL= PKG_REQUIRES=sqlite3 PKG_CONFLICTS= # retrocompatibility stuff VERSION_INFO=2:0:0 debian/lua5.1.pgsql.dh-lua.conf0000644000000000000000000000072212216365516013350 0ustar PKG_NAME=sql.postgres CLIB_CFLAGS=-I$(shell pg_config --includedir-server) -I$(shell pg_config --includedir) CLIB_LDFLAGS=-lpq CLIB_OBJS=src/luasql.lo src/ls_postgres.lo LUA_HEADER= LUA_SOURCES= LUA_MODNAME=luasql.postgres #LUA_TEST=tests/test.lua mysql database user password PKG_VERSION=$(shell dpkg-parsechangelog|grep ^Ver|cut -d ' ' -f 2|cut -d '-' -f 1) PKG_LIBS_PRIVATE= PKG_URL= PKG_REQUIRES= PKG_CONFLICTS= # retrocompatibility stuff VERSION_INFO=2:0:0 debian/lua-sql-doc.docs0000644000000000000000000000001612216365516012165 0ustar doc/us doc/br debian/watch0000644000000000000000000000027112216365516010226 0ustar # test this watch file using: # uscan --watchfile debian/watch --upstream-version 0.0.1 --package lua-sql # version=3 https://github.com/keplerproject/luasql/tags .*/tarball/v([\d\.]+) debian/rules0000755000000000000000000000007312216365516010255 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=lua --with lua debian/compat0000644000000000000000000000000212216365516010373 0ustar 8 debian/lua5.2.mysql.dh-lua.conf0000777000000000000000000000000012216365516017555 2lua5.1.mysql.dh-lua.confustar debian/lua5.2.pgsql.dh-lua.conf0000777000000000000000000000000012216365516017517 2lua5.1.pgsql.dh-lua.confustar debian/source/0000755000000000000000000000000012216365516010475 5ustar debian/source/format0000644000000000000000000000001412216365516011703 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000723012216365516011051 0ustar lua-sql (2.3.0-3) unstable; urgency=low * Fix compilation with postgresql 9.3 -- Enrico Tassi Wed, 18 Sep 2013 20:04:39 +0200 lua-sql (2.3.0-2) unstable; urgency=low * Packaging moved to git * Transitional packages removed -- Enrico Tassi Thu, 24 May 2012 18:00:04 +0200 lua-sql (2.3.0-1) unstable; urgency=low * New upstream release * Fix watch file -- Enrico Tassi Mon, 30 Apr 2012 16:26:50 +0200 lua-sql (2.2.0+45+g68e30fc-1) experimental; urgency=low * New upstram snapshot with lua 5.2 support * Switch to dh-lua * debian/compat set to 8 * Packages renamed according to the new Lua policy * copyright format 1.0 * disable patches/test * watch file updated -- Enrico Tassi Mon, 30 Apr 2012 16:16:45 +0200 lua-sql (2.2.0~rc1-5) unstable; urgency=low * build-dep on libmysqlclient-dev instead of libmysqlclient15-dev (Closes: #650597) -- Enrico Tassi Sat, 03 Dec 2011 14:59:34 +0100 lua-sql (2.2.0~rc1-4) unstable; urgency=low * multi-arch compliant (dh >= 8.1.3, lua5.1-policy >= 32) -- Enrico Tassi Wed, 20 Jul 2011 23:22:55 +0200 lua-sql (2.2.0~rc1-3) unstable; urgency=low * Rebuild against lua5.1-policy-dev >= 27 to get rid of .la (Closes: #622500) * Update Standards-version to 3.9.2, no changes * Version 3.0 (quilt) -- Enrico Tassi Sat, 23 Apr 2011 21:19:56 +0200 lua-sql (2.2.0~rc1-2) unstable; urgency=low * changed lua to Lua in package description * build depend on lua5.1-policy-dev >= 22 * bumped standards version to 3.8.2, no changes needed -- Enrico Tassi Tue, 21 Jul 2009 14:00:34 +0200 lua-sql (2.2.0~rc1-1) unstable; urgency=low * New upstream release candidate -- Enrico Tassi Sat, 19 Apr 2008 11:57:25 +0200 lua-sql (2.1.1-4) unstable; urgency=low * Activated postgres backend -- Enrico Tassi Fri, 22 Feb 2008 18:14:56 +0100 lua-sql (2.1.1-3) unstable; urgency=low * the tests on hppa terminates with a os.exit(0) that essentially skips dlclosing the sqlite bindings. This is a bug, probably outside the binding itself. * added Vcs-Browser and removed XS-X- from Vcs-Svn * fixed description of the -doc package * updated to standards-version 3.7.3, no changes needed * fixed some lintian warnings regarding sections of -dev and -doc packages. -- Enrico Tassi Sun, 13 Jan 2008 18:16:58 +0100 lua-sql (2.1.1-2) unstable; urgency=low * Added Homepage field in control file * Renamed package to reflect sqlite3 migration -- Enrico Tassi Tue, 30 Oct 2007 15:07:32 +0100 lua-sql (2.1.1-1) unstable; urgency=low * Renamed cdbs deprecated variable * New upstream release -- Enrico Tassi Tue, 30 Oct 2007 10:54:36 +0100 lua-sql (2.0.2-3) unstable; urgency=low * Updated to policy 10 and added clean hook to remove sqlite test db (Closes: #424555) -- Enrico Tassi Wed, 16 May 2007 15:57:12 +0200 lua-sql (2.0.2-2) unstable; urgency=low * made control file binNMU safe * Added a note about the documentation shipped within the -dev package in the control file * Added call to lua5.1-policy-apply --reverse in clean:: hook -- Enrico Tassi Mon, 16 Oct 2006 10:54:05 +0200 lua-sql (2.0.2-1) unstable; urgency=low * Initial release. (Closes: #392120) -- Enrico Tassi Tue, 10 Oct 2006 15:28:33 +0200 debian/copyright0000644000000000000000000000232212216365516011127 0ustar This package was debianized by Enrico Tassi Thu Oct 4 17:39:03 CEST 2006. It was downloaded from http://luaforge.net/projects/luasql/. Copyright © 2003-2006 The Kepler Project. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 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/control0000644000000000000000000000567312216365516010613 0ustar Source: lua-sql Section: interpreters Priority: optional Maintainer: Enrico Tassi Build-Depends: debhelper (>= 8.1.3), dh-lua, libmysqlclient-dev, libsqlite3-dev, libpq-dev Standards-Version: 3.9.3 Vcs-Svn: svn://svn.debian.org/pkg-lua/packages/lua-sql Vcs-Browser: http://svn.debian.org/viewsvn/pkg-lua/packages/lua-sql Homepage: https://github.com/keplerproject/luasql Package: lua-sql-sqlite3 Architecture: any Multi-Arch: same Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends} Provides: ${lua:Provides} XB-Lua-Versions: ${lua:Versions} Description: luasql library for the Lua language This package contains the luasql library (Sqlite3 backend). Package: lua-sql-sqlite3-dev Architecture: any Multi-Arch: same Pre-Depends: multiarch-support Depends: lua-sql-sqlite3 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Section: libdevel Provides: ${lua:Provides} XB-Lua-Versions: ${lua:Versions} Description: luasql development files for the Lua language This package contains the development files of the luasql library (Sqlite3 backend), useful to create a statically linked binary (like a C application or a standalone Lua interpreter). Package: lua-sql-postgres Architecture: any Multi-Arch: same Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends} Provides: ${lua:Provides} XB-Lua-Versions: ${lua:Versions} Description: luasql library for the Lua language This package contains the luasql library (PostgreSQL backend). Package: lua-sql-postgres-dev Architecture: any Multi-Arch: same Pre-Depends: multiarch-support Section: libdevel Depends: lua-sql-postgres (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Provides: ${lua:Provides} XB-Lua-Versions: ${lua:Versions} Description: luasql development files for the Lua language This package contains the development files of the luasql library (PostgreSQL backend), useful to create a statically linked binary (like a C application or a standalone Lua interpreter). Package: lua-sql-mysql Architecture: any Multi-Arch: same Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends} Provides: ${lua:Provides} XB-Lua-Versions: ${lua:Versions} Description: luasql library for the Lua language This package contains the luasql library (MySQL backend). Package: lua-sql-mysql-dev Architecture: any Multi-Arch: same Pre-Depends: multiarch-support Depends: lua-sql-mysql (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Section: libdevel Provides: ${lua:Provides} XB-Lua-Versions: ${lua:Versions} Description: luasql development files for the Lua language This package contains the development files of the luasql library (MySQL backend), useful to create a statically linked binary (like a C application or a standalone Lua interpreter). Package: lua-sql-doc Architecture: all Section: doc Depends: ${misc:Depends} Description: luasql documentation This package contains the documentation of the luasql library. debian/lua5.2.sqlite3.dh-lua.conf0000777000000000000000000000000012216365516020213 2lua5.1.sqlite3.dh-lua.confustar debian/patches/0000755000000000000000000000000012216365516010624 5ustar debian/patches/series0000644000000000000000000000001412216365516012034 0ustar #test.patch debian/patches/test.patch0000644000000000000000000000070312216365516012624 0ustar Author: Enrico Tassi Description: do an os.exit(0) at the very end to skip dlclose --- lua-sql-2.2.0~rc1.orig/tests/test.lua +++ lua-sql-2.2.0~rc1/tests/test.lua @@ -614,3 +614,11 @@ io.write (" OK !\n") end +p = io.popen('dpkg-architecture -qDEB_HOST_ARCH','r') +d = p:read('*all') +if d == 'hppa\n' then + -- on hppa dlclose fails + print("We are running on hppa, dlclose skipped") + os.exit(0) +end + debian/lua5.1.mysql.dh-lua.conf0000644000000000000000000000066412216365516013374 0ustar PKG_NAME=sql.mysql CLIB_CFLAGS=$(shell mysql_config --cflags) CLIB_LDFLAGS=$(shell mysql_config --libs) CLIB_OBJS=src/luasql.lo src/ls_mysql.lo LUA_HEADER= LUA_SOURCES= LUA_MODNAME=luasql.mysql #LUA_TEST=tests/test.lua mysql database user password PKG_VERSION=$(shell dpkg-parsechangelog|grep ^Ver|cut -d ' ' -f 2|cut -d '-' -f 1) PKG_LIBS_PRIVATE= PKG_URL= PKG_REQUIRES= PKG_CONFLICTS= #retrocompatibility stuff VERSION_INFO=2:0:0