gnu: gnurl: Update to 7.72.0.
* gnu/packages/gnunet.scm (gnurl): Update to 7.72.0. [arguments] <test-target>: Specify 'test-nonflaky' target. <configure-flags>: Use gexps. <phases>: Likewise. Add patch-paths phase. Change-Id: Idcb6a6f2115176c9aa6074b916313e9640416033master
parent
b4c2c984d7
commit
f0698ffb52
|
@ -191,25 +191,28 @@ authentication and support for SSL3 and TLS.")
|
||||||
(define-public gnurl
|
(define-public gnurl
|
||||||
(package
|
(package
|
||||||
(name "gnurl")
|
(name "gnurl")
|
||||||
(version "7.70.0")
|
(version "7.72.0")
|
||||||
|
;; Fetch from git, as the tarball causes the build to fail with "No rule
|
||||||
|
;; to make target 'convsrctest.pl', needed by 'all-am'." (see
|
||||||
|
;; https://bugs.gnunet.org/view.php?id=8684).
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "mirror://gnu/gnunet/gnurl-" version ".tar.gz"))
|
(uri (git-reference
|
||||||
|
(url "https://git.taler.net/gnurl.git")
|
||||||
|
(commit (string-append name "-" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0px9la8v4bj1dzxb95fx3yxk0rcjqjrxpj733ga27cza45wwzkqa"))))
|
"0b3jqxlarkiphf71i50vnvsmr8gh38ishrxqqbq77m0hjwyx4kv1"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(outputs '("out"
|
(outputs '("out"
|
||||||
"doc")) ; 1.8 MiB of man3 pages
|
"doc")) ; 1.8 MiB of man3 pages
|
||||||
(inputs `(("gnutls" ,gnutls/dane)
|
|
||||||
("libidn2" ,libidn2)
|
|
||||||
("zlib" ,zlib)))
|
|
||||||
(native-inputs
|
|
||||||
(list libtool perl pkg-config python))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
(list
|
||||||
|
#:test-target "test-nonflaky" ;do not run flaky tests
|
||||||
|
#:configure-flags
|
||||||
;; All of these produce errors during configure.
|
;; All of these produce errors during configure.
|
||||||
(list "--disable-ftp"
|
#~(list "--disable-ftp"
|
||||||
"--disable-file"
|
"--disable-file"
|
||||||
"--disable-ldap"
|
"--disable-ldap"
|
||||||
"--disable-rtsp"
|
"--disable-rtsp"
|
||||||
|
@ -226,25 +229,22 @@ authentication and support for SSL3 and TLS.")
|
||||||
"--without-librtmp"
|
"--without-librtmp"
|
||||||
"--disable-ntlm-wb")
|
"--disable-ntlm-wb")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'move-man3-pages
|
(add-after 'unpack 'patch-paths
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
;; Move section 3 man pages to "doc".
|
|
||||||
(let ((out (assoc-ref outputs "out"))
|
|
||||||
(doc (assoc-ref outputs "doc")))
|
|
||||||
(mkdir-p (string-append doc "/share/man"))
|
|
||||||
(rename-file (string-append out "/share/man/man3")
|
|
||||||
(string-append doc "/share/man/man3"))
|
|
||||||
#t)))
|
|
||||||
;; We have to patch runtests.pl in tests/ directory
|
|
||||||
(replace 'check
|
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/runtests.pl"
|
(substitute* "tests/runtests.pl.in"
|
||||||
(("/bin/sh") (which "sh")))
|
(("/bin/sh")
|
||||||
|
(which "sh")))))
|
||||||
;; Make test output more verbose.
|
(add-after 'install 'move-man3-pages
|
||||||
(invoke "make" "-C" "tests" "test"))))))
|
(lambda _
|
||||||
(synopsis "Microfork of cURL with support for the HTTP/HTTPS/GnuTLS subset of cURL")
|
;; Move section 3 man pages to "doc".
|
||||||
|
(mkdir-p (string-append #$output:doc "/share/man"))
|
||||||
|
(rename-file (string-append #$output "/share/man/man3")
|
||||||
|
(string-append #$output:doc "/share/man/man3")))))))
|
||||||
|
(native-inputs (list autoconf automake libtool perl pkg-config python))
|
||||||
|
(inputs (list gnutls/dane libidn2 zlib))
|
||||||
|
(synopsis
|
||||||
|
"Microfork of cURL with support for the HTTP/HTTPS/GnuTLS subset of cURL")
|
||||||
(description
|
(description
|
||||||
"Gnurl is a microfork of cURL, a command line tool for transferring data
|
"Gnurl is a microfork of cURL, a command line tool for transferring data
|
||||||
with URL syntax. While cURL supports many crypto backends, libgnurl only
|
with URL syntax. While cURL supports many crypto backends, libgnurl only
|
||||||
|
|
Reference in New Issue