wolfssl: Update version to 3.15.5

This patch updates wolfSSL to the current 3.15.5 version. It removes a previous
patch for generating cyassl/options.h, as wolfSSL proper now does that as part
of the Autoconf configure step. It also removes the ipv6 PACKAGECONFIG usage.
wolfSSL is IP neutral and the --enable-ipv6 configure option only affects
the wolfSSL example client/server. As these examples are not compiled as part
of this recipe, the PACKAGECONFIG is unnecessary.

Signed-off-by: Chris Conlon <chris@wolfssl.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Chris Conlon
2018-12-06 13:26:29 -07:00
committed by Khem Raj
parent 0bb29681c4
commit 5f9bcfcd3b
3 changed files with 21 additions and 51 deletions
@@ -1,27 +0,0 @@
From fb490136cf8f2456cfe13b0b4f796e6c155e75dc Mon Sep 17 00:00:00 2001
From: Dengke Du <dengke.du@windriver.com>
Date: Wed, 30 Aug 2017 03:02:32 -0400
Subject: [PATCH] fix no rule to make cyassl/options.h
Upstream-Status: Pending
Signed-off-by: Dengke Du <dengke.du@windriver.com>
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 395d75d..d4a3880 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3684,6 +3684,7 @@ AC_CONFIG_FILES([wolfssl/options.h])
#fi
AC_CONFIG_FILES([support/wolfssl.pc])
AC_CONFIG_FILES([rpm/spec])
+AC_CONFIG_FILES([cyassl/options.h])
AX_CREATE_GENERIC_CONFIG
AX_AM_JOBSERVER([yes])
--
2.8.1
@@ -1,24 +0,0 @@
SUMMARY = "wolfSSL Lightweight, Embedded SSL Library"
DESCRIPTION = "wolfSSL, formerly CyaSSL, is a lightweight SSL library written in C and \
optimized for embedded and RTOS environments. It can be \
Up to 20 times smaller than OpenSSL while still supporting \
a full TLS 1.2 client and server."
HOMEPAGE = "http://www.wolfssl.com/yaSSL/Products-wolfssl.html"
BUGTRACKER = "http://github.com/wolfssl/wolfssl/issues"
SECTION = "libs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
PROVIDES += "cyassl"
RPROVIDES_${PN} = "cyassl"
S = "${WORKDIR}/git"
SRCREV = "1196a3b64d9fabffc8273b87f6f69ac0e75d2eb7"
SRC_URI = "git://github.com/wolfSSL/wolfssl.git;protocol=https; \
file://0001-fix-no-rule-to-make-cyassl-options.h.patch \
"
inherit autotools
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
@@ -0,0 +1,21 @@
SUMMARY = "wolfSSL Lightweight Embedded SSL/TLS Library"
DESCRIPTION = "wolfSSL, formerly CyaSSL, is a lightweight SSL library written \
in C and optimized for embedded and RTOS environments. It can \
be up to 20 times smaller than OpenSSL while still supporting \
a full TLS client and server, up to TLS 1.3"
HOMEPAGE = "https://www.wolfssl.com/products/wolfssl"
BUGTRACKER = "https://github.com/wolfssl/wolfssl/issues"
SECTION = "libs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
PROVIDES += "cyassl"
RPROVIDES_${PN} = "cyassl"
SRC_URI[md5sum] = "bc2dff70ba6e91aa3748d36ae6c6bc3d"
SRC_URI[sha256sum] = "f6c04c25355b340373931f43f8041b3cef78b61122e8a8edf9ee63c07b7a58be"
SRC_URI = "https://www.wolfssl.com/wolfssl-3.15.5.zip"
inherit autotools
BBCLASSEXTEND += "native nativesdk"