From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cNmwAJfsSWdYAwAAe85BDQ:P1 (envelope-from ) for ; Fri, 29 Nov 2024 16:32:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cNmwAJfsSWdYAwAAe85BDQ (envelope-from ) for ; Fri, 29 Nov 2024 17:32:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=HUNXT3ZV; dkim=fail ("headers rsa verify failed") header.d=lostca.se header.s=anamika header.b=OlGk2TgO; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E4C4E25AE for ; Fri, 29 Nov 2024 17:32:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tH3uX-0002fq-1w; Fri, 29 Nov 2024 11:32:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tH3uV-0002fh-3T for guix-patches@gnu.org; Fri, 29 Nov 2024 11:32:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tH3uU-0002YO-Qw for guix-patches@gnu.org; Fri, 29 Nov 2024 11:32:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=lvyUwSRdJNp7XZeRplKly4imdGQBvbuo6pL0wPM4rxk=; b=HUNXT3ZV7QHT8bozp4OVkmFxU8Tm8lvXJrqw3YvuUl0ZEa3ZqmAnOY74+CVh90LZN36acN2RfFJOB7wuetaD45lRYfWkrc0bze2TMrXsN6edQZH6397GWsGfG0rp/Kvz8J04wn6kULziBD/2IGMmjxA9c1t6SKHTM0k28lT26k6Q/FooUFxvKPhQomIvYzWjs6Qu3wzJX8TjKxjO42btVMqUHSQlI004Ny+O9+YN7AofRZ/BBI5VEgts9clKzixLdcQCpB4VYqkDY+4+qlH2FFvE/mPKm/LGBX2z3cNdqSlWTQcCZpITCK2iOzmezWADS9efhJGVsVXYnmwB7I4/Ow==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tH3uU-0001fH-Ce for guix-patches@gnu.org; Fri, 29 Nov 2024 11:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74602] [PATCH v2] gnu: lftp: Update to 4.9.3. Resent-From: ashish.is@lostca.se Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Nov 2024 16:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74602 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74602@debbugs.gnu.org Cc: Ashish SHUKLA Received: via spool by 74602-submit@debbugs.gnu.org id=B74602.17328978736317 (code B ref 74602); Fri, 29 Nov 2024 16:32:02 +0000 Received: (at 74602) by debbugs.gnu.org; 29 Nov 2024 16:31:13 +0000 Received: from localhost ([127.0.0.1]:44182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH3tg-0001dn-Oq for submit@debbugs.gnu.org; Fri, 29 Nov 2024 11:31:13 -0500 Received: from anamika.lostca.se ([65.21.75.227]:52974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH3td-0001dO-W1 for 74602@debbugs.gnu.org; Fri, 29 Nov 2024 11:31:11 -0500 Received: from localhost.localdomain (unknown [IPv6:2a02:9140:3880:bf00:36:17ab:c57d:201e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: abbe) by anamika.lostca.se (Postfix) with ESMTPSA id 16F893E92C; Fri, 29 Nov 2024 16:31:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lostca.se; s=anamika; t=1732897862; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lvyUwSRdJNp7XZeRplKly4imdGQBvbuo6pL0wPM4rxk=; b=OlGk2TgOE3+9QeC0rKM7w4rOSbvZxr42qMtws7qJRt5sytqyJwr3q8nSoMl8eLvju3e8hP QhGkMk664dlox7lNdsdn9rof8d1pDi2sYBcxMvysj/PNQ31/60UXG+AMOsClQZHtRY/i4W aJ5LRK6zfppDjjrnXJjCGbJR0x0rEso= Date: Fri, 29 Nov 2024 17:30:46 +0100 Message-ID: <4174ce8a2c288822b16e1e6936c83ffc481eed3e.1732897846.git.ashish.is@lostca.se> X-Mailer: git-send-email 2.47.1 In-Reply-To: <87bjxytd9a.fsf@iscas.ac.cn> References: <87bjxytd9a.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: ashish.is@lostca.se X-ACL-Warn: , "ashish.is--- via Guix-patches" From: "ashish.is--- via Guix-patches" via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: E4C4E25AE X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.91 X-Spam-Score: -5.91 X-TUID: oNgL3Lsw749o From: Ashish SHUKLA 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]: Switch to git upstream. [native-inputs]: Add autoconf, automake, gettext-minimal, bison, gnulib, gperf, and libtool. [arguments]: 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 -- 2.47.1