--- lua-logging-1.1.4.orig/debian/Makefile.Debian.conf
+++ lua-logging-1.1.4/debian/Makefile.Debian.conf
@@ -0,0 +1,19 @@
+PKG_NAME=logging
+
+### things relative to the lua library part
+LUA_HEADER=
+LUA_SOURCES=src/logging
+LUA_MODNAME=logging
+LUA_TEST=tests/testConsole.lua
+
+### In addition, to gather flexibility, you can set these hooks
+### (called in this order)
+pre-all-hook::
+	cd src/logging/;ln -s logging.lua init.lua
+pre-test-hook::
+	ln -s src/logging/init.lua logging.lua
+	ln -s src/logging/ .
+pre-clean-hook::
+	rm src/logging/init.lua
+	rm logging
+
--- lua-logging-1.1.4.orig/debian/liblua5.1-logging-dev.docs
+++ lua-logging-1.1.4/debian/liblua5.1-logging-dev.docs
@@ -0,0 +1,2 @@
+doc/us/
+doc/br/
--- lua-logging-1.1.4.orig/debian/watch
+++ lua-logging-1.1.4/debian/watch
@@ -0,0 +1,6 @@
+# test this watch file using:
+# uscan --watchfile debian/watch --upstream-version 0.0.1 --package lualogging
+#
+version=3
+http://luaforge.net/frs/?group_id=51 \
+	/frs/download.php/\d+/lualogging-([\d\.]*).tar.gz
--- lua-logging-1.1.4.orig/debian/control
+++ lua-logging-1.1.4/debian/control
@@ -0,0 +1,23 @@
+Source: lua-logging
+Section: interpreters
+Priority: optional
+Maintainer: Enrico Tassi <gareuselesinge@debian.org>
+Build-Depends: lua5.1-policy-dev (>= 8), cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch
+Standards-Version: 3.7.2
+Homepage: http://www.luaforge.net/projects/lualogging
+XS-X-Vcs-svn: svn://svn.debian.org/pkg-lua/packages/lua-logging
+
+Package: liblua5.1-logging
+Architecture: all
+Depends: ${shlibs:Depends}
+Recommends: liblua5.1-sql-sqlite2 | liblua5.1-sql-mysql2, liblua5.1-socket2
+Description: lualogging library for the lua language version 5.1
+ This package contains the lua logging facility library, with backends for
+ console, file, SQL, mail, socket. SQL and mail/socket support are available
+ only installing respectively liblua5.1-sql* and liblua5.1-socket* pakcages.
+
+Package: liblua5.1-logging-dev
+Architecture: all
+Depends: ${shlibs:Depends}
+Description: Documentation files for the lualogging library for the lua language version 5.1
+ This package contains the lua logging facility library documentation files.
--- lua-logging-1.1.4.orig/debian/patches/00dpatch.conf
+++ lua-logging-1.1.4/debian/patches/00dpatch.conf
@@ -0,0 +1,2 @@
+conf_debianonly=1
+conf_origtargzpath=../tarballs/
--- lua-logging-1.1.4.orig/debian/copyright
+++ lua-logging-1.1.4/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Enrico Tassi <gareuselesinge@debian.org>
+Thu Aug 23 20:29:45 CEST 2006.
+
+It was downloaded from http://luaforge.net/projects/lualogging/.
+
+
+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.
+
--- lua-logging-1.1.4.orig/debian/changelog
+++ lua-logging-1.1.4/debian/changelog
@@ -0,0 +1,18 @@
+lua-logging (1.1.4-1) unstable; urgency=low
+
+  * New upstream release, not API change
+  * Added Homepage field in control file 
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Wed, 31 Oct 2007 12:54:50 +0100
+
+lua-logging (1.1.3-2) unstable; urgency=low
+
+  * Fixed FTBFS (missing symlink to the .lua in $PWD) (Closes: #442976)
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Tue, 18 Sep 2007 09:50:41 +0100
+
+lua-logging (1.1.3-1) unstable; urgency=low
+
+  * Initial release. (Closes: #439085)
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Fri, 17 Aug 2007 11:58:35 +0200
--- lua-logging-1.1.4.orig/debian/rules
+++ lua-logging-1.1.4/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	
