--- rifiuti2-0.5.1.orig/debian/rules
+++ rifiuti2-0.5.1/debian/rules
@@ -0,0 +1,75 @@
+#!/usr/bin/make -f
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+ CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+ CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ rm -f config.guess config.sub
+
+ [ ! -f Makefile ] || $(MAKE) distclean
+
+ dh_clean
+
+config.status: configure
+ dh_testdir
+
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+
+ ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+build: build-stamp
+build-stamp: config.status
+ dh_testdir
+
+ $(MAKE)
+
+ touch build-stamp
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ $(MAKE) DESTDIR=$(CURDIR)/debian/rifiuti2 install
+
+ mv debian/rifiuti2/usr/bin/rifiuti debian/rifiuti2/usr/bin/rifiuti2
+ mv debian/rifiuti2/usr/share/man/man1/rifiuti.1 debian/rifiuti2/usr/share/man/man1/rifiuti2.1
+
+ rm -f debian/rifiuti2/usr/share/man/man1/rifiuti-vista.1
+ ln -s rifiuti2.1.gz debian/rifiuti2/usr/share/man/man1/rifiuti-vista.1.gz
+
+binary: binary-arch
+
+binary-arch: install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_lintian
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-indep:
+
+.PHONY: clean build install binary binary-arch binary-indep
--- rifiuti2-0.5.1.orig/debian/source.lintian-overrides
+++ rifiuti2-0.5.1/debian/source.lintian-overrides
@@ -0,0 +1,3 @@
+# Avoid warnings if non-uploaders to uploads.
+rifiuti2 source: changelog-should-mention-nmu
+rifiuti2 source: source-nmu-has-incorrect-version-number
--- rifiuti2-0.5.1.orig/debian/compat
+++ rifiuti2-0.5.1/debian/compat
@@ -0,0 +1 @@
+7
--- rifiuti2-0.5.1.orig/debian/rifiuti2.docs
+++ rifiuti2-0.5.1/debian/rifiuti2.docs
@@ -0,0 +1,3 @@
+NEWS
+THANKS
+TODO
--- rifiuti2-0.5.1.orig/debian/control
+++ rifiuti2-0.5.1/debian/control
@@ -0,0 +1,23 @@
+Source: rifiuti2
+Section: utils
+Priority: optional
+Maintainer: Debian Forensics <forensics-devel@lists.alioth.debian.org>
+Uploaders: Anthony Wong <anthony@ypwong.org>
+Build-Depends: debhelper (>= 7), autotools-dev, libglib2.0-dev
+Standards-Version: 3.8.2
+Homepage: http://code.google.com/p/rifiuti2/
+Vcs-Browser: http://git.debian.net/?p=debian-forensics/rifiuti2.git
+Vcs-Git: git://git.debian.net/git/debian-forensics/rifiuti2.git
+
+Package: rifiuti2
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A MS Windows recycle bin analysis tool
+ Rifiuti2 is a rewrite of rifiuti, a tool for analyzing Windows Recycle Bin
+ INFO2 file.
+ .
+ Analysis of Windows Recycle Bin is usually carried out during Windows computer
+ forensics. Rifiuti2 can extract file deletion time, original path and size of
+ deleted files and whether the deleted files have been moved out from the
+ recycle bin since they are trashed. It supports the INFO2 file format found in
+ Windows up to Window XP as well as the new file format found in Vista.
--- rifiuti2-0.5.1.orig/debian/changelog
+++ rifiuti2-0.5.1/debian/changelog
@@ -0,0 +1,37 @@
+rifiuti2 (0.5.1-3) unstable; urgency=low
+
+ * Updating package to standards version 3.8.2.
+ * Adding lintian overrides.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 09 Jul 2009 12:32:22 +0200
+
+rifiuti2 (0.5.1-2) unstable; urgency=low
+
+ * Updating year in copyright file.
+ * Adding misc-depends in control.
+ * Updating standards to 3.8.1.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 28 May 2009 22:21:39 +0200
+
+rifiuti2 (0.5.1-1) unstable; urgency=low
+
+ [ Anthony Wong ]
+ * Initial release (Closes: #506952).
+
+ [ Daniel Baumann ]
+ * Adding vcs fields in control.
+ * Rewrapping and improving wording of package long-description in control.
+ * Rewriting copyright file in machine-interpretable format.
+ * Removing AUTHORS from docs, no new information over than what is already in
+ debian/copyright.
+ * Removing README from docs, no new information other than what is already in
+ the package long-description.
+ * Prefixing debhelper files with package name.
+ * Rewriting rules file.
+ * Removing useless empty line at the end of changelog.
+ * Adding wnpp bug number to changelog.
+ * Adding myself to copyright.
+ * Removing unnecessary version in libglib2.0-dev build-depends.
+ * Removing upstream symlink for rifiuti-vista manpage.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 20 Jan 2009 21:28:17 +0100
--- rifiuti2-0.5.1.orig/debian/copyright
+++ rifiuti2-0.5.1/debian/copyright
@@ -0,0 +1,56 @@
+Author: Abel Cheung
+Download: http://code.google.com/p/rifiuti2/
+
+Files: *
+Copyright:
+ (C) 2003 Keith J. Jones <keith.jones@foundstone.com>
+ (C) 2007-2008 Abel Cheung
+License: BSD-3
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ 3. Neither the name of the project nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+Files: debian/*
+Copyright:
+ (C) 2008 Anthony Wong <ypwong@gmail.com>
+ (C) 2008-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.