Hi, attached is the diff to update sleuthkit to latest release. PostgreSQL, libvhdi, & libvmdk are now supported, so use them.
More information: https://github.com/sleuthkit/sleuthkit/releases/tag/sleuthkit-4.6.1 Ok? Cheers, Remi.
Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/sleuthkit/Makefile,v retrieving revision 1.24 diff -u -p -u -p -r1.24 Makefile --- Makefile 7 Apr 2018 23:15:28 -0000 1.24 +++ Makefile 9 May 2018 06:05:13 -0000 @@ -2,9 +2,8 @@ COMMENT= forensic toolkit based on TCT -DISTNAME= sleuthkit-4.6.0 +DISTNAME= sleuthkit-4.6.1 CATEGORIES= sysutils security -REVISION= 0 SHARED_LIBS += tsk 1.0 # 17.0 @@ -18,7 +17,8 @@ PERMIT_PACKAGE_FTP= Yes MASTER_SITES = https://github.com/sleuthkit/sleuthkit/releases/download/${DISTNAME}/ -WANTLIB += c m pthread ${COMPILER_LIBCXX} sqlite3 z +WANTLIB += ${COMPILER_LIBCXX} bfio c crypto m pq sqlite3 ssl vhdi +WANTLIB += vmdk z CONFIGURE_STYLE = gnu @@ -29,7 +29,10 @@ CONFIGURE_ARGS += --mandir='${PREFIX}/m CONFIGURE_ENV = ac_cv_path_CPPUNIT_CONFIG=no RUN_DEPENDS = converters/p5-DateManip -LIB_DEPENDS = databases/sqlite3 +LIB_DEPENDS = databases/sqlite3 \ + databases/postgresql,-main \ + sysutils/libvhdi \ + sysutils/libvmdk NO_TEST = Yes Index: distinfo =================================================================== RCS file: /cvs/ports/sysutils/sleuthkit/distinfo,v retrieving revision 1.13 diff -u -p -u -p -r1.13 distinfo --- distinfo 14 Mar 2018 12:39:17 -0000 1.13 +++ distinfo 9 May 2018 06:05:13 -0000 @@ -1,2 +1,2 @@ -SHA256 (sleuthkit-4.6.0.tar.gz) = 9SoIqw3geBgsDy0Z0+GzQUJKngwWM6YcO4kvs4+ay5c= -SIZE (sleuthkit-4.6.0.tar.gz) = 8634432 +SHA256 (sleuthkit-4.6.1.tar.gz) = H2jztZg6zbhxowWS+3NaMvTbk/BB/PMYvPPshxKKtDM= +SIZE (sleuthkit-4.6.1.tar.gz) = 8642960 Index: patches/patch-tools_srchtools_sigfind_cpp =================================================================== RCS file: patches/patch-tools_srchtools_sigfind_cpp diff -N patches/patch-tools_srchtools_sigfind_cpp --- patches/patch-tools_srchtools_sigfind_cpp 7 Apr 2018 23:15:28 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,26 +0,0 @@ -$OpenBSD: patch-tools_srchtools_sigfind_cpp,v 1.4 2018/04/07 23:15:28 nigel Exp $ - -Index: tools/srchtools/sigfind.cpp ---- tools/srchtools/sigfind.cpp.orig -+++ tools/srchtools/sigfind.cpp -@@ -302,7 +302,7 @@ main(int argc, char **argv) - break; - } - else if (retval == -1) { -- fprintf(stderr, "error reading bytes %"PRIuOFF"\n", i); -+ fprintf(stderr, "error reading bytes %" PRIuOFF "\n", i); - exit(1); - } - -@@ -312,9 +312,9 @@ main(int argc, char **argv) - ((sig_size < 3) || (block[rel_offset + 2] == sig[2])) && - ((sig_size < 4) || (block[rel_offset + 3] == sig[3]))) { - if (prev_hit == -1) -- printf("Block: %"PRIuOFF" (-)\n", i); -+ printf("Block: %" PRIuOFF " (-)\n", i); - else -- printf("Block: %"PRIuOFF" (+%"PRIuOFF")\n", i, -+ printf("Block: %" PRIuOFF " (+%" PRIuOFF ")\n", i, - (i - prev_hit)); - - prev_hit = i;