--- firestring-0.9.12.orig/debian/libfirestring0.9.install
+++ firestring-0.9.12/debian/libfirestring0.9.install
@@ -0,0 +1 @@
+/usr/lib/*.so.*
--- firestring-0.9.12.orig/debian/copyright
+++ firestring-0.9.12/debian/copyright
@@ -0,0 +1,34 @@
+This package was debianized by Daniel Baumann <daniel@debian.org> on
+Mon, 03 Oct 2005 12:11:00 +0200.
+
+It was downloaded from <http://www.firestuff.org/>.
+
+Upstream Author: Ian Gulliver <ian@penguinhosting.net>
+
+License:
+
+	Copyright (C) 2001-2002 Andres Salomin <dilinger@debian.org>
+	Copyright (C) 2000 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.
+
+FireString has included parts of LibD licensed under the BSD license which
+can be found in /usr/share/common-licenses/BSD on Debian systems.
+
+The Debian packaging is (C) 2005-2007, Daniel Baumann <daniel@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- firestring-0.9.12.orig/debian/libfirestring-dev.install
+++ firestring-0.9.12/debian/libfirestring-dev.install
@@ -0,0 +1,4 @@
+/usr/include/*
+/usr/lib/*.a
+/usr/lib/*.so
+/usr/share/man/man*/*
--- firestring-0.9.12.orig/debian/changelog
+++ firestring-0.9.12/debian/changelog
@@ -0,0 +1,103 @@
+firestring (0.9.12-8) unstable; urgency=low
+
+  *  New maintainer (Closes #407546).
+
+ -- Herve Rousseau <herve@moulticast.net>  Sun, 15 Apr 2007 15:42:21 +0200
+
+firestring (0.9.12-7) unstable; urgency=low
+
+  * Orphaning package.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 19 Jan 2007 13:40:00 +0100
+
+firestring (0.9.12-6) unstable; urgency=low
+
+  * New email address.
+  * Bumped policy version.
+
+ -- Daniel Baumann <daniel@debian.org>  Thu,  6 Jul 2006 07:57:00 +0200
+
+firestring (0.9.12-5) unstable; urgency=low
+
+  * Added tester.c as example to libfirestring-dev.
+
+ -- Daniel Baumann <daniel.baumann@panthera-systems.net>  Sat,  3 Jun 2006 18:11:00 +0200
+
+firestring (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
+
+firestring (0.9.12-3) unstable; urgency=low
+
+  * New maintainer.
+  * New upload issues new build on fixed mk86 toolchain (Closes: #321956).
+  * Corrected section.
+  * Redone debian/ with debhelper and dpatch.
+  * Added watch file.
+
+ -- Daniel Baumann <daniel.baumann@panthera-systems.net>  Mon, 03 Oct 2005 12:11:00 +0200
+
+firestring (0.9.12-2) unstable; urgency=low
+
+  * Update my email address.
+  * Kill misc autogenerated files that firestring doesn't clean up.
+
+ -- Andres Salomon <dilinger@debian.org>  Fri, 05 Aug 2005 11:15:36 -0400
+
+firestring (0.9.12-1) unstable; urgency=low
+
+  * New upstream version (closes: #252705).
+  * Disable id check during build, since it's unnecessary (closes: #269652).
+
+ -- Andres Salomon <dilinger@voxel.net>  Sat, 02 Oct 2004 23:47:31 -0400
+
+firestring (0.9.9-1) unstable; urgency=low
+
+  * New upstream version.
+  * Update standards-version.
+  * Update copyright file.
+
+ -- Andres Salomon <dilinger@voxel.net>  Sun, 15 Feb 2004 22:56:32 -0500
+
+firestring (0.9.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * Update packages for new SONAME.
+  * Update maintainer email address.
+  * Update standards-version.
+  * Switch build system to cdbs.
+
+ -- Andres Salomon <dilinger@voxel.net>  Wed, 17 Sep 2003 18:28:26 -0400
+
+firestring (0.1.21-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Andres Salomon <dilinger@mp3revolution.net>  Mon, 30 Sep 2002 02:47:13 -0400
+
+firestring (0.1.19-2) unstable; urgency=low
+
+  * s/POSIX/ANSI C/ in package description.
+  * Add -fPIC linking to all objects. (Closes: #156833)
+  * Add PREFIX and CONFDIR while make'ing; doesn't appear to be used, but
+    just to be on the safe side..
+  * Fix double-build bug in (debian/rules) binary target.
+
+ -- Andres Salomon <dilinger@mp3revolution.net>  Thu, 15 Aug 2002 17:35:21 -0400
+
+firestring (0.1.19-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added proper descriptions to control file.
+
+ -- Andres Salomon <dilinger@mp3revolution.net>  Sun, 11 Aug 2002 16:05:30 -0500
+
+firestring (0.1.15-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
--- firestring-0.9.12.orig/debian/libfirestring-dev.docs
+++ firestring-0.9.12/debian/libfirestring-dev.docs
@@ -0,0 +1 @@
+README
--- firestring-0.9.12.orig/debian/libfirestring0.9.docs
+++ firestring-0.9.12/debian/libfirestring0.9.docs
@@ -0,0 +1 @@
+README
--- firestring-0.9.12.orig/debian/rules
+++ firestring-0.9.12/debian/rules
@@ -0,0 +1,71 @@
+#!/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
+
+config.status: configure patch-stamp
+	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
--- firestring-0.9.12.orig/debian/compat
+++ firestring-0.9.12/debian/compat
@@ -0,0 +1 @@
+5
--- firestring-0.9.12.orig/debian/control
+++ firestring-0.9.12/debian/control
@@ -0,0 +1,28 @@
+Source: firestring
+Section: libs
+Priority: optional
+Maintainer: Herve Rousseau <herve@moulticast.net>
+Build-Depends: debhelper (>= 5), dpatch
+Standards-Version: 3.7.2
+
+Package: libfirestring0.9
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Runtime libraries for firestring, a string handling library
+ FireString is a library designed to make string handling easier. It includes
+ string functions that are included in most libc's, but not in ANSI C, so that
+ programmers can write portable code while not having to reinvent the wheel.
+ .
+ FireString also includes code for configuration file handling.
+
+Package: libfirestring-dev
+Section: libdevel
+Architecture: any
+Depends: libfirestring0.9 (= ${binary:Version})
+Description: Development files for firestring, a string handling library
+ FireString is a library designed to make string handling easier. It includes
+ string functions that are included in most libc's, but not in ANSI C, so that
+ programmers can write portable code while not having to reinvent the wheel.
+ .
+ FireString also includes code for configuration file handling.
--- firestring-0.9.12.orig/debian/libfirestring-dev.examples
+++ firestring-0.9.12/debian/libfirestring-dev.examples
@@ -0,0 +1 @@
+tester.c
--- firestring-0.9.12.orig/debian/patches/00list
+++ firestring-0.9.12/debian/patches/00list
@@ -0,0 +1 @@
+01-id-fix.dpatch
--- firestring-0.9.12.orig/debian/patches/01-id-fix.dpatch
+++ firestring-0.9.12/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
