--- libphysfs-1.0.0.orig/debian/changelog
+++ libphysfs-1.0.0/debian/changelog
@@ -0,0 +1,59 @@
+libphysfs (1.0.0-5) unstable; urgency=high
+
+  * Urgency high due to security fix on most architectures (Closes: #318091)
+  * Added explicit version of zlib1g-dev as a build dependecy.
+  * Bumped Standards-Version to 3.6.2 (no changes needed)
+
+ -- Bartosz Fenski <fenio@debian.org>  Wed, 13 Jul 2005 15:53:33 +0200
+
+libphysfs (1.0.0-4) unstable; urgency=low
+
+  * Fixed wrong build dependencies (Closes: #304438)
+    Thanks to Andreas Jochens for spotting this.
+
+ -- Bartosz Fenski <fenio@debian.org>  Wed, 13 Apr 2005 09:45:33 +0200
+
+libphysfs (1.0.0-3) unstable; urgency=low
+
+  * Updated libtool and autoconf stuff. (Closes: #304298)
+  * s/fenio@o2.pl/fenio@debian.org/
+  * Removed Scott James Remnant from Uploaders, many thanks for all uploads
+    and useful hints.
+
+ -- Bartosz Fenski <fenio@debian.org>  Tue, 12 Apr 2005 10:11:32 +0200
+
+libphysfs (1.0.0-2) unstable; urgency=low
+
+  * Setting proper conflicting values.
+
+ -- Bartosz Fenski <fenio@o2.pl>  Fri,  9 Jul 2004 22:25:15 +0200
+
+libphysfs (1.0.0-1) unstable; urgency=low
+
+  * New package because of SONAME change (Closes: #253845)
+
+ -- Bartosz Fenski <fenio@o2.pl>  Sun, 13 Jun 2004 00:17:12 +0200
+
+libphysfs0 (1.0.0-1) unstable; urgency=low
+
+  * New upstream release. 
+  * debian/control:
+    - added Homepage to description.
+    - added autotools-dev to Build-Depends:
+    - added Section header for source
+    - moved Section for -dev package to libdevel
+  * debian/rules:
+    - added --disable-readline to configure target. (Closes: #249195)
+      This hopefully should fix FTBFS of libparagui on s390.
+    - removed unused variables
+    - many minor fixes
+  * debian/shlibs.local has been removed
+  * Added debian/watch file.
+
+ -- Bartosz Fenski <fenio@o2.pl>  Mon,  7 Jun 2004 20:59:12 +0200
+
+libphysfs0 (0.1.9-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #215778)
+
+ -- Bartosz Fenski <fenio@o2.pl>  Thu, 16 Oct 2003 21:28:21 +0200
--- libphysfs-1.0.0.orig/debian/compat
+++ libphysfs-1.0.0/debian/compat
@@ -0,0 +1 @@
+4
--- libphysfs-1.0.0.orig/debian/control
+++ libphysfs-1.0.0/debian/control
@@ -0,0 +1,32 @@
+Source: libphysfs
+Section: libs
+Priority: optional
+Maintainer: Bartosz Fenski <fenio@debian.org>
+Build-Depends: debhelper (>= 4.0.0), doxygen, autotools-dev, automake1.7, zlib1g-dev (>= 1:1.2.2-7)
+Standards-Version: 3.6.2
+
+Package: libphysfs-dev
+Section: libdevel
+Architecture: any
+Depends: libphysfs-1.0-0 (= ${Source-Version})
+Conflicts: libphysfs0-dev
+Replaces: libphysfs0-dev
+Description: development files for filesystem abstraction library 
+ libphysfs-dev is the set of header files needed to compile programs that
+ utilize the libphysfs library.
+ .
+ Homepage: http://www.icculus.org/physfs/
+
+Package: libphysfs-1.0-0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: libphysfs0
+Replaces: libphysfs0
+Description: filesystem abstraction library for game programmers
+ The PhysicsFS filesystem abstraction library provides a simple C
+ interface to aid game programmers in utilizing game assets packaged in
+ many different types of archive files.
+ .
+ Homepage: http://www.icculus.org/physfs/
+
--- libphysfs-1.0.0.orig/debian/copyright
+++ libphysfs-1.0.0/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Bartosz Fenski <fenio@debian.org> on
+Thu, 16 Oct 2003 21:28:21 +0200.
+
+It was downloaded from http://icculus.org/physfs/downloads/
+
+Upstream Author: Ryan Gordon <icculus@icculus.org>
+
+Copyright:
+
+This software is copyright (c) 2001-02 by Ryan Gordon, icculus.org.
+
+This library is distributed under the terms of the zlib license:
+
+   Copyright (c) 2003 Ryan C. Gordon and others.
+
+   This software is provided 'as-is', without any express or implied warranty.
+   In no event will the authors be held liable for any damages arising from
+   the use of this software.
+
+   Permission is granted to anyone to use this software for any purpose,
+   including commercial applications, and to alter it and redistribute it
+   freely, subject to the following restrictions:
+
+   1. The origin of this software must not be misrepresented; you must not
+   claim that you wrote the original software. If you use this software in a
+   product, an acknowledgment in the product documentation would be
+   appreciated but is not required.
+
+   2. Altered source versions must be plainly marked as such, and must not be
+   misrepresented as being the original software.
+
+   3. This notice may not be removed or altered from any source distribution.
--- libphysfs-1.0.0.orig/debian/docs
+++ libphysfs-1.0.0/debian/docs
@@ -0,0 +1,2 @@
+TODO
+CREDITS
--- libphysfs-1.0.0.orig/debian/libphysfs-1.0-0.dirs
+++ libphysfs-1.0.0/debian/libphysfs-1.0-0.dirs
@@ -0,0 +1 @@
+usr/lib
--- libphysfs-1.0.0.orig/debian/libphysfs-1.0-0.install
+++ libphysfs-1.0.0/debian/libphysfs-1.0-0.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
--- libphysfs-1.0.0.orig/debian/libphysfs-dev.dirs
+++ libphysfs-1.0.0/debian/libphysfs-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
--- libphysfs-1.0.0.orig/debian/libphysfs-dev.doc-base
+++ libphysfs-1.0.0/debian/libphysfs-dev.doc-base
@@ -0,0 +1,11 @@
+Document: libphysfs-1.0-0-api
+Title: PhysicsFS API Documentation
+Author: Ryan Gordon <icculus@icculus.org>
+Abstract: This manual describes the C API for libphysfs0.
+Section: unknown
+
+Format: HTML
+Index: /usr/share/doc/libphysfs-dev/html/index.html
+Files: /usr/share/doc/libphysfs-dev/html/*.html
+
+  
--- libphysfs-1.0.0.orig/debian/libphysfs-dev.docs
+++ libphysfs-1.0.0/debian/libphysfs-dev.docs
@@ -0,0 +1 @@
+docs/html/
--- libphysfs-1.0.0.orig/debian/libphysfs-dev.install
+++ libphysfs-1.0.0/debian/libphysfs-dev.install
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/lib*.la
+usr/share/doc/libphysfs-dev/*
--- libphysfs-1.0.0.orig/debian/rules
+++ libphysfs-1.0.0/debian/rules
@@ -0,0 +1,88 @@
+#!/usr/bin/make -f
+# rules for libphysfs (March 2004)
+
+# 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 -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
+
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-readline
+
+
+build: build-stamp
+build-stamp:  config.status
+	dh_testdir
+
+	$(MAKE)
+	doxygen
+	
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	-$(MAKE) clean
+
+	rm -fR docs/html docs/latex docs/man
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGELOG
+	dh_installdocs
+	dh_installexamples
+	dh_install --source=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 
--- libphysfs-1.0.0.orig/debian/watch
+++ libphysfs-1.0.0/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://www.icculus.org/physfs/downloads/physfs-(.*)\.tar\.gz debian uupdate
