mirror of
https://github.com/adulau/dcfldd.git
synced 2024-12-22 16:56:03 +00:00
Import of dcfldd_1.3.4.1-2.1.debian.tar.gz
This commit is contained in:
commit
7f74c0d7ec
13 changed files with 370 additions and 0 deletions
32
debian/changelog
vendored
Normal file
32
debian/changelog
vendored
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
dcfldd (1.3.4.1-2.1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Non-maintainer upload.
|
||||||
|
* Replaced homepage pseudo header with regular field. Closes: #615447
|
||||||
|
* Updated standards version to 3.9.3
|
||||||
|
* Fixed lintian warnings
|
||||||
|
* Updated outdated autotools helper files. Closes: #533686
|
||||||
|
|
||||||
|
-- Miah Gregory <mace@debian.org> Sat, 12 May 2012 23:07:38 +0100
|
||||||
|
|
||||||
|
dcfldd (1.3.4.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* closes: #453577
|
||||||
|
* updated debian/watch to use built in uscan sf.net handling
|
||||||
|
|
||||||
|
-- Kenny Duffus <kenny@duffus.org> Fri, 30 Nov 2007 11:32:37 +0000
|
||||||
|
|
||||||
|
dcfldd (1.3.4.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* closes: #357738
|
||||||
|
* updated standards version to 3.7.2
|
||||||
|
* new upstream (renamed from 1.3.4-1 for compatability) which Fixed an issue
|
||||||
|
with error-producing blocks not being zero padding under BSD systems
|
||||||
|
|
||||||
|
-- Kenny Duffus <kenny@duffus.org> Sat, 22 Sep 2007 09:57:01 +0100
|
||||||
|
|
||||||
|
dcfldd (1.3.4-0ubuntu1) dapper; urgency=low
|
||||||
|
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
-- Kenny Duffus <kenny@duffus.org> Sun, 12 Feb 2006 18:46:07 +0000
|
||||||
|
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
5
|
29
debian/control
vendored
Normal file
29
debian/control
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
Source: dcfldd
|
||||||
|
Section: admin
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Kenny Duffus <kenny@duffus.org>
|
||||||
|
Build-Depends: debhelper (>= 7.0.50~), autotools-dev
|
||||||
|
Standards-Version: 3.9.3
|
||||||
|
Homepage: http://dcfldd.sourceforge.net/
|
||||||
|
|
||||||
|
Package: dcfldd
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: enhanced version of dd for forensics and security
|
||||||
|
Based on the dd program with the following additional features:
|
||||||
|
.
|
||||||
|
- Hashing on-the-fly, dcfldd can hash the input data as it is being
|
||||||
|
transferred, helping to ensure data integrity.
|
||||||
|
- Status output, dcfldd can update the user of its progress in terms of the
|
||||||
|
amount of data transferred and how much longer operation will take.
|
||||||
|
- Flexible disk wipes, dcfldd can be used to wipe disks quickly and with a
|
||||||
|
known pattern if desired.
|
||||||
|
- Image/wipe Verify, dcfldd can verify that a target drive is a bit-for-bit
|
||||||
|
match of the specified input file or pattern.
|
||||||
|
- Multiple outputs, dcfldd can output to multiple files or disks at the same
|
||||||
|
time.
|
||||||
|
- Split output, dcfldd can split output to multiple files with more
|
||||||
|
configurability than the split command.
|
||||||
|
- Piped output and logs, dcfldd can send all its log data and output to
|
||||||
|
commands as well as files natively.
|
||||||
|
.
|
112
debian/copyright
vendored
Normal file
112
debian/copyright
vendored
Normal file
|
@ -0,0 +1,112 @@
|
||||||
|
This package was debianized by Kenny Duffus <kenny@duffus.org> on
|
||||||
|
Sun, 12 Feb 2006 18:46:07 +0000.
|
||||||
|
|
||||||
|
It was downloaded from http://dcfldd.sourceforge.net/
|
||||||
|
|
||||||
|
Author: Nicholas Harbour <nicholasharbour@yahoo.com>
|
||||||
|
|
||||||
|
dcfldd is based on GNU dd written by Paul Rubin, David MacKenzie and
|
||||||
|
Stuart Kemp.
|
||||||
|
|
||||||
|
Copyright (C) 1985-2006 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
License:
|
||||||
|
|
||||||
|
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 package; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
|
||||||
|
MA 02110-1301, USA.
|
||||||
|
|
||||||
|
You should have a copy of this license in the file
|
||||||
|
/usr/share/common-licenses/GPL on your Debian system.
|
||||||
|
|
||||||
|
With the exception of the following:
|
||||||
|
|
||||||
|
md5.c and md5.h are Copyright (C) 1990, RSA Data Security, Inc under the
|
||||||
|
following license:
|
||||||
|
|
||||||
|
License to copy and use this software is granted provided that
|
||||||
|
it is identified as the "RSA Data Security, Inc. MD5 Message
|
||||||
|
Digest Algorithm" in all material mentioning or referencing this
|
||||||
|
software or this function.
|
||||||
|
|
||||||
|
License is also granted to make and use derivative works
|
||||||
|
provided that such works are identified as "derived from the RSA
|
||||||
|
Data Security, Inc. MD5 Message Digest Algorithm" in all
|
||||||
|
material mentioning or referencing the derived work.
|
||||||
|
|
||||||
|
RSA Data Security, Inc. makes no representations concerning
|
||||||
|
either the merchantability of this software or the suitability
|
||||||
|
of this software for any particular purpose. It is provided "as
|
||||||
|
is" without express or implied warranty of any kind.
|
||||||
|
|
||||||
|
These notices must be retained in any copies of any part of this
|
||||||
|
documentation and/or software.
|
||||||
|
|
||||||
|
sha1.c and sha1.h are Copyright (c) 2001-2003 Allan Saddi <allan@saddi.com>
|
||||||
|
under the following license:
|
||||||
|
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY ALLAN SADDI AND HIS 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 ALLAN SADDI OR HIS 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.
|
||||||
|
|
||||||
|
sha2.c and sha2.h are Copyright (c) 2000-2001 Aaron D. Gifford
|
||||||
|
<me@aarongifford.com> under the following license:
|
||||||
|
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
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 copyright holder nor the names of contributors
|
||||||
|
may be used to endorse or promote products derived from this software
|
||||||
|
without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``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 AUTHOR OR CONTRIBUTOR(S) 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.
|
||||||
|
|
||||||
|
The Debian packaging is (C) 2006, Kenny Duffus <kenny@duffus.org> and is
|
||||||
|
licensed under the GPL v2 or (at your option) any later version, see above.
|
1
debian/docs
vendored
Normal file
1
debian/docs
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
README
|
65
debian/patches/fix-implicit-declarations.patch
vendored
Normal file
65
debian/patches/fix-implicit-declarations.patch
vendored
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
Fixing implicit declaration warnings.
|
||||||
|
|
||||||
|
--- a/hash.h
|
||||||
|
+++ b/hash.h
|
||||||
|
@@ -99,6 +99,8 @@
|
||||||
|
extern void hash_update_buf(hashlist_t *, int, int, void *, size_t);
|
||||||
|
extern void hash_remainder(hashlist_t *, int);
|
||||||
|
|
||||||
|
+extern void init_hashlist(hashlist_t **hashlist, hashflag_t flags);
|
||||||
|
+
|
||||||
|
/* inner hashl_* funcitons are for iterating over hashlists */
|
||||||
|
extern void hashl_init(hashlist_t *, int);
|
||||||
|
extern void hashl_update(hashlist_t *, int, const void *, size_t);
|
||||||
|
--- a/split.c
|
||||||
|
+++ b/split.c
|
||||||
|
@@ -20,6 +20,9 @@
|
||||||
|
|
||||||
|
/* GNU dd originally written by Paul Rubin, David MacKenzie, and Stuart Kemp. */
|
||||||
|
|
||||||
|
+#define _GNU_SOURCE 1
|
||||||
|
+#include <stdio.h>
|
||||||
|
+
|
||||||
|
#include "dcfldd.h"
|
||||||
|
#include "split.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
--- a/translate.c
|
||||||
|
+++ b/translate.c
|
||||||
|
@@ -23,6 +23,7 @@
|
||||||
|
|
||||||
|
#include "dcfldd.h"
|
||||||
|
#include "log.h"
|
||||||
|
+#include "util.h"
|
||||||
|
|
||||||
|
/* Output representation of newline and space characters.
|
||||||
|
They change if we're converting to EBCDIC. */
|
||||||
|
--- a/util.c
|
||||||
|
+++ b/util.c
|
||||||
|
@@ -32,6 +32,7 @@
|
||||||
|
|
||||||
|
#include "dcfldd.h"
|
||||||
|
#include <sys/types.h>
|
||||||
|
+#include <sys/wait.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
@@ -40,6 +41,8 @@
|
||||||
|
#include "config.h"
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <errno.h>
|
||||||
|
+#include <error.h>
|
||||||
|
+#include "safe-read.h"
|
||||||
|
|
||||||
|
int buggy_lseek_support(int fdesc)
|
||||||
|
{
|
||||||
|
--- a/util.h
|
||||||
|
+++ b/util.h
|
||||||
|
@@ -41,7 +41,7 @@
|
||||||
|
extern int bit_count(register unsigned int);
|
||||||
|
extern void replace_escapes(char *);
|
||||||
|
extern FILE *popen2(const char *, const char *);
|
||||||
|
-extern pclose2(FILE *);
|
||||||
|
+extern int pclose2(FILE *);
|
||||||
|
|
||||||
|
#if (!HAVE_DECL_STRNDUP)
|
||||||
|
extern char *strndup(const char *, size_t);
|
14
debian/patches/fix-manpage-whatis.patch
vendored
Normal file
14
debian/patches/fix-manpage-whatis.patch
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
Update whatis entry for manual page to something more useful.
|
||||||
|
Index: dcfldd-1.3.4.1/dcfldd.1
|
||||||
|
===================================================================
|
||||||
|
--- dcfldd-1.3.4.1.orig/dcfldd.1 2012-05-12 23:37:00.033037122 +0100
|
||||||
|
+++ dcfldd-1.3.4.1/dcfldd.1 2012-05-12 23:40:26.159509098 +0100
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
|
||||||
|
.TH DCFLDD "1" "February 2006" "dcfldd (dcfldd) 1.3.4" "User Commands"
|
||||||
|
.SH NAME
|
||||||
|
-dcfldd \- manual page for dcfldd (dcfldd) 1.3.4
|
||||||
|
+dcfldd \- enhanced version of dd for forensics and security
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B dcfldd
|
||||||
|
[\fIOPTION\fR]...
|
23
debian/patches/fix-typo.patch
vendored
Normal file
23
debian/patches/fix-typo.patch
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
Fix spelling of 'separate' in the man page and source code.
|
||||||
|
--- a/dcfldd.1
|
||||||
|
+++ b/dcfldd.1
|
||||||
|
@@ -68,7 +68,7 @@
|
||||||
|
send MD5 hash output to FILE instead of stderr
|
||||||
|
.IP
|
||||||
|
if you are using multiple hash algorithms you
|
||||||
|
-can send each to a seperate file using the
|
||||||
|
+can send each to a separate file using the
|
||||||
|
convention ALGORITHMlog=FILE, for example
|
||||||
|
md5log=FILE1, sha1log=FILE2, etc.
|
||||||
|
.TP
|
||||||
|
--- a/dcfldd.c
|
||||||
|
+++ b/dcfldd.c
|
||||||
|
@@ -181,7 +181,7 @@
|
||||||
|
in a comma separated list\n\
|
||||||
|
hashlog=FILE send MD5 hash output to FILE instead of stderr\n\
|
||||||
|
if you are using multiple hash algorithms you\n\
|
||||||
|
- can send each to a seperate file using the\n\
|
||||||
|
+ can send each to a separate file using the\n\
|
||||||
|
convention ALGORITHMlog=FILE, for example\n\
|
||||||
|
md5log=FILE1, sha1log=FILE2, etc.\n\
|
||||||
|
hashlog:=COMMAND exec and write hashlog to process COMMAND\n\
|
3
debian/patches/series
vendored
Normal file
3
debian/patches/series
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
fix-typo.patch
|
||||||
|
fix-manpage-whatis.patch
|
||||||
|
fix-implicit-declarations.patch
|
85
debian/rules
vendored
Executable file
85
debian/rules
vendored
Executable file
|
@ -0,0 +1,85 @@
|
||||||
|
#!/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
|
||||||
|
|
||||||
|
# These are used for cross-compiling and for saving the configure script
|
||||||
|
# from having to guess our platform (since we know it already)
|
||||||
|
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||||
|
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||||
|
|
||||||
|
|
||||||
|
CFLAGS = -Wall -g
|
||||||
|
|
||||||
|
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||||
|
CFLAGS += -O0
|
||||||
|
else
|
||||||
|
CFLAGS += -O2
|
||||||
|
endif
|
||||||
|
|
||||||
|
config.status: configure
|
||||||
|
dh_testdir
|
||||||
|
dh_autotools-dev_updateconfig
|
||||||
|
# Add here commands to configure the package.
|
||||||
|
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
|
||||||
|
|
||||||
|
|
||||||
|
build: build-arch build-indep
|
||||||
|
build-arch: build-stamp
|
||||||
|
build-indep: build-stamp
|
||||||
|
build-stamp: config.status
|
||||||
|
dh_testdir
|
||||||
|
|
||||||
|
# Add here commands to compile the package.
|
||||||
|
$(MAKE)
|
||||||
|
|
||||||
|
touch build-stamp
|
||||||
|
|
||||||
|
clean:
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
rm -f build-stamp config.guess.dh-orig config.sub.dh-orig
|
||||||
|
|
||||||
|
# Add here commands to clean up after the build process.
|
||||||
|
[ ! -f Makefile ] || $(MAKE) distclean
|
||||||
|
|
||||||
|
dh_clean
|
||||||
|
|
||||||
|
install: build
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
dh_prep
|
||||||
|
dh_installdirs
|
||||||
|
|
||||||
|
# Add here commands to install the package into debian/dcfldd.
|
||||||
|
$(MAKE) install DESTDIR=$(CURDIR)/debian/dcfldd
|
||||||
|
|
||||||
|
|
||||||
|
# Build architecture-independent files here.
|
||||||
|
binary-indep: build install
|
||||||
|
# We have nothing to do by default.
|
||||||
|
|
||||||
|
# Build architecture-dependent files here.
|
||||||
|
binary-arch: build install
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
dh_installchangelogs ChangeLog
|
||||||
|
dh_link
|
||||||
|
dh_strip
|
||||||
|
dh_compress
|
||||||
|
dh_fixperms
|
||||||
|
dh_installdeb
|
||||||
|
dh_installdocs
|
||||||
|
dh_shlibdeps
|
||||||
|
dh_gencontrol
|
||||||
|
dh_md5sums
|
||||||
|
dh_builddeb
|
||||||
|
|
||||||
|
binary: binary-indep binary-arch
|
||||||
|
.PHONY: build clean binary-indep binary-arch binary install
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
1
debian/source/options
vendored
Normal file
1
debian/source/options
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
extend-diff-ignore = "(^|/)(config.sub|config.guess)$"
|
3
debian/watch
vendored
Normal file
3
debian/watch
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
version=3
|
||||||
|
|
||||||
|
http://sf.net/dcfldd/ dcfldd-([\d.]*).tar.gz
|
Loading…
Reference in a new issue