mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
30
recipes-forensic/afflib/afflib_3.6.6.bb
Normal file
30
recipes-forensic/afflib/afflib_3.6.6.bb
Normal file
@@ -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}'"
|
||||
18
recipes-forensic/afflib/files/configure_rm_ms_flags.patch
Normal file
18
recipes-forensic/afflib/files/configure_rm_ms_flags.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
remove ms lib options when cross compiling
|
||||
|
||||
Signed-Off-By: Armin Kuster <akuster808@gmail.com>
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user