sleuthkit: update to 4.5.0

Closes: #10853 [via git-merge-pr]
This commit is contained in:
newbluemoon 2018-01-15 21:49:46 +01:00 committed by Jürgen Buchmüller
parent 52675ca7ec
commit 122545709e
2 changed files with 5 additions and 40 deletions

View File

@ -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 <sqlite3.h>
#include <string.h>
--- 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 <ostream>
-#include "sqlite3.h"
+#include <sqlite3.h>
#include "tsk_auto_i.h"
using std::map;

View File

@ -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 <chneukirchen@gmail.com>"
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