diff options
author | Armin Kuster <akuster808@gmail.com> | 2015-02-08 19:59:08 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2015-02-13 17:28:04 -0800 |
commit | 1d03df0ddcd0d83bfb49aae76b48fa9247332c75 (patch) | |
tree | 4b286a55e15aa8f7d0720ad7b3e2a29349fcdfa0 | |
parent | 401cec248676d1e79d5b486577fa534d8d74f181 (diff) | |
download | meta-security-1d03df0ddcd0d83bfb49aae76b48fa9247332c75.tar.gz |
afflib: new package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-forensic/afflib/afflib_3.6.6.bb | 30 | ||||
-rw-r--r-- | recipes-forensic/afflib/files/configure_rm_ms_flags.patch | 18 |
2 files changed, 48 insertions, 0 deletions
diff --git a/recipes-forensic/afflib/afflib_3.6.6.bb b/recipes-forensic/afflib/afflib_3.6.6.bb new file mode 100644 index 0000000..5fb6e21 --- /dev/null +++ b/recipes-forensic/afflib/afflib_3.6.6.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "The Advanced Forensic Format (AFF) is on-disk format for storing computer forensic information." | ||
2 | HOMEPAGE = "http://www.afflib.org/" | ||
3 | LICENSE = " BSD-4-Clause & CPL-1.0" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d1b2c6d0d6908f45d143ef6380727828" | ||
5 | |||
6 | DEPENDS = " zlib ncurses readline openssl libgcrypt" | ||
7 | |||
8 | SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/universe/a/${BPN}/${BPN}_${PV}.orig.tar.gz;name=orig \ | ||
9 | http://archive.ubuntu.com/ubuntu/pool/universe/a/${BPN}/${BPN}_${PV}-1.1.diff.gz;name=dpatch \ | ||
10 | file://configure_rm_ms_flags.patch \ | ||
11 | " | ||
12 | |||
13 | SRC_URI[orig.md5sum] = "b7ff4d2945882018eb1536cad182ad01" | ||
14 | SRC_URI[orig.sha256sum] = "19cacfd558dc00e11975e820e3c4383b52aabbd5ca081d27bb7994a035d2f4ad" | ||
15 | SRC_URI[dpatch.md5sum] = "171e871024545b487589e6c85290576f" | ||
16 | SRC_URI[dpatch.sha256sum] = "db632e254ee51a1e4328cd4449d414eff4795053d4e36bfa8e0020fcb4085cdd" | ||
17 | |||
18 | inherit autotools-brokensep | ||
19 | |||
20 | CPPFLAGS = "-I${STAGING_INCDIR}" | ||
21 | LDFLAGS = "-L${STAGING_LIBDIR}" | ||
22 | |||
23 | PACKAGECONFIG ??= "" | ||
24 | PACKAGECONFIG[curl] = "--with-curl=PATH, --without-curl, curl" | ||
25 | PACKAGECONFIG[expat] = "--with-expat=PATH, --without-expat, expat" | ||
26 | PACKAGECONFIG[fuse] = "--enable-fuse=yes, --enable-fuse=no, fuse" | ||
27 | PACKAGECONFIG[python] = "--enable-python=yes, --enable-python=no, python" | ||
28 | |||
29 | EXTRA_OECONF += "--enable-s3=no CPPFLAGS=-I${STAGING_INCDIR} LDFLAGS=-L${STAGING_LIBDIR}" | ||
30 | EXTRA_OEMAKE += "CPPFLAGS='${CPPFLAGS}' LDFLAGS='-L${STAGING_LIBDIR}'" | ||
diff --git a/recipes-forensic/afflib/files/configure_rm_ms_flags.patch b/recipes-forensic/afflib/files/configure_rm_ms_flags.patch new file mode 100644 index 0000000..ac33500 --- /dev/null +++ b/recipes-forensic/afflib/files/configure_rm_ms_flags.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | remove ms lib options when cross compiling | ||
4 | |||
5 | Signed-Off-By: Armin Kuster <akuster808@gmail.com> | ||
6 | |||
7 | Index: configure.ac | ||
8 | =================================================================== | ||
9 | --- a.orig/configure.ac | ||
10 | +++ a/configure.ac | ||
11 | @@ -47,7 +47,6 @@ if test x"${cross_compiling}" = "xno" ; | ||
12 | AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ]) | ||
13 | else | ||
14 | AC_MSG_NOTICE([Cross Compiling --- will not update CPPFALGS or LDFLAGS with /usr/local, /opt/local or /sw]) | ||
15 | - LIBS="$LIBS -lws2_32 -lgdi32" | ||
16 | fi | ||
17 | |||
18 | if test -r /bin/uname.exe ; then | ||