--- firedns-0.9.12+dfsg.orig/debian/libfiredns0.9.install
+++ firedns-0.9.12+dfsg/debian/libfiredns0.9.install
@@ -0,0 +1 @@
+/usr/lib/*.so.*
--- firedns-0.9.12+dfsg.orig/debian/compat
+++ firedns-0.9.12+dfsg/debian/compat
@@ -0,0 +1 @@
+5
--- firedns-0.9.12+dfsg.orig/debian/firedns.install
+++ firedns-0.9.12+dfsg/debian/firedns.install
@@ -0,0 +1,2 @@
+/usr/bin
+/usr/share/man/man1/*
--- firedns-0.9.12+dfsg.orig/debian/copyright
+++ firedns-0.9.12+dfsg/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Daniel Baumann <daniel@debian.org> on
+Mon, 03 Oct 2005 13:09:00 +0200.
+
+It was downloaded from <http://www.firestuff.org/>.
+
+Upstream Author: Ian Gulliver <ian@penguinhosting.net>
+
+License:
+
+	Copyright (C) 2002 Ian Gulliver <ian@penguinhosting.net>
+
+	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 program; 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 file.
+
+The Debian packaging is (C) 2005-2007, Daniel Baumann <daniel@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- firedns-0.9.12+dfsg.orig/debian/libfiredns-dev.manpages
+++ firedns-0.9.12+dfsg/debian/libfiredns-dev.manpages
@@ -0,0 +1 @@
+/usr/share/man/man3/*
--- firedns-0.9.12+dfsg.orig/debian/changelog
+++ firedns-0.9.12+dfsg/debian/changelog
@@ -0,0 +1,113 @@
+firedns (0.9.12+dfsg-3.4.201403231456) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Sun, 23 Mar 2014 14:56:51 +0100
+
+firedns (0.9.12+dfsg-3) unstable; urgency=low
+
+  * New maintainer (Closes #407545). 
+
+ -- Herve Rousseau <herve@moulticast.net>  Sun, 15 Apr 2007 15:45:54 +0200
+
+firedns (0.9.12+dfsg-2) unstable; urgency=low
+
+  * Orphaning package.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 19 Jan 2007 13:29:00 +0100
+
+firedns (0.9.12+dfsg-1) unstable; urgency=medium
+
+  * Rebuild upstream tarball without IETF RFCs (Closes: #393369).
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 16 Oct 2006 12:50:00 +0200
+
+firedns (0.9.12-6) unstable; urgency=low
+
+  * New email address.
+  * Bumped policy version.
+
+ -- Daniel Baumann <daniel@debian.org>  Thu,  6 Jul 2006 08:01:00 +0200
+
+firedns (0.9.12-5) unstable; urgency=low
+
+  * Added tester.c as example to libfiredns-dev.
+
+ -- Daniel Baumann <daniel.baumann@panthera-systems.net>  Sat,  3 Jun 2006 18:08:00 +0200
+
+firedns (0.9.12-4) unstable; urgency=low
+
+  * Removed broken shlibs file, debhelper can detect it on its own.
+
+ -- Daniel Baumann <daniel.baumann@panthera-systems.net>  Tue, 28 Feb 2006 23:37:00 +0100
+
+firedns (0.9.12-3) unstable; urgency=low
+
+  * New maintainer.
+  * Corrected section.
+  * Redone debian/ with debhelper and dpatch.
+  * Added watch file.
+
+ -- Daniel Baumann <daniel.baumann@panthera-systems.net>  Mon, 03 Oct 2005 13:09:00 +0200
+
+firedns (0.9.12-2) unstable; urgency=low
+  
+  * Update my email address.
+
+ -- Andres Salomon <dilinger@debian.org>  Fri, 05 Aug 2005 11:57:55 -0400
+
+firedns (0.9.12-1) unstable; urgency=low
+  
+  * New upstream version (closes: #252701).
+  * Disable id check during build; it's unnecessary and broken.
+
+ -- Andres Salomon <dilinger@voxel.net>  Sun, 03 Oct 2004 02:41:15 -0400
+
+firedns (0.9.9-1) unstable; urgency=low
+  
+  * New upstream version.
+  * Update standards-version.
+  * Update copyright file.
+  * New manpages for firedns binaries.
+
+ -- Andres Salomon <dilinger@voxel.net>  Sun, 15 Feb 2004 23:03:39 -0500
+
+firedns (0.9.4-1) unstable; urgency=low
+  
+  * New upstream release.
+  * Update packages for new SONAME.
+  * Update maintainer email address.
+  * Update standards-version.
+  * Switch build system to cdbs.
+  * Added firedns package for resolver binaries.
+
+ -- Andres Salomon <dilinger@voxel.net>  Wed, 17 Sep 2003 18:57:48 -0400
+
+firedns (0.1.29-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Andres Salomon <dilinger@mp3revolution.net>  Mon, 30 Aug 2002 03:34:35 -0400
+
+firedns (0.1.28-2) unstable; urgency=low
+
+  * Add -fPIC to CFLAGS.
+  * Add PREFIX, CONFDIR at make time, just in case.
+  * Fix double-build bug in (debian/rules) binary target.
+
+ -- Andres Salomon <dilinger@mp3revolution.net>  Thu, 15 Aug 2002 17:46:38 -0400
+
+firedns (0.1.28-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added proper descriptions to control file.
+
+ -- Andres Salomon <dilinger@mp3revolution.net>  Sun, 11 Aug 2002 16:52:11 -0500
+
+firedns (0.1.22-1) unstable; urgency=low
+
+  * Initial Release.
+  * Fix a few firemake bugs.
+  * Make sure linking specifies the SONAME.
+
+ -- Andres Salomon <dilinger@mp3revolution.net>  Wed, 19 Jun 2002 17:55:42 -0400
--- firedns-0.9.12+dfsg.orig/debian/libfiredns-dev.docs
+++ firedns-0.9.12+dfsg/debian/libfiredns-dev.docs
@@ -0,0 +1,2 @@
+CREDITS
+README
--- firedns-0.9.12+dfsg.orig/debian/libfiredns0.9.docs
+++ firedns-0.9.12+dfsg/debian/libfiredns0.9.docs
@@ -0,0 +1,2 @@
+CREDITS
+README
--- firedns-0.9.12+dfsg.orig/debian/firedns.docs
+++ firedns-0.9.12+dfsg/debian/firedns.docs
@@ -0,0 +1,2 @@
+CREDITS
+README
--- firedns-0.9.12+dfsg.orig/debian/libfiredns-dev.examples
+++ firedns-0.9.12+dfsg/debian/libfiredns-dev.examples
@@ -0,0 +1 @@
+tester.c
--- firedns-0.9.12+dfsg.orig/debian/control
+++ firedns-0.9.12+dfsg/debian/control
@@ -0,0 +1,36 @@
+Source: firedns
+Section: libs
+Priority: optional
+Maintainer: Herve Rousseau <herve@moulticast.net>
+Build-Depends: debhelper (>= 5), dpatch, libfirestring-dev (>= 0.9.12-4)
+Standards-Version: 3.7.2
+
+Package: libfiredns0.9
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Runtime libraries for firedns, an asynch. dns resolver library
+ FireDNS is a DNS resolver library.  Features include asynchronous resolution,
+ and multi-server queries (making lookups much faster than with the stock
+ libc/bind functions).
+
+Package: libfiredns-dev
+Section: libdevel
+Architecture: any
+Depends: libfiredns0.9 (= ${binary:Version}), libfirestring-dev
+Description: Development files for firedns, an asynch. dns resolver library
+ FireDNS is a DNS resolver library.  Features include asynchronous resolution,
+ and multi-server queries (making lookups much faster than with the stock
+ libc/bind functions).
+
+Package: firedns
+Section: net
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Runtime binaries for firedns, an asynch. dns resolver library
+ FireDNS is a DNS resolver library.  Features include asynchronous resolution,
+ and multi-server queries (making lookups much faster than with the stock
+ libc/bind functions).
+ .
+ The binaries included in this package use FireDNS to do various DNS queries;
+ these are good for programming examples, as well as simplistic queries.
--- firedns-0.9.12+dfsg.orig/debian/libfiredns-dev.install
+++ firedns-0.9.12+dfsg/debian/libfiredns-dev.install
@@ -0,0 +1,3 @@
+/usr/include/*
+/usr/lib/*.a
+/usr/lib/*.so
--- firedns-0.9.12+dfsg.orig/debian/rules
+++ firedns-0.9.12+dfsg/debian/rules
@@ -0,0 +1,74 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+upstream:
+	rm -rf doc # non-free IETF RFC documents
+
+config.status: patch-stamp configure
+	dh_testdir
+
+	# Configuring package
+	CFLAGS="$(CFLAGS)" PREFIX=/usr MANDIR=\$${PREFIX}/share/man ./configure
+
+build: build-stamp
+build-stamp: config.status
+	dh_testdir
+
+	# Building package
+	$(MAKE)
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Cleaning package
+	-$(MAKE) distclean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Installing package
+	$(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_install --sourcedir=debian/tmp
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- firedns-0.9.12+dfsg.orig/debian/patches/01-id-fix.dpatch
+++ firedns-0.9.12+dfsg/debian/patches/01-id-fix.dpatch
@@ -0,0 +1,59 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 01-id-fix.dpatch by Andres Salomon <dilinger@debian.org>
+##
+## DP: Disable id check during build, since it's unnecessary.
+
+@DPATCH@
+
+diff -Naur firestring-0.9.12.orig/firemake/id firestring-0.9.12/firemake/id
+--- firestring-0.9.12.orig/firemake/id	2003-05-15 16:24:41.000000000 +0000
++++ firestring-0.9.12/firemake/id	2005-10-03 10:42:16.715325184 +0000
+@@ -1,13 +1,13 @@
+ #!/bin/sh
+ #phase init
+-dispn "Checking for id..."
+-if /usr/xpg4/bin/id 2>/dev/null; then
+-	disp "found, /usr/xpg4/bin/id"
+-	ID="/usr/xpg4/bin/id"
+-elif id 2>/dev/null; then
+-	disp "found, id"
+-	ID="id"
+-else
+-	disp "not found, aborting"
+-	exit 1
+-fi
++#dispn "Checking for id..."
++#if /usr/xpg4/bin/id 2>/dev/null; then
++#	disp "found, /usr/xpg4/bin/id"
++#	ID="/usr/xpg4/bin/id"
++#elif id 2>/dev/null; then
++#	disp "found, id"
++#	ID="id"
++#else
++#	disp "not found, aborting"
++#	exit 1
++#fi
+diff -Naur firestring-0.9.12.orig/firemake/install firestring-0.9.12/firemake/install
+--- firestring-0.9.12.orig/firemake/install	2004-01-07 20:34:15.000000000 +0000
++++ firestring-0.9.12/firemake/install	2005-10-03 10:43:23.042241960 +0000
+@@ -19,14 +19,14 @@
+ 		disp "done"
+ 
+ 		dispn "Checking for installation username..."
+-		INSTALL_GROUP=`$ID -ng root`
+-		if test "$?" = "0"; then
++		INSTALL_GROUP="root"
++		#if test "$?" = "0"; then
+ 			INSTALL_USER=root
+ 			disp "found, \"root\""
+-		else
+-			disp "none found, aborting"
+-			exit 1
+-		fi
++		#else
++		#	disp "none found, aborting"
++		#	exit 1
++		#fi
+ 
+ 		dispn "Checking for installation group name..."
+ 		if test "$INSTALL_GROUP" = ""; then
--- firedns-0.9.12+dfsg.orig/debian/patches/00list
+++ firedns-0.9.12+dfsg/debian/patches/00list
@@ -0,0 +1 @@
+01-id-fix.dpatch
