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 "
2016-01-28 20:55:45 +00:00
LIC_FILES_CHKSUM = " file://LICENSE;md5=27ffa5d74bb5a337056c14b2ef93fbf6 "
2011-11-28 22:18:37 +00:00
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 \
2016-05-23 20:45:25 +00:00
file : / / openssl - c_rehash . sh \
2015-11-11 15:14:07 +00:00
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 \
2016-03-02 07:38:41 +00:00
file : / / debian1 . 0.2 / 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-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 \
2016-03-05 00:12:02 +00:00
file : / / parallel . patch \
2016-07-16 23:04:11 +00:00
file : / / CVE - 2016 - 2177. patch \
2011-11-28 22:18:37 +00:00
"
2016-05-03 23:46:05 +00:00
SRC_URI [ md5sum ] = " 9392e65072ce4b614c1392eefc1f23d0 "
SRC_URI [ sha256sum ] = " 1d4007e53aad94a5b2002fe045ee7bb0b3d98f1a47f8b2bc851dcd1c74332919 "
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
}