summaryrefslogtreecommitdiff
path: root/homebrew/autopsy
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/autopsy')
-rw-r--r--homebrew/autopsy/.beer45
-rw-r--r--homebrew/autopsy/.make.sh-auto9
-rw-r--r--homebrew/autopsy/_metadata/description1
-rw-r--r--homebrew/autopsy/_metadata/homepage1
-rw-r--r--homebrew/autopsy/_metadata/name1
-rw-r--r--homebrew/autopsy/_metadata/version1
-rwxr-xr-xhomebrew/autopsy/download.sh1
-rwxr-xr-xhomebrew/autopsy/patches.sh14
8 files changed, 73 insertions, 0 deletions
diff --git a/homebrew/autopsy/.beer b/homebrew/autopsy/.beer
new file mode 100644
index 000000000..d508f9792
--- /dev/null
+++ b/homebrew/autopsy/.beer
@@ -0,0 +1,45 @@
+{
+ "name": "Autopsy",
+ "description": "Graphical interface to Sleuth Kit investigation tools",
+ "url": "https://downloads.sourceforge.net/project/autopsy/autopsy/2.24/autopsy-2.24.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.sleuthkit.org/autopsy/index.php",
+ "depends": [
+ {
+ "depend": "sleuthkit",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": null,
+ "data": [
+ "diff --git a/base/autopsy.base b/base/autopsy.base\n",
+ "index 3b3bbdc..a0d2632 100644\n",
+ "--- a/base/autopsy.base\n",
+ "+++ b/base/autopsy.base\n",
+ "@@ -1,3 +1,6 @@\n",
+ "+#!/usr/bin/perl -wT\n",
+ "+use lib '/tmp/autopsy/';\n",
+ "+use lib '/tmp/autopsy/libexec/';\n",
+ " #\n",
+ " # autopsy gui server\n",
+ " # Autopsy Forensic Browser\n"
+ ]
+ }
+ ],
+ "install": [
+ "(var+\"lib/autopsy\").mkpath",
+ "mv \"lib\", \"libexec\"",
+ "prefix.install %w[global.css help libexec pict]",
+ "prefix.install Dir[\"*.txt\"]",
+ "(prefix+\"conf.pl\").write autcfg",
+ "inreplace \"base/autopsy.base\", \"/tmp/autopsy\", prefix",
+ "inreplace \"base/autopsy.base\", \"lib/define.pl\", \"#{libexec}/define.pl\"",
+ "bin.install \"base/autopsy.base\" => \"autopsy\""
+ ],
+ "version": "2.24",
+ "file": "autopsy.rb"
+} \ No newline at end of file
diff --git a/homebrew/autopsy/.make.sh-auto b/homebrew/autopsy/.make.sh-auto
new file mode 100644
index 000000000..744f26214
--- /dev/null
+++ b/homebrew/autopsy/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+(var+"lib/autopsy").mkpath
+mv "lib", "libexec"
+prefix.install %w[global.css help libexec pict]
+prefix.install Dir["*.txt"]
+(prefix+"conf.pl").write autcfg
+inreplace "base/autopsy.base", "/tmp/autopsy", prefix
+inreplace "base/autopsy.base", "lib/define.pl", "#{libexec}/define.pl"
+bin.install "base/autopsy.base" => "autopsy"
diff --git a/homebrew/autopsy/_metadata/description b/homebrew/autopsy/_metadata/description
new file mode 100644
index 000000000..595ef5593
--- /dev/null
+++ b/homebrew/autopsy/_metadata/description
@@ -0,0 +1 @@
+Graphical interface to Sleuth Kit investigation tools
diff --git a/homebrew/autopsy/_metadata/homepage b/homebrew/autopsy/_metadata/homepage
new file mode 100644
index 000000000..7ef731a11
--- /dev/null
+++ b/homebrew/autopsy/_metadata/homepage
@@ -0,0 +1 @@
+https://www.sleuthkit.org/autopsy/index.php
diff --git a/homebrew/autopsy/_metadata/name b/homebrew/autopsy/_metadata/name
new file mode 100644
index 000000000..b909b6ea1
--- /dev/null
+++ b/homebrew/autopsy/_metadata/name
@@ -0,0 +1 @@
+Autopsy
diff --git a/homebrew/autopsy/_metadata/version b/homebrew/autopsy/_metadata/version
new file mode 100644
index 000000000..fd6915cc4
--- /dev/null
+++ b/homebrew/autopsy/_metadata/version
@@ -0,0 +1 @@
+2.24
diff --git a/homebrew/autopsy/download.sh b/homebrew/autopsy/download.sh
new file mode 100755
index 000000000..b84e31b45
--- /dev/null
+++ b/homebrew/autopsy/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/autopsy/autopsy/2.24/autopsy-2.24.tar.gz \ No newline at end of file
diff --git a/homebrew/autopsy/patches.sh b/homebrew/autopsy/patches.sh
new file mode 100755
index 000000000..b9eb9f7d6
--- /dev/null
+++ b/homebrew/autopsy/patches.sh
@@ -0,0 +1,14 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+diff --git a/base/autopsy.base b/base/autopsy.base
+index 3b3bbdc..a0d2632 100644
+--- a/base/autopsy.base
++++ b/base/autopsy.base
+@@ -1,3 +1,6 @@
++#!/usr/bin/perl -wT
++use lib '/tmp/autopsy/';
++use lib '/tmp/autopsy/libexec/';
+ #
+ # autopsy gui server
+ # Autopsy Forensic Browser
+EOF