[PATCH v2] gnu: lftp: Update to 4.9.3.

  • Done
  • quality assurance status badge
Details
2 participants
  • ashish.is
  • Zheng Junjie
Owner
unassigned
Submitted by
ashish.is
Severity
normal
A
A
ashish.is wrote on 29 Nov 13:41 +0100
[PATCH] gnu: lftp: Update to 4.9.3.
(address . guix-patches@gnu.org)(name . Ashish SHUKLA)(address . ashish.is@lostca.se)
afa5a162fc3b0363071ae0f45fb9a59c86af4d9a.1732884096.git.ashish.is@lostca.se
From: Ashish SHUKLA <ashish.is@lostca.se>

The updated information is sourced from the upstream repository at

* gnu/packages/ftp.scm (lftp): Update to 4.9.3.
[source](origin)<uri>: Switch to the only valid working mirror.
[home-page]: Update.

Change-Id: I73771ed7e577da4bc82a8e74550eca83413dc8de
---
gnu/packages/ftp.scm | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)

Toggle diff (41 lines)
diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
index 9f2334d0dc..04d7995fa1 100644
--- a/gnu/packages/ftp.scm
+++ b/gnu/packages/ftp.scm
@@ -52,19 +52,15 @@ (define-module (gnu packages ftp)
(define-public lftp
(package
(name "lftp")
- (version "4.9.2")
+ (version "4.9.3")
(source (origin
(method url-fetch)
;; See https://lftp.tech/get.html for mirrors.
- (uri (list (string-append "https://lftp.tech/ftp/lftp-"
- version ".tar.xz")
- (string-append "https://lftp.tech/ftp/old/lftp-"
- version ".tar.xz")
- (string-append "ftp://ftp.st.ryukoku.ac.jp/pub/network/"
- "ftp/lftp/lftp-" version ".tar.xz")))
+ (uri (string-append "ftp://ftp.st.ryukoku.ac.jp/pub/network/"
+ "ftp/lftp/lftp-" version ".tar.xz"))
(sha256
(base32
- "03b7y0h3mf4jfq5y8zw6hv9v44z3n6i8hc1iswax96y3z7sc85y5"))))
+ "1p3y8lzikhagxafa3wndgsvhmd5an9ayjq8idg7k7gimg6fikrwn"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config))
@@ -83,7 +79,7 @@ (define-public lftp
#:configure-flags
(list (string-append "--with-readline="
(assoc-ref %build-inputs "readline")))))
- (home-page "https://lftp.tech/")
+ (home-page "https://lftp.yar.ru/")
(synopsis "Command-line file transfer program")
(description
"LFTP is a sophisticated FTP/HTTP client, and a file transfer program

base-commit: c5421392081944d43db18fe04eafecec521f994a
--
2.47.1
Z
Z
Zheng Junjie wrote on 29 Nov 13:50 +0100
(name . ashish.is--- via Guix-patches via)(address . guix-patches@gnu.org)
87bjxytd9a.fsf@iscas.ac.cn
"ashish.is--- via Guix-patches" via <guix-patches@gnu.org> writes:

Toggle quote (5 lines)
> From: Ashish SHUKLA <ashish.is@lostca.se>
>
> The updated information is sourced from the upstream repository at
> GitHub: https://github.com/lavv17/lftp

I think git-fetch with https://github.com/lavv17/lftpbetter than
url-fetch + ftp://ftp.st.ryukoku.ac.jp/pub/network/

Toggle quote (49 lines)
>
> * gnu/packages/ftp.scm (lftp): Update to 4.9.3.
> [source](origin)<uri>: Switch to the only valid working mirror.
> [home-page]: Update.
>
> Change-Id: I73771ed7e577da4bc82a8e74550eca83413dc8de
> ---
> gnu/packages/ftp.scm | 14 +++++---------
> 1 file changed, 5 insertions(+), 9 deletions(-)
>
> diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
> index 9f2334d0dc..04d7995fa1 100644
> --- a/gnu/packages/ftp.scm
> +++ b/gnu/packages/ftp.scm
> @@ -52,19 +52,15 @@ (define-module (gnu packages ftp)
> (define-public lftp
> (package
> (name "lftp")
> - (version "4.9.2")
> + (version "4.9.3")
> (source (origin
> (method url-fetch)
> ;; See https://lftp.tech/get.html for mirrors.
> - (uri (list (string-append "https://lftp.tech/ftp/lftp-"
> - version ".tar.xz")
> - (string-append "https://lftp.tech/ftp/old/lftp-"
> - version ".tar.xz")
> - (string-append "ftp://ftp.st.ryukoku.ac.jp/pub/network/"
> - "ftp/lftp/lftp-" version ".tar.xz")))
> + (uri (string-append "ftp://ftp.st.ryukoku.ac.jp/pub/network/"
> + "ftp/lftp/lftp-" version ".tar.xz"))
> (sha256
> (base32
> - "03b7y0h3mf4jfq5y8zw6hv9v44z3n6i8hc1iswax96y3z7sc85y5"))))
> + "1p3y8lzikhagxafa3wndgsvhmd5an9ayjq8idg7k7gimg6fikrwn"))))
> (build-system gnu-build-system)
> (native-inputs
> (list pkg-config))
> @@ -83,7 +79,7 @@ (define-public lftp
> #:configure-flags
> (list (string-append "--with-readline="
> (assoc-ref %build-inputs "readline")))))
> - (home-page "https://lftp.tech/")
> + (home-page "https://lftp.yar.ru/")
> (synopsis "Command-line file transfer program")
> (description
> "LFTP is a sophisticated FTP/HTTP client, and a file transfer program
>
> base-commit: c5421392081944d43db18fe04eafecec521f994a
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmdJuKIACgkQO1qpk+Gi
3/CLpg/9HgKlFWNeb5ESzXb0edFKFgRKllgwC8u+Lf/bst3KGMGYLvwHg7GvL8SW
Gt+3yb+5USqAQy1bj9CxAoSFpsJVpwDQezFZCMDjmqHfJc0ufTRUFV4JfkylhVkw
1hSNOQcpClYCqXDOtkTKr9AKiC/s27KOC+XFglrCjZ8KLuPgGR5mgGFIUoGMsQPW
XwO4WpKf5XLAL3zRV/4j62JHL3RPPekGHzXGQVD2xc73HHSiMsN/DAvfY6Km/r4s
PbXUOU3T4ZgOP1BPZBv1S9UbrjCUdc7jHLc10YT5Qfv9iPZy5aUFPCN9JUbMRuQN
B2Vg5sSxqVbhaxV9bSi3lzU14B2q4urI4J1mII0pG7q+w+J2nJ6zXmhtFw4GmBGJ
UEMPeFywnT0nTaSkrEZ500t9Yrz7ATVac4YNUGBOSfnQWlajVnX2YTxqBN/4myrs
aNqDhbPNmkJRlB4HGpSyPElD+NDVkuE1f4ZuxyKQcBHuSbmkqixA4a+TuwdvjIYF
LDVRcWEqKshriRobeLoD/ZJdJJlAfMrecWrTOfVAmSXkxTbA/i32dMG5Nm0nrXfv
tW0WUh4N6a8F88/+ECLOleCI8O43MXBB/Hj/1sqdMzlY/jaRxQU6RxOhOvcG2KdY
SavvISA1dGWLlutSbciemAWsdrxfr2qpGPJQ0lJT2kCoWLZ22zg=
=k27b
-----END PGP SIGNATURE-----

A
A
ashish.is wrote on 29 Nov 17:30 +0100
[PATCH v2] gnu: lftp: Update to 4.9.3.
(address . 74602@debbugs.gnu.org)(name . Ashish SHUKLA)(address . ashish.is@lostca.se)
4174ce8a2c288822b16e1e6936c83ffc481eed3e.1732897846.git.ashish.is@lostca.se
From: Ashish SHUKLA <ashish.is@lostca.se>

The updated information is sourced from the upstream repository at

* gnu/packages/ftp.scm (lftp): Update to 4.9.3.
[source]<origin>: Switch to git upstream. [native-inputs]: Add autoconf,
automake, gettext-minimal, bison, gnulib, gperf, and libtool.
[arguments]<phases>: Add unpack-gnulib phase. Delete existing bootstrap
phase. Add new bootstrap phase to invoke it after patch-source-shebangs.
[home-page]: Update.

Change-Id: I73771ed7e577da4bc82a8e74550eca83413dc8de
---
gnu/packages/ftp.scm | 52 ++++++++++++++++++++++++++++++++++----------
1 file changed, 40 insertions(+), 12 deletions(-)

Toggle diff (101 lines)
diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
index 9f2334d0dc..3b43d17f57 100644
--- a/gnu/packages/ftp.scm
+++ b/gnu/packages/ftp.scm
@@ -27,16 +27,19 @@ (define-module (gnu packages ftp)
#:use-module ((guix licenses) #:select (gpl2 gpl2+ gpl3+ clarified-artistic))
#:use-module (guix build-system gnu)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages bison)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gperf)
#:use-module (gnu packages gtk)
#:use-module (gnu packages libidn)
#:use-module (gnu packages linux)
@@ -52,27 +55,52 @@ (define-module (gnu packages ftp)
(define-public lftp
(package
(name "lftp")
- (version "4.9.2")
+ (version "4.9.3")
(source (origin
- (method url-fetch)
- ;; See https://lftp.tech/get.html for mirrors.
- (uri (list (string-append "https://lftp.tech/ftp/lftp-"
- version ".tar.xz")
- (string-append "https://lftp.tech/ftp/old/lftp-"
- version ".tar.xz")
- (string-append "ftp://ftp.st.ryukoku.ac.jp/pub/network/"
- "ftp/lftp/lftp-" version ".tar.xz")))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lavv17/lftp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "03b7y0h3mf4jfq5y8zw6hv9v44z3n6i8hc1iswax96y3z7sc85y5"))))
+ "1hzy2g426az6y5gh2pzkz8bd0z744ibnvs72iqwy902y7lhdil0f"))))
(build-system gnu-build-system)
(native-inputs
- (list pkg-config))
+ `(("autoconf" ,autoconf-2.71)
+ ("automake" ,automake)
+ ("gettext-minimal" ,gettext-minimal)
+ ;; required by gnulib to fix parse-datetime.c compilation error
+ ("bison" ,bison)
+ ("gnulib"
+ ,(let ((commit "949989513e631b61196f11fd8d647d4dc77d7f40"))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://git.savannah.gnu.org/gnulib.git")
+ (commit commit)))
+ (sha256
+ (base32 "0jk336yxfzldi0nsni0q3cxa7lqxb8lzmiisrr594v8cfvcprqn9"))
+ (file-name (git-file-name "gnulib" commit)))))
+ ("gperf" ,gperf)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)))
(inputs
(list zlib readline gnutls))
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'unpack-gnulib
+ (lambda* (#:key inputs #:allow-other-keys)
+ (copy-recursively (assoc-ref inputs "gnulib")
+ "gnulib")))
+ (delete 'bootstrap)
+ (add-after 'patch-source-shebangs 'bootstrap
+ (lambda _
+ (invoke "sh" "bootstrap"
+ "--no-git"
+ "--gnulib-srcdir=gnulib")
+ #t))
;; Disable tests that require network access, which is most of them.
(add-before 'check 'disable-impure-tests
(lambda _
@@ -83,7 +111,7 @@ (define-public lftp
#:configure-flags
(list (string-append "--with-readline="
(assoc-ref %build-inputs "readline")))))
- (home-page "https://lftp.tech/")
+ (home-page "https://lftp.yar.ru/")
(synopsis "Command-line file transfer program")
(description
"LFTP is a sophisticated FTP/HTTP client, and a file transfer program

base-commit: f129a6cc591817c5c51770d5b8712eeb344ba4e4
--
2.47.1
A
A
Ashish SHUKLA wrote on 29 Nov 18:24 +0100
retitle bug
(address . control@debbugs.gnu.org)
D5YU5W92HD35.3W19CEJ1SZXFE@lostca.se
retitle 74602 [PATCH v2] gnu: lftp: Update to 4.9.3.
quit
--
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0

"If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin)
Z
Z
Zheng Junjie wrote on 1 Dec 09:07 +0100
Re: [bug#74602] [PATCH v2] gnu: lftp: Update to 4.9.3.
(name . ashish.is--- via Guix-patches via)(address . guix-patches@gnu.org)
875xo3q11z.fsf@iscas.ac.cn
"ashish.is--- via Guix-patches" via <guix-patches@gnu.org> writes:

Toggle quote (116 lines)
> From: Ashish SHUKLA <ashish.is@lostca.se>
>
> The updated information is sourced from the upstream repository at
> GitHub: https://github.com/lavv17/lftp
>
> * gnu/packages/ftp.scm (lftp): Update to 4.9.3.
> [source]<origin>: Switch to git upstream. [native-inputs]: Add autoconf,
> automake, gettext-minimal, bison, gnulib, gperf, and libtool.
> [arguments]<phases>: Add unpack-gnulib phase. Delete existing bootstrap
> phase. Add new bootstrap phase to invoke it after patch-source-shebangs.
> [home-page]: Update.
>
> Change-Id: I73771ed7e577da4bc82a8e74550eca83413dc8de
> ---
> gnu/packages/ftp.scm | 52 ++++++++++++++++++++++++++++++++++----------
> 1 file changed, 40 insertions(+), 12 deletions(-)
>
> diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
> index 9f2334d0dc..3b43d17f57 100644
> --- a/gnu/packages/ftp.scm
> +++ b/gnu/packages/ftp.scm
> @@ -27,16 +27,19 @@ (define-module (gnu packages ftp)
> #:use-module ((guix licenses) #:select (gpl2 gpl2+ gpl3+ clarified-artistic))
> #:use-module (guix build-system gnu)
> #:use-module (guix download)
> + #:use-module (guix git-download)
> #:use-module (guix packages)
> #:use-module (guix utils)
> #:use-module (gnu packages)
> #:use-module (gnu packages autotools)
> + #:use-module (gnu packages bison)
> #:use-module (gnu packages check)
> #:use-module (gnu packages compression)
> #:use-module (gnu packages crypto)
> #:use-module (gnu packages freedesktop)
> #:use-module (gnu packages gettext)
> #:use-module (gnu packages glib)
> + #:use-module (gnu packages gperf)
> #:use-module (gnu packages gtk)
> #:use-module (gnu packages libidn)
> #:use-module (gnu packages linux)
> @@ -52,27 +55,52 @@ (define-module (gnu packages ftp)
> (define-public lftp
> (package
> (name "lftp")
> - (version "4.9.2")
> + (version "4.9.3")
> (source (origin
> - (method url-fetch)
> - ;; See https://lftp.tech/get.html for mirrors.
> - (uri (list (string-append "https://lftp.tech/ftp/lftp-"
> - version ".tar.xz")
> - (string-append "https://lftp.tech/ftp/old/lftp-"
> - version ".tar.xz")
> - (string-append "ftp://ftp.st.ryukoku.ac.jp/pub/network/"
> - "ftp/lftp/lftp-" version ".tar.xz")))
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/lavv17/lftp")
> + (commit (string-append "v" version))))
> + (file-name (git-file-name name version))
> (sha256
> (base32
> - "03b7y0h3mf4jfq5y8zw6hv9v44z3n6i8hc1iswax96y3z7sc85y5"))))
> + "1hzy2g426az6y5gh2pzkz8bd0z744ibnvs72iqwy902y7lhdil0f"))))
> (build-system gnu-build-system)
> (native-inputs
> - (list pkg-config))
> + `(("autoconf" ,autoconf-2.71)
> + ("automake" ,automake)
> + ("gettext-minimal" ,gettext-minimal)
> + ;; required by gnulib to fix parse-datetime.c compilation error
> + ("bison" ,bison)
> + ("gnulib"
> + ,(let ((commit "949989513e631b61196f11fd8d647d4dc77d7f40"))
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "git://git.savannah.gnu.org/gnulib.git")
> + (commit commit)))
> + (sha256
> + (base32 "0jk336yxfzldi0nsni0q3cxa7lqxb8lzmiisrr594v8cfvcprqn9"))
> + (file-name (git-file-name "gnulib" commit)))))
> + ("gperf" ,gperf)
> + ("libtool" ,libtool)
> + ("pkg-config" ,pkg-config)))
> (inputs
> (list zlib readline gnutls))
> (arguments
> `(#:phases
> (modify-phases %standard-phases
> + (add-after 'unpack 'unpack-gnulib
> + (lambda* (#:key inputs #:allow-other-keys)
> + (copy-recursively (assoc-ref inputs "gnulib")
> + "gnulib")))
> + (delete 'bootstrap)
> + (add-after 'patch-source-shebangs 'bootstrap
> + (lambda _
> + (invoke "sh" "bootstrap"
> + "--no-git"
> + "--gnulib-srcdir=gnulib")
> + #t))
> ;; Disable tests that require network access, which is most of them.
> (add-before 'check 'disable-impure-tests
> (lambda _
> @@ -83,7 +111,7 @@ (define-public lftp
> #:configure-flags
> (list (string-append "--with-readline="
> (assoc-ref %build-inputs "readline")))))
> - (home-page "https://lftp.tech/")
> + (home-page "https://lftp.yar.ru/")
> (synopsis "Command-line file transfer program")
> (description
> "LFTP is a sophisticated FTP/HTTP client, and a file transfer program
>
> base-commit: f129a6cc591817c5c51770d5b8712eeb344ba4e4
pushed, closing.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmdMGSgACgkQO1qpk+Gi
3/BfAQ/+NDVPd+b9RDe08jnKbP30CG3sQNKoadH2QDHiyEjxhhLLSFuVFTqM4Hdr
QRz1Ewdm6o3JJa4PB9uKaQcmJebf81hh15tj5ZnfyDIimdU94Me41V2M1ZyQF4K2
e4G1VNQXsU6Y4BZuyT3n7i06KHdGR3A9TMrfRC8tXBwFtU9hFqIZS44ndxyYX1cK
e5IoHVG2tUM3JDWh8ty6zimkCMe2xLhEEDRVFZWznBhn+7w8KHrUv3b49iQ1PKo4
cb9JMkVOCYAI+ObdgBsGiIjqYBTiAnthjMFAuq4irRaokgr8rnNUZ3nV5HyEo8Uk
2Y2O8E5BTEaCm7lNxnHHfTVohzEoA6sAd0KjjbHMfmlJXxK7FJodXjAnVStNO51C
voHJgJA8tReZslGbAnAmm8Tet+iFR7Y0tcMp1Dn6YDDYgIoPw2nhlu3aDvUqMuk/
vkB1ZCQBTumhSuLS6szc60URzSeAdwgTW1+tXjqZsYd4Wb/XEEYV4C5pWgqn8N9k
hYYWYuhKT7OnlmCtrizMDRNrKTb3nTazYs0EyENG3bGEshG4aRZp/Zra5l9sf6dm
aZedR0S0/AeuGM+LEtKw8JkguWaHq8ifE0xqpKQbQ7KqLHPzVgg2BrKzZwbShEzs
+qAeqxkyVebGDHLvl69xJUn3k6R+kLYI/vTbnfdF5EdmyVIHteM=
=MQmP
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 74602@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 74602
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch