diff --git a/srcpkgs/sleuthkit/patches/sleuthkit-4.1.0-system-sqlite.patch b/srcpkgs/sleuthkit/patches/sleuthkit-4.1.0-system-sqlite.patch new file mode 100644 index 00000000000..f19acd67d6a --- /dev/null +++ b/srcpkgs/sleuthkit/patches/sleuthkit-4.1.0-system-sqlite.patch @@ -0,0 +1,36 @@ +From https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-forensics/sleuthkit/files/sleuthkit-4.1.0-system-sqlite.patch?revision=1.1 + +--- tsk/auto/db_sqlite.cpp ++++ tsk/auto/db_sqlite.cpp +@@ -14,7 +14,7 @@ + */ + + #include "tsk_db_sqlite.h" +-#include "sqlite3.h" ++#include + + #include + +--- tsk/auto/Makefile.am ++++ tsk/auto/Makefile.am +@@ -3,7 +3,8 @@ + + noinst_LTLIBRARIES = libtskauto.la + # Note that the .h files are in the top-level Makefile +-libtskauto_la_SOURCES = auto.cpp tsk_auto_i.h auto_db.cpp sqlite3.c sqlite3.h db_sqlite.cpp tsk_db_sqlite.h case_db.cpp tsk_case_db.h ++libtskauto_la_SOURCES = auto.cpp tsk_auto_i.h auto_db.cpp db_sqlite.cpp tsk_db_sqlite.h case_db.cpp tsk_case_db.h ++libtskauto_la_LIBADD = -lsqlite3 + + indent: + indent *.cpp *.h +--- tsk/auto/tsk_db_sqlite.h ++++ tsk/auto/tsk_db_sqlite.h +@@ -25,7 +25,7 @@ + #include + + +-#include "sqlite3.h" ++#include + #include "tsk_auto_i.h" + + using std::map; diff --git a/srcpkgs/sleuthkit/template b/srcpkgs/sleuthkit/template index 1b6671656dc..db33f117060 100644 --- a/srcpkgs/sleuthkit/template +++ b/srcpkgs/sleuthkit/template @@ -1,21 +1,24 @@ # Template file for 'sleuthkit' pkgname=sleuthkit -version=4.1.3 -revision=4 +version=4.2.0 +revision=1 build_style=gnu-configure -makedepends="zlib-devel libewf-devel" +hostmakedepends="perl automake libtool" +makedepends="zlib-devel libewf-devel sqlite-devel" +depends="perl" short_desc="File system and media management forensic analysis tools" maintainer="Christian Neukirchen " license="GPL-2,IBM-PL-1.0,CPL-1.0" homepage="http://www.sleuthkit.org/" -hostmakedepends="perl" -depends="perl" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=67f9d2a31a8884d58698d6122fc1a1bfa9bf238582bde2b49228ec9b899f0327 +checksum=91b287f19798ae480083c15401686e4a041c15f7a92054a5c0320bcb65604723 post_extract() { sed -i 's/daddr_t/uint32_t/g' tools/srchtools/sigfind.cpp } +pre_configure() { + autoreconf -fi +} post_install() { for l in licenses/*; do vlicense $l