Skip to content

Commit

Permalink
autopsy: upgrading autopsy formula to 4.21.0
Browse files Browse the repository at this point in the history
This commit is part of issue Homebrew#139929. It upgrades the autopsy formula.

style fix

style fix

autopsy: removed the deprecated label.
  • Loading branch information
xakep8 committed Sep 16, 2024
1 parent a6b2705 commit 8f19b37
Showing 1 changed file with 5 additions and 22 deletions.
27 changes: 5 additions & 22 deletions Formula/a/autopsy.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
class Autopsy < Formula
desc "Graphical interface to Sleuth Kit investigation tools"
homepage "https://www.sleuthkit.org/autopsy/index.php"
url "https://downloads.sourceforge.net/project/autopsy/autopsy/2.24/autopsy-2.24.tar.gz"
sha256 "ab787f519942783d43a561d12be0554587f11f22bc55ab79d34d8da703edc09e"
homepage "https://www.autopsy.com/"
url "https://github.com/sleuthkit/autopsy.git",
tag: "autopsy-4.21.0",
revision: "c23b4fd71d8966a80a8d6d2b5d1a979522dfcc49"
license "GPL-2.0-or-later"
head "https://github.com/sleuthkit/autopsy.git", branch: "develop"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "0b7daff147ae1d82a0dee7c5f3d853b0b6015af1bf2fde65f23676feae1b7895"
Expand All @@ -19,9 +21,6 @@ class Autopsy < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "5e1ce8b5147639d7737a4013030ee2a059d1b8dd4657554e08e9423a9a6b2f66"
end

# Installs prebuilt binaries, broken on arm: https://github.com/Homebrew/homebrew-core/issues/175053
deprecate! date: "2024-06-22", because: :does_not_build

depends_on "sleuthkit"

uses_from_macos "perl"
Expand All @@ -32,9 +31,6 @@ class Autopsy < Formula
depends_on "md5sha1sum"
end

# fixes weird configure script that wouldn't work nicely with homebrew
patch :DATA

def autcfg
# Although these binaries are usually available on Linux, they can be in different locations
# so we use the brewed versions instead.
Expand Down Expand Up @@ -111,16 +107,3 @@ def caveats
end
end
end

__END__
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

0 comments on commit 8f19b37

Please sign in to comment.