diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-forensics/sleuthkit/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-forensics/sleuthkit/files')
5 files changed, 207 insertions, 0 deletions
diff --git a/app-forensics/sleuthkit/files/sleuthkit-3.2.3-tools-shared-libs.patch b/app-forensics/sleuthkit/files/sleuthkit-3.2.3-tools-shared-libs.patch new file mode 100644 index 000000000000..749c67030046 --- /dev/null +++ b/app-forensics/sleuthkit/files/sleuthkit-3.2.3-tools-shared-libs.patch @@ -0,0 +1,55 @@ +--- sleuthkit-3.2.3/tools/autotools/Makefile.am ++++ sleuthkit-3.2.3/tools/autotools/Makefile.am +@@ -1,6 +1,5 @@ + AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall + LDADD = ../../tsk3/libtsk3.la +-LDFLAGS += -static + EXTRA_DIST = .indent.pro + + bin_PROGRAMS = tsk_recover tsk_loaddb tsk_comparedir tsk_gettimes +--- sleuthkit-3.2.3/tools/fstools/Makefile.am ++++ sleuthkit-3.2.3/tools/fstools/Makefile.am +@@ -1,6 +1,5 @@ + AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall + LDADD = ../../tsk3/libtsk3.la +-LDFLAGS += -static + EXTRA_DIST = .indent.pro fscheck.cpp + + bin_PROGRAMS = blkcalc blkcat blkls blkstat ffind fls fsstat icat ifind ils \ +--- sleuthkit-3.2.3/tools/hashtools/Makefile.am ++++ sleuthkit-3.2.3/tools/hashtools/Makefile.am +@@ -1,6 +1,5 @@ + AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall + LDADD = ../../tsk3/libtsk3.la +-LDFLAGS += -static + EXTRA_DIST = .indent.pro md5.c sha1.c + + bin_PROGRAMS = hfind +--- sleuthkit-3.2.3/tools/imgtools/Makefile.am ++++ sleuthkit-3.2.3/tools/imgtools/Makefile.am +@@ -1,6 +1,5 @@ + AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall + LDADD = ../../tsk3/libtsk3.la +-LDFLAGS += -static + EXTRA_DIST = .indent.pro + + bin_PROGRAMS = img_cat img_stat +--- sleuthkit-3.2.3/tools/srchtools/Makefile.am ++++ sleuthkit-3.2.3/tools/srchtools/Makefile.am +@@ -6,7 +6,6 @@ + + sigfind_SOURCES = sigfind.cpp + sigfind_LDADD = ../../tsk3/libtsk3.la +-sigfind_LDFLAGS = -static + + indent: + indent *.c *.cpp +--- sleuthkit-3.2.3/tools/vstools/Makefile.am ++++ sleuthkit-3.2.3/tools/vstools/Makefile.am +@@ -1,6 +1,5 @@ + AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall + LDADD = ../../tsk3/libtsk3.la +-LDFLAGS += -static + EXTRA_DIST = .indent.pro + + bin_PROGRAMS = mmls mmstat mmcat diff --git a/app-forensics/sleuthkit/files/sleuthkit-4.0.0-system-sqlite.patch b/app-forensics/sleuthkit/files/sleuthkit-4.0.0-system-sqlite.patch new file mode 100644 index 000000000000..7b98f4dafd2f --- /dev/null +++ b/app-forensics/sleuthkit/files/sleuthkit-4.0.0-system-sqlite.patch @@ -0,0 +1,34 @@ +--- sleuthkit-4.0.0/tsk3/auto/db_sqlite.cpp ++++ sleuthkit-4.0.0/tsk3/auto/db_sqlite.cpp +@@ -14,7 +14,7 @@ + */ + + #include "tsk_db_sqlite.h" +-#include "sqlite3.h" ++#include <sqlite3.h> + + #include <string.h> + +--- sleuthkit-4.0.0/tsk3/auto/Makefile.am ++++ sleuthkit-4.0.0/tsk3/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 +--- sleuthkit-4.0.0/tsk3/auto/tsk_db_sqlite.h ++++ sleuthkit-4.0.0/tsk3/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; diff --git a/app-forensics/sleuthkit/files/sleuthkit-4.1.0-system-sqlite.patch b/app-forensics/sleuthkit/files/sleuthkit-4.1.0-system-sqlite.patch new file mode 100644 index 000000000000..413357fb5045 --- /dev/null +++ b/app-forensics/sleuthkit/files/sleuthkit-4.1.0-system-sqlite.patch @@ -0,0 +1,34 @@ +--- sleuthkit-4.1.0/tsk/auto/db_sqlite.cpp ++++ sleuthkit-4.1.0/tsk/auto/db_sqlite.cpp +@@ -14,7 +14,7 @@ + */ + + #include "tsk_db_sqlite.h" +-#include "sqlite3.h" ++#include <sqlite3.h> + + #include <string.h> + +--- sleuthkit-4.1.0/tsk/auto/Makefile.am ++++ sleuthkit-4.1.0/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 +--- sleuthkit-4.1.0/tsk/auto/tsk_db_sqlite.h ++++ sleuthkit-4.1.0/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; diff --git a/app-forensics/sleuthkit/files/sleuthkit-4.1.0-tools-shared-libs.patch b/app-forensics/sleuthkit/files/sleuthkit-4.1.0-tools-shared-libs.patch new file mode 100644 index 000000000000..efa335068333 --- /dev/null +++ b/app-forensics/sleuthkit/files/sleuthkit-4.1.0-tools-shared-libs.patch @@ -0,0 +1,55 @@ +--- sleuthkit-4.1.0/tools/autotools/Makefile.am ++++ sleuthkit-4.1.0/tools/autotools/Makefile.am +@@ -1,6 +1,5 @@ + AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall + LDADD = ../../tsk/libtsk.la +-LDFLAGS += -static + EXTRA_DIST = .indent.pro + + bin_PROGRAMS = tsk_recover tsk_loaddb tsk_comparedir tsk_gettimes +--- sleuthkit-4.1.0/tools/fstools/Makefile.am ++++ sleuthkit-4.1.0/tools/fstools/Makefile.am +@@ -1,6 +1,5 @@ + AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall + LDADD = ../../tsk/libtsk.la +-LDFLAGS += -static + EXTRA_DIST = .indent.pro fscheck.cpp + + bin_PROGRAMS = blkcalc blkcat blkls blkstat ffind fls fcat fsstat icat ifind ils \ +--- sleuthkit-4.1.0/tools/hashtools/Makefile.am ++++ sleuthkit-4.1.0/tools/hashtools/Makefile.am +@@ -1,6 +1,5 @@ + AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall + LDADD = ../../tsk/libtsk.la +-LDFLAGS += -static + EXTRA_DIST = .indent.pro md5.c sha1.c + + bin_PROGRAMS = hfind +--- sleuthkit-4.1.0/tools/imgtools/Makefile.am ++++ sleuthkit-4.1.0/tools/imgtools/Makefile.am +@@ -1,6 +1,5 @@ + AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall + LDADD = ../../tsk/libtsk.la +-LDFLAGS += -static + EXTRA_DIST = .indent.pro + + bin_PROGRAMS = img_cat img_stat +--- sleuthkit-4.1.0/tools/srchtools/Makefile.am ++++ sleuthkit-4.1.0/tools/srchtools/Makefile.am +@@ -6,7 +6,6 @@ + + sigfind_SOURCES = sigfind.cpp + sigfind_LDADD = ../../tsk/libtsk.la +-sigfind_LDFLAGS = -static + + indent: + indent *.c *.cpp +--- sleuthkit-4.1.0/tools/vstools/Makefile.am ++++ sleuthkit-4.1.0/tools/vstools/Makefile.am +@@ -1,6 +1,5 @@ + AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall + LDADD = ../../tsk/libtsk.la +-LDFLAGS += -static + EXTRA_DIST = .indent.pro + + bin_PROGRAMS = mmls mmstat mmcat diff --git a/app-forensics/sleuthkit/files/sleuthkit-4.4.2-c89-fix.patch b/app-forensics/sleuthkit/files/sleuthkit-4.4.2-c89-fix.patch new file mode 100644 index 000000000000..5d4f91e98b9d --- /dev/null +++ b/app-forensics/sleuthkit/files/sleuthkit-4.4.2-c89-fix.patch @@ -0,0 +1,29 @@ +From 7caca2f8be471be337f7aea70cd900164bf070eb Mon Sep 17 00:00:00 2001 +From: Gokturk Yuksek <gokturk@gentoo.org> +Date: Tue, 15 Aug 2017 21:04:24 -0400 +Subject: [PATCH] tsk/img/aff: loop initial declarations are not allowed in C89 + +Declaring an integer inside a for loop as in for(int i;;) is not +allowed in C89 and causes a build failure. Fix it by declaring the +variable just before the for loop. +--- + tsk/img/aff.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tsk/img/aff.c b/tsk/img/aff.c +index fd9c4ff..a832bfb 100644 +--- a/tsk/img/aff.c ++++ b/tsk/img/aff.c +@@ -216,7 +216,8 @@ aff_close(TSK_IMG_INFO * img_info) + { + IMG_AFF_INFO *aff_info = (IMG_AFF_INFO *) img_info; + af_close(aff_info->af_file); +- for (int i = 0; i < img_info->num_img; i++) { ++ int i; ++ for (i = 0; i < img_info->num_img; i++) { + if (img_info->images[i]) + free(img_info->images[i]); + } +-- +2.10.2 + |