--- confuse-2.6.orig/debian/libconfuse0.shlibs
+++ confuse-2.6/debian/libconfuse0.shlibs
@@ -0,0 +1 @@
+libconfuse 0 libconfuse0 (>= 2.5-1)
--- confuse-2.6.orig/debian/copyright
+++ confuse-2.6/debian/copyright
@@ -0,0 +1,27 @@
+This package was debianized by Aurelien Jarno <aurel32@debian.org> on
+Tue, 30 Mar 2004 14:01:27 +0200.
+
+It was downloaded from http://www.nongnu.org/confuse/
+
+Upstream Author: Martin Hedenfalk <mhe@home.se> 
+
+Copyright:
+
+Copyright (c) 2002-2003, Martin Hedenfalk <mhe@home.se>
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library 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
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA 
+
+On Debian GNU/Linux systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'
--- confuse-2.6.orig/debian/compat
+++ confuse-2.6/debian/compat
@@ -0,0 +1 @@
+4
--- confuse-2.6.orig/debian/libconfuse-dev.doc-base.tutorial
+++ confuse-2.6/debian/libconfuse-dev.doc-base.tutorial
@@ -0,0 +1,21 @@
+Document: libconfuse-tutorial
+Title: The libConfuse Tutorial
+Author: Martin Hedenfalk
+Abstract: 
+ This tutorial explains how to introduce libConfuse in an 
+ existing program.
+ .
+ libConfuse is a configuration file parser library written in C. It
+ supports sections and (lists of) values (strings, integers, floats,
+ booleans or other sections), as well as some other features (such as
+ single/double-quoted strings, environment variable expansion, functions
+ and nested include statements).
+ .
+ It makes it very easy to add configuration file capability to a
+ program using a simple API.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libconfuse-dev/tutorial-html/index.html
+Files: /usr/share/doc/libconfuse-dev/tutorial-html/*
+
--- confuse-2.6.orig/debian/libconfuse-dev.examples
+++ confuse-2.6/debian/libconfuse-dev.examples
@@ -0,0 +1,2 @@
+examples/*.c
+examples/*.conf
--- confuse-2.6.orig/debian/libconfuse-dev.manpages
+++ confuse-2.6/debian/libconfuse-dev.manpages
@@ -0,0 +1,4 @@
+doc/man/man3/cfg_opt_t.3
+doc/man/man3/cfg_t.3
+doc/man/man3/cfg_value_t.3
+doc/man/man3/confuse.h.3
--- confuse-2.6.orig/debian/rules
+++ confuse-2.6/debian/rules
@@ -0,0 +1,110 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -Wno-unused -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+	dh_testdir
+
+	-test -r /usr/share/misc/config.sub && \
+	cp -f /usr/share/misc/config.sub support/config.sub
+	-test -r /usr/share/misc/config.guess && \
+	cp -f /usr/share/misc/config.guess support/config.guess
+	
+	CFLAGS="$(CFLAGS)" ./configure \
+			--enable-shared \
+			--host=$(DEB_HOST_GNU_TYPE) \
+			--build=$(DEB_BUILD_GNU_TYPE) \
+			--prefix=/usr \
+			--mandir=\$${prefix}/share/man \
+			--infodir=\$${prefix}/share/info
+
+build: build-stamp
+build-stamp:  config.status
+	dh_testdir
+
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f support/config.sub support/config.guess
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+        # Move all files in their corresponding package
+	dh_install -s --list-missing --sourcedir=debian/tmp
+
+	# Install documentation
+	cp -R $(CURDIR)/doc/html $(CURDIR)/debian/libconfuse-dev/usr/share/doc/libconfuse-dev/
+	cp -R $(CURDIR)/doc/tutorial-html $(CURDIR)/debian/libconfuse-dev/usr/share/doc/libconfuse-dev/
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs NEWS
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+	dh_makeshlibs -V
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- confuse-2.6.orig/debian/control
+++ confuse-2.6/debian/control
@@ -0,0 +1,35 @@
+Source: confuse
+Section: libs
+Priority: optional
+Maintainer: Aurelien Jarno <aurel32@debian.org>
+Build-Depends: debhelper (>= 4.0.0), autotools-dev, pkg-config
+Standards-Version: 3.7.3
+Homepage: http://www.nongnu.org/confuse/
+Uploaders: Christoph Berg <myon@debian.org>
+
+Package: libconfuse0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Library for parsing configuration files
+ libConfuse is a configuration file parser library written in C. It
+ supports sections and (lists of) values (strings, integers, floats, 
+ booleans or other sections), as well as some other features (such as
+ single/double-quoted strings, environment variable expansion, functions
+ and nested include statements).
+ .
+ It makes it very easy to add configuration file capability to a
+ program using a simple API. 
+ .
+  Author: Martin Hedenfalk <mhe@home.se>
+
+Package: libconfuse-dev
+Section: libdevel
+Architecture: any
+Depends: libconfuse0 (= ${binary:Version})
+Description: Development files for libConfuse
+ This package contains the header files and static library needed to
+ compile applications that use confuse.
+ .
+  Author: Martin Hedenfalk <mhe@home.se>
+  
--- confuse-2.6.orig/debian/changelog
+++ confuse-2.6/debian/changelog
@@ -0,0 +1,67 @@
+confuse (2.6-2~bpo40+2) etch-backports; urgency=low
+
+  * Add myself to Uploaders for backport tracking.
+
+ -- Christoph Berg <myon@debian.org>  Mon, 07 Apr 2008 12:26:20 +0200
+
+confuse (2.6-2~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for Etch backports.
+  * Needed for backporting awesome.
+
+ -- Christoph Berg <myon@debian.org>  Thu, 20 Mar 2008 00:45:33 +0100
+
+confuse (2.6-2) unstable; urgency=low
+
+  * Use -Wno-usused to get this package buildable with gcc-4.3 (closes:
+    bug#462697).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sun, 27 Jan 2008 00:54:53 +0100
+
+confuse (2.6-1) unstable; urgency=low
+
+  * New upstream version. 
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sat, 29 Dec 2007 21:33:17 +0100
+
+confuse (2.5-3) unstable; urgency=low
+
+  * Make the package binNMU safe. 
+
+ -- Aurelien Jarno <aurel32@debian.org>  Mon,  5 Mar 2007 21:24:10 +0100
+
+confuse (2.5-2) unstable; urgency=low
+
+  * Correctly handle parameters with double quotes and backslash.  Thanks
+    to Raphaël Hertzog for the patch (closes: bug#374875).
+  * Bumped Standards-Version to 3.7.2 (no changes).
+  * debian/copyright: updated FSF address.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sun,  9 Jul 2006 13:01:58 +0200
+
+confuse (2.5-1) unstable; urgency=low
+
+  * First upload of the year. Happy New Year!
+  * New upstream version.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sat,  1 Jan 2005 13:20:44 +0100
+
+confuse (2.4-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sun, 26 Sep 2004 21:52:20 +0200
+
+confuse (2.3-1) unstable; urgency=low
+
+  * New upstream version.
+  * Bumped Standards-Version to 3.6.1 (no changes).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Mon,  2 Aug 2004 15:02:25 +0200
+
+confuse (2.2-1) unstable; urgency=low
+
+  * Initial Release (closes: bug#241095).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Wed, 31 Mar 2004 00:24:58 +0200
+
--- confuse-2.6.orig/debian/docs
+++ confuse-2.6/debian/docs
@@ -0,0 +1 @@
+README
--- confuse-2.6.orig/debian/libconfuse-dev.doc-base.doc
+++ confuse-2.6/debian/libconfuse-dev.doc-base.doc
@@ -0,0 +1,19 @@
+Document: libconfuse-doc
+Title: The libConfuse Documentation
+Author: Martin Hedenfalk
+Abstract: 
+ This documentation will give an overview of how the libConfuse work.
+ .
+ libConfuse is a configuration file parser library written in C. It
+ supports sections and (lists of) values (strings, integers, floats,
+ booleans or other sections), as well as some other features (such as
+ single/double-quoted strings, environment variable expansion, functions
+ and nested include statements).
+ .
+ It makes it very easy to add configuration file capability to a
+ program using a simple API.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libconfuse-dev/html/index.html
+Files: /usr/share/doc/libconfuse-dev/html/*
--- confuse-2.6.orig/debian/libconfuse-dev.dirs
+++ confuse-2.6/debian/libconfuse-dev.dirs
@@ -0,0 +1 @@
+usr/share/doc/libconfuse-dev/
--- confuse-2.6.orig/debian/libconfuse-dev.install
+++ confuse-2.6/debian/libconfuse-dev.install
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.la
+usr/lib/lib*.so
+usr/lib/pkgconfig/libconfuse.pc
--- confuse-2.6.orig/debian/libconfuse0.install
+++ confuse-2.6/debian/libconfuse0.install
@@ -0,0 +1,2 @@
+usr/lib/lib*.so.*
+usr/share/locale/*
