--- disktype-9.orig/debian/dirs
+++ disktype-9/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- disktype-9.orig/debian/docs
+++ disktype-9/debian/docs
@@ -0,0 +1,3 @@
+HISTORY
+README
+TODO
--- disktype-9.orig/debian/control
+++ disktype-9/debian/control
@@ -0,0 +1,14 @@
+Source: disktype
+Section: utils
+Priority: optional
+Maintainer: Juan Manuel Garcia Molina <juanma@debian.org>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.7.2
+
+Package: disktype
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: detection of content format of a disk or disk image
+ The purpose of disktype is to detect the content format of a disk or
+ disk image. It knows about common file systems, partition tables, and
+ boot codes.
--- disktype-9.orig/debian/rules
+++ disktype-9/debian/rules
@@ -0,0 +1,102 @@
+#!/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
+
+
+
+
+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
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/disktype.
+ # $(MAKE) install DESTDIR=$(CURDIR)/debian/disktype
+ install -o root -g root -m755 disktype $(CURDIR)/debian/disktype/usr/bin/disktype
+
+# 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
+ dh_installdocs
+
+ # Add the lines of copyright found in disktype script to
+ # debian/copyright
+ cut -c 4-80 LICENSE >> debian/disktype/usr/share/doc/disktype/copyright
+
+# dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman disktype.1
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# 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 configure
--- disktype-9.orig/debian/watch
+++ disktype-9/debian/watch
@@ -0,0 +1,4 @@
+# Based on the example watch control file for uscan
+# Site Directory Pattern Version Script
+version=2
+http://heanet.dl.sourceforge.net/sourceforge/disktype/disktype-(.*)\.tar\.gz debian uupdate
--- disktype-9.orig/debian/changelog
+++ disktype-9/debian/changelog
@@ -0,0 +1,43 @@
+disktype (9-1) unstable; urgency=low
+
+ * New upstream release
+ * Fix typo in debian/rules.
+ * Update Standards-Version to 3.7.2, no changes needed.
+
+ -- Juan Manuel Garcia Molina <juanma@debian.org> Mon, 12 Jun 2006 21:42:52 +0200
+
+disktype (8-1) unstable; urgency=low
+
+ * New upstream release.
+ * Update Standards-Version to 3.6.2, no changes needed.
+
+ -- Juan Manuel Garcia Molina <juanma@debian.org> Sat, 27 Aug 2005 23:51:47 +0200
+
+disktype (7-2) unstable; urgency=low
+
+ * Added watch file to debian dir.
+
+ -- Juan Manuel Garcia Molina <juanma@debian.org> Mon, 30 Aug 2004 19:08:45 +0200
+
+disktype (7-1) unstable; urgency=low
+
+ * New upstream release
+ * Use upstream manpage for disktype
+ * Install binary in /usr/bin
+
+ -- Juan Manuel Garcia Molina <juanma@debian.org> Sat, 17 Apr 2004 19:06:06 +0200
+
+disktype (6-2) unstable; urgency=low
+
+ * Better package description.
+ * Cleanups in debian/ dir and debian/rules.
+ * Lintian is happier if the program has a manpage.
+
+ -- Juan Manuel Garcia Molina <juanma@debian.org> Sat, 27 Mar 2004 20:04:40 +0100
+
+disktype (6-1) experimental; urgency=low
+
+ * Initial Release.
+
+ -- Juan Manuel Garcia Molina <juanma@debian.org> Mon, 22 Mar 2004 20:34:24 +0100
+
--- disktype-9.orig/debian/compat
+++ disktype-9/debian/compat
@@ -0,0 +1 @@
+4
--- disktype-9.orig/debian/copyright
+++ disktype-9/debian/copyright
@@ -0,0 +1,8 @@
+This package was debianized by Juan Manuel Garcia Molina <juanma@debian.org> on
+Mon, 22 Mar 2004 20:34:24 +0100.
+
+It was downloaded from http://prdownloads.sourceforge.net/disktype/
+
+Upstream Author: Christoph Pfisterer <chrisp@users.sourceforge.net>
+
+Copyright: