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: Idcb6a6f2115176c9aa6074b916313e9640416033
This commit is contained in:
Maxim Cournoyer 2024-03-09 20:36:21 -05:00
parent b4c2c984d7
commit f0698ffb52
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 60 additions and 60 deletions

View File

@ -190,70 +190,70 @@ 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")
(source (origin ;; Fetch from git, as the tarball causes the build to fail with "No rule
(method url-fetch) ;; to make target 'convsrctest.pl', needed by 'all-am'." (see
(uri (string-append "mirror://gnu/gnunet/gnurl-" version ".tar.gz")) ;; https://bugs.gnunet.org/view.php?id=8684).
(sha256 (source (origin
(base32 (method git-fetch)
"0px9la8v4bj1dzxb95fx3yxk0rcjqjrxpj733ga27cza45wwzkqa")))) (uri (git-reference
(build-system gnu-build-system) (url "https://git.taler.net/gnurl.git")
(outputs '("out" (commit (string-append name "-" version))))
"doc")) ; 1.8 MiB of man3 pages (file-name (git-file-name name version))
(inputs `(("gnutls" ,gnutls/dane) (sha256
("libidn2" ,libidn2) (base32
("zlib" ,zlib))) "0b3jqxlarkiphf71i50vnvsmr8gh38ishrxqqbq77m0hjwyx4kv1"))))
(native-inputs (build-system gnu-build-system)
(list libtool perl pkg-config python)) (outputs '("out"
(arguments "doc")) ; 1.8 MiB of man3 pages
`(#:configure-flags (arguments
(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"
"--disable-dict" "--disable-dict"
"--disable-telnet" "--disable-telnet"
"--disable-tftp" "--disable-tftp"
"--disable-pop3" "--disable-pop3"
"--disable-imap" "--disable-imap"
"--disable-smb" "--disable-smb"
"--disable-smtp" "--disable-smtp"
"--disable-gopher" "--disable-gopher"
"--without-ssl" "--without-ssl"
"--without-libpsl" "--without-libpsl"
"--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) (lambda _
;; Move section 3 man pages to "doc". (substitute* "tests/runtests.pl.in"
(let ((out (assoc-ref outputs "out")) (("/bin/sh")
(doc (assoc-ref outputs "doc"))) (which "sh")))))
(mkdir-p (string-append doc "/share/man")) (add-after 'install 'move-man3-pages
(rename-file (string-append out "/share/man/man3") (lambda _
(string-append doc "/share/man/man3")) ;; Move section 3 man pages to "doc".
#t))) (mkdir-p (string-append #$output:doc "/share/man"))
;; We have to patch runtests.pl in tests/ directory (rename-file (string-append #$output "/share/man/man3")
(replace 'check (string-append #$output:doc "/share/man/man3")))))))
(lambda _ (native-inputs (list autoconf automake libtool perl pkg-config python))
(substitute* "tests/runtests.pl" (inputs (list gnutls/dane libidn2 zlib))
(("/bin/sh") (which "sh"))) (synopsis
"Microfork of cURL with support for the HTTP/HTTPS/GnuTLS subset of cURL")
;; Make test output more verbose. (description
(invoke "make" "-C" "tests" "test")))))) "Gnurl is a microfork of cURL, a command line tool for transferring data
(synopsis "Microfork of cURL with support for the HTTP/HTTPS/GnuTLS subset of cURL")
(description
"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
supports HTTP, HTTPS and GnuTLS.") supports HTTP, HTTPS and GnuTLS.")
(license (license:non-copyleft "file://COPYING" (license (license:non-copyleft "file://COPYING"
"See COPYING in the distribution.")) "See COPYING in the distribution."))
(properties '((ftp-server . "ftp.gnu.org") (properties '((ftp-server . "ftp.gnu.org")
(ftp-directory . "/gnunet"))) (ftp-directory . "/gnunet")))
(home-page "https://gnunet.org/en/gnurl.html"))) (home-page "https://gnunet.org/en/gnurl.html")))
(define-public gnunet (define-public gnunet
(package (package