From b48d44b0aa3e4a6a1542253a32474b774a776e68 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Wed, 30 Aug 2023 09:06:47 -0400 Subject: [PATCH 1/8] update source tags --- snap/snapcraft.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index d32596b9ee..794b657f6c 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -119,8 +119,7 @@ parts: # more information on plugins here: https://snapcraft.io/docs/supported-plugins plugin: autotools source: https://github.com/sleuthkit/sleuthkit.git - source-branch: develop - #source-tag: sleuthkit-4.12.0 + source-tag: sleuthkit-4.12.1 build-environment: [JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64] # information on packages here: https://snapcraft.io/docs/package-repositories build-packages: @@ -174,7 +173,7 @@ parts: - lsof plugin: nil source: https://github.com/sleuthkit/autopsy.git - source-branch: develop + source-tag: autopsy-4.21.0 build-environment: - JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64 - TSK_JAVA_LIB_PATH: $SNAPCRAFT_STAGE/usr/local/share/java From 7349b7555a6e500d972cba5745aae98c2384cc4f Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Wed, 30 Aug 2023 09:23:53 -0400 Subject: [PATCH 2/8] update version --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 794b657f6c..7e36d38b93 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -22,7 +22,7 @@ name: autopsy # more on base snaps here: https://snapcraft.io/docs/base-snaps # core is based on corresponding ubuntu version. ubuntu version information can be found here: https://wiki.ubuntu.com/Releases base: core22 -version: 4.20.0 +version: 4.21.0 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. source-code: https://github.com/sleuthkit/autopsy/ From 3c1953238585b0e23cbd9aa7c53ca296adae8d2f Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Wed, 30 Aug 2023 09:27:03 -0400 Subject: [PATCH 3/8] just build-zip --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 7e36d38b93..039e7f273d 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -185,7 +185,7 @@ parts: AUTOPSY_PLATFORM_PATH="$AUTOPSY_SRC_PATH/netbeans-plat/$NETBEANS_PLAT_VER" AUTOPSY_HARNESS_PATH="$AUTOPSY_PLATFORM_PATH/harness" export TSK_HOME="$HOME/parts/sleuthkit/build" - ant -Dnbplatform.active.dir="$AUTOPSY_PLATFORM_PATH" -Dnbplatform.default.harness.dir="$AUTOPSY_HARNESS_PATH" build build-zip + ant -Dnbplatform.active.dir="$AUTOPSY_PLATFORM_PATH" -Dnbplatform.default.harness.dir="$AUTOPSY_HARNESS_PATH" build-zip # ----- SETUP EXTRACT DIRECTORY ----- AUTOPSY_LOCATION="$SNAPCRAFT_PART_INSTALL/autopsy" From ae99e3fffb9d5eb9e09123988dfca6c5de3029e7 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Tue, 5 Sep 2023 10:45:06 -0400 Subject: [PATCH 4/8] add title to snapcraft --- snap/snapcraft.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 039e7f273d..c5c59749e0 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -19,6 +19,7 @@ # yaml reference here: https://snapcraft.io/docs/snapcraft-yaml-reference # sample yaml files here: https://github.com/videolan/vlc/blob/master/extras/package/snap/snapcraft.yaml, https://github.com/canonical/firefox-snap/blob/stable/snapcraft.yaml name: autopsy +title: Autopsy # more on base snaps here: https://snapcraft.io/docs/base-snaps # core is based on corresponding ubuntu version. ubuntu version information can be found here: https://wiki.ubuntu.com/Releases base: core22 From 64e112d7488bdb3da24e3f2a48b6c05c50c51081 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Thu, 7 Sep 2023 15:26:04 -0400 Subject: [PATCH 5/8] remove browser-sandbox --- snap/snapcraft.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c5c59749e0..bbbb3b9b17 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -39,7 +39,7 @@ compression: lzo icon: snap/gui/autopsy.png plugs: - system-files-autopsy: + system-files-dev: interface: system-files read: [/dev] system-files-hugepages: @@ -89,7 +89,6 @@ apps: # taken from https://snapcraft.io/docs/supported-interfaces - audio-playback - block-devices - - browser-sandbox - desktop - desktop-launch - desktop-legacy @@ -109,7 +108,7 @@ apps: - opengl - optical-drive - removable-media - - system-files-autopsy + - system-files-dev - system-files-hugepages - system-observe slots: From 4c479186c12fa740ef3595ccead69f82404da707 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Mon, 11 Sep 2023 07:33:29 -0400 Subject: [PATCH 6/8] readme update --- Running_Linux_OSX.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Running_Linux_OSX.md b/Running_Linux_OSX.md index c35ca091e0..9399414051 100644 --- a/Running_Linux_OSX.md +++ b/Running_Linux_OSX.md @@ -1,5 +1,8 @@ # Overview -When installing on Debian-based Linux or macOS systems, there are three general steps: [installing prerequisites](#installing-prerequisites), [installing The Sleuth Kit](#installing-the-sleuth-kit), and [installing Autopsy](#installing-autopsy) itself. On macOS, you will want to [setup the JNA paths](#setup-macos-jna-paths). +For Linux systems that [support snapd](https://snapcraft.io/docs/installing-snapd), there is currently the option to install Autopsy from the [snap package]($install-autopsy-snap). Otherwise, when installing on Debian-based Linux or macOS systems, there are three general steps: [installing prerequisites](#installing-prerequisites), [installing The Sleuth Kit](#installing-the-sleuth-kit), and [installing Autopsy](#installing-autopsy) itself. On macOS, you will want to [setup the JNA paths](#setup-macos-jna-paths). + +# Install Autopsy Snap +You can download the snap package from the [releases section](https://github.com/sleuthkit/autopsy/releases) or directly from the [snap store](https://snapcraft.io/autopsy). In order for Autopsy to run properly, snap connections will need to be properly setup, which can be done by running this script: `snap connections autopsy | sed -nE 's/^[^ ]* *([^ ]*) *- *- *$/\1/p' | xargs -I{} sudo snap connect {}`. See the [snap README](./snap/README.md) for more information. # Installing Prerequisites - **Linux**: Run [`linux_macos_install_scripts/install_prereqs_ubuntu.sh`](./linux_macos_install_scripts/install_prereqs_ubuntu.sh). From 270d81e83ec10a1e0793ea23838ced6b9f9e9415 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Mon, 11 Sep 2023 08:21:26 -0400 Subject: [PATCH 7/8] doc update --- Running_Linux_OSX.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Running_Linux_OSX.md b/Running_Linux_OSX.md index 9399414051..881e8e9467 100644 --- a/Running_Linux_OSX.md +++ b/Running_Linux_OSX.md @@ -1,5 +1,5 @@ # Overview -For Linux systems that [support snapd](https://snapcraft.io/docs/installing-snapd), there is currently the option to install Autopsy from the [snap package]($install-autopsy-snap). Otherwise, when installing on Debian-based Linux or macOS systems, there are three general steps: [installing prerequisites](#installing-prerequisites), [installing The Sleuth Kit](#installing-the-sleuth-kit), and [installing Autopsy](#installing-autopsy) itself. On macOS, you will want to [setup the JNA paths](#setup-macos-jna-paths). +For Linux systems that [support snapd](https://snapcraft.io/docs/installing-snapd), there is currently the option to install Autopsy from the [snap package](#install-autopsy-snap). Otherwise, when installing on Debian-based Linux or macOS systems, there are three general steps: [installing prerequisites](#installing-prerequisites), [installing The Sleuth Kit](#installing-the-sleuth-kit), and [installing Autopsy](#installing-autopsy) itself. On macOS, you will want to [setup the JNA paths](#setup-macos-jna-paths). # Install Autopsy Snap You can download the snap package from the [releases section](https://github.com/sleuthkit/autopsy/releases) or directly from the [snap store](https://snapcraft.io/autopsy). In order for Autopsy to run properly, snap connections will need to be properly setup, which can be done by running this script: `snap connections autopsy | sed -nE 's/^[^ ]* *([^ ]*) *- *- *$/\1/p' | xargs -I{} sudo snap connect {}`. See the [snap README](./snap/README.md) for more information. From 320fd6ad2931f6dbbcebdc1e449d018ad0222d2b Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Wed, 13 Sep 2023 10:16:16 -0400 Subject: [PATCH 8/8] ammend README for snap package download for now --- Running_Linux_OSX.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Running_Linux_OSX.md b/Running_Linux_OSX.md index 881e8e9467..529b89f127 100644 --- a/Running_Linux_OSX.md +++ b/Running_Linux_OSX.md @@ -2,7 +2,7 @@ For Linux systems that [support snapd](https://snapcraft.io/docs/installing-snapd), there is currently the option to install Autopsy from the [snap package](#install-autopsy-snap). Otherwise, when installing on Debian-based Linux or macOS systems, there are three general steps: [installing prerequisites](#installing-prerequisites), [installing The Sleuth Kit](#installing-the-sleuth-kit), and [installing Autopsy](#installing-autopsy) itself. On macOS, you will want to [setup the JNA paths](#setup-macos-jna-paths). # Install Autopsy Snap -You can download the snap package from the [releases section](https://github.com/sleuthkit/autopsy/releases) or directly from the [snap store](https://snapcraft.io/autopsy). In order for Autopsy to run properly, snap connections will need to be properly setup, which can be done by running this script: `snap connections autopsy | sed -nE 's/^[^ ]* *([^ ]*) *- *- *$/\1/p' | xargs -I{} sudo snap connect {}`. See the [snap README](./snap/README.md) for more information. +You can download the snap package from the [releases section](https://github.com/sleuthkit/autopsy/releases). In order for Autopsy to run properly, snap connections will need to be properly setup, which can be done by running this script: `snap connections autopsy | sed -nE 's/^[^ ]* *([^ ]*) *- *- *$/\1/p' | xargs -I{} sudo snap connect {}`. See the [snap README](./snap/README.md) for more information. # Installing Prerequisites - **Linux**: Run [`linux_macos_install_scripts/install_prereqs_ubuntu.sh`](./linux_macos_install_scripts/install_prereqs_ubuntu.sh).