Skip to contentSkip to conversation

wolfssl: update to 3.15.8 and use github SRC_URI

PATCH In review Randy MacLeod 2 participants 3 messages Apr 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wolfssl: update to 3.15.8 and use github SRC_URI

The previous SRC_URI did not work for the new version and when looking at the site, users are required to navigate through a click-through license agreement. Also use git repo rather than the .zip archive since the github checksum can change from time to time.

---
 .../wolfssl/{wolfssl_3.15.7.bb => wolfssl_3.15.8.bb}        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-networking/recipes-connectivity/wolfssl/{wolfssl_3.15.7.bb => wolfssl_3.15.8.bb} (77%)
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +3 -3
similarity index 77%
rename from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb
rename to meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb
index 0a0a6075d..d4b969104 100644
@@ -12,9 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 PROVIDES += "cyassl"
 RPROVIDES_${PN} = "cyassl"
 
-SRC_URI = "https://www.wolfssl.com/wolfssl-${PV}.zip"
-SRC_URI[md5sum] = "6ec08c09e3f51cccbb1686b4fd45f92f"
-SRC_URI[sha256sum] = "4cc318c49580d3b9c361fe258fac6106624aa744f1d34e03977b587766a753ee"
+SRC_URI = "git://github.com/wolfSSL/wolfssl.git;protocol=https"
+SRCREV = "e87433e2b6682aa7162fcb4aafefb08e2fbd932b"
+S = "${WORKDIR}/git"
 
 inherit autotools
 
Signature · 1 line
2.17.0
#1 lore raw

Khem,

I know you had a compile problem with this patch last time but I've checked it again and even 'called a friend' to do a sanity check and the simple patch works for both of us.

I don't see what the problem could be so hopefully it'll just work this time.

../Randy

Quoted 33 lines · Randy MacLeod

The previous SRC_URI did not work for the new version and when looking at the site, users are required to navigate through a click-through license agreement. Also use git repo rather than the .zip archive since the github checksum can change from time to time.

---
  .../wolfssl/{wolfssl_3.15.7.bb => wolfssl_3.15.8.bb}        | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

rename meta-networking/recipes-connectivity/wolfssl/{wolfssl_3.15.7.bb => wolfssl_3.15.8.bb} (77%)

meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +3 -3
similarity index 77%
rename from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb
rename to meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb
index 0a0a6075d..d4b969104 100644
@@ -12,9 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
  PROVIDES += "cyassl"
  RPROVIDES_${PN} = "cyassl"
 
-SRC_URI = "https://www.wolfssl.com/wolfssl-${PV}.zip"
-SRC_URI[md5sum] = "6ec08c09e3f51cccbb1686b4fd45f92f"
-SRC_URI[sha256sum] = "4cc318c49580d3b9c361fe258fac6106624aa744f1d34e03977b587766a753ee"
+SRC_URI = "git://github.com/wolfSSL/wolfssl.git;protocol=https"
+SRCREV = "e87433e2b6682aa7162fcb4aafefb08e2fbd932b"
+S = "${WORKDIR}/git"
 
  inherit autotools
 
Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#2 lore raw
Quoted 8 lines · Randy MacLeod

Khem,

I know you had a compile problem with this patch last time but I've checked it again and even 'called a friend' to do a sanity check and the simple patch works for both of us.

I don't see what the problem could be so hopefully it'll just work this time.

My builds on Oe servers takes more than 24 hours so I was still on v2 and v3 build is still in progress

Quoted 50 lines

../Randy

Quoted 11 lines · Randy MacLeod

The previous SRC_URI did not work for the new version and when looking at the site, users are required to navigate through a click-through license agreement. Also use git repo rather than the .zip archive since the github checksum can change from time to time.

---
  .../wolfssl/{wolfssl_3.15.7.bb => wolfssl_3.15.8.bb}        | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

rename meta-networking/recipes-connectivity/wolfssl/{wolfssl_3.15.7.bb

=> wolfssl_3.15.8.bb} (77%)

Review

Quoted 2 lines
(quoted diff) +0 -0

wolfssl_3.15.7.bb b/meta-networking/recipes-connectivity/wolfssl/ wolfssl_3.15.8.bb

Quoted 2 lines

similarity index 77%
rename from meta-networking/recipes-connectivity/wolfssl/

wolfssl_3.15.7.bb

meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb LIC_FILES_CHKSUM =

Quoted 5 lines

rename to meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb index 0a0a6075d..d4b969104 100644

meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +0 -0
@@ -12,9 +12,9 @@ LIC_FILES_CHKSUM =

"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

Quoted 6 lines
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +0 -3
  PROVIDES += "cyassl"
  RPROVIDES_${PN} = "cyassl"
 
-SRC_URI = "https://www.wolfssl.com/wolfssl-${PV}.zip"
-SRC_URI[md5sum] = "6ec08c09e3f51cccbb1686b4fd45f92f"
-SRC_URI[sha256sum] =

"4cc318c49580d3b9c361fe258fac6106624aa744f1d34e03977b587766a753ee"

meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" · line 20

Quoted 7 lines
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +3 -0
+SRC_URI = "git://github.com/wolfSSL/wolfssl.git;protocol=https"
+SRCREV = "e87433e2b6682aa7162fcb4aafefb08e2fbd932b"
+S = "${WORKDIR}/git"
 
  inherit autotools
 

--
# Randy MacLeod
# Wind River Linux