mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-11 11:47:02 +02:00
sleuthkit: update to 4.13.0.
This commit is contained in:
parent
a5e7fe640f
commit
f4f3a8d3db
2 changed files with 4 additions and 29 deletions
|
@ -1,26 +0,0 @@
|
|||
--- a/tsk/img/ewf.cpp
|
||||
+++ b/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));
|
||||
#if defined( HAVE_LIBEWF_V2_API )
|
||||
- cnt = libewf_handle_read_random(ewf_info->handle,
|
||||
+ cnt = libewf_handle_read_buffer_at_offset(ewf_info->handle,
|
||||
buf, len, offset, &ewf_error);
|
||||
if (cnt < 0) {
|
||||
char *errmsg = NULL;
|
||||
--- a/tsk/img/ewf.h
|
||||
+++ b/tsk/img/ewf.h
|
||||
@@ -20,9 +20,9 @@
|
||||
|
||||
#include <libewf.h>
|
||||
|
||||
-// libewf version 2 no longer defines LIBEWF_HANDLE
|
||||
+// libewf version 2 no longer defines LIBEWF_OPEN_READ_WRITE
|
||||
#undef HAVE_LIBEWF_V2_API
|
||||
-#if !defined( LIBEWF_HANDLE )
|
||||
+#if !defined( LIBEWF_OPEN_READ_WRITE )
|
||||
#define HAVE_LIBEWF_V2_API
|
||||
#endif
|
||||
|
||||
|
|
@ -1,19 +1,19 @@
|
|||
# Template file for 'sleuthkit'
|
||||
pkgname=sleuthkit
|
||||
version=4.12.1
|
||||
version=4.13.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool"
|
||||
makedepends="libewf-devel sqlite-devel zlib-devel"
|
||||
depends="perl"
|
||||
checkdepends="wget"
|
||||
checkdepends="python3 wget"
|
||||
short_desc="File system and media management forensic analysis tools"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="GPL-2.0-only, IPL-1.0, CPL-1.0"
|
||||
homepage="https://www.sleuthkit.org/"
|
||||
changelog="https://github.com/sleuthkit/sleuthkit/releases"
|
||||
distfiles="https://github.com/sleuthkit/sleuthkit/archive/sleuthkit-${version}.tar.gz"
|
||||
checksum=8b04fc40a38188c218a835ff4d4720d3d12b21ae9c88652a41932442f255e971
|
||||
checksum=08cb3f030fc7c3fd73f5ff418f83be309aa59cd90f146e07b529172271633a08
|
||||
|
||||
post_extract() {
|
||||
sed -i 's:sys/fcntl.h:fcntl.h:g' tsk/fs/tsk_fs_i.h
|
||||
|
@ -28,6 +28,7 @@ sleuthkit-devel_package() {
|
|||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue