diff options
-rw-r--r-- | recipes-forensic/sleuth/files/fix_host_poison.patch | 23 | ||||
-rw-r--r-- | recipes-forensic/sleuth/sleuthkit_4.1.3.bb | 28 |
2 files changed, 51 insertions, 0 deletions
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 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Don't use host include or lib paths in *FLAGS | ||
4 | |||
5 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
6 | |||
7 | Index: configure.ac | ||
8 | =================================================================== | ||
9 | --- a/configure.ac | ||
10 | +++ b/configure.ac | ||
11 | @@ -84,12 +84,6 @@ AX_PTHREAD([ | ||
12 | LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS" | ||
13 | CC="$PTHREAD_CC"],[]) | ||
14 | |||
15 | -dnl Not all compilers include /usr/local in the include and link path | ||
16 | -if test -d /usr/local/include; then | ||
17 | - CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
18 | - LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
19 | -fi | ||
20 | - | ||
21 | dnl Add enable/disable option | ||
22 | AC_ARG_ENABLE([java], | ||
23 | [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 @@ | |||
1 | SUMMARY = "The Sleuth Kit (TSK) is a library and collection of command line tools that allow you to investigate disk images." | ||
2 | HOMEPAGE = "http://www.sleuthkit.org/sleuthkit/" | ||
3 | LICENSE = "IPL-1.0 & GPLv2 & CPL-1.0" | ||
4 | LIC_FILES_CHKSUM = "file://licenses/GNU-COPYING;startline=4;endline=5;md5=475b4784903850b579dc6e6310bd5f08\ | ||
5 | file://licenses/IBM-LICENSE;startline=1;endline=2;md5=1fc3300388b0d6e6216825dd89c2e3a2\ | ||
6 | file://licenses/cpl1.0.txt;startline=1;endline=2;md5=9e58c878202c73a4e3ed4be72598fb92" | ||
7 | |||
8 | DEPENDS = "libtool" | ||
9 | |||
10 | SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/universe/s/${BPN}/${BPN}_${PV}.orig.tar.gz;name=orig \ | ||
11 | file://fix_host_poison.patch \ | ||
12 | " | ||
13 | SRC_URI[orig.md5sum] = "139a12f06952d8a40bbe07884994cf5d" | ||
14 | SRC_URI[orig.sha256sum] = "67f9d2a31a8884d58698d6122fc1a1bfa9bf238582bde2b49228ec9b899f0327" | ||
15 | |||
16 | inherit autotools-brokensep pkgconfig gettext | ||
17 | |||
18 | PACKAGECONFIG ??= "aff zlib ewf" | ||
19 | PACKAGECONFIG[aff] = "--with-afflib=${STAGING_DIR_HOST}/usr, --without-afflib, afflib" | ||
20 | PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_DIR_HOST}/usr, --without-zlib, zlib" | ||
21 | PACKAGECONFIG[ewf] = "--with-libewf=${STAGING_DIR_HOST}/usr, --without-libewf, libewf" | ||
22 | |||
23 | #--with-gnu-ld | ||
24 | EXTRA_OECONF += "--enable-static=no --disable-java LIBS='-L${STAGING_LIBDIR}' LDFLAGS='-L${STAGING_LIBDIR}' CPPFLAGS='-I${STAGING_INCDIR}'" | ||
25 | |||
26 | FILES_${PN} += " ${datadir}/tsk" | ||
27 | |||
28 | RDEPENDS_${PN} += " perl" | ||