--- lua-curl-0.3.0.orig/debian/Makefile.Debian.conf +++ lua-curl-0.3.0/debian/Makefile.Debian.conf @@ -0,0 +1,29 @@ +### $Id: Makefile.conf.sample 106 2006-08-23 14:53:47Z gareuselesinge $ + +PKG_NAME=curl + +### things relative to the C library part +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 +VERSION_INFO=0:0:0 + +### things relative to the lua library part +LUA_HEADER=lua-curl.h +LUA_SOURCES= +LUA_MODNAME=curl +LUA_TEST=test.lua + +### this part is relative to pkg-config +PKG_VERSION=$(shell dpkg-parsechangelog|grep ^Ver|cut -d ' ' -f 2|cut -d '-' -f 1) +PKG_LIBS_PRIVATE= +PKG_URL=http://luaforge.net/projects/luacurl/ +PKG_REQUIRES=libcurl +PKG_CONFLICTS= + +### In addition, to gather flexibility, you can set these hooks +### (called in this order) +pre-all-hook:: + $(MAKE) -f Makefile constants +post-clean-hook:: + $(MAKE) -f Makefile clean --- lua-curl-0.3.0.orig/debian/watch +++ lua-curl-0.3.0/debian/watch @@ -0,0 +1,6 @@ +# 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 --- lua-curl-0.3.0.orig/debian/liblua5.1-curl-dev.docs +++ lua-curl-0.3.0/debian/liblua5.1-curl-dev.docs @@ -0,0 +1 @@ +doc/curl.html --- lua-curl-0.3.0.orig/debian/copyright +++ lua-curl-0.3.0/debian/copyright @@ -0,0 +1,50 @@ +This package was debianized by Enrico Tassi +Thu Aug 17 20:00:49 CEST 2006. + +It was downloaded from http://luaforge.net/projects/luacurl/. + +Copyright Holder: Enrico Tassi + +This software is distributed under GPL or MIT license at your option. +Both disclaimers follow. + +Copyright (C) 2003-2006 Enrico Tassi. + + 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'. + + +Copyright (C) 2003-2006 Enrico Tassi. + +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. + --- lua-curl-0.3.0.orig/debian/rules +++ lua-curl-0.3.0/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +DEB_MAKE_BUILD_TARGET := all -f Makefile.Debian +DEB_MAKE_CHECK_TARGET := test -f Makefile.Debian +DEB_MAKE_CLEAN_TARGET := clean -f Makefile.Debian +DEB_MAKE_INSTALL_TARGET := install -f Makefile.Debian DESTDIR=$(DEB_DESTDIR) +DEB_DH_INSTALL_SOURCEDIR := $(DEB_DESTDIR) +pre-build:: + lua5.1-policy-apply +clean:: + lua5.1-policy-apply --reverse --- lua-curl-0.3.0.orig/debian/changelog +++ lua-curl-0.3.0/debian/changelog @@ -0,0 +1,70 @@ +lua-curl (0.3.0-2~ppa1~jaunty) jaunty; urgency=low + + * PPA Release + + -- Marco Giorgi Wed, 29 Jul 2009 15:12:16 +0100 + +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 --- lua-curl-0.3.0.orig/debian/control +++ lua-curl-0.3.0/debian/control @@ -0,0 +1,28 @@ +Source: lua-curl +Section: interpreters +Priority: optional +Maintainer: Marco Giorgi +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch, libcurl4-gnutls-dev (>= 7.15.0-2), lua5.1-policy-dev (>= 8) +Standards-Version: 3.8.0 +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: liblua5.1-curl0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +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: liblua5.1-curl-dev +Architecture: any +Section: libdevel +Depends: liblua5.1-curl0 (= ${binary:Version}), ${misc:Depends} +Description: libcURL development files for the lua language version 5.1 + This package contains the development files of the libcURL lua5.1 bindings, + useful to create a statically linked binary (like a C application or a + standalone lua interpreter). + Documentation is also shipped within this package. --- lua-curl-0.3.0.orig/debian/patches/test.dpatch +++ lua-curl-0.3.0/debian/patches/test.dpatch @@ -0,0 +1,14 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## test.dpatch by Enrico Tassi +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: make the test work + +@DPATCH@ +diff -urNad trunk~/test.lua trunk/test.lua +--- trunk~/test.lua 2006-08-24 14:17:45.000000000 +0200 ++++ trunk/test.lua 2006-12-21 15:59:38.000000000 +0100 +@@ -1,2 +1,3 @@ ++require "curl" + print(curl.version()) + table.foreach(package.loaded,print) --- lua-curl-0.3.0.orig/debian/patches/00list +++ lua-curl-0.3.0/debian/patches/00list @@ -0,0 +1 @@ +test.dpatch --- lua-curl-0.3.0.orig/debian/patches/00dpatch.conf +++ lua-curl-0.3.0/debian/patches/00dpatch.conf @@ -0,0 +1,2 @@ +conf_debianonly=1 +conf_origtargzpath=../tarballs/