diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a2b0bbf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +dc3dd-6.12.3.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 6fe63d9..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 $$/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/dc3dd.spec b/dc3dd.spec new file mode 100644 index 0000000..0c33698 --- /dev/null +++ b/dc3dd.spec @@ -0,0 +1,78 @@ +Name: dc3dd +Version: 6.12.3 +Release: 1%{?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 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 + +* 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/sources b/sources index e69de29..a34bb33 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b01dd06bbfea7cb49cf4a677715a1524 dc3dd-6.12.3.tar.gz