Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
autopsy
> autopsy.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File autopsy.spec of Package autopsy
Summary: Forensic browser for use with Sleuth Kit Name: autopsy Version: 2.24 Release: 1 License: GPL Group: Applications/Internet URL: http://www.sleuthkit.org/autopsy/ Source: http://dl.sf.net/autopsy/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: binutils Requires: coreutils Requires: file Requires: grep Requires: perl Requires: sleuthkit >= 3.1 %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 -q cat <<'EOF' >autopsy use lib '%{_datadir}/autopsy'; EOF cat base/autopsy.base >>autopsy cat <<'EOF' >autopsyfunc.pm EOF cat > conf.pl << EOF # Autopsy configuration settings # when set to 1, the server will stop after it receives no # connections for STIMEOUT seconds. \$USE_STIMEOUT = 0; \$STIMEOUT = 3600; # number of seconds that child waits for input from client \$CTIMEOUT = 15; # set to 1 to save the cookie value in a file (for scripting) \$SAVE_COOKIE = 1; \$INSTALLDIR = '%{_datadir}/autopsy/'; # System Utilities \$STRINGS_EXE = '%{_bindir}/strings'; \$GREP_EXE = '/bin/grep'; \$FILE_EXE = '%{_bindir}/file'; # Directories \$TSKDIR = '%{_bindir}/'; \$NSRLDB = ''; \$LOCKDIR = '%{_localstatedir}/lib/morgue'; EOF %{__perl} -pi.orig -e 's|\$INSTALLDIR/|%{_datadir}/autopsy/|' autopsy %{__perl} -pi.orig -e 's|\$INSTALLDIR|%{_datadir}/autopsy|' define.pl %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 %{buildroot}%{_datadir}/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/ %clean rm -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc COPYING %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