diff --git a/homebrew/autopsy.rb b/homebrew/autopsy.rb index b9b8c7036528c7eef81aba8992351ddae3127a89..2198dff2909f88e2f5b71eb9fbd9ca1c83775fcb 100644 --- a/homebrew/autopsy.rb +++ b/homebrew/autopsy.rb @@ -5,7 +5,7 @@ class Autopsy < Formula desc "Autopsy® is a digital forensics platform and graphical interface to The Sleuth Kit® and other digital forensics tools. It can be used by law enforcement, military, and corporate examiners to investigate what happened on a computer. You can even use it to recover photos from your camera's memory card. " homepage "http://www.sleuthkit.org/autopsy/" url "https://github.com/sleuthkit/autopsy/archive/refs/tags/autopsy-4.19.3.tar.gz" - # sha256 "67299005603af0cadc98c420ce5088187010b71eabcbb6db7a4e5bce325734c5" + # sha256 "SHA_HERE" license "Apache-2.0" depends_on "postgresql@14" diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 64045515790c2ea29ba043af52e88e788d1e7ed3..b79293328dba8d5482cccdbf4a74cd84e91b0457 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,10 +1,10 @@ -name: autopsy # you probably want to 'snapcraft register <name>' -base: core20 # the base snap is the execution environment for this snap -version: '0.1' # just for humans, typically '1.2+git' or '1.3.2' +name: autopsy +base: core20 +version: '4.19.3' summary: A graphical interface to The Sleuth Kit and other digital forensics tools. # 79 char long summary description: Autopsy is a graphical interface to The Sleuth Kit and other open source digital forensics tools. grade: stable # must be 'stable' to release into candidate/stable channels -# TODO look into turning back to strict for store inclusion +# TODO look into turning back to strict for easier store inclusion but more limited usage confinement: classic # use 'strict' once you have the right plugs and slots architectures: [amd64, arm64] compression: lzo @@ -29,7 +29,7 @@ apps: environment: jdkhome: $SNAP/usr/lib/jvm/bellsoft-java8-full-amd64 LD_LIBRARY_PATH: $SNAP/usr/local/lib:$LD_LIBRARY_PATH - PATH: $SNAP/usr/local/bin:$PATH + PATH: $SNAP/usr/bin:$SNAP/usr/local/bin:$PATH SOLR_LOGS_DIR: $HOME/.autopsy/dev/solr/logs SOLR_PID_DIR: $HOME/.autopsy/dev/solr/logs command: autopsy/bin/autopsy @@ -170,19 +170,5 @@ parts: find "$AUTOPSY_LOCATION/autopsy/markmckinnon" -name "Export*" -o -name "parse*" | xargs -I{} chmod a+x {} chmod -R a+x "$AUTOPSY_LOCATION/autopsy/solr/bin" - # # ----- INSTALL DESKTOP SHORTCUT ----- - # AUTOPSY_DESKTOP_PATH="$SNAPCRAFT_PART_INSTALL/usr/share/applications/" - # AUTOPSY_ICON_BASE_PATH="usr/share/pixmaps/" - - # mkdir -p "$SNAPCRAFT_PART_INSTALL/$AUTOPSY_ICON_BASE_PATH" - # cp ./snap/autopsy.png "$SNAPCRAFT_PART_INSTALL/$AUTOPSY_ICON_BASE_PATH" - - # mkdir -p $AUTOPSY_DESKTOP_PATH - # sudo sh -c "cat << EOF > ${AUTOPSY_DESKTOP_PATH}/autopsy.desktop - # Icon=\$SNAP/${AUTOPSY_ICON_BASE_PATH}/autopsy.png - # Exec=\$SNAP/autopsy/bin/autopsy - # EOF" - # include this line to print all set variables - # TODO remove after debugging - sed -i '129 i set -o posix ; echo $(set) >&2 ; ls -l "${jdkhome}/bin/java"' "$AUTOPSY_LOCATION/platform/lib/nbexec" \ No newline at end of file + # sed -i '129 i set -o posix ; echo $(set) >&2 ; ls -l "${jdkhome}/bin/java"' "$AUTOPSY_LOCATION/platform/lib/nbexec" \ No newline at end of file