aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2020-11-04 19:59:53 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2020-11-04 19:59:53 +0000
commitf5c0ffa983e0e446cc465ea06420e551780a3764 (patch)
tree84d41a45d89d35cacadcb6cd265359d5c7553726
parent16cd00a61fd364f1bc655bff925ac260779c3e86 (diff)
downloadaports-f5c0ffa983e0e446cc465ea06420e551780a3764.tar.gz
aports-f5c0ffa983e0e446cc465ea06420e551780a3764.tar.bz2
aports-f5c0ffa983e0e446cc465ea06420e551780a3764.tar.xz
community/sleuthkit: upgrade to 4.10.1
-rw-r--r--community/sleuthkit/20_disable_failing_tests.patch16
-rw-r--r--community/sleuthkit/APKBUILD20
2 files changed, 31 insertions, 5 deletions
diff --git a/community/sleuthkit/20_disable_failing_tests.patch b/community/sleuthkit/20_disable_failing_tests.patch
new file mode 100644
index 0000000000..ee64804512
--- /dev/null
+++ b/community/sleuthkit/20_disable_failing_tests.patch
@@ -0,0 +1,16 @@
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index 8921e12..4f522cd 100644
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -5,9 +5,9 @@ LDADD = ../tsk/libtsk.la
+ LDFLAGS += -static $(PTHREAD_LIBS)
+ EXTRA_DIST = .indent.pro runtests.sh
+
+-check_SCRIPTS = runtests.sh test_libraries.sh
++check_SCRIPTS = runtests.sh
+
+-TESTS = runtests.sh test_libraries.sh
++TESTS = runtests.sh
+
+ check_PROGRAMS = read_apis fs_fname_apis fs_attrlist_apis fs_thread_test
+
diff --git a/community/sleuthkit/APKBUILD b/community/sleuthkit/APKBUILD
index 577ca91bcd..5eb0f51624 100644
--- a/community/sleuthkit/APKBUILD
+++ b/community/sleuthkit/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sleuthkit
-pkgver=4.10.0
+pkgver=4.10.1
pkgrel=0
pkgdesc="File system and media management forensic analysis tools"
arch="all"
@@ -11,17 +11,23 @@ url="http://www.sleuthkit.org/sleuthkit"
makedepends="autoconf automake libtool sqlite-dev"
options="libtool"
subpackages="$pkgname-static $pkgname-dev $pkgname-libs $pkgname-doc"
-source="https://github.com/sleuthkit/sleuthkit/releases/download/sleuthkit-$pkgver/sleuthkit-$pkgver.tar.gz
+source="https://github.com/sleuthkit/sleuthkit/archive/sleuthkit-$pkgver.tar.gz
+ 20_disable_failing_tests.patch
30_fix-manpages.patch
40_no_static_ldflags.patch
50_disable_ant_clean.patch
"
-
+builddir="$srcdir"/$pkgname-$pkgname-$pkgver
# secfixes:
# 4.8.0-r1:
# - CVE-2020-10232
# - CVE-2020-10233
+prepare() {
+ default_prepare
+ sh bootstrap
+}
+
build() {
# https://github.com/sleuthkit/sleuthkit/issues/642
export CFLAGS="$CFLAGS -DHAVE_LIBEWF_V2_API -Dlibewf_handle_read_random=libewf_handle_read_buffer_at_offset"
@@ -30,14 +36,18 @@ build() {
make
}
+check() {
+ make check
+}
+
package() {
make DESTDIR="$pkgdir" install
install -d "$pkgdir"/usr/share/licenses/$pkgname
install -Dm0644 licenses/* "$pkgdir"/usr/share/licenses/$pkgname
-
}
-sha512sums="b1a3e7f37e575ffa15daa1cf470df6b781e410079069b91ae54424f8ad41580d8c09bc245605206b2e0ccdb15a6f521629d60f52306c2a714225a08363da0ecc sleuthkit-4.10.0.tar.gz
+sha512sums="1ae734ab80291e70cfd5dfbc771a0b46da52e2460908a331ebee25aa85cfd9629f85f41f87d8020a864d2bef4ce5eacf71bd8cb400873598730dda189614aac5 sleuthkit-4.10.1.tar.gz
+26b197688a2ae1b6b3224ace5cb61272f7ca61c33c672545ebfff2f54de8e39657ce13a2fed8f8e74305b41b3e9af4bb480d10cdcf267a5eba1d93771e446a7c 20_disable_failing_tests.patch
4b68367bff62c731c09ab9a95f810b11562f0942021825226ca8d5e846e54c64004f77ac587ea0377bcb5c50c9dcb33dba1caa8cffd717076cc13c9931dd2c9c 30_fix-manpages.patch
e0421b2fc4bb1d04d3bdb13805d060b386f700586d9e33728185eaff26eef14d5fdbf89979fb5d898dfeee7467f891b5d3c33441f9cb35af5f93d3d576e7cc26 40_no_static_ldflags.patch
cb0d17840f1b4570da1ee0d092f8716a7e073463658d4a7b1cddb74058c5eccf316fcbd2e7c5fba3af0f0adaaabe4e395bd5a41aa1438be615edacb8c6efd89d 50_disable_ant_clean.patch"