mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
parent
52675ca7ec
commit
122545709e
2 changed files with 5 additions and 40 deletions
|
@ -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;
|
|
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'sleuthkit'
|
# Template file for 'sleuthkit'
|
||||||
pkgname=sleuthkit
|
pkgname=sleuthkit
|
||||||
version=4.2.0
|
version=4.5.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||||
hostmakedepends="perl automake libtool"
|
hostmakedepends="perl automake libtool"
|
||||||
makedepends="zlib-devel libewf-devel sqlite-devel"
|
makedepends="zlib-devel libewf-devel sqlite-devel"
|
||||||
depends="perl"
|
depends="perl"
|
||||||
|
@ -10,14 +11,14 @@ short_desc="File system and media management forensic analysis tools"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="GPL-2,IBM-PL-1.0,CPL-1.0"
|
license="GPL-2,IBM-PL-1.0,CPL-1.0"
|
||||||
homepage="http://www.sleuthkit.org/"
|
homepage="http://www.sleuthkit.org/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="https://github.com/sleuthkit/${pkgname}/archive/${pkgname}-${version}.tar.gz"
|
||||||
checksum=91b287f19798ae480083c15401686e4a041c15f7a92054a5c0320bcb65604723
|
checksum=76df30d392dd4b694d5b0669afe706c17f61de9c31293f7bea52209df6357a1c
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's/daddr_t/uint32_t/g' tools/srchtools/sigfind.cpp
|
sed -i 's/daddr_t/uint32_t/g' tools/srchtools/sigfind.cpp
|
||||||
}
|
}
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
./bootstrap
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
for l in licenses/*; do
|
for l in licenses/*; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue