diff options
| author | Simone Weiß <simone.p.weiss@posteo.com> | 2024-11-23 17:43:22 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-25 22:23:25 +0000 |
| commit | e14835ce9dc2ad16ca5415aece2d5063e777f681 (patch) | |
| tree | 16742b8c9e0c1bdd314668bb5c689a762cf9a3a5 /meta | |
| parent | 88489115ae83f80f8f00f296f7f775ba24884744 (diff) | |
| download | poky-e14835ce9dc2ad16ca5415aece2d5063e777f681.tar.gz | |
gnutls: Upgrade to 3.8.8
In 3.8.7 is that the linkage to compression libraries were changed to use a new
tool called dlwrap, this caused issues during the last upgrade but is resolved
now with the update to 3.8.8. Remove the workarounds for the update hence.
Changes in 3.8.8 include:
* libgnutls:
* Experimental support for X25519MLKEM768 and SecP256r1MLKEM768
key exchange in TLS 1.3
* All records included in an OCSP response are now checked in TLS
* Handling of malformed compress_certificate extension is now more standard
compliant
* More flexible library linking options for compression libraries, TPM, and
liboqs support. The configure options, --with-zstd, --with-brotli, --with-zlib,
--with-tpm2, and --with-liboqs now take 4 states:
yes/link/dlopen/no, to specify how the libraries are linked or
loaded.
Do not set a specific library linking option but use the default(yes).
(From OE-Core rev: 6620623ce280d20c2430ba87ba276a0490b05080)
Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-support/gnutls/gnutls/conditional.patch | 42 | ||||
| -rw-r--r-- | meta/recipes-support/gnutls/gnutls_3.8.8.bb (renamed from meta/recipes-support/gnutls/gnutls_3.8.7.1.bb) | 6 |
2 files changed, 1 insertions, 47 deletions
diff --git a/meta/recipes-support/gnutls/gnutls/conditional.patch b/meta/recipes-support/gnutls/gnutls/conditional.patch deleted file mode 100644 index 2ff532fb53..0000000000 --- a/meta/recipes-support/gnutls/gnutls/conditional.patch +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | From 292f96f26d7ce80e4a165c903c4fd569b85c1c1f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Daiki Ueno <ueno@gnu.org> | ||
| 3 | Date: Fri, 16 Aug 2024 09:42:15 +0900 | ||
| 4 | Subject: [PATCH] build: fix setting AM_CONDITIONAL for brotli and zstd | ||
| 5 | |||
| 6 | As the with_{libbrotli,libzsttd} variables are unset if configured | ||
| 7 | with --without-{brotli,zstd}, check the unequality to "no" doesn't | ||
| 8 | work; use explicit matching with "yes" instead. | ||
| 9 | |||
| 10 | Signed-off-by: Daiki Ueno <ueno@gnu.org> | ||
| 11 | |||
| 12 | Upstream-Status: Backport | ||
| 13 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
| 14 | --- | ||
| 15 | configure.ac | 4 ++-- | ||
| 16 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/configure.ac b/configure.ac | ||
| 19 | index 95ec4c1515..a476176800 100644 | ||
| 20 | --- a/configure.ac | ||
| 21 | +++ b/configure.ac | ||
| 22 | @@ -1158,7 +1158,7 @@ if test x$ac_brotli != xno; then | ||
| 23 | else | ||
| 24 | AC_MSG_RESULT(no) | ||
| 25 | fi | ||
| 26 | -AM_CONDITIONAL(HAVE_LIBBROTLI, test "$with_libbrotlienc" != "no" && test "$with_libbrotlidec" != "no") | ||
| 27 | +AM_CONDITIONAL(HAVE_LIBBROTLI, test "$with_libbrotlienc" = yes && test "$with_libbrotlidec" = yes) | ||
| 28 | |||
| 29 | AS_IF([test "$ac_cv_dlopen_soname_works" = yes], [ | ||
| 30 | save_CFLAGS=$CFLAGS | ||
| 31 | @@ -1203,7 +1203,7 @@ if test x$ac_zstd != xno; then | ||
| 32 | else | ||
| 33 | AC_MSG_RESULT(no) | ||
| 34 | fi | ||
| 35 | -AM_CONDITIONAL(HAVE_LIBZSTD, test "$with_libzstd" != "no") | ||
| 36 | +AM_CONDITIONAL(HAVE_LIBZSTD, test "$with_libzstd" = yes) | ||
| 37 | |||
| 38 | AS_IF([test "$ac_cv_dlopen_soname_works" = yes], [ | ||
| 39 | save_CFLAGS=$CFLAGS | ||
| 40 | -- | ||
| 41 | GitLab | ||
| 42 | |||
diff --git a/meta/recipes-support/gnutls/gnutls_3.8.7.1.bb b/meta/recipes-support/gnutls/gnutls_3.8.8.bb index b381520e2e..213b9ff803 100644 --- a/meta/recipes-support/gnutls/gnutls_3.8.7.1.bb +++ b/meta/recipes-support/gnutls/gnutls_3.8.8.bb | |||
| @@ -21,15 +21,11 @@ SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" | |||
| 21 | SRC_URI = "https://www.gnupg.org/ftp/gcrypt/gnutls/v${SHRT_VER}/gnutls-${PV}.tar.xz \ | 21 | SRC_URI = "https://www.gnupg.org/ftp/gcrypt/gnutls/v${SHRT_VER}/gnutls-${PV}.tar.xz \ |
| 22 | file://arm_eabi.patch \ | 22 | file://arm_eabi.patch \ |
| 23 | file://0001-Creating-.hmac-file-should-be-excuted-in-target-envi.patch \ | 23 | file://0001-Creating-.hmac-file-should-be-excuted-in-target-envi.patch \ |
| 24 | file://conditional.patch \ | ||
| 25 | file://run-ptest \ | 24 | file://run-ptest \ |
| 26 | file://Add-ptest-support.patch \ | 25 | file://Add-ptest-support.patch \ |
| 27 | " | 26 | " |
| 28 | 27 | ||
| 29 | SRC_URI[sha256sum] = "9ca0ddaccce28a74fa18d738744190afb3b0daebef74e6ad686bf7bef99abd60" | 28 | SRC_URI[sha256sum] = "ac4f020e583880b51380ed226e59033244bc536cad2623f2e26f5afa2939d8fb" |
| 30 | |||
| 31 | # This is only needed for 3.8.7.1, remove when upgrading to 3.8.8 onwards | ||
| 32 | S = "${WORKDIR}/gnutls-3.8.7" | ||
| 33 | 29 | ||
| 34 | inherit autotools texinfo pkgconfig gettext lib_package gtk-doc ptest | 30 | inherit autotools texinfo pkgconfig gettext lib_package gtk-doc ptest |
| 35 | 31 | ||
