update to 2.0 [release 2.0-1mamba;Mon Jun 25 2012]

This commit is contained in:
Stefano Cotta Ramusino 2024-01-05 17:39:40 +01:00
parent ad8ebeaa06
commit 7e9d2e93d3
2 changed files with 61 additions and 0 deletions

View File

@ -1,2 +1,7 @@
# scalpel
Scalpel is a fast file carver that reads a database of header and footer definitions and extracts matching files from a set of image files or raw device files.
Scalpel is filesystem-independent and will carve files from FATx, NTFS, ext2/3, or raw partitions.
It is useful for both digital forensics investigation and file recovery.
Scalpel resulted from a complete rewrite of foremost 0.69, a popular open source file carver, to enhance performance and decrease memory usage.

56
scalpel.spec Normal file
View File

@ -0,0 +1,56 @@
Name: scalpel
Version: 2.0
Release: 1mamba
Summary: A fast file carver
Group: Applications/File
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://www.digitalforensicssolutions.com/Scalpel
Source: http://www.digitalforensicssolutions.com/Scalpel/scalpel-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libtre-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Scalpel is a fast file carver that reads a database of header and footer definitions and extracts matching files from a set of image files or raw device files.
Scalpel is filesystem-independent and will carve files from FATx, NTFS, ext2/3, or raw partitions.
It is useful for both digital forensics investigation and file recovery.
Scalpel resulted from a complete rewrite of foremost 0.69, a popular open source file carver, to enhance performance and decrease memory usage.
%prep
%setup -q
sed -i -e "s,\(scalpel.conf\),/etc/\1," src/scalpel.h
sed -i -e "s,\(f\" in \)the current,\1%{_sysconfdir}," man/scalpel.1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# install configuration file
install -D -m 644 scalpel.conf \
%{buildroot}%{_sysconfdir}/scalpel.conf
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/scalpel
%config(noreplace) %{_sysconfdir}/scalpel.conf
%{_mandir}/man1/*
%doc Changelog gpl.txt README
%changelog
* Mon Jun 25 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.0-1mamba
- update to 2.0
* Wed Aug 29 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.60-1mamba
- package created by autospec