Skip to contentSkip to conversation

mbedtls: update to 0.23.0

PATCH In review Oleksandr Kravchuk 2 participants 3 messages Jul 29, 2020 – Jul 31, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mbedtls: update to 0.23.0

License checksum due to dropped due to CLA requirement being removed from the license (see c76a54554ca8bffedf@).

---
 .../mbedtls/{mbedtls_2.16.6.bb => mbedtls_2.23.0.bb}     | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta-networking/recipes-connectivity/mbedtls/{mbedtls_2.16.6.bb => mbedtls_2.23.0.bb} (84%)
meta-networking/recipes-connectivity/mbedtls/mbedtls_2.23.0.bb renamed from meta-networking/recipes-connectivity/mbedtls/mbedtls_2.16.6.bb +5 -4
similarity index 84%
rename from meta-networking/recipes-connectivity/mbedtls/mbedtls_2.16.6.bb
rename to meta-networking/recipes-connectivity/mbedtls/mbedtls_2.23.0.bb
index 12ad39761..3e4553291 100644
@@ -18,13 +18,14 @@ understand what the code does. It features:                          \
 HOMEPAGE = "https://tls.mbed.org/"
 
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=302d50a6369f5f22efdb674db908167a"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SECTION = "libs"
 
-SRC_URI = "https://tls.mbed.org/download/mbedtls-${PV}-apache.tgz"
-SRC_URI[md5sum] = "1f629a43c166de2eca808f3e30aa961d"
-SRC_URI[sha256sum] = "66455e23a6190a30142cdc1113f7418158839331a9d8e6b0778631d077281770"
+SRC_URI = "https://github.com/ARMmbed/mbedtls/archive/mbedtls-${PV}.tar.gz"
+SRC_URI[sha256sum] = "5c8998217402aa1fc734f4afaeac38fad2421470fac4b3abc112bd46391054fe"
+
+S = "${WORKDIR}/mbedtls-mbedtls-${PV}"
 
 inherit cmake
 
Signature · 1 line
2.25.1
#1 lore raw

Fails on musl

https://errors.yoctoproject.org/Errors/Details/426318/

Quoted 40 lines · Oleksandr Kravchuk

License checksum due to dropped due to CLA requirement being removed from the license (see c76a54554ca8bffedf@).

---
 .../mbedtls/{mbedtls_2.16.6.bb => mbedtls_2.23.0.bb}     | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta-networking/recipes-connectivity/mbedtls/{mbedtls_2.16.6.bb => mbedtls_2.23.0.bb} (84%)
meta-networking/recipes-connectivity/mbedtls/mbedtls_2.23.0.bb renamed from meta-networking/recipes-connectivity/mbedtls/mbedtls_2.16.6.bb +5 -5
similarity index 84%
rename from meta-networking/recipes-connectivity/mbedtls/mbedtls_2.16.6.bb
rename to meta-networking/recipes-connectivity/mbedtls/mbedtls_2.23.0.bb
index 12ad39761..3e4553291 100644
@@ -18,13 +18,14 @@ understand what the code does. It features:                          \
 HOMEPAGE = "https://tls.mbed.org/"
 
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=302d50a6369f5f22efdb674db908167a"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SECTION = "libs"
 
-SRC_URI = "https://tls.mbed.org/download/mbedtls-${PV}-apache.tgz"
-SRC_URI[md5sum] = "1f629a43c166de2eca808f3e30aa961d"
-SRC_URI[sha256sum] = "66455e23a6190a30142cdc1113f7418158839331a9d8e6b0778631d077281770"
+SRC_URI = "https://github.com/ARMmbed/mbedtls/archive/mbedtls-${PV}.tar.gz"
+SRC_URI[sha256sum] = "5c8998217402aa1fc734f4afaeac38fad2421470fac4b3abc112bd46391054fe"
+
+S = "${WORKDIR}/mbedtls-mbedtls-${PV}"
 
 inherit cmake
 
--

2.25.1

#2 lore raw
In reply to Oleksandr Kravchuk
Quoted 20 lines · Oleksandr Kravchuk

License checksum due to dropped due to CLA requirement being removed from the license (see c76a54554ca8bffedf@).

---
 .../mbedtls/{mbedtls_2.16.6.bb => mbedtls_2.23.0.bb}     | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta-networking/recipes-connectivity/mbedtls/{mbedtls_2.16.6.bb => mbedtls_2.23.0.bb} (84%)
meta-networking/recipes-connectivity/mbedtls/mbedtls_2.23.0.bb renamed from meta-networking/recipes-connectivity/mbedtls/mbedtls_2.16.6.bb +0 -0
similarity index 84%
rename from meta-networking/recipes-connectivity/mbedtls/mbedtls_2.16.6.bb
rename to meta-networking/recipes-connectivity/mbedtls/mbedtls_2.23.0.bb
index 12ad39761..3e4553291 100644
@@ -18,13 +18,14 @@ understand what the code does. It features:                          \
 HOMEPAGE = "https://tls.mbed.org/"
 

meta-networking/recipes-connectivity/mbedtls/mbedtls_2.23.0.bb understand what the code does. It features: \ · line 25

Quoted 10 lines
meta-networking/recipes-connectivity/mbedtls/mbedtls_2.23.0.bb renamed from meta-networking/recipes-connectivity/mbedtls/mbedtls_2.16.6.bb +2 -4
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=302d50a6369f5f22efdb674db908167a"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SECTION = "libs"
 
-SRC_URI = "https://tls.mbed.org/download/mbedtls-${PV}-apache.tgz"
-SRC_URI[md5sum] = "1f629a43c166de2eca808f3e30aa961d"
-SRC_URI[sha256sum] = "66455e23a6190a30142cdc1113f7418158839331a9d8e6b0778631d077281770"
+SRC_URI = "https://github.com/ARMmbed/mbedtls/archive/mbedtls-${PV}.tar.gz"

We do not use github archives, so either use git fetcher or see if project has static release artifacts

Quoted 10 lines
meta-networking/recipes-connectivity/mbedtls/mbedtls_2.23.0.bb renamed from meta-networking/recipes-connectivity/mbedtls/mbedtls_2.16.6.bb +3 -1
+SRC_URI[sha256sum] = "5c8998217402aa1fc734f4afaeac38fad2421470fac4b3abc112bd46391054fe"
+
+S = "${WORKDIR}/mbedtls-mbedtls-${PV}"
 
 inherit cmake
 
--

2.25.1