From 430489b98d2e59fceb2900e16ece72e3bcab7b4e Mon Sep 17 00:00:00 2001 From: sebastia Date: Fri, 22 May 2026 08:28:37 +0000 Subject: [PATCH] update 4.14.0 -> 4.15.0 configure.ac needed some tweak, no idea where this macro is defined otherwise --- sysutils/sleuthkit/Makefile | 2 +- sysutils/sleuthkit/distinfo | 4 ++-- sysutils/sleuthkit/patches/patch-configure_ac | 17 ++++++++++++++++- sysutils/sleuthkit/patches/patch-man_sorter_1 | 6 +++--- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/sysutils/sleuthkit/Makefile b/sysutils/sleuthkit/Makefile index 1b530c50ade..b32ff304123 100644 --- a/sysutils/sleuthkit/Makefile +++ b/sysutils/sleuthkit/Makefile @@ -1,6 +1,6 @@ COMMENT= forensic toolkit based on TCT -DISTNAME= sleuthkit-4.14.0 +DISTNAME= sleuthkit-4.15.0 CATEGORIES= sysutils security diff --git a/sysutils/sleuthkit/distinfo b/sysutils/sleuthkit/distinfo index 5e0bdbe9719..18052291b22 100644 --- a/sysutils/sleuthkit/distinfo +++ b/sysutils/sleuthkit/distinfo @@ -1,2 +1,2 @@ -SHA256 (sleuthkit-4.14.0.tar.gz) = +26hgBvPxMfTooPXWSxr1lrdZVQRdJUTtcQpuGVB6ak= -SIZE (sleuthkit-4.14.0.tar.gz) = 3831626 +SHA256 (sleuthkit-4.15.0.tar.gz) = OowefRipuB8+XoqngxOXSs6q/G4FHWNrySzXFoKG7Kk= +SIZE (sleuthkit-4.15.0.tar.gz) = 4951534 diff --git a/sysutils/sleuthkit/patches/patch-configure_ac b/sysutils/sleuthkit/patches/patch-configure_ac index 8f3d300280a..8fec0e9f614 100644 --- a/sysutils/sleuthkit/patches/patch-configure_ac +++ b/sysutils/sleuthkit/patches/patch-configure_ac @@ -1,7 +1,22 @@ Index: configure.ac --- configure.ac.orig +++ configure.ac -@@ -115,7 +115,7 @@ dnl Checks for libraries. +@@ -14,7 +14,14 @@ m4_include([m4/ac_prog_javac.m4]) + m4_include([m4/ac_prog_java_works.m4]) + m4_include([m4/ac_prog_java.m4]) + m4_include([m4/ax_cxx_compile_stdcxx.m4]) ++m4_include([m4/tsk_opt_dep_check.m4]) + ++AC_DEFUN([TSK_PKG_CHECK_MODULES], ++[ ++ m4_ifdef([PKG_CHECK_MODULES], ++ [PKG_CHECK_MODULES([$1], [$3], [$4], [$5])]) ++]) ++ + AC_CONFIG_SRCDIR([tsk/base/tsk_base.h]) + AC_CONFIG_HEADERS([tsk/tsk_config.h]) + AC_CONFIG_AUX_DIR(config) +@@ -121,7 +128,7 @@ dnl Checks for libraries. dnl Some platforms will complain about missing included functions if libstdc++ is not included. diff --git a/sysutils/sleuthkit/patches/patch-man_sorter_1 b/sysutils/sleuthkit/patches/patch-man_sorter_1 index dd8cebcb595..2912cee87e5 100644 --- a/sysutils/sleuthkit/patches/patch-man_sorter_1 +++ b/sysutils/sleuthkit/patches/patch-man_sorter_1 @@ -6,7 +6,7 @@ Index: man/sorter.1 Specify the location of the ONLY configuration file. The standard config files will not be loaded if this option is given. For example, in the -\'share/sort\' directory there is a file called 'images.sort'. This file -+\'%%PREFIX%%/share/tsk/sorter/\' directory there is a file called 'images.sort'. This file ++\'/usr/local/share/tsk/sorter/\' directory there is a file called 'images.sort'. This file contains only rules about graphic images. If it is specified with \-C, then only images will be saved about the image. .IP "-m mnt" @@ -15,7 +15,7 @@ Index: man/sorter.1 categories and what extensions belong to what file types. Configuration files are distributed with the 'sorter' tool and are located in the -installation directory in the 'share/sorter' directory. -+installation directory in the '%%PREFIX%%/share/tsk/sorter/' directory. ++installation directory in the '/usr/local/share/tsk/sorter/' directory. The 'default.sort' file is used by any file system type. It contains entries for common file types. A specific operating system file also @@ -24,7 +24,7 @@ Index: man/sorter.1 To just identify images using the supplied 'images.sort' file: - # sorter \-f ntfs \-C /usr/local/sleuthkit/share/sort/images.sort \ -+ # sorter \-f ntfs \-C %%PREFIX%%/share/tsk/sort/images.sort \ ++ # sorter \-f ntfs \-C /usr/local/share/tsk/sort/images.sort \ \-d data/sorter \-h \-s images/hda1.dd .SH REQUIREMENTS