54 lines
2.0 KiB
RPMSpec
54 lines
2.0 KiB
RPMSpec
|
%define srcver %(echo %version | sed -e "s,\\.\\([0-9]*\\)$,-\\1,")
|
||
|
|
||
|
Name: dcfldd
|
||
|
Version: 1.3.4.1
|
||
|
Release: 1mamba
|
||
|
Summary: An enhanced version of GNU dd with features useful for forensics and security
|
||
|
Group: System/Tools
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||
|
URL: http://dcfldd.sourceforge.net
|
||
|
Source: http://downloads.sourceforge.net/project/dcfldd/dcfldd/%{srcver}/dcfldd-%{srcver}.tar.gz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
dcfldd is an enhanced version of GNU dd with features useful for forensics and security.
|
||
|
|
||
|
Based on the dd program found in the GNU Coreutils package, dcfldd has 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.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}-%{srcver}
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/dcfldd
|
||
|
%{_mandir}/man?/*
|
||
|
%doc AUTHORS COPYING ChangeLog README
|
||
|
|
||
|
%changelog
|
||
|
* Mon Jun 25 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.3.4.1-1mamba
|
||
|
- package created by autospec
|