debian/0000755000000000000000000000000012175153745007200 5ustar debian/control0000644000000000000000000000167712175152372010611 0ustar Source: scrub Section: utils Priority: extra Maintainer: Chris Taylor Build-Depends: debhelper (>= 9), autotools-dev Standards-Version: 3.9.4 Homepage: http://code.google.com/p/diskscrub/ Package: scrub Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: writes patterns on magnetic media to thwart data recovery scrub iteratively writes patterns on files or disk devices to make retrieving the data more difficult. . scrub can write patterns direct to disk, destroying any file system (preferred method), or it can write patterns on files, or on file system free space. . scrub writes NNSA NAP-14.x, DoD 5220.22-M, BSI, 35-pass gutmann, or one of several other selectable pattern sequences. . scrub operates at the POSIX system call level, thus it is portable to a wide variety of hardware platforms. However, this means it cannot do certain things like manipulate spare blocks on disks, etc.. debian/rules0000755000000000000000000000006612102306325010242 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_test: debian/copyright0000644000000000000000000000373512175152415011134 0ustar This package was debianized by Chris Taylor on Sun, 12 Jul 2009 19:10:29 -0700. It was downloaded from http://code.google.com/p/diskscrub/downloads/list Upstream Author: Jim Garlick Copyright: © 2001-2012 The Regents of the University of California License: Scrub 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. Scrub 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 Scrub; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA All files listed below have different copyright and/or license: "src/aes.c," "src/aes.h," and "test/aestest.c" Copyright: © 2001-2004 Christophe Devine License: Same as scrub. "test/pad.c" and "test/pat.c" Copyright: © 2001-2002 The Regents of the University of California License: Same as scrub. "test/tgetsize.c" and "test/tprogess.c" Copyright: © 2005 The Regents of the University of California License: Same as scrub. "test/trand.c" Copyright: © 2001-2005 The Regents of the University of California License: Same as scrub. "test/tsig.c" and "test/tsize.c" Copyright: © 2005-2006 The Regents of the University of California License: Same as scrub. On Debian systems, the full text of the GPL version 2 can be found at `/usr/share/common-licenses/GPL-2' and the full text of the GPL version 3 can be found at `/usr/share/common-licenses/GPL-3' The Debian packaging is © 2009-2013 Chris Taylor , and is licensed under the GPL version 3. debian/patches/0000755000000000000000000000000012175152712010620 5ustar debian/patches/02-kfreebsd0000644000000000000000000000052512175152712012551 0ustar Fixes FTBFS on kfreebsd-* Author: Petr Salinger --- a/src/getsize.c +++ b/src/getsize.c @@ -87,7 +87,7 @@ error: return -1; } -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) /* scrub-1.7 tested freebsd 5.3-RELEASE-p5 */ #include #include debian/patches/01-Includes0000644000000000000000000000074112175152616012534 0ustar Description: Fixes missing inttypes.h include in src/getsize.c Author: Roy Jamison Bug-Ubuntu: https://launchpad.net/bugs/674187 --- a/src/getsize.c +++ b/src/getsize.c @@ -45,6 +45,7 @@ extern char *prog; /* scrub-1.7 tested linux 2.6.11-1.1369_FC4 */ /* scrub-1.8 tested Fedora Core 5 */ #include +#include #include #include typedef unsigned long long u64; /* for BLKGETSIZE64 (slackware) */ debian/patches/series0000644000000000000000000000003012175152455012032 0ustar 01-Includes 02-kfreebsd debian/docs0000644000000000000000000000001412102306325010026 0ustar NEWS README debian/source/0000755000000000000000000000000012102306325010460 5ustar debian/source/format0000644000000000000000000000001412102306325011666 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212102306325010356 0ustar 9 debian/dirs0000644000000000000000000000001012102306325010033 0ustar usr/bin debian/watch0000644000000000000000000000013112175152127010215 0ustar version=3 http://code.google.com/p/diskscrub/downloads/list .*/scrub-([\d\.]+)\.tar\..* debian/changelog0000644000000000000000000000312212175153670011045 0ustar scrub (2.5.2-2) unstable; urgency=low * Bump standards-version. * Fix debian/watch (Closes: #699439). * Include 02-kfreebsd patch from Petr Salinger (Closes: #699837). * Update debian/copyright. -- Chris Taylor Sun, 28 Jul 2013 08:21:12 +0000 scrub (2.5.2-1) unstable; urgency=low * New upstream release. * Remove patch 01-Manpage. * Renamed patch 02-Includes to 01-Includes. -- Chris Taylor Wed, 30 Jan 2013 21:13:09 +0000 scrub (2.4.1-1) unstable; urgency=low * New upstream release. * Bump compat to 9. * Bump standards-version. * Bump versioned build-dep on debhelper to 9. * Remove build-dep on quilt. * Update patch 01-Manpage. * Disable tests by overriding dh_auto_test. -- Chris Taylor Mon, 23 Apr 2012 06:48:17 +0000 scrub (2.4-2) unstable; urgency=low * Include patch from ubuntu in 02-Includes (Closes: #603227). -- Chris Taylor Mon, 24 Jan 2011 19:18:19 +0000 scrub (2.4-1) unstable; urgency=low * New upstream release. * Bump standards-version. * Add quilt to build-dep. -- Chris Taylor Sun, 07 Nov 2010 08:07:15 +0000 scrub (2.2-2) unstable; urgency=low * Update package to source format 3.0 (quilt). * Update my email address. * Change package to priority optional. * Use minimal dh7 instead of cdbs. -- Chris Taylor Mon, 07 Dec 2009 00:25:42 +0000 scrub (2.2-1) unstable; urgency=low * Initial release (Closes: #535573) -- Chris Taylor Wed, 26 Aug 2009 23:41:39 +0000