aboutsummaryrefslogtreecommitdiffstats
path: root/community/sleuthkit
diff options
context:
space:
mode:
Diffstat (limited to 'community/sleuthkit')
-rw-r--r--community/sleuthkit/APKBUILD35
1 files changed, 9 insertions, 26 deletions
diff --git a/community/sleuthkit/APKBUILD b/community/sleuthkit/APKBUILD
index 850a9de87f..7d5692decd 100644
--- a/community/sleuthkit/APKBUILD
+++ b/community/sleuthkit/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sleuthkit
-pkgver=4.3.0
-pkgrel=1
+pkgver=4.4.1
+pkgrel=0
pkgdesc="File system and media management forensic analysis tools"
arch="all"
license="custom"
@@ -14,53 +14,36 @@ install=""
options="libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/sleuthkit/sleuthkit/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz
- 20_fix_spelling_errors.patch
30_fix-manpages.patch
40_no_static_ldflags.patch
50_disable_ant_clean.patch"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
sed -i 's/daddr_t/uint32_t/g' tools/srchtools/sigfind.cpp
autoreconf -fi
+ default_prepare
}
build() {
- cd "$_builddir"
+ cd "$builddir"
# https://github.com/sleuthkit/sleuthkit/issues/642
export CFLAGS="$CFLAGS -DHAVE_LIBEWF_V2_API -Dlibewf_handle_read_random=libewf_handle_read_buffer_at_offset"
./configure --prefix=/usr
- make || return 1
+ make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
install -d "$pkgdir"/usr/share/licenses/$pkgname
install -Dm0644 licenses/* "$pkgdir"/usr/share/licenses/$pkgname
}
-md5sums="1e8e4b92e0e08ee0c29b4f9c7d184c98 sleuthkit-4.3.0.tar.gz
-d17615f539b4bc5bc57f2675c5921c1a 20_fix_spelling_errors.patch
-637713ba62356c72962701e42e5132c1 30_fix-manpages.patch
-dc6516d309f5719b01396b785e89c443 40_no_static_ldflags.patch
-b2dcc6fba6e77cfd5f69d92e58480aab 50_disable_ant_clean.patch"
-sha256sums="989c69183e4b7bec3734642538802cdcabe346a6dcad31cde45eebcb9bfc191f sleuthkit-4.3.0.tar.gz
-c902b51f24f31085d908549764c727f72a17b1cfc84cfe2bf6f5d4418e401cb9 20_fix_spelling_errors.patch
-a436650b9d8df1000c77cb760f0a4fd6ee4ce2fe31114cb7910cf12cd9bddfa1 30_fix-manpages.patch
-b0be2897811ba1496f032d617c33e18d98be621b0db32844ea1168ff385b0817 40_no_static_ldflags.patch
-53f5c92be2af8ff3af07bc8e773bbadf1879b4903a8c0bae87e06dfde42c9ef5 50_disable_ant_clean.patch"
-sha512sums="f34cfbbc4b93ad1e0e421755f567bb246728a126c39a207575229198f197f7fcf584707bf6b6d5e24f88549ef82666909055cb73763fc775c0af14393735b59e sleuthkit-4.3.0.tar.gz
-392f0bff361a91fe3dbee99ce12bacb5f033cef8ef19255da47ef9a6fa4a6d73260231a7054962cd33a507b3613075f5528321d9569cbc1fbc34e6274397689f 20_fix_spelling_errors.patch
+sha512sums="c5d9e4600b79d0343e275f2fa2f7e03be0dc51f16a53d16a7df8215fae20a2b803e32d60ed09e5b738f8afa9da3735d279c81cd7bedd90a8c058ceefdf7096ac sleuthkit-4.4.1.tar.gz
4b68367bff62c731c09ab9a95f810b11562f0942021825226ca8d5e846e54c64004f77ac587ea0377bcb5c50c9dcb33dba1caa8cffd717076cc13c9931dd2c9c 30_fix-manpages.patch
e0421b2fc4bb1d04d3bdb13805d060b386f700586d9e33728185eaff26eef14d5fdbf89979fb5d898dfeee7467f891b5d3c33441f9cb35af5f93d3d576e7cc26 40_no_static_ldflags.patch
cb0d17840f1b4570da1ee0d092f8716a7e073463658d4a7b1cddb74058c5eccf316fcbd2e7c5fba3af0f0adaaabe4e395bd5a41aa1438be615edacb8c6efd89d 50_disable_ant_clean.patch"