[Forensics-changes] [SCM] forensics/safecopy branch, debian, updated. upstream/0.2-1-g16cd8b5

Juan Angulo Moreno juan at apuntale.com
Sun Jan 18 19:11:30 UTC 2009


The following commit has been merged in the debian branch:
commit 16cd8b5d4c80068c09bd8228f4ae50a88fba93ec
Author: Juan Angulo Moreno <juan at apuntale.com>
Date:   Sun Jan 18 14:41:58 2009 -0430

    Added debianization files

diff --git a/safecopy-0.2/debian/changelog b/safecopy-0.2/debian/changelog
new file mode 100644
index 0000000..6d96022
--- /dev/null
+++ b/safecopy-0.2/debian/changelog
@@ -0,0 +1,7 @@
+safecopy (0.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #512208)
+
+ -- Juan Angulo Moreno <juan at apuntale.com>  Sat, 18 Jan 2009 12:16:12 -0430
+
+
diff --git a/safecopy-0.2/debian/compat b/safecopy-0.2/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/safecopy-0.2/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/safecopy-0.2/debian/control b/safecopy-0.2/debian/control
new file mode 100644
index 0000000..3ded057
--- /dev/null
+++ b/safecopy-0.2/debian/control
@@ -0,0 +1,19 @@
+Source: safecopy
+Section: admin
+Priority: optional
+Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
+Uploaders: Juan Angulo Moreno <juan at apuntale.com>
+Build-Depends: debhelper (>= 7), autotools-dev
+Standards-Version: 3.8.0
+Homepage: http://safecopy.sourceforge.net
+Vcs-Git: git://git.debian.org/git/forensics/safecopy.git
+Vcs-Browser: http://git.debian.org/?p=forensics/safecopy.git
+
+Package: safecopy
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A data recovery tool
+ Is a data recovery tool which tries to extract as much data as 
+ possible from a seekable, but problematic (i.e. damaged sectors) 
+ source - like floppy drives, harddisk partitions, CDs, ..., where 
+ other tools like dd would fail doe to I/O errors.
diff --git a/safecopy-0.2/debian/copyright b/safecopy-0.2/debian/copyright
new file mode 100644
index 0000000..6a76cdd
--- /dev/null
+++ b/safecopy-0.2/debian/copyright
@@ -0,0 +1,40 @@
+Author: Corvus Corax <corvuscorax at cybertrench.com>
+Download: http://safecopy.sourceforge.net
+
+Files: *
+Copyright:
+ (C) 2005 Corvus Corax <corvuscorax at cybertrench.com>
+
+License: GPL-2
+ This package 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 package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ 
+Files: debian/*
+Copyright: (C) 2008 Juan Angulo Moreno <juan at apuntale.com>
+License: GPL-3+
+ 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 3 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, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL-3 and GPL-2 files.
diff --git a/safecopy-0.2/debian/dirs b/safecopy-0.2/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/safecopy-0.2/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/safecopy-0.2/debian/docs b/safecopy-0.2/debian/docs
new file mode 100644
index 0000000..6f83607
--- /dev/null
+++ b/safecopy-0.2/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+NEWS
+README
diff --git a/safecopy-0.2/debian/rules b/safecopy-0.2/debian/rules
new file mode 100755
index 0000000..b65792d
--- /dev/null
+++ b/safecopy-0.2/debian/rules
@@ -0,0 +1,66 @@
+#!/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
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+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
+	./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+
+build-stamp:  config.status 
+	dh_testdir
+
+	$(MAKE)
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	[ ! -f Makefile ] || $(MAKE) clean
+	rm -f config.sub config.guess config.log config.status
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	$(MAKE) DESTDIR=$(CURDIR)/debian/safecopy install
+
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installman debian/safecopy.1
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/safecopy-0.2/debian/safecopy.1 b/safecopy-0.2/debian/safecopy.1
new file mode 100644
index 0000000..ff64aa9
--- /dev/null
+++ b/safecopy-0.2/debian/safecopy.1
@@ -0,0 +1,79 @@
+.TH SAFECOPY 1 "ene 18, 2008"
+.SH NAME
+SAFECOPY \- A data recovery tool
+.SH SYNOPSIS
+.B SAFECOPY
+.RB [OPTIONS]
+.RB SOURCE
+.RB TARGET
+.SH DESCRIPTION
+A data recovery tool.
+.PP
+.PP
+Safecopy is a data recovery tool which tries to extract as much data as 
+possible from a seekable, but problematic (i.e. damaged sectors) 
+source - like floppy drives, harddisk partitions, CDs, ..., where 
+other tools like dd would fail doe to I/O errors.
+.PP
+Safecopy tries to get as much data from the source as possible without 
+device dependent tricks. For example to get an ISO image from a copy 
+protected or otherwise damaged CD-ROM, cdrdao and bin2iso would possibly 
+do a better and faster job.
+.SH OPTIONS
+Usage: safecopy [options] <source> <target>
+.TP
+.B -b <bytes>
+.br 
+Blocksize in bytes, also used for skipping
+offset when searching for the end of a bad area.
+Set this to physical sectorsize of your media.
+Default: 512
+.TP
+.B -r <bytes>
+Resolution in bytes when searching for the exact
+beginning or end of a bad area Bigger values 
+increase performace at potential costof valid data 
+close to damaged areas. Default: 4
+.TP
+.B -s <blocks>
+Start position where to start reading. Will correspond
+to position 0 in the destination file. Default: block 0
+.TP
+.B -l <blocks>
+Length of data to be read. Default: size of input file.
+.TP
+.B -h | --help
+Show this text.
+.SH DESCRIPTION OF OUTPUT
+.TP
+.B . : 
+Between 1 and 1024 blocks successfully read.
+.TP
+.B _ : 
+Read was incomplete. (possibly end of file) blocksize is reduced to 
+read the rest.
+.TP
+.B > : 
+Read failed, reducing blocksize to read partial data.
+.TP
+.B [xx](+yy) : 
+current block and number of blocks (or bytes) continuously read 
+successfully up to this point.
+.TP
+.B X : 
+Read failed on block with minimum blocksize and is skipped. Unrecoverable 
+error, destination file is padded with zeros. Data is now skipped until
+end of the unreadable area is reached.
+.TP
+.B < : 
+Successfull read- test after the end of a bad area causes backtracking to 
+search for the first readable data.
+.TP
+.B [xx](+yy) :
+Current block and number of blocks (or bytes) of recent continuous 
+unreadable data.
+.SH AUTHOR
+safecopy was written by Corvus Corax (corvuscorax at cybertrench.com)
+.PP
+This manual page was written by Juan Angulo Moreno <juan at apuntale.com>,
+for the Debian project (but may be used by others).
diff --git a/safecopy-0.2/debian/watch b/safecopy-0.2/debian/watch
new file mode 100644
index 0000000..1a6b322
--- /dev/null
+++ b/safecopy-0.2/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/safecopy/safecopy-(.*)\.tar\.gz

-- 
forensics/safecopy



More information about the forensics-changes mailing list