From fc073e8536967ab482b32235b89128ed0e6a0678 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 5 Mar 2009 20:24:30 +0000 Subject: [PATCH 1/5] Initialize branch F-9 for dc3dd --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..1c26f78 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-9 From b2416f393f6004a10a6781a35743daa3d63eff63 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Thu, 5 Mar 2009 22:35:42 +0000 Subject: [PATCH 2/5] Initial cvs-import of dc3dd package. --- .cvsignore | 1 + dc3dd.spec | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 78 insertions(+) create mode 100644 dc3dd.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..ff17428 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +dc3dd-6.12.2.tar.gz diff --git a/dc3dd.spec b/dc3dd.spec new file mode 100644 index 0000000..d456ba0 --- /dev/null +++ b/dc3dd.spec @@ -0,0 +1,75 @@ +Name: dc3dd +Version: 6.12.2 +Release: 3%{?dist} +Summary: Patched version of GNU dd for use in computer forensics + +Group: Applications/Editors +License: GPLv2+ and GPLv3+ +URL: http://dc3dd.sourceforge.net/ +Source0: http://master.dl.sourceforge.net/dc3dd/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +BuildRequires: gettext + +%description +dc3dd is a patched version of GNU dd to include a number of features useful +for computer forensics. Many of these features were inspired by dcfldd, but +were rewritten for dc3dd. + + * Pattern writes. The program can write a single hexadecimal value or a + text string to the output device for wiping purposes. + * Piecewise and overall hashing with multiple algorithms and variable + size windows. Supports MD5, SHA-1, SHA-256, and SHA-512. Hashes can be + computed before or after conversions are made. + * Progress meter with automatic input/output file size probing + * Combined log for hashes and errors + * Error grouping. Produces one error message for identical sequential + errors + * Verify mode. Able to repeat any transformations done to the input + file and compare it to an output. + * Ability to split the output into chunks with numerical or alphabetic + extensions + + +%prep +%setup -q + +for file in README Sample_Commands.txt Options_Reference.txt; +do + sed 's|\r||' $file > $file.tmp + touch -r $file $file.tmp + mv -f $file.tmp $file +done + +rm po/*.gmo + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc ABOUT-NLS AUTHORS COPYING ChangeLog README README.coreutils THANKS THANKS-to-translators TODO Sample_Commands.txt NEWS Options_Reference.txt +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.* + +%changelog +* Thu Mar 05 2009 Adam Miller - 6.12.2-3 +- Cleaned up the .spec by looping through files needing EOF encoding fix + +* Mon Mar 02 2009 Adam Miller - 6.12.2-2 +- Removed .gmo binaries, fixed source0, added doc items, fixed EOF encoding +- fixed licencing listing + +* Mon Feb 23 2009 Adam Miller - 6.12.2-1 +- First build of dc3dd for fedora diff --git a/import.log b/import.log new file mode 100644 index 0000000..416c74d --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +dc3dd-6_12_2-3:F-9:dc3dd-6.12.2-3.src.rpm:1236291890 diff --git a/sources b/sources index e69de29..5f30c7e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +97cc4421e18156890d53803cacf9180c dc3dd-6.12.2.tar.gz From 8c294ea398e61d8f6d32a281687bc34988c1b22d Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Thu, 19 Mar 2009 21:42:03 +0000 Subject: [PATCH 3/5] New dc3dd release --- .cvsignore | 2 +- dc3dd.spec | 7 +++++-- import.log | 1 + sources | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index ff17428..a2b0bbf 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -dc3dd-6.12.2.tar.gz +dc3dd-6.12.3.tar.gz diff --git a/dc3dd.spec b/dc3dd.spec index d456ba0..0c33698 100644 --- a/dc3dd.spec +++ b/dc3dd.spec @@ -1,6 +1,6 @@ Name: dc3dd -Version: 6.12.2 -Release: 3%{?dist} +Version: 6.12.3 +Release: 1%{?dist} Summary: Patched version of GNU dd for use in computer forensics Group: Applications/Editors @@ -64,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/%{name}.* %changelog +* Thu Mar 19 2009 Adam Miller - 6.12.3-1 +- New release of dc3dd + * Thu Mar 05 2009 Adam Miller - 6.12.2-3 - Cleaned up the .spec by looping through files needing EOF encoding fix diff --git a/import.log b/import.log index 416c74d..0ab5d14 100644 --- a/import.log +++ b/import.log @@ -1 +1,2 @@ dc3dd-6_12_2-3:F-9:dc3dd-6.12.2-3.src.rpm:1236291890 +dc3dd-6_12_3-1:F-9:dc3dd-6.12.3-1.src.rpm:1237498907 diff --git a/sources b/sources index 5f30c7e..a34bb33 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -97cc4421e18156890d53803cacf9180c dc3dd-6.12.2.tar.gz +b01dd06bbfea7cb49cf4a677715a1524 dc3dd-6.12.3.tar.gz From 0306f3aa558b868ddf1e7ada61960b2f0c5378b8 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:20:27 +0000 Subject: [PATCH 4/5] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6fe63d9..41e19a5 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := dc3dd SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From d22fadca5f6bcdc9e5d67e046788bbc1191b7e9d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 12:43:57 +0000 Subject: [PATCH 5/5] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 2 -- 4 files changed, 24 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 41e19a5..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: dc3dd -# $Id$ -NAME := dc3dd -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 1c26f78..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-9 diff --git a/import.log b/import.log deleted file mode 100644 index 0ab5d14..0000000 --- a/import.log +++ /dev/null @@ -1,2 +0,0 @@ -dc3dd-6_12_2-3:F-9:dc3dd-6.12.2-3.src.rpm:1236291890 -dc3dd-6_12_3-1:F-9:dc3dd-6.12.3-1.src.rpm:1237498907