From 01ffc1f2b28b2202187f041664e0c5e18064774c Mon Sep 17 00:00:00 2001 From: Roy Li Date: Tue, 26 May 2015 09:24:44 +0800 Subject: [PATCH] mbedtls: upgrade to 1.3.10 1. PolarSSL is now rebranded as mbed TLS. 2. upgrade to include CVE-2015-1182 fix: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1182 Signed-off-by: Roy Li Signed-off-by: Joe MacDonald --- .../polarssl_1.3.8.bb => mbedtls/mbedtls_1.3.10.bb} | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename meta-networking/recipes-connectivity/{polarssl/polarssl_1.3.8.bb => mbedtls/mbedtls_1.3.10.bb} (80%) diff --git a/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_1.3.10.bb similarity index 80% rename from meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb rename to meta-networking/recipes-connectivity/mbedtls/mbedtls_1.3.10.bb index caa4cd3a99..d5c7afe04f 100644 --- a/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb +++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_1.3.10.bb @@ -1,5 +1,5 @@ SUMMARY = "Lightweight crypto and SSL/TLS library" -DESCRIPTION = "PolarSSL is a lean open source crypto library \ +DESCRIPTION = "mbedtls is a lean open source crypto library \ for providing SSL and TLS support in your programs. It offers \ an intuitive API and documented header files, so you can actually \ understand what the code does. It features: \ @@ -23,13 +23,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" SECTION = "libdevel" -SRC_URI = "https://polarssl.org/download/polarssl-${PV}-gpl.tgz" +SRC_URI = "https://tls.mbed.org/download/mbedtls-${PV}-gpl.tgz" -SRC_URI[md5sum] = "d1a2b4f21727e888f143414d2e3144e6" -SRC_URI[sha256sum] = "318171db41335cacbb5b0047c94f1faf91442ab70a223b5223436703c9406ff1" +SRC_URI[md5sum] = "19ebbc96feceb430ad958dfe89cb633f" +SRC_URI[sha256sum] = "746fd88e0c6623691fc56c4eed52e40a57b2da0ac80f6dd8995094aa6adb407e" DEPENDS = "openssl" RDEPENDS_${PN} += "libcrypto" +PROVIDES += "polarssl" +RPROVIDES_${PN} = "polarssl" EXTRA_OECMAKE = "-DUSE_SHARED_POLARSSL_LIBRARY=on -DLIB_INSTALL_DIR=${baselib}" inherit cmake