--- safecopy-1.5.orig/debian/control +++ safecopy-1.5/debian/control @@ -0,0 +1,19 @@ +Source: safecopy +Section: admin +Priority: optional +Maintainer: Debian Forensics +Uploaders: Juan Angulo Moreno +Build-Depends: debhelper (>= 7), autotools-dev +Standards-Version: 3.8.1 +Homepage: http://safecopy.sourceforge.net +Vcs-Browser: http://git.debian.net/?p=debian-forensics/safecopy.git +Vcs-Git: git://git.debian.net/git/debian-forensics/safecopy.git + +Package: safecopy +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Copy utility ignoring errors + 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 due to I/O errors. --- safecopy-1.5.orig/debian/rules +++ safecopy-1.5/debian/rules @@ -0,0 +1,68 @@ +#!/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 + + $(MAKE) DESTDIR=$(CURDIR)/debian/safecopy install + +binary: binary-arch + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installman + 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 --- safecopy-1.5.orig/debian/watch +++ safecopy-1.5/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/safecopy/safecopy-(.*)\.tar\.gz --- safecopy-1.5.orig/debian/changelog +++ safecopy-1.5/debian/changelog @@ -0,0 +1,42 @@ +safecopy (1.5-1~ppa1) jaunty; urgency=low + + * Updating to 1.5 + * Backport to Jaunty + + -- Christophe Mehay Mon, 10 Aug 2009 19:36:30 +0200 + +safecopy (1.3-1) unstable; urgency=low + + * Merging upstream version 1.3. + + -- Daniel Baumann Thu, 28 May 2009 23:21:36 +0200 + +safecopy (0.2-2) unstable; urgency=low + + * Adding myself to copyright. + * Improving description, thanks to Loic Minier + (Closes: #520096, #520208). + * Tidy rules file. + * Updating to standards 3.8.1. + + -- Daniel Baumann Thu, 28 May 2009 22:27:36 +0200 + +safecopy (0.2-1) unstable; urgency=low + + [ Juan Angulo Moreno ] + * Initial release (Closes: #512208). + + [ Daniel Baumann ] + * Removing useless whitespaces at EOF and EOL. + * Updating vcs fields in control. + * Rewrapping package long description to 80 chars a line in control. + * Crorrecting copyright file. + * Removing useless dirs debhelper file. + * Removing AUTHORS from docs, doesn't contain new information over copyright + file. + * Removing NEWS from docs, doesn't contain new information over ChangeLog. + * Reordering rules file. + * Moving out manpage of debian directory to subdirectory. + * Prefixing debhelper files with package name. + + -- Daniel Baumann Tue, 20 Jan 2009 21:22:26 +0100 --- safecopy-1.5.orig/debian/safecopy.docs +++ safecopy-1.5/debian/safecopy.docs @@ -0,0 +1 @@ +README --- safecopy-1.5.orig/debian/compat +++ safecopy-1.5/debian/compat @@ -0,0 +1 @@ +7 --- safecopy-1.5.orig/debian/safecopy.manpages +++ safecopy-1.5/debian/safecopy.manpages @@ -0,0 +1 @@ +debian/manpages/* --- safecopy-1.5.orig/debian/copyright +++ safecopy-1.5/debian/copyright @@ -0,0 +1,43 @@ +Author: Corvus Corax +Download: http://safecopy.sourceforge.net/ + +Files: * +Copyright: (C) 2005 Corvus Corax +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; version 2 + of the License. + . + 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) 2008-2009 Juan Angulo Moreno + (C) 2008-2009 Daniel Baumann +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 . + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. --- safecopy-1.5.orig/debian/manpages/safecopy.1 +++ safecopy-1.5/debian/manpages/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] +.TP +.B -b +.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 +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 +Start position where to start reading. Will correspond +to position 0 in the destination file. Default: block 0 +.TP +.B -l +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@cybertrench.com) +.PP +This manual page was written by Juan Angulo Moreno , +for the Debian project (but may be used by others).