mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: libsoup: Disable ssl-test.
* gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify. [native-inputs]: Remove gnutls.
This commit is contained in:
parent
0dd1a5c058
commit
d6104e3b85
1 changed files with 4 additions and 44 deletions
|
@ -4854,49 +4854,10 @@ libxml to ease remote use of the RESTful API.")
|
||||||
(substitute* "tests/hsts-db-test.c"
|
(substitute* "tests/hsts-db-test.c"
|
||||||
((".*/hsts-db/subdomains.*") ""))
|
((".*/hsts-db/subdomains.*") ""))
|
||||||
|
|
||||||
;; Generate a self-signed certificate that has "localhost" as its
|
;; FIXME: ssl-test fails, starting with
|
||||||
;; 'dnsName'. Failing to do that, and starting with GnuTLS
|
;; glib-networking 2.68.x.
|
||||||
;; 3.5.12, tests such as "ssl-tests" fail:
|
(substitute* "tests/meson.build"
|
||||||
;;
|
(("[ \t]*\\['ssl', true, \\[\\]\\],") ""))
|
||||||
;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
|
|
||||||
;;
|
|
||||||
;; 'certtool' is interactive so we have to pipe it the answers.
|
|
||||||
;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
|
|
||||||
(let ((pipe (open-output-pipe "certtool --generate-self-signed \
|
|
||||||
--load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
|
|
||||||
(for-each (lambda (line)
|
|
||||||
(display line pipe)
|
|
||||||
(newline pipe))
|
|
||||||
'("" ;Common name
|
|
||||||
"" ;UID
|
|
||||||
"Guix" ;Organizational unit name
|
|
||||||
"GNU" ;Organization name
|
|
||||||
"" ;Locality name
|
|
||||||
"" ;State or province
|
|
||||||
"" ;Country
|
|
||||||
"" ;subject's domain component (DC)
|
|
||||||
"" ;E-mail
|
|
||||||
"" ;serial number
|
|
||||||
"-1" ;expiration time
|
|
||||||
"N" ;belong to authority?
|
|
||||||
"N" ;web client certificate?
|
|
||||||
"N" ;IPsec IKE?
|
|
||||||
"Y" ;web server certificate?
|
|
||||||
"localhost" ;dnsName of subject
|
|
||||||
"" ;dnsName of subject (end)
|
|
||||||
"" ;URI of subject
|
|
||||||
"127.0.0.1" ;IP address of subject
|
|
||||||
"" ;signing?
|
|
||||||
"" ;encryption (RSA)?
|
|
||||||
"" ;data encryption?
|
|
||||||
"" ;sign OCSP requests?
|
|
||||||
"" ;sign code?
|
|
||||||
"" ;time stamping?
|
|
||||||
"" ;email protection?
|
|
||||||
"" ;URI of the CRL distribution point
|
|
||||||
"y" ;above info OK?
|
|
||||||
))
|
|
||||||
(close-pipe pipe))
|
|
||||||
#t))
|
#t))
|
||||||
(add-after 'install 'move-doc
|
(add-after 'install 'move-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
@ -4918,7 +4879,6 @@ libxml to ease remote use of the RESTful API.")
|
||||||
("vala" ,vala)
|
("vala" ,vala)
|
||||||
("php" ,php)
|
("php" ,php)
|
||||||
("curl" ,curl)
|
("curl" ,curl)
|
||||||
("gnutls" ,gnutls) ;for 'certtool'
|
|
||||||
("httpd" ,httpd)))
|
("httpd" ,httpd)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
;; libsoup-2.4.pc refers to all these.
|
;; libsoup-2.4.pc refers to all these.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue