summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2015-02-08 19:59:08 -0800
committerArmin Kuster <akuster808@gmail.com>2015-02-13 17:28:04 -0800
commit1d03df0ddcd0d83bfb49aae76b48fa9247332c75 (patch)
tree4b286a55e15aa8f7d0720ad7b3e2a29349fcdfa0
parent401cec248676d1e79d5b486577fa534d8d74f181 (diff)
downloadmeta-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.bb30
-rw-r--r--recipes-forensic/afflib/files/configure_rm_ms_flags.patch18
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 @@
1SUMMARY = "The Advanced Forensic Format (AFF) is on-disk format for storing computer forensic information."
2HOMEPAGE = "http://www.afflib.org/"
3LICENSE = " BSD-4-Clause & CPL-1.0"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d1b2c6d0d6908f45d143ef6380727828"
5
6DEPENDS = " zlib ncurses readline openssl libgcrypt"
7
8SRC_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
13SRC_URI[orig.md5sum] = "b7ff4d2945882018eb1536cad182ad01"
14SRC_URI[orig.sha256sum] = "19cacfd558dc00e11975e820e3c4383b52aabbd5ca081d27bb7994a035d2f4ad"
15SRC_URI[dpatch.md5sum] = "171e871024545b487589e6c85290576f"
16SRC_URI[dpatch.sha256sum] = "db632e254ee51a1e4328cd4449d414eff4795053d4e36bfa8e0020fcb4085cdd"
17
18inherit autotools-brokensep
19
20CPPFLAGS = "-I${STAGING_INCDIR}"
21LDFLAGS = "-L${STAGING_LIBDIR}"
22
23PACKAGECONFIG ??= ""
24PACKAGECONFIG[curl] = "--with-curl=PATH, --without-curl, curl"
25PACKAGECONFIG[expat] = "--with-expat=PATH, --without-expat, expat"
26PACKAGECONFIG[fuse] = "--enable-fuse=yes, --enable-fuse=no, fuse"
27PACKAGECONFIG[python] = "--enable-python=yes, --enable-python=no, python"
28
29EXTRA_OECONF += "--enable-s3=no CPPFLAGS=-I${STAGING_INCDIR} LDFLAGS=-L${STAGING_LIBDIR}"
30EXTRA_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 @@
1Upstream-Status: Inappropriate [configuration]
2
3remove ms lib options when cross compiling
4
5Signed-Off-By: Armin Kuster <akuster808@gmail.com>
6
7Index: 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