Skip to contentSkip to conversation

gnutls: Update to 3.6.3

PATCH Superseded Armin Kuster 2 participants 4 messages Aug 17, 2018 – Aug 20, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gnutls: Update to 3.6.3

[v2]
Fix new config options form with to disable.

[v1]
release notes: https://lists.gnupg.org/pipermail/gnutls-devel/2018-July/008584.html

add ssl3 and tls1.3 config options now supported.

---
 meta/recipes-support/gnutls/gnutls.inc                       | 2 ++
 .../gnutls/{gnutls_3.6.2.bb => gnutls_3.6.3.bb}              | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)
 rename meta/recipes-support/gnutls/{gnutls_3.6.2.bb => gnutls_3.6.3.bb} (53%)
meta/recipes-support/gnutls/gnutls.inc +2 -0
index 04c0fd2af8..f204e5f4c0 100644
@@ -30,6 +30,8 @@ PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn2"
 PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,libtasn1"
 PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit"
 PACKAGECONFIG[tpm] = "--with-tpm,--without-tpm,trousers"
+PACKAGECONFIG[ssl3] = "--enable-ssl3-support,--disable-ssl3-support,"
+PACKAGECONFIG[tls13] = "--enable-tls13-support,--disable-tls13-support,"
 
 EXTRA_OECONF = " \
     --enable-doc \
meta/recipes-support/gnutls/gnutls_3.6.3.bb renamed from meta/recipes-support/gnutls/gnutls_3.6.2.bb +3 -2
similarity index 53%
rename from meta/recipes-support/gnutls/gnutls_3.6.2.bb
rename to meta/recipes-support/gnutls/gnutls_3.6.3.bb
index e540528a8e..c560305032 100644
@@ -3,7 +3,8 @@ require gnutls.inc
 SRC_URI += "file://0001-configure.ac-fix-sed-command.patch \
             file://arm_eabi.patch \
            "
-SRC_URI[md5sum] = "8b4912c6c0e5ffefd3dbb4888eaf8a58"
-SRC_URI[sha256sum] = "bcd5db7b234e02267f36b5d13cf5214baac232b7056a506252b7574ea7738d1f"
+
+SRC_URI[md5sum] = "d3b1b05c2546b80832101a423a80faf8"
+SRC_URI[sha256sum] = "ed642b66a4ecf4851ab2d809cd1475c297b6201d8e8bd14b4d1c08b53ffca993"
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 20 lines · Armin Kuster

[v2]
Fix new config options form with to disable.

[v1]
release notes: https://lists.gnupg.org/pipermail/gnutls-devel/2018-July/008584.html

add ssl3 and tls1.3 config options now supported.

---
 meta/recipes-support/gnutls/gnutls.inc                       | 2 ++
 .../gnutls/{gnutls_3.6.2.bb => gnutls_3.6.3.bb}              | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)
 rename meta/recipes-support/gnutls/{gnutls_3.6.2.bb => gnutls_3.6.3.bb} (53%)
meta/recipes-support/gnutls/gnutls.inc +0 -0
index 04c0fd2af8..f204e5f4c0 100644

meta/recipes-support/gnutls/gnutls.inc PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn2" · line 34

Quoted 5 lines
meta/recipes-support/gnutls/gnutls.inc +2 -0
@@ -30,6 +30,8 @@ PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn2"
 PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,libtasn1"
 PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit"
 PACKAGECONFIG[tpm] = "--with-tpm,--without-tpm,trousers"
+PACKAGECONFIG[ssl3] = "--enable-ssl3-support,--disable-ssl3-support,"
+PACKAGECONFIG[tls13] = "--enable-tls13-support,--disable-tls13-support,"

I'm not sure whether either of these should have PACKAGECONFIG options.

SSL v3 is obsolete and if gnutls is disabling it by default now then it's probably best to leave it that way (dead and buried). Experienced users can always enable via EXTRA_OECONF if they really need it.

TLS 1.3 is the opposite - it's brand new. If we add a PACKAGECONFIG option to control it then it becomes the gnutls recipe maintainer's job to figure out when to enable it by default. I think it's better to leave that decision to upstream gnutls.

Quoted 28 lines
meta/recipes-support/gnutls/gnutls.inc +0 -0
 EXTRA_OECONF = " \
     --enable-doc \
meta/recipes-support/gnutls/gnutls_3.6.3.bb renamed from meta/recipes-support/gnutls/gnutls_3.6.2.bb +3 -3
similarity index 53%
rename from meta/recipes-support/gnutls/gnutls_3.6.2.bb
rename to meta/recipes-support/gnutls/gnutls_3.6.3.bb
index e540528a8e..c560305032 100644
@@ -3,7 +3,8 @@ require gnutls.inc
 SRC_URI += "file://0001-configure.ac-fix-sed-command.patch \
             file://arm_eabi.patch \
            "
-SRC_URI[md5sum] = "8b4912c6c0e5ffefd3dbb4888eaf8a58"
-SRC_URI[sha256sum] = "bcd5db7b234e02267f36b5d13cf5214baac232b7056a506252b7574ea7738d1f"
+
+SRC_URI[md5sum] = "d3b1b05c2546b80832101a423a80faf8"
+SRC_URI[sha256sum] = "ed642b66a4ecf4851ab2d809cd1475c297b6201d8e8bd14b4d1c08b53ffca993"
 
 BBCLASSEXTEND = "native nativesdk"
--

2.17.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

