sleuthkit: update to 4.2.0.
Use system sqlite3 (patch from Gentoo).
This commit is contained in:
parent
85acd3cfb2
commit
fc50464ee0
|
@ -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 <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;
|
|
@ -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 <chneukirchen@gmail.com>"
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user