initial Forensic packages
cover initial Forensic packages
Add three forensic applications to layer under there own recipe catagory.
Armin Kuster (3):
afflib: new package
libewf: add package
sleuth: add sleuthkit
recipes-forensic/afflib/afflib_3.6.6.bb | 30 ++++++++++++++++++++++ .../afflib/files/configure_rm_ms_flags.patch | 18 +++++++++++++ recipes-forensic/libewf/libewf_20130416.bb | 26 +++++++++++++++++++ .../sleuth/files/fix_host_poison.patch | 23 +++++++++++++++++ recipes-forensic/sleuth/sleuthkit_4.1.3.bb | 28 ++++++++++++++++++++ 5 files changed, 125 insertions(+) create mode 100644 recipes-forensic/afflib/afflib_3.6.6.bb create mode 100644 recipes-forensic/afflib/files/configure_rm_ms_flags.patch create mode 100644 recipes-forensic/libewf/libewf_20130416.bb create mode 100644 recipes-forensic/sleuth/files/fix_host_poison.patch create mode 100644 recipes-forensic/sleuth/sleuthkit_4.1.3.bb
Signature · 1 line
1.9.1
PATCH 1/3 afflib: new package
Signed-off-by Armin Kuster <[email protected]>
--- recipes-forensic/afflib/afflib_3.6.6.bb | 30 ++++++++++++++++++++++ .../afflib/files/configure_rm_ms_flags.patch | 18 +++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 recipes-forensic/afflib/afflib_3.6.6.bb create mode 100644 recipes-forensic/afflib/files/configure_rm_ms_flags.patch
recipes-forensic/afflib/afflib_3.6.6.bb new file +30 -0
@@ -0,0 +1,30 @@ +SUMMARY = "The Advanced Forensic Format (AFF) is on-disk format for storing computer forensic information." +HOMEPAGE = "http://www.afflib.org/" +LICENSE = " BSD-4-Clause & CPL-1.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=d1b2c6d0d6908f45d143ef6380727828" + +DEPENDS = " zlib ncurses readline openssl libgcrypt" + +SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/universe/a/${BPN}/${BPN}_${PV}.orig.tar.gz;name=orig \ + http://archive.ubuntu.com/ubuntu/pool/universe/a/${BPN}/${BPN}_${PV}-1.1.diff.gz;name=dpatch \ + file://configure_rm_ms_flags.patch \ + " + +SRC_URI[orig.md5sum] = "b7ff4d2945882018eb1536cad182ad01" +SRC_URI[orig.sha256sum] = "19cacfd558dc00e11975e820e3c4383b52aabbd5ca081d27bb7994a035d2f4ad" +SRC_URI[dpatch.md5sum] = "171e871024545b487589e6c85290576f" +SRC_URI[dpatch.sha256sum] = "db632e254ee51a1e4328cd4449d414eff4795053d4e36bfa8e0020fcb4085cdd" + +inherit autotools-brokensep + +CPPFLAGS = "-I${STAGING_INCDIR}" +LDFLAGS = "-L${STAGING_LIBDIR}" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[curl] = "--with-curl=PATH, --without-curl, curl" +PACKAGECONFIG[expat] = "--with-expat=PATH, --without-expat, expat" +PACKAGECONFIG[fuse] = "--enable-fuse=yes, --enable-fuse=no, fuse" +PACKAGECONFIG[python] = "--enable-python=yes, --enable-python=no, python" + +EXTRA_OECONF += "--enable-s3=no CPPFLAGS=-I${STAGING_INCDIR} LDFLAGS=-L${STAGING_LIBDIR}" +EXTRA_OEMAKE += "CPPFLAGS='${CPPFLAGS}' LDFLAGS='-L${STAGING_LIBDIR}'"
recipes-forensic/afflib/files/configure_rm_ms_flags.patch new file +18 -0
@@ -0,0 +1,18 @@ +Upstream-Status: Inappropriate [configuration] + +remove ms lib options when cross compiling + +Signed-Off-By: Armin Kuster <[email protected]> + +Index: configure.ac +=================================================================== +--- a.orig/configure.ac ++++ a/configure.ac +@@ -47,7 +47,6 @@ if test x"${cross_compiling}" = "xno" ; + AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ]) + else + AC_MSG_NOTICE([Cross Compiling --- will not update CPPFALGS or LDFLAGS with /usr/local, /opt/local or /sw]) +- LIBS="$LIBS -lws2_32 -lgdi32" + fi + + if test -r /bin/uname.exe ; then
Signature · 1 line
1.9.1
PATCH 2/3 libewf: add package
In reply to Armin KusterSigned-off-by Armin Kuster <[email protected]>
--- recipes-forensic/libewf/libewf_20130416.bb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 recipes-forensic/libewf/libewf_20130416.bb
recipes-forensic/libewf/libewf_20130416.bb new file +26 -0
@@ -0,0 +1,26 @@ +SUMMARY = "library with support for Expert Witness Compression Format" +LICENSE = "LGPLv3+" +LIC_FILES_CHKSUM = "file://COPYING;md5=58c39b26c0549f8e1bb4122173f474cd" + +DEPENDS = "virtual/gettext libtool" + +SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/universe/libe/${BPN}/${BPN}_${PV}.orig.tar.gz;name=orig \ + http://archive.ubuntu.com/ubuntu/pool/universe/libe/${BPN}/${BPN}_${PV}-3.debian.tar.gz;name=dpatch \ + " +SRC_URI[orig.md5sum] = "3791d6de5910a0f6b4427cdf1e6bc663" +SRC_URI[orig.sha256sum] = "e0f14071665b24a8077a24f4cafbf092ad5ac1859f49994dc4e843e747ba7a89" +SRC_URI[dpatch.md5sum] = "57fb17b34344f741b52dff3ae11fbbd6" +SRC_URI[dpatch.sha256sum] = "988ee0a94f01d452cd227ed5c55401e7674dc6fa41da8358a6ad68e67175a5cc" + +inherit autotools-brokensep pkgconfig + +PACKAGECONFIG ??= "zlib ssl bz2" +PACKAGECONFIG[zlib] = "--with-zlib, --without-zlib, zlib, zlib" +PACKAGECONFIG[bz2] = "--with-bzip2, --without-bzip2, bzip2, bzip2" +PACKAGECONFIG[ssl] = "--with-openssl, --without-openssl, openssl, openssl" +PACKAGECONFIG[fuse] = "--with-libfuse, --without-libfuse, fuse" +PACKAGECONFIG[python] = "--enable-python, --disable-python, python" + +EXTRA_OECONF += "--with-gnu-ld --disable-rpath" + +RDEPENDS_${PN} += " util-linux-libuuid"
Signature · 1 line
1.9.1
PATCH 3/3 sleuth: add sleuthkit
In reply to Armin KusterSigned-off-by Armin Kuster <[email protected]>
--- .../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
recipes-forensic/sleuth/files/fix_host_poison.patch new file +23 -0
@@ -0,0 +1,23 @@ +Upstream-Status: Inappropriate [configuration] + +Don't use host include or lib paths in *FLAGS + +Signed-off-by: Armin Kuster <[email protected]> + +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])])
recipes-forensic/sleuth/sleuthkit_4.1.3.bb new file +28 -0
@@ -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"
Signature · 1 line
1.9.1