author
#2 lore raw
Quoted 28 lines · Andre McCurdy
Quoted 20 lines · Armin Kuster

[v2]
Fix new config options form with to disable.

[v1]
release notes: https://lists.gnupg.org/pipermail/gnutls-devel/2018-July/008584.html

add ssl3 and tls1.3 config options now supported.

---
 meta/recipes-support/gnutls/gnutls.inc                       | 2 ++
 .../gnutls/{gnutls_3.6.2.bb => gnutls_3.6.3.bb}              | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)
 rename meta/recipes-support/gnutls/{gnutls_3.6.2.bb => gnutls_3.6.3.bb} (53%)
meta/recipes-support/gnutls/gnutls.inc +0 -0
index 04c0fd2af8..f204e5f4c0 100644

meta/recipes-support/gnutls/gnutls.inc PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn2" · line 34

Quoted 5 lines
meta/recipes-support/gnutls/gnutls.inc +2 -0
@@ -30,6 +30,8 @@ PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn2"
 PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,libtasn1"
 PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit"
 PACKAGECONFIG[tpm] = "--with-tpm,--without-tpm,trousers"
+PACKAGECONFIG[ssl3] = "--enable-ssl3-support,--disable-ssl3-support,"
+PACKAGECONFIG[tls13] = "--enable-tls13-support,--disable-tls13-support,"

I'm not sure whether either of these should have PACKAGECONFIG options.

Quoted 8 lines

SSL v3 is obsolete and if gnutls is disabling it by default now then it's probably best to leave it that way (dead and buried). Experienced users can always enable via EXTRA_OECONF if they really need it.

TLS 1.3 is the opposite - it's brand new. If we add a PACKAGECONFIG option to control it then it becomes the gnutls recipe maintainer's job to figure out when to enable it by default. I think it's better to leave that decision to upstream gnutls.

No change in behavior in the way its setup now.

You can send a patch to correct them. I am not doing a v3 for this.

- armin

Quoted 29 lines
Quoted 29 lines
meta/recipes-support/gnutls/gnutls.inc +0 -0
 EXTRA_OECONF = " \
     --enable-doc \
meta/recipes-support/gnutls/gnutls_3.6.3.bb renamed from meta/recipes-support/gnutls/gnutls_3.6.2.bb +3 -3
similarity index 53%
rename from meta/recipes-support/gnutls/gnutls_3.6.2.bb
rename to meta/recipes-support/gnutls/gnutls_3.6.3.bb
index e540528a8e..c560305032 100644
@@ -3,7 +3,8 @@ require gnutls.inc
 SRC_URI += "file://0001-configure.ac-fix-sed-command.patch \
             file://arm_eabi.patch \
            "
-SRC_URI[md5sum] = "8b4912c6c0e5ffefd3dbb4888eaf8a58"
-SRC_URI[sha256sum] = "bcd5db7b234e02267f36b5d13cf5214baac232b7056a506252b7574ea7738d1f"
+
+SRC_URI[md5sum] = "d3b1b05c2546b80832101a423a80faf8"
+SRC_URI[sha256sum] = "ed642b66a4ecf4851ab2d809cd1475c297b6201d8e8bd14b4d1c08b53ffca993"
 
 BBCLASSEXTEND = "native nativesdk"
--

2.17.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 33 lines · On Fri, Aug 17, 2018 at 3:39 PM, akuster808 <[email protected]> wrote:
Quoted 32 lines · Andre McCurdy
Quoted 20 lines · Armin Kuster

[v2]
Fix new config options form with to disable.

[v1]
release notes: https://lists.gnupg.org/pipermail/gnutls-devel/2018-July/008584.html

add ssl3 and tls1.3 config options now supported.

---
 meta/recipes-support/gnutls/gnutls.inc                       | 2 ++
 .../gnutls/{gnutls_3.6.2.bb => gnutls_3.6.3.bb}              | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)
 rename meta/recipes-support/gnutls/{gnutls_3.6.2.bb => gnutls_3.6.3.bb} (53%)
meta/recipes-support/gnutls/gnutls.inc +0 -0
index 04c0fd2af8..f204e5f4c0 100644

meta/recipes-support/gnutls/gnutls.inc PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn2" · line 34

Quoted 5 lines
meta/recipes-support/gnutls/gnutls.inc +2 -0
@@ -30,6 +30,8 @@ PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn2"
 PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,libtasn1"
 PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit"
 PACKAGECONFIG[tpm] = "--with-tpm,--without-tpm,trousers"
+PACKAGECONFIG[ssl3] = "--enable-ssl3-support,--disable-ssl3-support,"
+PACKAGECONFIG[tls13] = "--enable-tls13-support,--disable-tls13-support,"

I'm not sure whether either of these should have PACKAGECONFIG options.

SSL v3 is obsolete and if gnutls is disabling it by default now then it's probably best to leave it that way (dead and buried). Experienced users can always enable via EXTRA_OECONF if they really need it.

Quoted 7 lines
Quoted 4 lines

TLS 1.3 is the opposite - it's brand new. If we add a PACKAGECONFIG option to control it then it becomes the gnutls recipe maintainer's job to figure out when to enable it by default. I think it's better to leave that decision to upstream gnutls.

No change in behavior in the way its setup now.

You can send a patch to correct them. I am not doing a v3 for this.

No, not a big issue either way.

I thought we might be getting a v3 anyway to move the [v1] and [v2] comments below the "---" line but the v2 got merged as-is...