debian/0000755000000000000000000000000011761476321007176 5ustar debian/lua-curl-dev.docs0000644000000000000000000000001611752700237012341 0ustar doc/curl.html debian/rules0000755000000000000000000000031511752700237010251 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=lua --with lua override_dh_auto_clean: $(MAKE) -f Makefile clean dh_auto_clean override_dh_auto_configure: $(MAKE) -f Makefile constants dh_auto_configure debian/source/0000755000000000000000000000000011761476021010473 5ustar debian/source/format0000644000000000000000000000001411530215422011667 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011761476021010622 5ustar debian/patches/series0000644000000000000000000000002611530215422012023 0ustar test.patch make.patch debian/patches/make.patch0000644000000000000000000000127011761475710012564 0ustar Author: Enrico Tassi Description: fix regex to get auth options from curl.h Index: lua-curl-0.3.0/Makefile =================================================================== --- lua-curl-0.3.0.orig/Makefile 2008-10-25 17:26:26.000000000 +0200 +++ lua-curl-0.3.0/Makefile 2012-05-30 21:57:54.000000000 +0200 @@ -119,8 +119,8 @@ > curl_netrcopt.h curl_authopt.h:$(HEADER) - $(H)cat $(HEADER) | grep "CURLAUTH_" | \ - sed "s/#define *CURL/{\"/" | sed "s/ *\/\*.*\*\///" | \ + $(H)cat $(HEADER) | grep "define *CURLAUTH_" | \ + sed "s/#define *CURL/{\"/" | sed "s/ *\/\*.*//" | \ sed "s/ /\",/" | sed "s/$$/},/" > curl_authopt.h curl_ftpauthopt.h:$(HEADER) debian/patches/test.patch0000644000000000000000000000036111530215422012610 0ustar Author: Enrico Tassi Description: make the test work --- lua-curl-0.3.0.orig/test.lua +++ lua-curl-0.3.0/test.lua @@ -1,2 +1,3 @@ +curl = require "curl" print(curl.version()) table.foreach(package.loaded,print) debian/copyright0000644000000000000000000000421211752700237011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: lua-curl Upstream-Contact: Enrico Tassi Source: http://luaforge.net/projects/luacurl/. Files: * Copyright: 2003-2006 Enrico Tassi. License: GPL2 or MIT License: GPL2 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 2 of the License, or (at your option) any later version. . This program 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. License: MIT 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/changelog0000644000000000000000000000621411761476010011046 0ustar lua-curl (0.3.0-7) unstable; urgency=low * Fix Makefile to generate curl_authopt.h in a proper way -- Enrico Tassi Thu, 10 May 2012 10:52:01 +0200 lua-curl (0.3.0-6) unstable; urgency=low * Switch to dh-lua * Packages renamed according to the new Lua policy * bumped standards-version to 3.9.3, no changes * debian/compat set to 8 * Copyright format 1.0 -- Enrico Tassi Thu, 10 May 2012 10:43:44 +0200 lua-curl (0.3.0-5) unstable; urgency=low * buped standards-version to 3.9.2, no change needed * multi-arch compliant (dh >= 8.1.3, lua5.1-policy >= 32) -- Enrico Tassi Wed, 20 Jul 2011 22:28:09 +0200 lua-curl (0.3.0-4) unstable; urgency=low * source format 3.0 quilt * add make.patch to fix compilation with recent curl headers * buped standards-version to 3.9.1, depend on liblua5.1-policy-dev >= 27 -- Enrico Tassi Sun, 20 Feb 2011 14:45:06 +0100 lua-curl (0.3.0-3) unstable; urgency=low * changed lua to Lua * build-depend on lua5.1-policy-dev >= 22 * buped standards-version to 3.8.2, no change needed -- Enrico Tassi Tue, 21 Jul 2009 15:46:58 +0200 lua-curl (0.3.0-2) unstable; urgency=low * upload to unstable * standards version bumped to 3.8.1, no changes needed -- Enrico Tassi Sun, 15 Mar 2009 10:08:46 +0100 lua-curl (0.3.0-1) experimental; urgency=low * New upstream release -- Enrico Tassi Sat, 25 Oct 2008 18:38:54 +0200 lua-curl (0.2.1-3) unstable; urgency=low * Renamed cdbs deprecated variable * Bumped standards versions * Added Homepage control field * Fixed package description * Updated Vcs-* fields * Moved -dev package to Section libdevel * Commented test.dpatch to make lintian happy -- Enrico Tassi Sat, 22 Mar 2008 21:24:05 +0100 lua-curl (0.2.1-2) unstable; urgency=low * Made control file binNMU safe -- Enrico Tassi Sun, 13 May 2007 21:06:39 +0200 lua-curl (0.2.1-1) unstable; urgency=low * New upstream release that fixes large file support (Closes: #410360) * Added a note about the documentation shipped within the -dev package in the control file (Closes: #410005) * Added conmpilation flags for large file support * Added call to `lua5.1-policy-apply -r` to the clean:: hook -- Enrico Tassi Thu, 15 Feb 2007 17:11:54 +0100 lua-curl (0.2.0-4) unstable; urgency=low * Moved to lua5.1-policy version 7 -- Enrico Tassi Fri, 13 Oct 2006 13:31:59 +0200 lua-curl (0.2.0-3) unstable; urgency=low * added XS-X-Vcs-svn field to control file. -- Enrico Tassi Sun, 10 Sep 2006 14:44:40 +0200 lua-curl (0.2.0-2) unstable; urgency=low * Fixed a typo in the package description. -- Enrico Tassi Sun, 10 Sep 2006 14:33:47 +0200 lua-curl (0.2.0-1) unstable; urgency=low * Initial release. (Closes: #383798) -- Enrico Tassi Thu, 17 Aug 2006 20:15:23 +0200 debian/compat0000644000000000000000000000000211752700237010370 0ustar 8 debian/control0000644000000000000000000000411211752700237010573 0ustar Source: lua-curl Section: interpreters Priority: optional Maintainer: Enrico Tassi Build-Depends: debhelper (>= 8.1.3), libcurl4-gnutls-dev (>= 7.15.0-2), dh-lua Standards-Version: 3.9.3 Vcs-Svn: svn://svn.debian.org/pkg-lua/packages/lua-curl Vcs-Browser: http://svn.debian.org/viewsvn/pkg-lua/packages/lua-curl Homepage: http://www.luaforge.net/projects/luacurl Package: lua-curl Architecture: any Multi-Arch: same Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: liblua5.1-curl0 (<< 0.3.0-6~) Breaks: liblua5.1-curl0 (<< 0.3.0-6~) Provides: liblua5.1-curl0, ${lua:Provides} XB-Lua-Versions: ${lua:Versions} Description: libcURL bindings for the Lua language version 5.1 This package contains the bindings for the cURL library. Currently many different implementations of cURL bindings are available, this package includes the one developed for the FreePOPs project (see ). Package: lua-curl-dev Architecture: any Multi-Arch: same Pre-Depends: multiarch-support Section: libdevel Depends: lua-curl (= ${binary:Version}), ${misc:Depends} Replaces: liblua5.1-curl-dev (<< 0.3.0-6~) Breaks: liblua5.1-curl-dev (<< 0.3.0-6~) Provides: liblua5.1-curl-dev, ${lua:Provides} XB-Lua-Versions: ${lua:Versions} Description: libcURL development files for the Lua language This package contains the development files of the libcURL Lua bindings, useful to create a statically linked binary (like a C application or a standalone Lua interpreter). . Documentation is also shipped within this package. Package: liblua5.1-curl0 Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, lua-curl Description: Transitional package for lua-curl This is a transitional package to ease upgrades to the lua-curl package. It can safely be removed. Package: liblua5.1-curl-dev Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, lua-curl-dev Description: Transitional package for lua-curl-dev This is a transitional package to ease upgrades to the lua-curl-dev package. It can safely be removed. debian/watch0000644000000000000000000000033310537036313010217 0ustar # test this watch file using: # uscan --watchfile debian/watch --upstream-version 0.0.1 --package luacurl # version=3 http://luaforge.net/frs/?group_id=117 \ /frs/download.php/\d+/freepops-luacurl-source-([\d\.]*).tgz debian/dh-lua.conf0000644000000000000000000000046411752700237011217 0ustar LUA_VERSION=5.1 PKG_NAME=curl CLIB_CFLAGS= $(shell curl-config --cflags 2>/dev/null) $(shell getconf LFS_CFLGAS) CLIB_LDFLAGS= $(shell curl-config --libs 2>/dev/null) $(shell getconf LFS_LIBS) CLIB_OBJS= lua-curl.lo luabind.lo LUA_HEADER=lua-curl.h LUA_MODNAME=curl LUA_TEST=test.lua PKG_REQUIRES=libcurl