[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/17: gnu: glib-networking: Disable broken TLS1.2 test.
From: |
guix-commits |
Subject: |
04/17: gnu: glib-networking: Disable broken TLS1.2 test. |
Date: |
Thu, 18 Jan 2024 07:58:10 -0500 (EST) |
jpoiret pushed a commit to branch core-updates
in repository guix.
commit 9407c4db55ab73764128afe8e00d602ee8ebdd8c
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Thu Dec 28 18:19:53 2023 +0100
gnu: glib-networking: Disable broken TLS1.2 test.
* gnu/packages/patches/glib-networking-disable-connection-tls1.2-test.patch:
New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gnome.scm (glib-networking): Use it.
Change-Id: Ic6b48cb90919e133356d688df692f15ca9a51e79
---
gnu/local.mk | 1 +
gnu/packages/gnome.scm | 5 ++++-
...lib-networking-disable-connection-tls1.2-test.patch | 18 ++++++++++++++++++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index b63fe38d6c..a22065630b 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1315,6 +1315,7 @@ dist_patch_DATA =
\
%D%/packages/patches/gitg-fix-positional-argument.patch \
%D%/packages/patches/gklib-suitesparse.patch \
%D%/packages/patches/glib-appinfo-watch.patch \
+ %D%/packages/patches/glib-networking-disable-connection-tls1.2-test.patch
\
%D%/packages/patches/glib-networking-gnutls-binding.patch \
%D%/packages/patches/glib-skip-failing-test.patch \
%D%/packages/patches/glibc-2.33-riscv64-miscompilation.patch \
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 6cb60ff628..1654b2b61e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4840,7 +4840,10 @@ indicators etc).")
(base32
"0s42l6dkajciqc99zp6dc9l8yv9g8w7d8mgv97l7h7drgd60hand"))
(patches
- (search-patches "glib-networking-gnutls-binding.patch"))))
+ ;; Fixed in 2.76.0
+ ;; see
https://gitlab.gnome.org/GNOME/glib-networking/-/issues/201
+ (search-patches
"glib-networking-disable-connection-tls1.2-test.patch"
+ "glib-networking-gnutls-binding.patch"))))
(build-system meson-build-system)
(native-inputs
(list pkg-config gettext-minimal))
diff --git
a/gnu/packages/patches/glib-networking-disable-connection-tls1.2-test.patch
b/gnu/packages/patches/glib-networking-disable-connection-tls1.2-test.patch
new file mode 100644
index 0000000000..fc61be38b6
--- /dev/null
+++ b/gnu/packages/patches/glib-networking-disable-connection-tls1.2-test.patch
@@ -0,0 +1,18 @@
+diff -u a/tls/tests/meson.build b/tls/tests/meson.build
+--- a/tls/tests/meson.build 2023-12-28 18:16:09.665443016 +0100
++++ b/tls/tests/meson.build 2023-12-28 18:16:47.517128845 +0100
+@@ -94,14 +94,5 @@
+ ]
+
+ test(program_name, exe, env: test_envs, depends: program[4])
+-
+- if program[0] == 'connection'
+- # Run the tests again, this time with TLS 1.3 disabled so we can test
TLS 1.2.
+- if backend == 'gnutls'
+- test(program_name + '-tls1.2', exe, env: test_envs +
['G_TLS_GNUTLS_PRIORITY=NORMAL:%COMPAT:!VERS-TLS1.3'])
+- elif backend == 'openssl'
+- test(program_name + '-tls1.2', exe, env: test_envs +
['G_TLS_OPENSSL_MAX_PROTO=0x0303'])
+- endif
+- endif
+ endforeach
+ endforeach
- branch core-updates updated (ed07002906 -> a5735488d3), guix-commits, 2024/01/18
- 01/17: gnu: sway: Fix build with newer libinput., guix-commits, 2024/01/18
- 02/17: gnu: zig: Remove unneeded librt patch., guix-commits, 2024/01/18
- 08/17: gnu: liboauth: Use C unicode locale in tests., guix-commits, 2024/01/18
- 07/17: gnu: glib: Fix build with glibc 2.38., guix-commits, 2024/01/18
- 03/17: gnu: gpgme: Hardcode gpg binaries' location., guix-commits, 2024/01/18
- 05/17: gnu: docbook2x: Fix build., guix-commits, 2024/01/18
- 04/17: gnu: glib-networking: Disable broken TLS1.2 test.,
guix-commits <=
- 13/17: gnu: parted: Use C.UTF-8 for Unicode tests., guix-commits, 2024/01/18
- 15/17: gnu: ffmpeg-4: Fix build with binutils ≥ 2.41., guix-commits, 2024/01/18
- 09/17: gnu: python-pillow: Fix build with zlib 1.3., guix-commits, 2024/01/18
- 06/17: gnu: flite: Disable parallel build., guix-commits, 2024/01/18
- 16/17: gnu: python-matplotlib: Fix flaky Legend loc test., guix-commits, 2024/01/18
- 17/17: gnu: evolution-data-server: Use C.UTF-8 locale in test., guix-commits, 2024/01/18
- 11/17: gnu: ghc-9.2: Remove unneeded glibc 2.33 patch., guix-commits, 2024/01/18
- 10/17: gnu: glibc-locales: Fix build., guix-commits, 2024/01/18
- 14/17: gnu: ibus-minimal: Fix wrapping phase name., guix-commits, 2024/01/18
- 12/17: gnu: ghc: Fix build with binutils ≥ 2.39., guix-commits, 2024/01/18