[Forensics-changes] [SCM] debian-forensics/extundelete branch, debian, updated. upstream/0.2.0-3-g3925ae0

Christophe Monniez christophe.monniez at fccu.be
Thu Oct 14 06:56:55 UTC 2010


The following commit has been merged in the debian branch:
commit 300ab4e9242883344e09ba6415deb59a247cf2d0
Author: Christophe Monniez <christophe.monniez at fccu.be>
Date:   Thu Oct 14 08:29:42 2010 +0200

    Importing original work on debian package from Elías Alejandro Año Mendoza.

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..41d5af1
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+extundelete for Debian
+----------------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..160a913
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+extundelete (0.2.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #598186)
+
+ -- Elías Alejandro Año Mendoza <ealmdz at gmail.com>  Wed, 29 Sep 2010 09:29:04 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f18d900
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,15 @@
+Source: extundelete
+Section: utils
+Priority: optional
+Maintainer: Elías Alejandro Año Mendoza <ealmdz at gmail.com>
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, e2fslibs-dev
+Standards-Version: 3.9.1
+Homepage: http://extundelete.sourceforge.net/
+
+Package: extundelete
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: utility that can recover deleted files from an ext3 or ext4 partition
+ extundelete uses the information stored in the partition's journal to attempt
+ to recover a file that has been deleted. There is no guarantee that any
+ particular file will be able to be undeleted.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4701c0f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+This work was packaged for Debian by:
+
+    Elías Alejandro Año Mendoza <ealmdz at gmail.com> on Wed, 29 Sep 2010 09:29:04 -0500
+
+It was downloaded from:
+
+    http://extundelete.sourceforge.net/
+
+Upstream Author(s):
+
+    Nic Cas <number9652 at users.sourceforge.net>
+
+Copyright:
+
+    Copyright (C) 2009, 2010 Nic Case <number9652 at users.sourceforge.net>
+    Copyright (C) 2009 Steven G. Johnson <stevenj at alum.mit.edu>
+    Copyright (C) 2009 Matteo Frigo
+    Copyright (C) 1994 X Consortium
+    Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005  Free Software Foundation, Inc.
+    Copyright (C) 1993, 1994, 1995, 1996 Theodore Ts'o
+    Copyright (C) 1998-2000 Red Hat, Inc.
+
+License:
+
+    This software comes under the GPL license version 2.
+
+The Debian packaging is:
+
+    Copyright (C) 2010 Elías Alejandro Año Mendoza <ealmdz at gmail.com>
+
+and is licensed under the GPL version 2,
+see "/usr/share/common-licenses/GPL-2".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/extundelete.1 b/debian/extundelete.1
new file mode 100644
index 0000000..80bbcc0
--- /dev/null
+++ b/debian/extundelete.1
@@ -0,0 +1,117 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH EXTUNDELETE 1 "September 29, 2010"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+extundelete \- utility to undelete files from an ext3 or ext4 partition.
+.SH SYNOPSIS
+.B extundelete
+.RI [ options ] " files" ...
+.br
+.SH DESCRIPTION
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBextundelete\fP is a utility that can recover deleted files from an ext3 or ext4 partition
+.br
+extundelete uses the information stored in the partition's journal to attempt to recover
+a file that has been deleted from the partition.
+.br
+There is no guarantee that any particular file will be able to be undeleted, so always try to have
+a good backup system in place, or at least put one in place after recovering your files!
+
+.SH OPTIONS
+.TP
+.B \-\-version
+Prints the version number of extundelete.
+.TP
+.B \-\-help
+Print a brief usage summary for extundelete.
+.TP
+.B Partition name
+Name of the partition that has deleted files, such as /dev/sda3.
+.br
+Could also be the file name of a copy of the partition, such as that made with dd.
+.TP
+.B \-\-superblock
+Prints information about the filesystem from the superblock.
+.TP
+.B \-\-journal \-\-superblock
+Prints information about the journal from the journal's superblock.
+.TP
+.B \-\-inode #
+Prints the information from the inode number of the filesystem given, such as "\-\-inode 2".
+.TP
+.B \-\-block #
+Prints the contents of the block, called as "\-\-block 9652".
+.TP	
+.B \-\-restore\-file path/to/deleted/file
+Attempts to restore the file which was deleted at the given filename, called as "\-\-restore-file dirname/filename".
+.TP
+.B \-\-restore\-inode #
+Used to restore inodes by number, called as "\-\-restore-inode 2569".
+.br
+Also accepts a list of inodes separated by only commas, such as "\-\-restore-inode 2569,5692,6925".
+.TP
+.B \-\-restore\-files filename
+Restores a list of files. First, construct a list of files in the same style as would be
+.br
+used in the \-\-restore\-file option, and save it to the file "filename". 
+.br
+Then, this option may be used to attempt to restore those files with a single call to extundelete.
+.br
+This form also reduces redundancy from multiple calls parsing the journal multiple times.
+.TP
+.B \-\-restore\-all
+Restores all files possible to undelete to their names before deletion, when possible.
+Other files are restored to a filename like "file.NNNN". 
+.TP
+.B \-\-restore\-directory path/of/directory
+Restores all files possible to link to specified directory to their names before deletion, when possible.
+.TP
+.B \-j journal_dev
+Specifies the device that is the external journal of the file system.
+.TP
+.B \-b block_number
+Specifies the block number of the backup superblock to be used when opening the file system.
+.TP
+.B \-B block_size
+Specifies the block size of the partition to be used when opening the file system.
+.TP
+.B \-\-before date
+Only restore files deleted before the date specified, which should be in the form of the number of seconds since the UNIX epoch.
+Use a shell command like
+.br
+$ date \-d "Aug 1 9:02" +%s
+.br
+to convert a human-readable date to the proper format. The conversion from the number of seconds to a readable format may be found 
+by using either of the following:
+.br
+$ date \-d at 1234567890
+.br
+$ perl \-le "print scalar localtime 1234567890" 
+.TP
+.B \-\-after date
+Only restore files deleted after the date specified, which should be in the form of the number of seconds since the UNIX epoch.
+.br
+See the notes for the \-\-before option for more information. 
+.br
+.SH AUTHOR
+extundelete was written by Nic Case <number9652 at users.sourceforge.net> Copyright (C) 2009, 2010
+.PP
+This manual page was written by Elías Alejandro Año Mendoza <ealmdz at gmail.com>,
+for the Debian project (and may be used by others).
diff --git a/debian/extundelete.manpages b/debian/extundelete.manpages
new file mode 100644
index 0000000..206dd32
--- /dev/null
+++ b/debian/extundelete.manpages
@@ -0,0 +1 @@
+debian/extundelete.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b760bee
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@ 
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..44104d4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+http://sf.net/extundelete/extundelete-(.*)\.tar\.bz2
+

-- 
debian-forensics/extundelete



More information about the forensics-changes mailing list