From mboxrd@z Thu Jan 1 00:00:00 1970 From: clement@lassieur.org (=?UTF-8?Q?Cl=C3=A9ment?= Lassieur) Subject: bug#38171: guix lynx can not connect, ArchLinux lynx can, why? Date: Tue, 12 Nov 2019 01:05:41 +0100 Message-ID: <87imnqyn56.fsf@lassieur.org> References: <20191111210833.GA128109@PhantoNv4ArchGx.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50853) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUJh5-0000rs-L6 for bug-guix@gnu.org; Mon, 11 Nov 2019 19:06:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUJh4-0006Ev-CA for bug-guix@gnu.org; Mon, 11 Nov 2019 19:06:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47303) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUJh4-0006En-89 for bug-guix@gnu.org; Mon, 11 Nov 2019 19:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iUJh4-00031K-1Z for bug-guix@gnu.org; Mon, 11 Nov 2019 19:06:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20191111210833.GA128109@PhantoNv4ArchGx.localdomain> (Bengt Richter's message of "Mon, 11 Nov 2019 13:08:33 -0800") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Bengt Richter Cc: 38171@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Bengt, Thank you for the report! It seems to be a GnuTLS issue with TLS 1.3 hosts[1]. There is patch upstream but it hasn't landed in a release yet, so I think it's safer to switch to OpenSSL. What do you think? I attached a patch doing just that. Cheers, Cl=C3=A9ment [1]: https://lists.gnu.org/archive/html/lynx-dev/2018-12/msg00009.html --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-lynx-Fix-errors-with-TLS-1.3-hosts.patch Content-Transfer-Encoding: quoted-printable >From 83523b25d10f5fc42473dbfb93e5ee3c29e23b88 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Cl=3DC3=3DA9ment=3D20Lassieur?=3D Date: Tue, 12 Nov 2019 00:38:30 +0100 Subject: [PATCH] gnu: lynx: Fix errors with TLS 1.3 hosts. Fixes . Reported by Bengt Richter . See . * gnu/packages/web-browsers.scm (lynx)[inputs, arguments]: Replace GnuTLS w= ith OpenSSL. --- gnu/packages/web-browsers.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index 1b41aec874..24531623c6 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -8,6 +8,7 @@ ;;; Copyright =C2=A9 2018 Rutger Helling ;;; Copyright =C2=A9 2018 Timo Eisenmann ;;; Copyright =C2=A9 2018 Pierre Neidhardt +;;; Copyright =C2=A9 2019 Cl=C3=A9ment Lassieur ;;; ;;; This file is part of GNU Guix. ;;; @@ -222,7 +223,7 @@ and the GTK+ toolkit.") ("perl" ,perl))) (inputs `(("ncurses" ,ncurses) ("libidn" ,libidn) - ("gnutls" ,gnutls) + ("openssl" ,openssl) ("libgcrypt" ,libgcrypt) ("unzip" ,unzip) ("zlib" ,zlib) @@ -230,12 +231,12 @@ and the GTK+ toolkit.") ("bzip2" ,bzip2))) (arguments `(#:configure-flags - (let ((gnutls (assoc-ref %build-inputs "gnutls"))) + (let ((openssl (assoc-ref %build-inputs "openssl"))) `("--with-pkg-config" "--with-screen=3Dncurses" "--with-zlib" "--with-bzlib" - ,(string-append "--with-gnutls=3D" gnutls) + ,(string-append "--with-ssl=3D" openssl) ;; "--with-socks5" ; XXX TODO "--enable-widec" "--enable-ascii-ctypes" --=20 2.23.0 --=-=-=--