me
/
guix
Archived
1
0
Fork 0

gnu: lynx: Fix errors with TLS 1.3 hosts.

Fixes <https://bugs.gnu.org/38171>.
Reported by Bengt Richter <bokr@bokr.com>.

See <https://lists.gnu.org/archive/html/lynx-dev/2018-12/msg00009.html>.

* gnu/packages/web-browsers.scm (lynx)[inputs, arguments]: Replace GnuTLS with
OpenSSL.
master
Clément Lassieur 2019-11-12 00:38:30 +01:00
parent ee4e439acd
commit 0e4cee0eba
No known key found for this signature in database
GPG Key ID: 89F96D4808F359C7
1 changed files with 4 additions and 3 deletions

View File

@ -8,6 +8,7 @@
;;; Copyright © 2018 Rutger Helling <rhelling@mykolab.com> ;;; Copyright © 2018 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018 Timo Eisenmann <eisenmann@fn.de> ;;; Copyright © 2018 Timo Eisenmann <eisenmann@fn.de>
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz> ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019 Clément Lassieur <clement@lassieur.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -222,7 +223,7 @@ and the GTK+ toolkit.")
("perl" ,perl))) ("perl" ,perl)))
(inputs `(("ncurses" ,ncurses) (inputs `(("ncurses" ,ncurses)
("libidn" ,libidn) ("libidn" ,libidn)
("gnutls" ,gnutls) ("openssl" ,openssl)
("libgcrypt" ,libgcrypt) ("libgcrypt" ,libgcrypt)
("unzip" ,unzip) ("unzip" ,unzip)
("zlib" ,zlib) ("zlib" ,zlib)
@ -230,12 +231,12 @@ and the GTK+ toolkit.")
("bzip2" ,bzip2))) ("bzip2" ,bzip2)))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(let ((gnutls (assoc-ref %build-inputs "gnutls"))) (let ((openssl (assoc-ref %build-inputs "openssl")))
`("--with-pkg-config" `("--with-pkg-config"
"--with-screen=ncurses" "--with-screen=ncurses"
"--with-zlib" "--with-zlib"
"--with-bzlib" "--with-bzlib"
,(string-append "--with-gnutls=" gnutls) ,(string-append "--with-ssl=" openssl)
;; "--with-socks5" ; XXX TODO ;; "--with-socks5" ; XXX TODO
"--enable-widec" "--enable-widec"
"--enable-ascii-ctypes" "--enable-ascii-ctypes"