--- wipe-0.21.orig/debian/rules
+++ wipe-0.21/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+
+DEB_HOST_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
+
+ifeq ($(DEB_HOST_GNU_SYSTEM), linux-gnu)
+ target = linux
+else
+ target = generic
+endif
+
+CFLAGS = -Wall -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -pipe -fomit-frame-pointer
+ ifeq ($(target), generic)
+ CFLAGS += -O6
+ else
+ CFLAGS += -O9 -finline-functions -funroll-loops -fstrength-reduce
+ endif
+endif
+
+%:
+ dh ${@}
+
+override_dh_auto_build:
+ dh_auto_build -- $(target) CFLAGS="$(CFLAGS)"
--- wipe-0.21.orig/debian/source.lintian-overrides
+++ wipe-0.21/debian/source.lintian-overrides
@@ -0,0 +1,3 @@
+# Avoid warnings if non-uploaders to uploads.
+wipe source: changelog-should-mention-nmu
+wipe source: source-nmu-has-incorrect-version-number
--- wipe-0.21.orig/debian/compat
+++ wipe-0.21/debian/compat
@@ -0,0 +1 @@
+7
--- wipe-0.21.orig/debian/control
+++ wipe-0.21/debian/control
@@ -0,0 +1,21 @@
+Source: wipe
+Section: utils
+Priority: extra
+Maintainer: Debian Forensics <forensics-devel@lists.alioth.debian.org>
+Uploaders: Christophe Monniez <christophe.monniez@fccu.be>
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.8.2
+Homepage: http://lambda-diode.com/software/wipe/
+Vcs-Browser: http://git.debian.net/?p=debian-forensics/wipe.git
+Vcs-Git: git://git.debian.net/git/debian-forensics/wipe.git
+
+Package: wipe
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Secure file deletion
+ Recovery of supposedly erased data from magnetic media is easier than what many
+ people would like to believe. A technique called Magnetic Force Microscopy
+ (MFM) allows any moderately funded opponent to recover the last two or three
+ layers of data written to disk. Wipe repeatedly writes special patterns to the
+ files to be destroyed, using the fsync() call and/or the O_SYNC bit to force
+ disk access.
--- wipe-0.21.orig/debian/changelog
+++ wipe-0.21/debian/changelog
@@ -0,0 +1,254 @@
+wipe (0.21-9) unstable; urgency=low
+
+ * Minimizing rules file.
+ * Setting uploaders to Christophe.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 29 Jul 2009 21:12:43 +0200
+
+wipe (0.21-8) unstable; urgency=low
+
+ * Updating package to standards version 3.8.2.
+ * Updating upstream homepage.
+ * Adding lintian overrides.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 09 Jul 2009 12:55:00 +0200
+
+wipe (0.21-7) unstable; urgency=low
+
+ * Updating vcs fields.
+ * Replacing obsolete dh_clean -k with dh_prep.
+ * Prefixing debhelper files with package name.
+ * Updating to standards 3.8.1.
+ * Updating year in copyright file.
+ * Tidy rules file.
+ * Using correct rfc-2822 date formats in changelog.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 28 May 2009 22:58:30 +0200
+
+wipe (0.21-6) unstable; urgency=low
+
+ * Fixing git-dch email address misstake.
+ * Updating to standards 3.8.0.
+ * Upgrading package to debhelper 7.
+ * Sorting vcs fields in control file.
+ * Adding full license headers to copyright file.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 14 Sep 2008 10:18:43 +0200
+
+wipe (0.21-5) unstable; urgency=low
+
+ * Removing useless whitespaces.
+ * Bumping package to debhelper 6.
+ * Setting maintainer to Debian Forensics.
+ * Adding vcs fields in control.
+ * Rewritten copyright in machine readable form.
+ * Reordering rules.
+
+ -- Daniel Baumann <daniel@debian.org> Fri, 22 Feb 2008 10:03:00 +0100
+
+wipe (0.21-4) unstable; urgency=low
+
+ * Bumped to new policy.
+ * Using new homepage field in control.
+ * Don't hide make errors in clean target of rules.
+ * Removing non-existing distclean call in clean target of rules.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 23 Dec 2007 21:05:00 +0100
+
+wipe (0.21-3) unstable; urgency=low
+
+ * Minor cleanups.
+ * Bumped package to debhelper 5.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 01 May 2007 13:13:00 +0200
+
+wipe (0.21-2) unstable; urgency=low
+
+ * New maintainer.
+ * Adjusted debian/* to my own customs.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 16 Oct 2006 13:10:00 +0200
+
+wipe (0.21-1) unstable; urgency=low
+
+ * Acknowledge the changes made in the NMU 0.20-2.1. Thanks to Max Kellermann
+ for the patch and Alexander Wirt for the NMU!
+ Closes: Bug#383467
+ * The NMU patch for Bug#383467 are now incorporated upstream.
+ * debian/README.Debian: removed because upstream removed the files rc6.c,
+ rc6.h and secure_del.html from the tarball. Now the Debian tar.gz no
+ longer differs from the upstream .tar.gz.
+ * debian/control: Bumped Standards-Version to 3.7.2. No changes required.
+
+ -- Thomas Schoepf <schoepf@debian.org> Sat, 23 Sep 2006 13:02:56 +0200
+
+wipe (0.20-2.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Fixes build-target detection, use off_t for length (Closes: #383467).
+ Thanks to Max Kellermann for the patches
+
+ -- Alexander Wirt <formorer@debian.org> Sat, 16 Sep 2006 19:03:59 +0200
+
+wipe (0.20-2) unstable; urgency=low
+
+ * Closes: #354734: typo in wipe.1 man page
+ * debian/control: Bumped Standards-Version to 3.6.2
+ * debian/control: build-depend on debhelper >= 4.0
+ * debian/rules: dh_compat = 4
+
+ -- Thomas Schoepf <schoepf@debian.org> Mon, 13 Mar 2006 11:14:46 +0100
+
+wipe (0.20-1) unstable; urgency=low
+
+ * New upstream version.
+ * This version includes the patch written by Jim Paris for large file
+ support. Thanks!
+ Closes: #190100: wipe 0.18-1 cannot overwrite files/block devices >4 GB
+ Closes: #252428: Only wipes beginning of a device.
+
+ -- Thomas Schoepf <schoepf@debian.org> Sun, 13 Jun 2004 11:50:12 +0200
+
+wipe (0.19.20030913-1) unstable; urgency=low
+
+ * New upstream version.
+ * Upgraded Standards-Version to 3.6.1. No changes required.
+ * Includes updates for Bug#190100: wipe 0.18-1 cannot overwrite files/block
+ devices >4 GB
+ I am unable to test them so I do not yet close the bug.
+
+ -- Thomas Schoepf <schoepf@debian.org> Sun, 28 Sep 2003 23:14:15 +0200
+
+wipe (0.18-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Thomas Schoepf <schoepf@debian.org> Sun, 02 Feb 2003 15:18:07 +0100
+
+wipe (0.17-2) unstable; urgency=low
+
+ * wipe has a new homepage and upstream a new email address.
+ * wipe.c: restored check for "." and ".." in recursive()
+ Closes: #179381: wipe: traverse parent directories check lost
+ in upgrade
+
+ -- Thomas Schoepf <schoepf@debian.org> Sun, 02 Feb 2003 12:17:17 +0100
+
+wipe (0.17-1) unstable; urgency=low
+
+ * New upstream version.
+ * Closes: #169910: wipe -k <symlink> does nothing
+ * Closes: #170099: Does not work properly on large devices
+
+ -- Thomas Schoepf <schoepf@debian.org> Fri, 17 Jan 2003 19:13:09 +0100
+
+wipe (0.16-9) unstable; urgency=low
+
+ * debian/control: Standards-Version: 3.5.7
+ * Makefile: move compilation options into debian/rules.
+ * no longer create /usr/doc -> /usr/share/doc symlink.
+
+ -- Thomas Schoepf <schoepf@debian.org> Fri, 15 Nov 2002 21:10:53 +0100
+
+wipe (0.16-8) unstable; urgency=low
+
+ * Compile with -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64.
+ Closes: Bug#145605: wipe: Wipe can't wipe files larger than 2Gig.
+
+ -- Thomas Schoepf <schoepf@debian.org> Fri, 03 May 2002 13:27:58 +0200
+
+wipe (0.16-7) unstable; urgency=low
+
+ * Closes: Bug#134416: doesn't compile on arm
+
+ -- Thomas Schoepf <schoepf@debian.org> Fri, 01 Mar 2002 22:34:36 +0100
+
+wipe (0.16-6) unstable; urgency=low
+
+ * Closes: Bug#126880: wipe: source URL appears incorrect
+
+ -- Thomas Schoepf <schoepf@debian.org> Sun, 30 Dec 2001 15:40:00 +0100
+
+wipe (0.16-5) unstable; urgency=low
+
+ * Closes: Bug#111583: "wipe" WARNING (it will delete parent files and
+ directories!)
+
+ -- Thomas Schoepf <schoepf@debian.org> Mon, 17 Sep 2001 10:36:24 +0200
+
+wipe (0.16-4) unstable; urgency=low
+
+ * Closes: Bug#101645: [hurd] doesn't build
+
+ -- Thomas Schoepf <schoepf@debian.org> Sun, 08 Jul 2001 16:39:43 +0200
+
+wipe (0.16-3) unstable; urgency=low
+
+ * Closes: Bug#85519: wipe: fails to build from source
+ Thanks Berke!
+
+ -- Thomas Schoepf <schoepf@debian.org> Sun, 18 Feb 2001 01:56:39 +0100
+
+wipe (0.16-2) unstable; urgency=low
+
+ * Updated download and email address.
+ * Switched to debhelper v2.
+ * Bumped Standards-Version to 3.2.0
+
+ -- Thomas Schoepf <schoepf@debian.org> Sat, 05 Aug 2000 01:10:37 +0200
+
+wipe (0.16-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Thomas Schoepf <schoepf@debian.org> Fri, 31 Dec 1999 00:07:52 +0100
+
+wipe (0.15-4) unstable; urgency=low
+
+ * Debhelper now takes care of the FHS. (closes: #44595)
+
+ -- Thomas Schoepf <schoepf@debian.org> Wed, 08 Sep 1999 18:22:36 +0200
+
+wipe (0.15-3) unstable; urgency=low
+
+ * debian/control: Standards-Version: 3.0.1.
+
+ -- Thomas Schoepf <schoepf@debian.org> Mon, 06 Sep 1999 16:24:59 +0200
+
+wipe (0.15-2) unstable; urgency=low
+
+ * Previous upload closes: #41108.
+
+ -- Thomas Schoepf <schoepf@debian.org> Fri, 30 Jul 1999 20:57:14 +0200
+
+wipe (0.15-1) unstable; urgency=low
+
+ * New upstream version. (closes: Bug #41108)
+
+ -- Thomas Schoepf <schoepf@debian.org> Tue, 27 Jul 1999 21:00:02 +0200
+
+wipe (0.14-3) unstable; urgency=low
+
+ * Added /usr/doc/wipe -> /usr/share/doc/wipe transition link.
+
+ -- Thomas Schoepf <schoepf@debian.org> Thu, 22 Jul 1999 12:09:35 +0200
+
+wipe (0.14-2) unstable; urgency=low
+
+ * Comply with FHS 2.0 (/usr/share/doc, /usr/share/man).
+ * debian/control: Standards-Version: 3.0.0.
+ * debian/copyright: licenses now in usr/share/common-licenses.
+
+ -- Thomas Schoepf <schoepf@debian.org> Fri, 09 Jul 1999 16:49:55 +0200
+
+wipe (0.14-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Thomas Schoepf <schoepf@debian.org> Sat, 03 Jul 1999 13:53:11 +0200
+
+wipe (0.12-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Thomas Schoepf <schoepf@debian.org> Thu, 17 Jun 1999 02:01:24 +0200
--- wipe-0.21.orig/debian/wipe.examples
+++ wipe-0.21/debian/wipe.examples
@@ -0,0 +1 @@
+examples/*
--- wipe-0.21.orig/debian/wipe.manpages
+++ wipe-0.21/debian/wipe.manpages
@@ -0,0 +1 @@
+*.1
--- wipe-0.21.orig/debian/copyright
+++ wipe-0.21/debian/copyright
@@ -0,0 +1,42 @@
+Author: Berke Durak <berke@ouvaton.org>
+Download: http://lambda-diode.com/software/wipe/
+
+Files: *
+Copyright: (C) 1998-2004 Berke Durak <berke@ouvaton.org>
+License: GPL-2+
+ 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 Street, 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-2 file.
+
+Files: debian/*
+Copyright: (C) 2006-2009 Daniel Baumann <daniel@debian.org>
+License: GPL-2+
+ 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 Street, 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-2 file.
--- wipe-0.21.orig/debian/wipe.dirs
+++ wipe-0.21/debian/wipe.dirs
@@ -0,0 +1 @@
+/usr/bin
--- wipe-0.21.orig/debian/wipe.docs
+++ wipe-0.21/debian/wipe.docs
@@ -0,0 +1,2 @@
+BUGS
+README