autopsy/autopsy.spec

Name: autopsy
Summary: Forensic browser for use with Sleuth Kit
Version: 2.24
Release: 1.2
License: GPL
Group: Applications/Internet
URL: http://www.sleuthkit.org/autopsy/
Description: The Autopsy forensic browser is a graphical interface to utilities found in the Sleuth Kit. Autopsy is the only open source graphical interface for the forensic analysis of Microsoft and UNIX file systems.

It allows the allocated and deleted files, directories, blocks, and inodes of file system images to be analyzed in a read-only environment. Images can be searched for strings and regular expressions to recover deleted material. It also allows one to create a detailed time line of the Modified, Access, and Changed times of files.

CentOS 7 x86_64

The build could not start because the following file is missing: autopsy-2.24.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: autopsy-2.24.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Brian Carrier <carrier$sleuthkit,org>

Summary: Forensic browser for use with Sleuth Kit
Name: autopsy
Version: 2.24
Release: 1.2%{?dist}
License: GPL
Group: Applications/Internet
URL: http://www.sleuthkit.org/autopsy/

Source: http://dl.sf.net/autopsy/autopsy-%{version}.tar.gz
Patch0: autopsy.patch-1.74
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
Requires: binutils
Requires: coreutils
Requires: file
Requires: grep
Requires: perl
Requires: sleuthkit >= 3.1

%filter_from_provides /^perl*/d
%filter_from_requires /^perl*/d
%filter_setup

%description
The Autopsy forensic browser is a graphical interface to utilities
found in the Sleuth Kit.  Autopsy is the only open source graphical
interface for the forensic analysis of Microsoft and UNIX file systems.

It allows the allocated and deleted files, directories, blocks, and
inodes of file system images to be analyzed in a read-only environment.
Images can be searched for strings and regular expressions to recover
deleted material.  It also allows one to create a detailed time line of
the Modified, Access, and Changed times of files.

%prep
%setup

%{__cat} <<'EOF' >autopsy
#!%{__perl} -wT
use lib '%{_datadir}/autopsy';
EOF
%{__cat} base/autopsy.base >>autopsy

%{__cat} <<'EOF' >autopsyfunc.pm
#!%{__perl} -wT
EOF
#%{__cat} base/autopsyfunc.pm.base >>autopsyfunc.pm

%{__perl} -pi.orig -e 's|\$INSTALLDIR/|%{_datadir}/autopsy/|' autopsy
%{__perl} -pi.orig -e 's|\$INSTALLDIR|%{_datadir}/autopsy|' define.pl

%patch0 -p1

%build

%install
%{__rm} -rf %{buildroot}
%{__install} -d -m0755 %{buildroot}%{_datadir}/autopsy/
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/log/autopsy/
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/morgue/
%{__install} -d -m0755 %{buildroot}%{_mandir}/man1/
%{__install} -Dp -m0755 autopsy %{buildroot}%{_sbindir}/autopsy
%{__install} -p -m0755 autopsyfunc.pm fs.pl search.pl %{buildroot}%{_datadir}/autopsy/
%{__install} -Dp -m0600 conf.pl %{buildroot}%{_datadir}/autopsy/conf.pl
%{__install} -Dp -m0600 define.pl %{buildroot}%{_datadir}/autopsy/define.pl
%{__install} -p -m0644 man/man1/* %{buildroot}%{_mandir}/man1/
%{__cp} -pr help/ pict/ %{buildroot}%{_datadir}/autopsy/
#%{__cp} -p base/fsmorgue %{buildroot}%{_localstatedir}/morgue/

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc CHANGES COPYING README TODO
%doc %{_mandir}/man?/*
%config(noreplace) %{_datadir}/autopsy/conf.pl
%config(noreplace) %{_datadir}/autopsy/define.pl
%{_sbindir}/autopsy
%{_localstatedir}/log/autopsy/
%{_localstatedir}/morgue/
%{_datadir}/autopsy/

%changelog
* Wed Mar 31 2004 Dag Wieers <dag@wieers.com> - 2.00-1
- Fix installation.

* Thu Oct 23 2003 Dag Wieers <dag@wieers.com> - 1.74-1
- Fix installation.

* Wed Oct 22 2003 Dag Wieers <dag@wieers.com> - 1.74-0
- Updated to release 1.74.

* Sun Jul 13 2003 Dag Wieers <dag@wieers.com> - 1.73-0
- Initial package. (using DAR)