Imported Debian patch 7.1.614-1
authorJulien Valroff <julien@debian.org>
Sun, 18 Sep 2011 12:42:49 +0000 (14:42 +0200)
committerDevon Kearns <dookie@kali.org>
Wed, 24 Oct 2012 16:51:22 +0000 (10:51 -0600)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/cpfinder.py [new file with mode: 0755]
debian/dc3dd.docs [new file with mode: 0644]
debian/gbp.conf [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..42ebb03
--- /dev/null
@@ -0,0 +1,20 @@
+dc3dd (7.1.614-1) unstable; urgency=low
+
+  * Team upload.
+
+  [ Christophe Monniez ]
+  * Merging upstream version 7.1.614.
+
+  [ Julien Valroff ]
+  * Update DEP-5 uri
+
+ -- Julien Valroff <julien@debian.org>  Sun, 18 Sep 2011 14:42:49 +0200
+
+dc3dd (7.0.0-1) unstable; urgency=low
+
+  * Team upload.
+
+  [ Christophe Monniez ]
+  * Initial release (Closes: #468958)
+
+ -- Julien Valroff <julien@debian.org>  Mon, 06 Jun 2011 20:31:35 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..09e4a3e
--- /dev/null
@@ -0,0 +1,24 @@
+Source: dc3dd
+Section: utils
+Priority: optional
+Maintainer: Debian Forensics <forensics-devel@lists.alioth.debian.org>
+Uploaders: Christophe Monniez <christophe.monniez@fccu.be>
+Build-Depends: debhelper (>= 8.0.0), autotools-dev, gperf, autoconf
+Standards-Version: 3.9.2
+Homepage: http://dc3dd.sourceforge.net/
+Vcs-Git: git://git.debian.org/git/debian-forensics/dc3dd.git
+Vcs-Browser: http://git.debian.org/?p=debian-forensics/dc3dd.git
+
+Package: dc3dd
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: patched version of GNU dd with forensic features
+ dc3dd is a patched version of GNU dd with added features for computer
+ forensics:
+ .
+  * on the fly hashing (md5, sha-1, sha-256, and sha-512)
+  * possibility to write errors to a file
+  * group errors in the error log
+  * pattern wiping
+  * progress report
+  * possiblity to split output
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..849f345
--- /dev/null
@@ -0,0 +1,53 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
+Upstream-Name:
+Upstream-Contact:: Jesse Kornblum
+Source: http://dc3dd.sourceforge.net/
+
+Files: *
+Copyright: none
+ These improvements were made (and are now maintained) by the DoD Cyber Crime
+ Center, an agency of the United States Government.
+ .
+ By law, works of the United States Government are not eligible for copyright
+ protection (17 USC 105).
+ .
+ In accordance with the the GPL FAQ, the improvements made by the DoD Cyber
+ Crime Center are public domain and the project as a whole remains licensed
+ under the GPL.
+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
+ with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in /usr/share/common-licenses/GPL-3 file.
+
+Files: debian/*
+Copyright: (C) 2008 Christophe Monniez <christophe.monniez@fccu.be>
+           (C) 2008 Daniel Baumann <daniel@debian.org>
+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; 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 program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, 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.
diff --git a/debian/cpfinder.py b/debian/cpfinder.py
new file mode 100755 (executable)
index 0000000..1507e7e
--- /dev/null
@@ -0,0 +1,49 @@
+#!/usr/bin/python
+""" Copyright (C) 2009 Christophe Monniez
+       This script is a helper for the Debian maintainer of this package.
+       It search for the copyright informations from FSF inside ../lib/*.
+"""
+
+import os, os.path
+import re
+
+def getYears(ligne):
+       yearsp = re.compile('([12]\d{3})|([12]\d{3}-[12]\d{3}),{0,1}')
+       ylist = yearsp.findall(ligne)
+       years = ''
+       for y in ylist:
+                years += ', '.join(y)
+       if years != '':
+               return years
+       else:
+               return None
+
+def getcopyright(fichier):
+       f = open(fichier,'ro')
+       content = f.read()
+       cpp = re.compile(' Copyright \(C\).*\n{0,1}.*Free.*',re.MULTILINE)
+       s = cpp.search(content)
+       if s:
+               crstring = cpp.search(content).group().replace('\n',' ').replace('\t','')
+               years = getYears(crstring)
+               return 'Copyright (C) ' + years + 'Free Software Foundation, Inc.'
+       else:
+               return "No copyright found"
+
+crdic = {}
+for racine,dirs,fichiers in os.walk('../lib/'):
+       for fic in fichiers:
+               cs = getcopyright(os.path.join(racine,fic))
+               if crdic.has_key(cs):
+                       crdic[cs].append(fic)
+               else:
+                       crdic[cs]=[]
+                       crdic[cs].append(fic)
+
+for c in crdic.keys():
+       fichiers = ', '.join(crdic[c])
+       if len(crdic[c]) > 1:
+               print "Files: %s" % fichiers
+       else:
+               print "File: %s" % fichiers
+       print "Copyright: %s\n" % c
diff --git a/debian/dc3dd.docs b/debian/dc3dd.docs
new file mode 100644 (file)
index 0000000..5abb970
--- /dev/null
@@ -0,0 +1,6 @@
+NEWS
+README
+Sample_Commands.txt
+THANKS
+THANKS-to-translators
+TODO
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644 (file)
index 0000000..924cb79
--- /dev/null
@@ -0,0 +1,4 @@
+# git-builbpackage config file for dc3dd
+# this way gbp does not complain asbout debian branch
+[DEFAULT]
+debian-branch = debian
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..27d90bc
--- /dev/null
@@ -0,0 +1,22 @@
+#!/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=CC=$(DEB_HOST_GNU_TYPE)-gcc
+else
+       CROSS=
+endif
+
+export LDFLAGS+=-Wl,-z,defs
+
+%:
+       dh $@ --with autotools_dev
+
+override_dh_auto_configure:
+       dh_auto_configure -- $(CROSS) --enable-hpadco
+
+override_dh_auto_clean:
+       [ ! -f Makefile ] || $(MAKE) maintainer-clean
+       dh_clean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..1342609
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/dc3dd/dc3dd-(.+)\.tar\.gz