Package Details: autopsy 4.21.0-2

Git Clone URL: https://aur.archlinux.org/autopsy.git (read-only, click to copy)
Package Base: autopsy
Description: Digital forensics platform and graphical interface to The Sleuth Kit® and other digital forensic tools
Upstream URL: http://www.sleuthkit.org/autopsy/
Keywords: forensics gui java postmoterm recovery sleuthkit
Licenses: Apache-2.0
Submitter: Mikos
Maintainer: mh4ckwascut
Last Packager: mh4ckwascut
Votes: 83
Popularity: 0.75
First Submitted: 2005-09-03 19:00 (UTC)
Last Updated: 2023-10-02 21:23 (UTC)

Dependencies (7)

Required by (0)

Sources (2)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 11 Next › Last »

bader commented on 2023-10-16 06:10 (UTC) (edited on 2023-10-16 06:11 (UTC) by bader)

updated pkgbuild without hash. save locally as PKGBUILD and use makepkg -si --skipinteg to build without hash verification.

# Maintainer: Luís Ferreira <contact at lsferreira dot net>
# Contributor: Oscar Shrimpton <oscar.shrimpton.personal@gmail.com>

_pkgname=autopsy
pkgname=${_pkgname}-bin
pkgver=4.21.0
pkgrel=3
pkgdesc='Digital forensics platform and graphical interface to The Sleuth Kit® and other digital forensic tools'
arch=(x86_64)
url='http://www.sleuthkit.org/autopsy/'
license=('Apache-2.0')
_skver=4.11.1
depends=(java-runtime=17 testdisk sleuthkit "sleuthkit-java=${_skver}" java17-openjfx)
makedepends=()
optdepends=('opencv: media files (64-bit)'
'perl-parse-registry: regripper')
source=(
    "https://github.com/sleuthkit/${_pkgname}/releases/download/${_pkgname}-${pkgver}/${_pkgname}-${pkgver}.zip"
    Autopsy.desktop
autopsy)
sha512sums=('skip'
    'skip'
'skip')

package() {
    cd "${_pkgname}-${pkgver}"

    # Delete unused Windows binaries
    # https://github.com/sleuthkit/autopsy/issues/6806
    find . -name '*.exe' -delete
    find . -name '*.dll' -delete

    # Add permissions to solr
    # https://github.com/sleuthkit/autopsy/issues/7547
    chmod 755 autopsy/solr/bin/autopsy-solr

    install -d "${pkgdir}/opt/${_pkgname}"
    cp -r * "$pkgdir/opt/${_pkgname}/"

    # copy sleuthkit jar into autopsy
    rm -f $pkgdir/opt/${_pkgname}/${_pkgname}/modules/ext/sleuthkit-${_skver}.jar
    ln -s /usr/share/java/sleuthkit-${_skver}.jar $pkgdir/opt/${_pkgname}/${_pkgname}/modules/ext/sleuthkit-${_skver}.jar

    # overwrite bin/autopsy with proper permissions
    # https://github.com/sleuthkit/autopsy/issues/7547
    install -m755 bin/autopsy "$pkgdir/opt/${_pkgname}/bin/autopsy"

    # add executable
    install -d "$pkgdir/usr/bin"
    install -Dm755 "$srcdir/autopsy" "$pkgdir/usr/bin"

    install -d "$pkgdir/usr/share/pixmaps"
    install -Dm0644 icon.ico $pkgdir/usr/share/pixmaps/autopsy.ico

    install -d "$pkgdir/usr/share/applications"
    install -Dm644 "$srcdir/Autopsy.desktop" "$pkgdir/usr/share/applications"

    install -Dm644 'LICENSE-2.0.txt' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

GI_Jack commented on 2023-09-28 16:45 (UTC)

Replace dependency java11-openjfx with java17-openjfx

TheLillo commented on 2023-01-23 11:47 (UTC) (edited on 2023-01-23 11:55 (UTC) by TheLillo)

When I try to run Autopsy:

egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
Jan 23, 2023 12:42:42 PM org.netbeans.ProxyURLStreamHandlerFactory register
SEVERE: No way to find original stream handler for jar protocol
java.lang.reflect.InaccessibleObjectException: Unable to make field transient java.net.URLStreamHandler java.net.URL.handler accessible: module java.base does not "opens java.net" to unnamed module @5f2050f6
    at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:387)
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:363)
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:311)
    at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:180)
    at java.base/java.lang.reflect.Field.setAccessible(Field.java:174)
    at org.netbeans.ProxyURLStreamHandlerFactory.register(ProxyURLStreamHandlerFactory.java:59)
    at org.netbeans.JarClassLoader.<clinit>(JarClassLoader.java:117)
    at org.netbeans.MainImpl.execute(MainImpl.java:153)
    at org.netbeans.MainImpl.main(MainImpl.java:60)
    at org.netbeans.Main.main(Main.java:58)

java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
    at java.base/java.lang.System.setSecurityManager(System.java:425)
    at org.netbeans.TopSecurityManager.install(TopSecurityManager.java:525)
    at org.netbeans.core.NbLifecycleManager.advancePolicy(NbLifecycleManager.java:69)
    at org.netbeans.core.GuiRunLevel.run(GuiRunLevel.java:84)
    at org.netbeans.core.startup.Main.start(Main.java:295)
    at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
    at java.base/java.lang.Thread.run(Thread.java:1589)

Well, it was something related with the java packages. I have fixed it uninstalling java 19. I have maintained only java 11

sudo pacman -R jdk-openjdk jre-openjdk jre-openjdk-headless
sudo pacman -S jdk11-openjdk jre11-openjdk jre11-openjdk-headless java11-openjfx

Scimmia commented on 2022-12-11 21:38 (UTC)

Your helper isn't helping you. That error has nothing to do with autopsy.

zangoku commented on 2022-12-11 21:17 (UTC)

does not build ``` Welcome to Gradle 4.8!

Here are the highlights of this release: - Dependency locking - Maven Publish and Ivy Publish plugins improved and marked stable - Incremental annotation processing enhancements - APIs to configure tasks at creation time

For more details see https://docs.gradle.org/4.8/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

  • What went wrong: Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().

    Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 0s ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'java8-openjfx-8.u202-4': error: can't build sleuthkit-java-4.11.1-3, deps not satisfied: java8-openjfx error: can't build autopsy-4.19.2-1, deps not satisfied: sleuthkit-java=4.11.1 error: packages failed to build: java8-openjfx-8.u202-4 sleuthkit-java-4.11.1-3 autopsy-4.19.2-1 ```

ljmf00 commented on 2021-09-30 21:41 (UTC)

Installation seems broken due to too old dependency required (sleuthkit-java=4.10.1, current in aur at this time is 4.11.0-1). Also, is it really necessary to require specific versions for this package ? A requirement with a >= condition on the version may not have broken it I think.

You may use autopsy-bin for now. I'm restructuring this package to use the source code, instead.

mh4ckwascut commented on 2021-09-30 21:39 (UTC) (edited on 2021-09-30 21:40 (UTC) by mh4ckwascut)

Installation seems broken due to too old dependency required (sleuthkit-java=4.10.1, current in aur at this time is 4.11.0-1). Also, is it really necessary to require specific versions for this package ? A requirement with a >= condition on the version may not have broken it I think.