From 7c475c26afb6ea40cc4b96e020fd629694275900 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sun, 8 Feb 2015 20:01:54 -0800 Subject: sleuth: add sleuthkit Signed-off-by: Armin Kuster --- .../sleuth/files/fix_host_poison.patch | 23 ++++++++++++++++++ recipes-forensic/sleuth/sleuthkit_4.1.3.bb | 28 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 recipes-forensic/sleuth/files/fix_host_poison.patch create mode 100644 recipes-forensic/sleuth/sleuthkit_4.1.3.bb (limited to 'recipes-forensic') diff --git a/recipes-forensic/sleuth/files/fix_host_poison.patch b/recipes-forensic/sleuth/files/fix_host_poison.patch new file mode 100644 index 0000000..03b1fb9 --- /dev/null +++ b/recipes-forensic/sleuth/files/fix_host_poison.patch @@ -0,0 +1,23 @@ +Upstream-Status: Inappropriate [configuration] + +Don't use host include or lib paths in *FLAGS + +Signed-off-by: Armin Kuster + +Index: configure.ac +=================================================================== +--- a/configure.ac ++++ b/configure.ac +@@ -84,12 +84,6 @@ AX_PTHREAD([ + LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS" + CC="$PTHREAD_CC"],[]) + +-dnl Not all compilers include /usr/local in the include and link path +-if test -d /usr/local/include; then +- CPPFLAGS="$CPPFLAGS -I/usr/local/include" +- LDFLAGS="$LDFLAGS -L/usr/local/lib" +-fi +- + dnl Add enable/disable option + AC_ARG_ENABLE([java], + [AS_HELP_STRING([--disable-java], [Do not build the java bindings or jar file])]) diff --git a/recipes-forensic/sleuth/sleuthkit_4.1.3.bb b/recipes-forensic/sleuth/sleuthkit_4.1.3.bb new file mode 100644 index 0000000..4b82616 --- /dev/null +++ b/recipes-forensic/sleuth/sleuthkit_4.1.3.bb @@ -0,0 +1,28 @@ +SUMMARY = "The Sleuth Kit (TSK) is a library and collection of command line tools that allow you to investigate disk images." +HOMEPAGE = "http://www.sleuthkit.org/sleuthkit/" +LICENSE = "IPL-1.0 & GPLv2 & CPL-1.0" +LIC_FILES_CHKSUM = "file://licenses/GNU-COPYING;startline=4;endline=5;md5=475b4784903850b579dc6e6310bd5f08\ + file://licenses/IBM-LICENSE;startline=1;endline=2;md5=1fc3300388b0d6e6216825dd89c2e3a2\ + file://licenses/cpl1.0.txt;startline=1;endline=2;md5=9e58c878202c73a4e3ed4be72598fb92" + +DEPENDS = "libtool" + +SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/universe/s/${BPN}/${BPN}_${PV}.orig.tar.gz;name=orig \ + file://fix_host_poison.patch \ + " +SRC_URI[orig.md5sum] = "139a12f06952d8a40bbe07884994cf5d" +SRC_URI[orig.sha256sum] = "67f9d2a31a8884d58698d6122fc1a1bfa9bf238582bde2b49228ec9b899f0327" + +inherit autotools-brokensep pkgconfig gettext + +PACKAGECONFIG ??= "aff zlib ewf" +PACKAGECONFIG[aff] = "--with-afflib=${STAGING_DIR_HOST}/usr, --without-afflib, afflib" +PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_DIR_HOST}/usr, --without-zlib, zlib" +PACKAGECONFIG[ewf] = "--with-libewf=${STAGING_DIR_HOST}/usr, --without-libewf, libewf" + +#--with-gnu-ld +EXTRA_OECONF += "--enable-static=no --disable-java LIBS='-L${STAGING_LIBDIR}' LDFLAGS='-L${STAGING_LIBDIR}' CPPFLAGS='-I${STAGING_INCDIR}'" + +FILES_${PN} += " ${datadir}/tsk" + +RDEPENDS_${PN} += " perl" -- cgit v1.2.3-54-g00ecf