mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-18 18:47:43 +00:00
Merge pull request #7859 from gdicristofaro/AUT-2476_snapStore
AUT-2476 snap store
This commit is contained in:
commit
ba1651bc36
@ -1,5 +1,8 @@
|
|||||||
# Overview
|
# 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). 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
|
# Installing Prerequisites
|
||||||
- **Linux**: Run [`linux_macos_install_scripts/install_prereqs_ubuntu.sh`](./linux_macos_install_scripts/install_prereqs_ubuntu.sh).
|
- **Linux**: Run [`linux_macos_install_scripts/install_prereqs_ubuntu.sh`](./linux_macos_install_scripts/install_prereqs_ubuntu.sh).
|
||||||
|
@ -19,10 +19,11 @@
|
|||||||
# yaml reference here: https://snapcraft.io/docs/snapcraft-yaml-reference
|
# 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
|
# 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
|
name: autopsy
|
||||||
|
title: Autopsy
|
||||||
# more on base snaps here: https://snapcraft.io/docs/base-snaps
|
# 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
|
# core is based on corresponding ubuntu version. ubuntu version information can be found here: https://wiki.ubuntu.com/Releases
|
||||||
base: core22
|
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
|
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.
|
description: Autopsy is a graphical interface to The Sleuth Kit and other open source digital forensics tools.
|
||||||
source-code: https://github.com/sleuthkit/autopsy/
|
source-code: https://github.com/sleuthkit/autopsy/
|
||||||
@ -38,7 +39,7 @@ compression: lzo
|
|||||||
icon: snap/gui/autopsy.png
|
icon: snap/gui/autopsy.png
|
||||||
|
|
||||||
plugs:
|
plugs:
|
||||||
system-files-autopsy:
|
system-files-dev:
|
||||||
interface: system-files
|
interface: system-files
|
||||||
read: [/dev]
|
read: [/dev]
|
||||||
system-files-hugepages:
|
system-files-hugepages:
|
||||||
@ -88,7 +89,6 @@ apps:
|
|||||||
# taken from https://snapcraft.io/docs/supported-interfaces
|
# taken from https://snapcraft.io/docs/supported-interfaces
|
||||||
- audio-playback
|
- audio-playback
|
||||||
- block-devices
|
- block-devices
|
||||||
- browser-sandbox
|
|
||||||
- desktop
|
- desktop
|
||||||
- desktop-launch
|
- desktop-launch
|
||||||
- desktop-legacy
|
- desktop-legacy
|
||||||
@ -108,7 +108,7 @@ apps:
|
|||||||
- opengl
|
- opengl
|
||||||
- optical-drive
|
- optical-drive
|
||||||
- removable-media
|
- removable-media
|
||||||
- system-files-autopsy
|
- system-files-dev
|
||||||
- system-files-hugepages
|
- system-files-hugepages
|
||||||
- system-observe
|
- system-observe
|
||||||
slots:
|
slots:
|
||||||
@ -119,8 +119,7 @@ parts:
|
|||||||
# more information on plugins here: https://snapcraft.io/docs/supported-plugins
|
# more information on plugins here: https://snapcraft.io/docs/supported-plugins
|
||||||
plugin: autotools
|
plugin: autotools
|
||||||
source: https://github.com/sleuthkit/sleuthkit.git
|
source: https://github.com/sleuthkit/sleuthkit.git
|
||||||
source-branch: develop
|
source-tag: sleuthkit-4.12.1
|
||||||
#source-tag: sleuthkit-4.12.0
|
|
||||||
build-environment: [JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64]
|
build-environment: [JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64]
|
||||||
# information on packages here: https://snapcraft.io/docs/package-repositories
|
# information on packages here: https://snapcraft.io/docs/package-repositories
|
||||||
build-packages:
|
build-packages:
|
||||||
@ -174,7 +173,7 @@ parts:
|
|||||||
- lsof
|
- lsof
|
||||||
plugin: nil
|
plugin: nil
|
||||||
source: https://github.com/sleuthkit/autopsy.git
|
source: https://github.com/sleuthkit/autopsy.git
|
||||||
source-branch: develop
|
source-tag: autopsy-4.21.0
|
||||||
build-environment:
|
build-environment:
|
||||||
- JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
|
- JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
|
||||||
- TSK_JAVA_LIB_PATH: $SNAPCRAFT_STAGE/usr/local/share/java
|
- TSK_JAVA_LIB_PATH: $SNAPCRAFT_STAGE/usr/local/share/java
|
||||||
@ -186,7 +185,7 @@ parts:
|
|||||||
AUTOPSY_PLATFORM_PATH="$AUTOPSY_SRC_PATH/netbeans-plat/$NETBEANS_PLAT_VER"
|
AUTOPSY_PLATFORM_PATH="$AUTOPSY_SRC_PATH/netbeans-plat/$NETBEANS_PLAT_VER"
|
||||||
AUTOPSY_HARNESS_PATH="$AUTOPSY_PLATFORM_PATH/harness"
|
AUTOPSY_HARNESS_PATH="$AUTOPSY_PLATFORM_PATH/harness"
|
||||||
export TSK_HOME="$HOME/parts/sleuthkit/build"
|
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 -----
|
# ----- SETUP EXTRACT DIRECTORY -----
|
||||||
AUTOPSY_LOCATION="$SNAPCRAFT_PART_INSTALL/autopsy"
|
AUTOPSY_LOCATION="$SNAPCRAFT_PART_INSTALL/autopsy"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user