Skip to contentSkip to conversation

wolfssl: update to 3.15.8 and use github SRC_URI

PATCH Superseded Randy MacLeod 2 participants 7 messages Mar 30, 2019 – Apr 2, 2019

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 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}         | 5 ++---
 1 file changed, 2 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 +2 -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..29e094783 100644
@@ -12,9 +12,8 @@ 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"
 
 inherit autotools
 
Signature · 1 line
2.17.0
#1 lore raw
Quoted 20 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}         | 5 ++---
  1 file changed, 2 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 +0 -0
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..29e094783 100644

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

Quoted 9 lines
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +2 -3
@@ -12,9 +12,8 @@ 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"
 

Oops, I forgot:
+S = "${WORKDIR}/git"

v3 sent already.
../Randy

Quoted 3 lines
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +0 -0
  inherit autotools
 
Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#2 lore raw
Quoted 8 lines · Randy MacLeod
Quoted 6 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.

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

Quoted 41 lines
Quoted 14 lines
---
  .../wolfssl/{wolfssl_3.15.7.bb => wolfssl_3.15.8.bb}         | 5 ++---
  1 file changed, 2 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 +0 -0
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..29e094783 100644

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

Quoted 9 lines
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +2 -3
@@ -12,9 +12,8 @@ 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"
 

Oops, I forgot:
+S = "${WORKDIR}/git"

v3 sent already.
../Randy

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

Quoted 3 lines
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +0 -0
  inherit autotools
 

--
# Randy MacLeod
# Wind River Linux
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 4 lines · Khem Raj
Quoted 2 lines · Randy MacLeod

On 3/30/19 12:56 PM, Randy MacLeod wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 6 lines

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.

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

That's odd.

I built the update for all qemu targets and both glibc/musl. I may not have done sysvinit but I doubt that matters.

Are you sure there wasn't something wrong on your end?

I'll try the rpi tomorrow.

../Randy

Quoted 43 lines
Quoted 43 lines
Quoted 16 lines
---
   .../wolfssl/{wolfssl_3.15.7.bb => wolfssl_3.15.8.bb}         | 5 ++---
   1 file changed, 2 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 +0 -0
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..29e094783 100644

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

Quoted 9 lines
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +2 -3
@@ -12,9 +12,8 @@ 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"
 

Oops, I forgot:
+S = "${WORKDIR}/git"

v3 sent already.
../Randy

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

Quoted 3 lines
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +0 -0
   inherit autotools
 

--
# Randy MacLeod
# Wind River Linux
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#4 lore raw
Quoted 14 lines · Randy MacLeod
Quoted 4 lines · Khem Raj
Quoted 2 lines · Randy MacLeod

On 3/30/19 12:56 PM, Randy MacLeod wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 6 lines

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.

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

Quoted 8 lines

That's odd.

I built the update for all qemu targets and both glibc/musl. I may not have done sysvinit but I doubt that matters.

Are you sure there wasn't something wrong on your end?

I'll try the rpi tomorrow.

You are replying on the v2 thread.
Did you see and use v3?
../Randy

Quoted 51 lines

../Randy

Quoted 46 lines
Quoted 46 lines
Quoted 26 lines

---
   .../wolfssl/{wolfssl_3.15.7.bb => wolfssl_3.15.8.bb}         | 5
++---

   1 file changed, 2 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 +0 -0
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..29e094783 100644
@@ -12,9 +12,8 @@ LIC_FILES_CHKSUM = 

"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" PROVIDES += "cyassl"
   RPROVIDES_${PN} = "cyassl"

meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +0 -3
-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 16

Quoted 2 lines
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +2 -0
+SRC_URI = "git://github.com/wolfSSL/wolfssl.git;protocol=https"
+SRCREV = "e87433e2b6682aa7162fcb4aafefb08e2fbd932b"

Oops, I forgot:
+S = "${WORKDIR}/git"

v3 sent already.
../Randy

Quoted 3 lines

   inherit autotools

Signature · 7 lines
# Randy MacLeod
# Wind River Linux
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#5 lore raw

