From 122545709eba5d5aba88060c1e0428c0e7d65cbc Mon Sep 17 00:00:00 2001 From: newbluemoon Date: Mon, 15 Jan 2018 21:49:46 +0100 Subject: [PATCH] sleuthkit: update to 4.5.0 Closes: #10853 [via git-merge-pr] --- .../sleuthkit-4.1.0-system-sqlite.patch | 36 ------------------- srcpkgs/sleuthkit/template | 9 ++--- 2 files changed, 5 insertions(+), 40 deletions(-) delete mode 100644 srcpkgs/sleuthkit/patches/sleuthkit-4.1.0-system-sqlite.patch diff --git a/srcpkgs/sleuthkit/patches/sleuthkit-4.1.0-system-sqlite.patch b/srcpkgs/sleuthkit/patches/sleuthkit-4.1.0-system-sqlite.patch deleted file mode 100644 index f19acd67d6a..00000000000 --- a/srcpkgs/sleuthkit/patches/sleuthkit-4.1.0-system-sqlite.patch +++ /dev/null @@ -1,36 +0,0 @@ -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 db33f117060..c3f3ce0cb62 100644 --- a/srcpkgs/sleuthkit/template +++ b/srcpkgs/sleuthkit/template @@ -1,8 +1,9 @@ # Template file for 'sleuthkit' pkgname=sleuthkit -version=4.2.0 +version=4.5.0 revision=1 build_style=gnu-configure +wrksrc="${pkgname}-${pkgname}-${version}" hostmakedepends="perl automake libtool" makedepends="zlib-devel libewf-devel sqlite-devel" depends="perl" @@ -10,14 +11,14 @@ 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/" -distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=91b287f19798ae480083c15401686e4a041c15f7a92054a5c0320bcb65604723 +distfiles="https://github.com/sleuthkit/${pkgname}/archive/${pkgname}-${version}.tar.gz" +checksum=76df30d392dd4b694d5b0669afe706c17f61de9c31293f7bea52209df6357a1c post_extract() { sed -i 's/daddr_t/uint32_t/g' tools/srchtools/sigfind.cpp } pre_configure() { - autoreconf -fi + ./bootstrap } post_install() { for l in licenses/*; do