2011-11-28 22:18:37 +00:00
require openssl . inc
# For target side versions of openssl enable support for OCF Linux driver
# if they are available .
2014-03-26 10:15:58 +00:00
DEPENDS + = " cryptodev-linux "
2011-11-28 22:18:37 +00:00
CFLAG + = " -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS "
LIC_FILES_CHKSUM = " file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8 "
export DIRS = " crypto ssl apps engines "
export OE_LDFLAGS = " ${LDFLAGS} "
2015-11-11 15:14:07 +00:00
SRC_URI + = " file://find.pl;subdir=${BP}/util/ \
file : / / run - ptest \
file : / / configure - targets . patch \
2011-11-28 22:18:37 +00:00
file : / / shared - libs . patch \
file : / / oe - ldflags . patch \
file : / / engines - install - in - libdir - ssl . patch \
2015-03-04 17:46:48 +00:00
file : / / debian1 . 0.2 / block_diginotar . patch \
file : / / debian1 . 0.2 / block_digicert_malaysia . patch \
2011-11-28 22:18:37 +00:00
file : / / debian / ca . patch \
2015-03-04 17:46:48 +00:00
file : / / debian / c_rehash - compat . patch \
file : / / debian / debian - targets . patch \
2011-11-28 22:18:37 +00:00
file : / / debian / man - dir . patch \
file : / / debian / man - section . patch \
2015-03-04 17:46:48 +00:00
file : / / debian / no - rpath . patch \
2011-11-28 22:18:37 +00:00
file : / / debian / no - symbolic . patch \
2015-03-04 17:46:48 +00:00
file : / / debian / pic . patch \
file : / / debian / version - script . patch \
2011-12-02 20:20:01 +00:00
file : / / openssl_fix_for_x32 . patch \
2013-06-13 11:41:20 +00:00
file : / / fix - cipher - des - ede3 - cfb1 . patch \
2013-08-22 03:12:28 +00:00
file : / / openssl - avoid - NULL - pointer - dereference - in - EVP_DigestInit_ex . patch \
2014-03-28 09:42:45 +00:00
file : / / openssl - fix - des . pod - error . patch \
2014-04-24 17:28:25 +00:00
file : / / Makefiles - ptest . patch \
2014-06-09 15:37:19 +00:00
file : / / ptest - deps . patch \
2015-04-10 17:45:20 +00:00
file : / / crypto_use_bigint_in_x86 - 64 _ perl . patch \
2015-06-15 21:32:15 +00:00
file : / / openssl - 1. 0.2 a - x32 - asm . patch \
2015-09-29 02:54:15 +00:00
file : / / ptest_makefile_deps . patch \
2015-11-19 01:03:14 +00:00
file : / / configure - musl - target . patch \
2011-11-28 22:18:37 +00:00
"
2015-12-09 13:37:59 +00:00
SRC_URI [ md5sum ] = " 5262bfa25b60ed9de9f28d5d52d77fc5 "
SRC_URI [ sha256sum ] = " e23ccafdb75cfcde782da0151731aa2185195ac745eea3846133f2e05c0e0bff "
2011-11-28 22:18:37 +00:00
2015-12-15 16:32:43 +00:00
PACKAGES = + " ${PN}-engines "
2012-01-17 01:54:42 +00:00
FILES_ $ { PN } - engines = " ${libdir}/ssl/engines/*.so ${libdir}/engines "
2011-11-28 22:18:37 +00:00
2015-11-11 14:50:27 +00:00
# The crypto_use_bigint patch means that perl ' s bignum module needs to be
# installed , but some distributions ( for example Fedora 23 ) don ' t ship it by
# default . As the resulting error is very misleading check for bignum before
# building .
do_configure_prepend ( ) {
if ! perl - Mbigint - e true ; then
bbfatal " The perl module 'bignum' was not found but this is required to build openssl. Please install this module (often packaged as perl-bignum) and re-run bitbake. "
fi
}