From 780f5bd30e78ad4ccfe26a3604a7afb5986beb16 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 2 May 2019 10:56:08 +0200 Subject: [PATCH] sleuthkit: update to 4.6.6. --- .../sleuthkit/patches/fix-libewf-v2-API.patch | 29 ++----------------- srcpkgs/sleuthkit/template | 5 ++-- 2 files changed, 5 insertions(+), 29 deletions(-) diff --git a/srcpkgs/sleuthkit/patches/fix-libewf-v2-API.patch b/srcpkgs/sleuthkit/patches/fix-libewf-v2-API.patch index e979a0bd8cc..266ab340fc8 100644 --- a/srcpkgs/sleuthkit/patches/fix-libewf-v2-API.patch +++ b/srcpkgs/sleuthkit/patches/fix-libewf-v2-API.patch @@ -1,28 +1,5 @@ -From 3b4d908ece7abe06e06cbe08bb3dad5285fa774d Mon Sep 17 00:00:00 2001 -From: Dan Church -Date: Mon, 18 Dec 2017 11:50:42 -0600 -Subject: [PATCH] Fix libewf V2 API support - -`libewf_handle_read_random` was removed in -libyal/libewf@54f8d8ffb67ea3808336204d5a072db358066ec5, but at that -point it was just a wrapper for -`libewf_handle_read_buffer_at_offset`.[1] - -Solution: Replace deprecated libewf_handle_read_random call with the -recommended[2] replacement. - -References: -1. https://github.com/libyal/libewf/commit/54f8d8ffb67ea3808336204d5a072db358066ec5#diff-b9e76700775f6f9aa3efde388cb3bba9L74 -2. https://github.com/libyal/libewf/commit/54f8d8ffb67ea3808336204d5a072db358066ec5#diff-fedcd7a7973ead791242e3a6d86e1a15L802 ---- - tsk/img/ewf.c | 2 +- - tsk/img/ewf.h | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/tsk/img/ewf.c b/tsk/img/ewf.c -index 64d1c1bc4c..2df817619f 100644 ---- tsk/img/ewf.c -+++ tsk/img/ewf.c +--- tsk/img/ewf.cpp ++++ tsk/img/ewf.cpp @@ -64,7 +64,7 @@ ewf_image_read(TSK_IMG_INFO * img_info, TSK_OFF_T offset, char *buf, tsk_take_lock(&(ewf_info->read_lock)); @@ -32,8 +9,6 @@ index 64d1c1bc4c..2df817619f 100644 buf, len, offset, &ewf_error); if (cnt < 0) { char *errmsg = NULL; -diff --git a/tsk/img/ewf.h b/tsk/img/ewf.h -index 08752e14e1..0ed86337e3 100644 --- tsk/img/ewf.h +++ tsk/img/ewf.h @@ -20,9 +20,9 @@ diff --git a/srcpkgs/sleuthkit/template b/srcpkgs/sleuthkit/template index 8936acef5b4..7c23bceb51a 100644 --- a/srcpkgs/sleuthkit/template +++ b/srcpkgs/sleuthkit/template @@ -1,18 +1,19 @@ # Template file for 'sleuthkit' pkgname=sleuthkit -version=4.6.5 +version=4.6.6 revision=1 wrksrc="${pkgname}-${pkgname}-${version}" build_style=gnu-configure hostmakedepends="automake libtool" makedepends="libewf-devel sqlite-devel zlib-devel" depends="perl" +checkdepends="wget" short_desc="File system and media management forensic analysis tools" maintainer="Leah Neukirchen " license="GPL-2.0-only, IPL-1.0, CPL-1.0" homepage="https://www.sleuthkit.org/" distfiles="https://github.com/sleuthkit/${pkgname}/archive/${pkgname}-${version}.tar.gz" -checksum=1c2a1d35321b346a055ceb4c38da401cf815673bf43eb0ffdc3c3020e894f237 +checksum=ec469d9a385ef5e2dd5fef53ba828ba1f841a3639b1049da24bcfde3cde9a094 post_extract() { sed -i 's/daddr_t/uint32_t/g' tools/srchtools/sigfind.cpp