Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1e711fb78a1efde9f297ab2b03d524140520f7fc

commit 1e711fb78a1efde9f297ab2b03d524140520f7fc
Author: exceed <exceed.ced...@gmail.com>
Date:   Sun Jul 26 22:40:38 2009 +0000

autopsy-2.21-1-i686

* New package

diff --git a/source/apps-extra/autopsy/FrugalBuild 
b/source/apps-extra/autopsy/FrugalBuild
new file mode 100644
index 0000000..4adfadf
--- /dev/null
+++ b/source/apps-extra/autopsy/FrugalBuild
@@ -0,0 +1,28 @@
+# Compiling Time: 0 SBU
+# Maintainer: exceed <exceed.ced...@gmail.com>
+
+pkgname=autopsy
+pkgver=2.21
+pkgrel=1
+pkgdesc="The Autopsy Forensic Browser is a GUI to the command line digital 
investigation tools in The Sleuth Kit"
+depends=('coreutils' 'grep' 'perl' 'file' 'sleuthkit')
+groups=('apps-extra')
+archs=('i686')
+Finclude sourceforge
+source=("${sour...@]}" "autopsy")
+sha1sums=('083f6e1794e19ad07989d088a35da16e9418c83b' \
+          'fbd0f5ab18f75c7b8455a104ec7be0b81acfe26d')
+
+build()
+{
+       Fmkdir /usr/share /usr/bin /usr/share/doc/${pkgname}
+       Ffile ${pkgname} /usr/bin
+       chmod +x $Fdestdir/usr/bin/autopsy
+       Ffile ${pkgname}-${pkgver}.tar.gz /usr/share
+       cd $Fdestdir/usr/share
+       Fextract ${pkgname}-${pkgver}.tar.gz
+       Frm /usr/share/${pkgname}-${pkgver}.tar.gz
+       Fmv /usr/share/${pkgname}-${pkgver} /usr/share/${pkgname}
+       Fmv /usr/share/${pkgname}/docs/*.* /usr/share/doc/${pkgname}
+       Fmv /usr/share/${pkgname}/man /usr/share/
+}
diff --git a/source/apps-extra/autopsy/autopsy 
b/source/apps-extra/autopsy/autopsy
new file mode 100755
index 0000000..87e7e2d
--- /dev/null
+++ b/source/apps-extra/autopsy/autopsy
@@ -0,0 +1,23 @@
+#!/bin/sh
+# Autopsy launcher for Frugalware
+# exceed <exceed.ced...@gmail.com>
+
+AUTOPSY_DIR=/usr/share/autopsy
+if [ $USER = root ]; then
+       if (test -f $AUTOPSY_DIR/autopsy) then
+               cd $AUTOPSY_DIR
+               ./autopsy $#
+       else
+               echo "Autopsy needs a configuration before first start"
+               echo ""
+               echo "Try 'autopsy --configure' as root"
+       fi;
+       if [ "$1" = "--configure" ]; then
+               cd $AUTOPSY_DIR
+               ./configure
+       fi;
+else
+       echo ""
+       echo "Error : you must be root to launch autopsy"
+       echo ""
+fi;
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to