mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
strict confinement
This commit is contained in:
parent
569e6f27bb
commit
b5d1f47e47
@ -1,21 +1,21 @@
|
|||||||
name: autopsy
|
name: autopsy
|
||||||
# core22 brings along linting for share object library paths as well as improvements to get java gstreamer working
|
|
||||||
base: core22
|
base: core22
|
||||||
version: 4.20.0
|
version: 4.20.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
|
description: Autopsy is a graphical interface to The Sleuth Kit and other open source digital forensics tools.
|
||||||
digital forensics tools.
|
source-code: https://github.com/sleuthkit/autopsy/
|
||||||
|
website: https://www.autopsy.com/
|
||||||
|
license: Apache-2.0
|
||||||
grade: stable # must be 'stable' to release into candidate/stable channels
|
grade: stable # must be 'stable' to release into candidate/stable channels
|
||||||
# TODO look into turning back to strict for easier store inclusion but more limited usage
|
confinement: strict # or classic # use 'strict' once you have the right plugs and slots
|
||||||
confinement: classic # use 'strict' once you have the right plugs and slots
|
architectures: [amd64]
|
||||||
architectures: [amd64, arm64]
|
|
||||||
compression: lzo
|
compression: lzo
|
||||||
icon: snap/gui/autopsy.png
|
icon: snap/gui/autopsy.png
|
||||||
|
|
||||||
plugs:
|
plugs:
|
||||||
system-files-autopsy:
|
system-files-autopsy:
|
||||||
interface: system-files
|
interface: system-files
|
||||||
read: [/dev]
|
read: [/]
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
autopsy:
|
autopsy:
|
||||||
@ -23,7 +23,7 @@ apps:
|
|||||||
jdkhome: $SNAP/usr/lib/jvm/java-17-openjdk-amd64
|
jdkhome: $SNAP/usr/lib/jvm/java-17-openjdk-amd64
|
||||||
# provide means for java gstreamer to find gstreamer libs
|
# provide means for java gstreamer to find gstreamer libs
|
||||||
jreflags: $jreflags "-Djna.library.path=$SNAP/usr/lib/x86_64-linux-gnu"
|
jreflags: $jreflags "-Djna.library.path=$SNAP/usr/lib/x86_64-linux-gnu"
|
||||||
LD_LIBRARY_PATH: $SNAP/usr/local/lib:$LD_LIBRARY_PATH
|
#LD_LIBRARY_PATH: ${SNAP}/usr/local/lib:${SNAP}/usr/lib/x86_64-linux-gnu/gstreamer-1.0:${SNAP}/usr/lib/x86_64-linux-gnu:${SNAP}/lib/x86_64-linux-gnu:${SNAP}/usr/lib/x86_64-linux-gnu/glib-2.0:${LD_LIBRARY_PATH}
|
||||||
# make sure path is set up to ensure things like photorec are found
|
# make sure path is set up to ensure things like photorec are found
|
||||||
PATH: $SNAP/usr/bin:$SNAP/usr/local/bin:$PATH
|
PATH: $SNAP/usr/bin:$SNAP/usr/local/bin:$PATH
|
||||||
# gstreamer scans for plugins (i.e. app integration plugins). this tells gstreamer where to look for the scanner and libraries
|
# gstreamer scans for plugins (i.e. app integration plugins). this tells gstreamer where to look for the scanner and libraries
|
||||||
@ -79,6 +79,8 @@ parts:
|
|||||||
source-branch: develop
|
source-branch: develop
|
||||||
#source-tag: sleuthkit-4.12.0
|
#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]
|
||||||
|
# build-attributes:
|
||||||
|
# - enable-patchelf
|
||||||
build-packages:
|
build-packages:
|
||||||
- build-essential
|
- build-essential
|
||||||
- autoconf
|
- autoconf
|
||||||
@ -97,7 +99,6 @@ parts:
|
|||||||
- libvhdi-dev
|
- libvhdi-dev
|
||||||
- libvmdk-dev
|
- libvmdk-dev
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- build-essential
|
|
||||||
- libpq-dev
|
- libpq-dev
|
||||||
- testdisk
|
- testdisk
|
||||||
- libafflib-dev
|
- libafflib-dev
|
||||||
@ -106,6 +107,8 @@ parts:
|
|||||||
- libvmdk-dev
|
- libvmdk-dev
|
||||||
autopsy:
|
autopsy:
|
||||||
after: [sleuthkit]
|
after: [sleuthkit]
|
||||||
|
# build-attributes:
|
||||||
|
# - enable-patchelf
|
||||||
build-packages:
|
build-packages:
|
||||||
- zip
|
- zip
|
||||||
- unzip
|
- unzip
|
||||||
@ -118,6 +121,13 @@ parts:
|
|||||||
- libheif-dev
|
- libheif-dev
|
||||||
- libpq-dev
|
- libpq-dev
|
||||||
- testdisk
|
- testdisk
|
||||||
|
- freeglut3
|
||||||
|
- libpsm-infinipath1
|
||||||
|
- libpsm-infinipath1-dev
|
||||||
|
- libglu1-mesa
|
||||||
|
- libgstreamer1.0-dev
|
||||||
|
- libgstreamer-plugins-base1.0-dev
|
||||||
|
- libgstreamer-plugins-bad1.0-dev
|
||||||
- libgstreamer1.0-0
|
- libgstreamer1.0-0
|
||||||
- gstreamer1.0-plugins-base
|
- gstreamer1.0-plugins-base
|
||||||
- gstreamer1.0-plugins-good
|
- gstreamer1.0-plugins-good
|
||||||
@ -131,8 +141,8 @@ parts:
|
|||||||
- gstreamer1.0-gtk3
|
- gstreamer1.0-gtk3
|
||||||
- gstreamer1.0-qt5
|
- gstreamer1.0-qt5
|
||||||
- gstreamer1.0-pulseaudio
|
- gstreamer1.0-pulseaudio
|
||||||
- openjdk-17-jdk
|
|
||||||
- openjdk-17-jre
|
- openjdk-17-jre
|
||||||
|
- openjdk-17-jdk
|
||||||
- perl
|
- perl
|
||||||
plugin: nil
|
plugin: nil
|
||||||
# source: https://github.com/sleuthkit/autopsy.git
|
# source: https://github.com/sleuthkit/autopsy.git
|
||||||
@ -142,7 +152,7 @@ parts:
|
|||||||
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
|
||||||
override-build: |-
|
override-build: |
|
||||||
# ----- BUILD ZIP -----
|
# ----- BUILD ZIP -----
|
||||||
AUTOPSY_SRC_PATH=$(pwd)
|
AUTOPSY_SRC_PATH=$(pwd)
|
||||||
NETBEANS_PLAT_VER=$(grep "netbeans-plat-version=" "$AUTOPSY_SRC_PATH/nbproject/platform.properties" | cut -d'=' -f2)
|
NETBEANS_PLAT_VER=$(grep "netbeans-plat-version=" "$AUTOPSY_SRC_PATH/nbproject/platform.properties" | cut -d'=' -f2)
|
||||||
@ -171,4 +181,3 @@ parts:
|
|||||||
|
|
||||||
# include this line to print all set variables
|
# include this line to print all set variables
|
||||||
# sed -i '129 i set -o posix ; echo $(set) >&2 ; ls -l "${jdkhome}/bin/java"' "$AUTOPSY_LOCATION/platform/lib/nbexec"
|
# sed -i '129 i set -o posix ; echo $(set) >&2 ; ls -l "${jdkhome}/bin/java"' "$AUTOPSY_LOCATION/platform/lib/nbexec"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user