From 04bc4b4c86e94b57ab0c40d94325b4519ff76b18 Mon Sep 17 00:00:00 2001 From: "dengke.du@windriver.com" Date: Wed, 30 Aug 2017 03:20:34 -0400 Subject: [PATCH] wolfssl: upgrade to 3.12.0 Signed-off-by: Dengke Du Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- ...fix-no-rule-to-make-cyassl-options.h.patch | 27 +++++++++++++++++++ .../{wolfssl_3.9.0.bb => wolfssl_3.12.0.bb} | 10 ++++--- 2 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 meta-networking/recipes-connectivity/wolfssl/files/0001-fix-no-rule-to-make-cyassl-options.h.patch rename meta-networking/recipes-connectivity/wolfssl/{wolfssl_3.9.0.bb => wolfssl_3.12.0.bb} (69%) diff --git a/meta-networking/recipes-connectivity/wolfssl/files/0001-fix-no-rule-to-make-cyassl-options.h.patch b/meta-networking/recipes-connectivity/wolfssl/files/0001-fix-no-rule-to-make-cyassl-options.h.patch new file mode 100644 index 00000000000..f304d933da6 --- /dev/null +++ b/meta-networking/recipes-connectivity/wolfssl/files/0001-fix-no-rule-to-make-cyassl-options.h.patch @@ -0,0 +1,27 @@ +From fb490136cf8f2456cfe13b0b4f796e6c155e75dc Mon Sep 17 00:00:00 2001 +From: Dengke Du +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 +--- + 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 + diff --git a/meta-networking/recipes-connectivity/wolfssl/wolfssl_3.9.0.bb b/meta-networking/recipes-connectivity/wolfssl/wolfssl_3.12.0.bb similarity index 69% rename from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.9.0.bb rename to meta-networking/recipes-connectivity/wolfssl/wolfssl_3.12.0.bb index afae3c863a8..512619098af 100644 --- a/meta-networking/recipes-connectivity/wolfssl/wolfssl_3.9.0.bb +++ b/meta-networking/recipes-connectivity/wolfssl/wolfssl_3.12.0.bb @@ -12,10 +12,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" PROVIDES += "cyassl" RPROVIDES_${PN} = "cyassl" -SRC_URI = "http://www.wolfssl.com/${BP}.zip" +SRC_URI = "https://github.com/wolfSSL/wolfssl/archive/v${PV}-stable.zip \ + file://0001-fix-no-rule-to-make-cyassl-options.h.patch \ + " -SRC_URI[md5sum] = "f3396726a9befd61443c2cce216e39ba" -SRC_URI[sha256sum] = "98f50244f7b43f8683bd0cf5c599849d330e75e6cf077e96f14e83bda8b03ca3" +SRC_URI[md5sum] = "f9caf558169ab650dc8200708799ebeb" +SRC_URI[sha256sum] = "b6d87d3e2c8757177d69aff373c91cf162f4a3944fae90fa10d086fd5f9542e7" + +S = "${WORKDIR}/wolfssl-${PV}-stable" inherit autotools