its v3

Quoted 91 lines · Randy MacLeod
Quoted 14 lines · Randy MacLeod
Quoted 4 lines · Khem Raj
Quoted 2 lines · Randy MacLeod

On 3/30/19 12:56 PM, Randy MacLeod wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 6 lines

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.

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

Quoted 8 lines

That's odd.

I built the update for all qemu targets and both glibc/musl. I may not have done sysvinit but I doubt that matters.

Are you sure there wasn't something wrong on your end?

I'll try the rpi tomorrow.

You are replying on the v2 thread.
Did you see and use v3?
../Randy

Quoted 57 lines

../Randy

Quoted 52 lines
Quoted 52 lines
Quoted 32 lines
---
   .../wolfssl/{wolfssl_3.15.7.bb => wolfssl_3.15.8.bb}         | 5
++---
   1 file changed, 2 insertions(+), 3 deletions(-)

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

diff --git a/meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb b/meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb 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..29e094783 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,8 @@ LIC_FILES_CHKSUM =

"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
PROVIDES += "cyassl"
RPROVIDES_${PN} = "cyassl"

meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +0 -3
-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 16

Quoted 2 lines
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +2 -0
+SRC_URI = "git://github.com/wolfSSL/wolfssl.git;protocol=https"
+SRCREV = "e87433e2b6682aa7162fcb4aafefb08e2fbd932b"

Oops, I forgot:
+S = "${WORKDIR}/git"

v3 sent already.
../Randy

Quoted 3 lines

inherit autotools

--
# Randy MacLeod
# Wind River Linux
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
# Randy MacLeod
# Wind River Linux

#6 lore raw
Quoted 1 line · Khem Raj

its v3

Huh.
I cleaned up my local builds and they build fine.

I cloned yoe-distro -b yoe/mut [1] and
it has the v3 update:
git show e83dc5ed04a209d8c3055331a66e6b7d19496048

and I'm able to:

$ bitbake wolfssl
just fine.

It's a simple change so I'm not sure what to do to help... ../Randy

[1]

$ git log --oneline -3
961e203 (HEAD -> yoe/mut, origin/yoe/mut)
        Layer Updates: sources/openembedded-core
a559863 Layer Updates: sources/meta-atmel sources/openembedded-core
fef19ce Layer Updates: sources/meta-openembedded
Quoted 95 lines
Quoted 91 lines · Randy MacLeod
Quoted 14 lines · Randy MacLeod
Quoted 4 lines · Khem Raj
Quoted 2 lines · Randy MacLeod

On 3/30/19 12:56 PM, Randy MacLeod wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 6 lines

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.

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

Quoted 8 lines

That's odd.

I built the update for all qemu targets and both glibc/musl. I may not have done sysvinit but I doubt that matters.

Are you sure there wasn't something wrong on your end?

I'll try the rpi tomorrow.

You are replying on the v2 thread.
Did you see and use v3?
../Randy

Quoted 57 lines

../Randy

Quoted 52 lines
Quoted 52 lines
Quoted 32 lines
---
    .../wolfssl/{wolfssl_3.15.7.bb => wolfssl_3.15.8.bb}         | 5
++---
    1 file changed, 2 insertions(+), 3 deletions(-)

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

diff --git a/meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb b/meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb 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..29e094783 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,8 @@ LIC_FILES_CHKSUM =

"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

    PROVIDES += "cyassl"
    RPROVIDES_${PN} = "cyassl"
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +0 -3
-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 16

Quoted 2 lines
meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.8.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_3.15.7.bb +2 -0
+SRC_URI = "git://github.com/wolfSSL/wolfssl.git;protocol=https"
+SRCREV = "e87433e2b6682aa7162fcb4aafefb08e2fbd932b"

Oops, I forgot:
+S = "${WORKDIR}/git"

v3 sent already.
../Randy

Quoted 3 lines

inherit autotools

--
# Randy MacLeod
# Wind River Linux
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
# Randy MacLeod
# Wind River Linux

Signature · 2 lines
# Randy MacLeod
# Wind River Linux