commit dbd4e04f265cd7e67ae9eaf2a0f7d1fced41d81f2a0c4360d3734c95c6621aed Author: Adrian Schröter Date: Thu Mar 6 15:29:13 2025 +0100 Sync from SUSE:SLFO:Main lftp revision 75fffcb536538b539dddc1c7555383dc diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/0001-Add-content-of-the-SUSE-lftp-vi-1.1-archive.patch b/0001-Add-content-of-the-SUSE-lftp-vi-1.1-archive.patch new file mode 100644 index 0000000..2e1cc24 --- /dev/null +++ b/0001-Add-content-of-the-SUSE-lftp-vi-1.1-archive.patch @@ -0,0 +1,64 @@ +From c12b66f8f09070758419cd2ef1f23c47cf0587f3 Mon Sep 17 00:00:00 2001 +From: =?utf8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= +Date: Wed, 28 Feb 2018 19:06:37 +0100 +Subject: [PATCH 1/5] Add content of the SUSE lftp-vi-1.1 archive + +--- + src/cmd-edit.cc | 45 +++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 45 insertions(+) + create mode 100644 src/cmd-edit.cc + +diff --git a/src/cmd-edit.cc b/src/cmd-edit.cc +new file mode 100644 +index 00000000..93230905 +--- /dev/null ++++ b/src/cmd-edit.cc +@@ -0,0 +1,45 @@ ++#include ++#include "CmdExec.h" ++ ++const char *extractFilename(const char *path) { ++ // Calculate memory address ++ char *pnt = (char*)path + (strlen(path) * sizeof(char)); ++ ++ // Go from back to beginning and check for (back)slashes ++ for (pnt--; pnt > path; pnt--) ++ if (*pnt == '/' || *pnt == '\\') ++ return ++pnt; ++ ++ return pnt; ++} ++ ++Job *cmd_edit(CmdExec *parent) ++{ ++ if (parent->args->count() < 2) { ++ printf("Missing filename.\n"); ++ return 0; ++ } ++ const char *filename = parent->args->getarg(1); ++ const char *baseFilename = extractFilename(filename); ++ ++ // Allocate enough bytes for the new commandline, but without format strings ++ char *commandline = (char*)xmalloc(52 + strlen(filename)); ++ sprintf(commandline, "shell \"/bin/sh -c 'exec ${EDITOR:-vi} /tmp/lftp.%s'\"\n", baseFilename); ++ ++ char *getcommandline = (char*)xmalloc(22 + (2 * strlen(filename))); ++ sprintf(getcommandline, "get %s -o /tmp/lftp.%s\n", filename, baseFilename); ++ ++ char *putcommandline = (char*)xmalloc(22 + (2 * strlen(filename))); ++ sprintf(putcommandline, "put /tmp/lftp.%s -o %s\n", baseFilename, filename); ++ ++ parent->FeedCmd(getcommandline); ++ parent->FeedCmd(commandline); ++ parent->FeedCmd(putcommandline); ++ ++ return 0; ++} ++ ++CDECL void module_init(int argc, const char * const *argv) ++{ ++ CmdExec::RegisterCommand("edit", cmd_edit, "edit ", "Edit the file in your EDITOR\n"); ++} +-- +2.16.2 + diff --git a/0001-lftp_ssl-deinitialize-the-lftp_ssl_openssl_instance.patch b/0001-lftp_ssl-deinitialize-the-lftp_ssl_openssl_instance.patch new file mode 100644 index 0000000..48c5e12 --- /dev/null +++ b/0001-lftp_ssl-deinitialize-the-lftp_ssl_openssl_instance.patch @@ -0,0 +1,32 @@ +From f5463495c401be1807d76b1dc00a62b1ef5ada23 Mon Sep 17 00:00:00 2001 +From: Thomas Abraham +Date: Mon, 22 Jan 2024 10:35:18 -0500 +Subject: [PATCH] lftp_ssl: deinitialize the lftp_ssl_openssl_instance + +If the instance isn't deinitialized prior to exit, the +OPENSSL_cleanup exit handler may run before the +lftp_ssl_openssl_instance destructor on exit resulting +in a segfault. + +This fixes a null deref on exit. + +Fixes #716 +--- + src/lftp_ssl.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc +index 18f816e1..ba7d1edc 100644 +--- a/src/lftp_ssl.cc ++++ b/src/lftp_ssl.cc +@@ -863,6 +863,7 @@ lftp_ssl_openssl::~lftp_ssl_openssl() + { + SSL_free(ssl); + ssl=0; ++ global_deinit(); + } + + static lftp_ssl_openssl *verify_callback_ssl; +-- +2.35.3 + diff --git a/0002-Add-content-of-lftp-compat-addfiles.patch.patch b/0002-Add-content-of-lftp-compat-addfiles.patch.patch new file mode 100644 index 0000000..e7503d5 --- /dev/null +++ b/0002-Add-content-of-lftp-compat-addfiles.patch.patch @@ -0,0 +1,290 @@ +From 2b248a384b5489f26c0d920316e20a15a75c678f Mon Sep 17 00:00:00 2001 +From: =?utf8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= +Date: Wed, 28 Feb 2018 19:08:24 +0100 +Subject: [PATCH 2/5] Add content of lftp-compat-addfiles.patch + +--- + src/CompatMode.cc | 238 +++++++++++ + src/CompatMode.h | 28 ++ + src/lftp-wrapper.c | 1177 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + 3 files changed, 1443 insertions(+) + create mode 100644 src/CompatMode.cc + create mode 100644 src/CompatMode.h + create mode 100644 src/lftp-wrapper.c + +Index: lftp-4.9.2/src/CompatMode.cc +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ lftp-4.9.2/src/CompatMode.cc 2023-07-26 15:00:09.982720328 +0000 +@@ -0,0 +1,238 @@ ++/* ++ * compat mode for lftp ++ * ++ * Copyright (c) 2005 by Petr Ostadal (postadal@suse.cz) ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License as published by ++ * the Free Software Foundation; either version 2 of the License, or ++ * (at your option) any later version. ++ * ++ * This program is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ * GNU General Public License for more details. ++ * ++ * You should have received a copy of the GNU General Public License ++ * along with this program; if not, write to the Free Software ++ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ++ */ ++ ++ ++#include ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include "MirrorJob.h" ++#include "CmdExec.h" ++#include "rmJob.h" ++#include "mkdirJob.h" ++#include "ChmodJob.h" ++#include "misc.h" ++#include "plural.h" ++#include "getopt.h" ++#include "FindJob.h" ++#include "url.h" ++#include "CopyJob.h" ++#include "pgetJob.h" ++ ++#include "modconfig.h" ++ ++#include ++#include ++ ++#include "xmalloc.h" ++#include "GetPass.h" ++#include "CharReader.h" ++#include "SignalHook.h" ++#include "Job.h" ++ ++ ++int ascii_mode; ++ ++char* GetText(const char *prompt) { ++ static char *oldtext=0; ++ static int tty_fd=-2; ++ static FILE *f=0; ++ ++ xfree(oldtext); ++ oldtext=0; ++ ++ if(tty_fd==-2) ++ { ++ if(isatty(0)) ++ tty_fd=0; ++ else ++ { ++ tty_fd=open("/dev/tty",O_RDONLY); ++ if(tty_fd!=-1) ++ fcntl(tty_fd,F_SETFD,FD_CLOEXEC); ++ } ++ } ++ if(tty_fd==-1) ++ return 0; ++ ++ if(f==0) ++ f=fdopen(tty_fd,"r"); ++ if(f==0) ++ return 0; ++ ++ write(tty_fd,prompt,strlen(prompt)); ++ oldtext=readline_from_file(fileno(f)); ++ return oldtext; ++} ++ ++CMD(ascii) ++{ ++ ascii_mode = 1; ++ return NULL; ++} ++ ++CMD(bin) ++{ ++ ascii_mode = 0; ++ return NULL; ++} ++ ++CMD(type) ++{ ++ if (parent->args->count() == 2) { ++ if (strcmp(parent->args->getarg(1), "binary") == 0) ++ ascii_mode = 0; ++ else if (strcmp(parent->args->getarg(1), "ascii") == 0) ++ ascii_mode = 1; ++ else ++ parent->eprintf(_("Try `help %s' for more information.\n"), parent->args->a0()); ++ } else if (parent->args->count() == 1) { ++ if (ascii_mode) ++ parent->printf("Using ascii mode to transfer files.\n"); ++ else ++ parent->printf("Using binary mode to transfer files.\n"); ++ } ++ else ++ parent->eprintf(_("Try `help %s' for more information.\n"), parent->args->a0()); ++ return NULL; ++} ++ ++CMD(user); ++ ++CMD(compat_user) ++{ ++ char *user; ++ ++ if(parent->args->count() == 1) { ++ user = GetText("(username) "); ++ ++ if (!user || strlen(user) == 0) { ++ parent->eprintf(_("Try `help %s' for more information.\n"), parent->args->a0()); ++ return NULL; ++ } ++ user = strdup(user); ++ parent->args->Add(user); ++ } ++ ++ return cmd_user(parent); ++} ++ ++CMD(compat_open) ++{ ++ const char *myname = getlogin(); ++ struct passwd *pw; ++ char *name = NULL; ++ char *prompt = NULL; ++ char *cmd; ++ int len = 0; ++ ascii_mode = 0; ++ Job *job; ++ int n; ++ ++ if (parent->args->count() == 3) ++ parent->args->insarg(2, "-p"); ++ else if (parent->args->count() != 2) { ++ parent->eprintf(_("Try `help %s' for more information.\n"), parent->args->a0()); ++ return NULL; ++ } ++ ++ if (myname == NULL && (pw = getpwuid(getuid())) != NULL) ++ myname = pw->pw_name; ++ if (myname) { ++ len = strlen(myname) + 10; ++ prompt = (char*)malloc(len); ++ if (len <= snprintf(prompt, len, "Name (%s): ", myname)) ++ prompt[len - 1] = '\0'; ++ name = GetText(prompt); ++ name = strdup(name && strlen(name) > 0 ? name : myname); ++ free(prompt); ++ } ++ else { ++ name = GetText("Name: "); ++ if (name) strdup (name); ++ } ++ ++ ++ if (name != NULL && strlen(name) == 0) { ++ free(name); ++ name = NULL; ++ } ++ ++ if (name) { ++ len = strlen(name) + 11; ++ cmd = (char*)malloc(len); ++ ++ if (len <= snprintf(cmd, len, "lftp-user %s", name)) ++ cmd[len - 1] = '\0'; ++ ++ parent->PrependCmd(cmd); ++ ++ free(name); ++ free(cmd); ++ } ++ job = parent->builtin_open(); ++ n = job->Do(); ++ ++ return job; ++} ++ ++CMD(get); ++ ++CMD(compat_get) ++{ ++ if (ascii_mode && parent->args->count() > 1) ++ parent->args->insarg(1, "-a"); ++ ++ return cmd_get(parent); ++} ++ ++CMD(get1); ++ ++CMD(compat_get1) ++{ ++ if (ascii_mode && parent->args->count() > 1) ++ parent->args->insarg(1, "-a"); ++ ++ return cmd_get1(parent); ++} ++ ++void module_init() ++{ ++ ascii_mode = 0; ++ ++ CmdExec::RegisterCompatCommand("user", cmd_compat_user, "user []", "send new user information (only for backward compatibility, use lftp-user instead)\n"); ++ CmdExec::RegisterCompatCommand("open", cmd_compat_open, "open [ +Date: Wed, 28 Feb 2018 19:09:14 +0100 +Subject: [PATCH 3/5] Add content of lftp-completion.patch + +--- + src/complete.cc | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/complete.cc b/src/complete.cc +index 02e3ce6c..cfeaef28 100644 +--- a/src/complete.cc ++++ b/src/complete.cc +@@ -480,6 +480,9 @@ static completion_type cmd_completion_type(const char *cmd,int start) + w=skip_word(w); + } + ++ if (!strcmp(buf, "edit")) ++ return REMOTE_FILE; ++ + if(!strcmp(buf,"get") + || !strcmp(buf,"pget") + || !strcmp(buf,"get1")) +-- +2.16.2 + diff --git a/0005-Add-the-wrapper-code-to-the-Makefile-in-order-to-bui.patch b/0005-Add-the-wrapper-code-to-the-Makefile-in-order-to-bui.patch new file mode 100644 index 0000000..bef7280 --- /dev/null +++ b/0005-Add-the-wrapper-code-to-the-Makefile-in-order-to-bui.patch @@ -0,0 +1,121 @@ +From 6abce26def9e39e0fe3f5cd05660768d2505300b Mon Sep 17 00:00:00 2001 +From: =?utf8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= +Date: Wed, 28 Feb 2018 19:11:37 +0100 +Subject: [PATCH 5/5] Add the wrapper code to the Makefile in order to build + +--- + src/CmdExec.cc | 32 ++++++++++++++++++++++++++++++++ + src/CmdExec.h | 3 +++ + src/CopyJob.cc | 3 ++- + src/Makefile.am | 12 ++++++++++-- + 4 files changed, 47 insertions(+), 3 deletions(-) + +Index: lftp-4.9.2/src/CmdExec.cc +=================================================================== +--- lftp-4.9.2.orig/src/CmdExec.cc 2017-08-10 09:58:38.000000000 +0000 ++++ lftp-4.9.2/src/CmdExec.cc 2023-07-26 15:02:36.660734739 +0000 +@@ -1234,6 +1234,38 @@ void CmdExec::ChangeSession(FileAccess * + ConnectionSlot::Set(slot,session); + } + ++void CmdExec::RegisterCompatCommand(const char *name,cmd_creator_t creator,const char *short_desc,const char *long_desc) ++{ ++ if(dyn_cmd_table==0) ++ { ++ int count=0; ++ for(const cmd_rec *c=static_cmd_table; c->name; c++) ++ count++; ++ dyn_cmd_table.nset(static_cmd_table,count); ++ } ++ for(int i=0; iname,name)) ++ { ++ char *lftp_name=(char*)malloc(5+strlen(name)+1); ++ char *short_d = NULL; ++ ++ if (c->short_desc) { ++ short_d = (char*)malloc(5+strlen(c->short_desc)+1); ++ sprintf(short_d, "lftp-%s", c->short_desc); ++ c->short_desc = short_d; ++ } ++ ++ sprintf(lftp_name, "lftp-%s", name); ++ c->name = lftp_name; ++ break; ++ } ++ } ++ cmd_rec new_entry={name,creator,short_desc,long_desc}; ++ dyn_cmd_table.append(new_entry); ++} ++ + const char *CmdExec::CmdByIndex(int i) + { + if(dyn_cmd_table) +Index: lftp-4.9.2/src/CmdExec.h +=================================================================== +--- lftp-4.9.2.orig/src/CmdExec.h 2017-09-20 11:09:57.000000000 +0000 ++++ lftp-4.9.2/src/CmdExec.h 2023-07-26 15:02:36.660734739 +0000 +@@ -238,6 +238,9 @@ public: + static void RegisterCommand(const char *name,cmd_creator_t creator, + const char *short_name=0,const char *long_name=0); + ++ static void RegisterCompatCommand(const char *name,cmd_creator_t creator, ++ const char *short_name=0,const char *long_name=0); ++ + Job *builtin_lcd(); + Job *builtin_cd(); + Job *builtin_open(); +Index: lftp-4.9.2/src/CopyJob.cc +=================================================================== +--- lftp-4.9.2.orig/src/CopyJob.cc 2020-06-04 20:13:58.000000000 +0000 ++++ lftp-4.9.2/src/CopyJob.cc 2023-07-26 15:02:36.660734739 +0000 +@@ -18,6 +18,7 @@ + */ + + #include ++#include + #include "CopyJob.h" + #include "ArgV.h" + #include "plural.h" +@@ -271,7 +272,7 @@ void CopyJobEnv::SetCopier(FileCopy *c,c + + xstring& CopyJobEnv::FormatFinalWithPrefix(xstring& s,const char *p) + { +- if(no_status) ++ if(no_status || !isatty(1)) + return s; + if(count==errors) + return s; +Index: lftp-4.9.2/src/Makefile.am +=================================================================== +--- lftp-4.9.2.orig/src/Makefile.am 2019-03-22 19:26:54.000000000 +0000 ++++ lftp-4.9.2/src/Makefile.am 2023-07-26 15:05:12.613750066 +0000 +@@ -10,7 +10,7 @@ EXTRA_DIST = $(pkgdata_SCRIPTS) $(bin_SC + lftp_SOURCES = lftp.cc complete.h complete.cc lftp_rl.c lftp_rl.h attach.cc attach.h + + TASK_MODULES = liblftp-pty.la liblftp-network.la proto-ftp.la proto-http.la proto-file.la proto-fish.la proto-sftp.la +-JOB_MODULES = cmd-mirror.la cmd-sleep.la cmd-torrent.la ++JOB_MODULES = cmd-mirror.la cmd-sleep.la cmd-torrent.la cmd-edit.la compat-mode.la + if WITH_MODULES + pkgverlib_LTLIBRARIES = $(TASK_MODULES) $(JOB_MODULES) + else +@@ -30,6 +30,8 @@ cmd_mirror_la_SOURCES = MirrorJob.cc Mir + cmd_sleep_la_SOURCES = SleepJob.cc SleepJob.h + cmd_torrent_la_SOURCES= Torrent.cc Torrent.h TorrentTracker.cc TorrentTracker.h\ + DHT.cc DHT.h Bencode.cc Bencode.h ++cmd_edit_la_SOURCES = cmd-edit.cc ++compat_mode_la_SOURCES= CompatMode.cc CompatMode.h + liblftp_pty_la_SOURCES = PtyShell.cc PtyShell.h lftp_pty.c lftp_pty.h SSH_Access.cc SSH_Access.h + liblftp_network_la_SOURCES = NetAccess.cc NetAccess.h Resolver.cc Resolver.h\ + lftp_ssl.cc lftp_ssl.h buffer_ssl.cc buffer_ssl.h RateLimit.cc RateLimit.h\ +@@ -49,6 +51,8 @@ proto_sftp_la_LDFLAGS = -module -avoid-v + cmd_mirror_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir) + cmd_sleep_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir) + cmd_torrent_la_LDFLAGS= -module -avoid-version -rpath $(pkgverlibdir) ++cmd_edit_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir) ++compat_mode_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir) + liblftp_pty_la_LDFLAGS = -avoid-version -rpath $(pkgverlibdir) + liblftp_network_la_CPPFLAGS = $(AM_CPPFLAGS) $(OPENSSL_CPPFLAGS) $(ZLIB_CPPFLAGS) $(LIBGNUTLS_CFLAGS) + liblftp_network_la_LDFLAGS = -avoid-version -rpath $(pkgverlibdir) diff --git a/lftp-4.9.2.tar.xz b/lftp-4.9.2.tar.xz new file mode 100644 index 0000000..6d3bafc --- /dev/null +++ b/lftp-4.9.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c517c4f4f9c39bd415d7313088a2b1e313b2d386867fe40b7692b83a20f0670d +size 1654960 diff --git a/lftp-4.9.2.tar.xz.asc b/lftp-4.9.2.tar.xz.asc new file mode 100644 index 0000000..cbbef68 --- /dev/null +++ b/lftp-4.9.2.tar.xz.asc @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iD8DBQBfNaRhqCS7afKpmhgRAil2AJ4wA0CJoOdg8bUnwqj75fzTBom9UQCeJhDh +ZHTXie0VG8x7QAllJbHMjLI= +=MBG4 +-----END PGP SIGNATURE----- diff --git a/lftp-default-ssl-cipher.patch b/lftp-default-ssl-cipher.patch new file mode 100644 index 0000000..ddb0922 --- /dev/null +++ b/lftp-default-ssl-cipher.patch @@ -0,0 +1,13 @@ +Index: lftp-4.9.2/src/lftp_ssl.cc +=================================================================== +--- lftp-4.9.2.orig/src/lftp_ssl.cc 2023-07-26 15:02:13.137732427 +0000 ++++ lftp-4.9.2/src/lftp_ssl.cc 2023-07-26 15:02:18.009732905 +0000 +@@ -874,7 +874,7 @@ lftp_ssl_openssl_instance::lftp_ssl_open + } + } + SSL_CTX_set_options(ssl_ctx, options); +- SSL_CTX_set_cipher_list(ssl_ctx, "ALL:!aNULL:!eNULL:!SSLv2:!LOW:!EXP:!MD5:@STRENGTH"); ++// SSL_CTX_set_cipher_list(ssl_ctx, "ALL:!aNULL:!eNULL:!SSLv2:!LOW:!EXP:!MD5:@STRENGTH"); + SSL_CTX_set_verify(ssl_ctx,SSL_VERIFY_PEER,lftp_ssl_openssl::verify_callback); + // SSL_CTX_set_default_passwd_cb(ssl_ctx,lftp_ssl_passwd_callback); + diff --git a/lftp-gcc14.patch b/lftp-gcc14.patch new file mode 100644 index 0000000..831467b --- /dev/null +++ b/lftp-gcc14.patch @@ -0,0 +1,12 @@ +Index: lftp-4.9.2/m4/needtrio.m4 +=================================================================== +--- lftp-4.9.2.orig/m4/needtrio.m4 ++++ lftp-4.9.2/m4/needtrio.m4 +@@ -9,6 +9,7 @@ AC_DEFUN([LFTP_NEED_TRIO],[ + else + + AC_RUN_IFELSE([AC_LANG_SOURCE([[ ++#include + int main() + { + unsigned long long x=0,x1; diff --git a/lftp.changes b/lftp.changes new file mode 100644 index 0000000..2f15311 --- /dev/null +++ b/lftp.changes @@ -0,0 +1,1171 @@ +------------------------------------------------------------------- +Wed Jul 31 20:10:18 UTC 2024 - Marcus Meissner + +- lftp-gcc14.patch: fixed issues with gcc14 + +------------------------------------------------------------------- +Thu Jan 25 08:01:55 UTC 2024 - Peter Simons + +- Apply "0001-lftp_ssl-deinitialize-the-lftp_ssl_openssl_instance.patch" + to fix a crash that ocurred when lftp is run on s390x with an IBM + crypto card installed. The issue has been reported to upstream at + https://github.com/lavv17/lftp/issues/716. [bsc#1213984] + +------------------------------------------------------------------- +Wed Jul 26 14:46:17 UTC 2023 - Peter Simons + +- The lftp_wrapper script has been deprecated over 1.5 years ago. + It's time to remove it from the package. [jsc#SLE-17861] + +- Dropped patches: + * 0004-Include-config.h-to-detect-gnulib-macros.patch + * add-deprecation-warning-to-lftp-wrapper.patch + +- Refreshed patches: + * 0002-Add-content-of-lftp-compat-addfiles.patch.patch + * 0005-Add-the-wrapper-code-to-the-Makefile-in-order-to-bui.patch + * lftp-default-ssl-cipher.patch + +------------------------------------------------------------------- +Mon Nov 22 09:35:04 UTC 2021 - Peter Simons + +- Deprecate the lftp_wrapper script. It is still available as an + "update-alternative" for "ftp", but it is no longer used by + default. The default implementation of "ftp" now is the "lftp" + executable. [jsc#SLE-19631] + + Lftp_wrapper is an internal creation of SUSE, dating back to + 2005. It was developed to help some customers transition from + lukemftp, which disappeared from SLE between versions 11 and 12, + to lftp. To make the transition as smooth as possible, the + wrapper was made the default FTP client. + + However, the code was never upstreamed and it was never properly + reviewed. From a security perspective (and FTP clients are + definitely a target for attackers), this is rather worrying. + + There are many issues with lftp_wrapper, in addition to the low + code quality and the fact that it has no real upstream: + + * Customers are reporting bugs: bsc#974874, bsc#1178363. + * It has no manual page ("man ftp" displays the lftp manual page, + despite both having different command line options). + * Some command line options are not actually implemented, or only + work in specific cases. + * It was only designed for non-interactive use, but this is only + mentioned in the source code. As a result, customers are not + aware of that limitation, and use the wrapper also + interactively, or pseudo-interactively, and complain when it + doesn't work. + + The newly added "add-deprecation-warning-to-lftp-wrapper.patch" + introduces a deprecation warning for users who might still rely + on the script to make them aware that this wrapper script is + going to be removed from the distribution. + +------------------------------------------------------------------- +Mon Aug 24 15:40:33 UTC 2020 - Dirk Mueller + +- update to 4.9.2: + * mkdir: fixed exit code with -f option. + * ftp: made ftp:use-pret setting tri-boolean. + * get/mget/put/mput: don't try next files after error if cmd:fail-exit is true. + * get/mget: fixed -O option with remote URL and xfer:use-temp-file being true. + * mirror: disallow empty patterns; don't delete "..". + * mirror: fixed --on-change with --reverse. + * sftp: fixed a bug with truncated files when packets are reordered (finally). + +------------------------------------------------------------------- +Thu Jan 16 06:00:42 UTC 2020 - Ismail Dönmez + +- Update to version 4.9.1 + * get1: fixed creating the target directory. + * get1: fixed renaming the temp file. + * fixed a coredump on startup when IPv6 is not supported or configured. + +------------------------------------------------------------------- +Tue Jan 14 12:35:28 UTC 2020 - Ismail Dönmez + +- Update to version 4.9.0 + * ftp: add support for CEPR command. + * ftp: enabled TLS by default. + * ftp: fixed OPTS MLST format. + * ftps: apply rfc1738 rules. + * ftp: stop sending ALLO commands by default. + * http: fixed redirection to absolute path. + * http: improved index parsing performance. + * http: revert to original URL when temporary redirects led to an error. + * mirror --no-empty-dirs: exclude empty dirs so that chmod is not done on them. + * net: disable inet6 if there is no public ipv6 address. + * net: lowered reconnect intervals. + * sftp, fish: fixed yes/no/[fingerprint] and passphrase recognition. + * sftp: fixed a bug with truncated files when packets are reordered. + * torrent: fixed a coredump when all dht ports are busy. + * fixed file list sorting when some file names start with tilde. + * fixed retry counting when a site has multiple addresses. + * fixed "version" command for certain openssl versions. +- Drop relax-ssh-password-prompt-recognition.patch, fixed upstream. + +------------------------------------------------------------------- +Tue Mar 19 12:18:35 UTC 2019 - Peter Simons + +- Refresh "relax-ssh-password-prompt-recognition.patch" to the + solution upstream chose in commit 0bcd1d2d6bfb9d53. The previous + patch assumed incorrectly that the underlying buffer would always + contain a NUL-terminated string. [bsc#1120946] + +------------------------------------------------------------------- +Wed Feb 27 19:32:06 UTC 2019 - Peter Simons + +- Add "relax-ssh-password-prompt-recognition.patch" to make sure + the SSH login handling code detects password prompts more + reliably. [bsc#1120946] + +------------------------------------------------------------------- +Thu Oct 4 13:48:46 UTC 2018 - Ismail Dönmez + +- Update to version 4.8.4 + * Fixed a security vulnerability with "file:" file names. + CVE-2018-10916 bsc#1103367 + * Fixed mirror --flat. + * http: extract links from tags. + * Fixed upload of zero-length files over ftps. + * Fixed assert on "mput -d". + * Fixed a core dump. + * Avoid multiple backup files of DHT cache. + * Translations updated (uk, zh_CN). +- Remove upstream patch: + * fix-zero-byte-file-upload-via-ssl.patch + +------------------------------------------------------------------- +Fri Mar 16 13:12:01 UTC 2018 - psimons@suse.com + +- Added openSUSE-specific patches that implement a wrapper script + called "ftp" on top of the lftp command that is compatible to + lukemftp. Those patches are maintained in a fork of the upstream + project at https://github.com/opensuse/lftp. [bsc#1083331] + * 0001-Add-content-of-the-SUSE-lftp-vi-1.1-archive.patch + * 0002-Add-content-of-lftp-compat-addfiles.patch.patch + * 0003-Add-content-of-lftp-completion.patch.patch + * 0004-Include-config.h-to-detect-gnulib-macros.patch + * 0005-Add-the-wrapper-code-to-the-Makefile-in-order-to-bui.patch + +------------------------------------------------------------------- +Wed Feb 28 10:57:02 UTC 2018 - psimons@suse.com + +- fix-zero-byte-file-upload-via-ssl.patch: fix a bug that caused + lftp to break the TLS protocol and lose the connection when + trying to upload a 0 byte length file. [bsc#1079168] + +------------------------------------------------------------------- +Sat Nov 11 04:38:23 UTC 2017 - aavindraa@gmail.com + +- update to 4.8.3: + * fixed 2 other core dumps on exit (incorrect order of deallocation). + * fixed compilation with older C++ compilers. + +------------------------------------------------------------------- +Wed Oct 4 21:37:22 UTC 2017 - astieger@suse.com + +- update to 4.8.2: + * fixed a memory leak + * fixed a core dump on exit +- includes changes from 4.8.1: + * improved rate limiting to allow per-host limits + * ftp: make prefer-epsv default "no" + * ftp: fixed quote command and ftp:use-stat-for-list setting + * switched to libidn2 + * fixed configure --disable-rpath + * fixed coredump when a parent directory was deleted +- includes changes from 4.8.0: + * mirror: improved performance of --scan-all-first for big trees + * mirror: new --flat option to flatten the target directory structure + * mmv: new command for file moving; redirect mv to mmv in certain cases + * fixed compilation with newer openssl (1.1.0 and later) + * du: allow multiple --exclude options to be combined + * new setting cmd:nullglob for `glob' command prefix + * http: use proppatch to set last-modified property + * new settings net:connection-limit-timer and ftp:too-many-re + * ftp: dynamically ajust connection limit + * ftp: fixed core dump on LINK/SYMLINK when the command is not supported + * get1: fixed -o option + * sftp,fish: connect-program setting is now passed to the shell for execution + * get/mget/put/mput: add -P option for parallel transfers and long options + * fixed "local glob" +- build with libidn2 +- package desktop file + +------------------------------------------------------------------- +Wed Apr 26 09:07:46 UTC 2017 - tchvatal@suse.com + +- Version update to 4.7.7: + * License has changed from GPL-2.0+ to GPL-3.0+ + * Various small fixes all around +- Remove all internal patches, if the ftp compat is needed we need + to upstream it on github: + * lftp-autoconf-req.patch + * lftp-compat-addfiles.patch + * lftp-completion.patch + * lftp-config_h.patch + * lftp-stdio.h.patch + * lftp-vi.1.1.tar.gz + * lftp-wrapper+edit+compat-modify.patch +- Pass all the configure arguments to ensure nothing gets automagically + disabled +- Remove unused dependencies + +------------------------------------------------------------------- +Wed Mar 1 12:35:48 UTC 2017 - psimons@suse.com + +- Fork lftp in SLE-12-SP3 to use the version from Factory to enable + support for OpenSSL as requested in fate#321022. That change also + obsoletes the following patches, which SLE previously required: + + * lftp-deal-gracefully-with-ipv6-failures.patch corresponds to + upstream commit 58bfcfc2b00c and has been included since + release 4.7.2 [bnc#975913]. + + * lftp-ca-bundle-path.patch is necessary only when lftp was + compiled against GNUTLS, but we use OpenSSL now [bnc#792456]. + +- Normalize spec file with spec-cleaner. + +------------------------------------------------------------------- +Fri Nov 25 13:16:41 UTC 2016 - idonmez@suse.com + +- lftp 4.7.4: + * mirror: new option --directory (-F) for source directories + glob pattern. + * mirror: fixed coredump with --depth-first + --recursion=newer. + * mirror: create inaccessible directories anyway. + * pget, torrent: avoid long delays in posix_fallocate(3) call. + * new setting dns:name for host aliases. + * ftp: allow SSL after certain types of ftp proxy. + * http: fixed interpretation of links without a protocol. + * cls: fixed glob metacharacter unquoting. + * sftp: fixed mirroring of files with a leading tilde. + * fixed transfer logging. + +------------------------------------------------------------------- +Mon Aug 8 21:22:40 UTC 2016 - asterios.dramis@gmail.com + +- lftp 4.7.3: + * mirror: don't add source directory base name to the target if + the source ends with a slash. + * mirror: fixed transfer count tracking in --scan-all-first mode. + * new setting file:use-fallocate. + * fixed "kill all" to remove queued commands. + * fixed xfer:log-file setting to a writable file in a protected + directory. + * fixed xfer:clobber to allow output to non-plain files. + * fixed mirror --Move to really keep source dir if it ends with a + slash. + From 4.7.2: + * ftp: fixed loss of 17th file from MLSD listing. + * new setting xfer:timeout. + * ssl: improved ssl performance for small read sizes. + * pget: allocate all needed disk space at once. + * http: new settings http:use-range and hftp:use-range. + * http: fixed setting http:authorization. + * http: resolve redirections when getting files information. + * http: include X-OC-MTime header in PUT requests for OwnCloud. + * mirror: changed --Move option to keep source dir if it ends + with a slash. + * mirror: fixed timestamp mirroring when the source site sends + redirections. + * mirror: don't report errors when the target does not support + chmod. + * torrent: discard cached data after validating. + * torrent: fixed a coredump on a file read error. + * torrent: fixed closing oldest cached FD. + * torrent/DHT: fixed our external IP voting. + * torrent/DHT: black-list nodes which change node_id often. + * torrent/DHT: black-list nodes which report many bad nodes. + * torrent/DHT: ignore nodes with our own ID. + * torrent/DHT: made node search more robust. + * torrent/DHT: mark new nodes as questionable. + * translations updated (zh_TW, ru). +- Added new build requirements libexpat-devel, libidn-devel and + zlib-devel. +- Fixes for update-alternatives usage. +- Rebased lftp-wrapper+edit+compat-modify.patch to apply cleanly. + +------------------------------------------------------------------- +Wed May 11 09:09:12 UTC 2016 - moio@suse.com + +- lftp 4.7.0: + * ftp: add MODE Z support. + * ftp: new settings ftp:use-mode-z, ftp:compressed-re, ftp:mode-z-level. + * ftp: add MFF support for chmod. + * ftp: prefer EPSV by default. + * ftp: prefer CWD-relative paths. + * ftp: enable MLSD by default (when supported). + * ftp: assume AUTH is supported based on other newer features. + * http: add support for digest authentication. + * http: fixed webdav directory listing. + * http: fixed a coredump when using a proxy for https. + * sftp: fixed mirror to sftp with xfer:use-temp-file set. + * ssl: optimized ssl for speed and lower syscall count. + * ssl: log server's certificate fingerprint. + * ssl: allow disabling certificate verification by its fingerprint. + * get: rename backup file back if new file cannot be retrieved. + * get: new settings xfer:backup-suffix and xfer:keep-backup. + * get/put/mget/mput/pget/get1: add -q (quiet) option. + * edit: allow creating a new file. + * new debug option -T (truncate output file). + * new mirror options: --{in,ex}clude-{rx,glob}-from. + * new mirror options: --Remove-source-dirs, --Move. + +- lftp 4.7.1: + * http: fixed authentication for proxy, transient errors, max-retries=1. + * http: fixed put with authentication not to use HEAD request. + * translations updated (cs, ru). + +------------------------------------------------------------------- +Mon Dec 14 20:10:00 UTC 2015 - andreas@suse.de + +- lftp 4.6.5: + * sftp: fixed handling of out-of-order replies. + * fixed futex_wait issue in SIGCHLD handler. + * ftp: fixed ls freezing with unstable server connection. + * torrent: show more correct ETA on the status line. + * fixed gnutls priority string. + * mirror: fixed excessive stack usage on large directories. + * documented some hard to fix bugs. + * improved man page on open command and cmd:prompt setting. + * translations updated (zh_TW). + +------------------------------------------------------------------- +Fri Aug 21 19:40:08 UTC 2015 - astieger@suse.com + +- lftp 4.6.4: + * mirror: new option --transfer-all. + * torrent: new setting torrent:timeout to limit time without any progress. + * torrent: fixed handling of udp tracker without explicit port number. + * torrent: improved transfer start time after metadata download. + * improved sftp put -c to use a single FSETSTAT. + * mirror --skip-noaccess now uses user name to check for permissions. + * don't rename temporary file to the target name when transfer fails. + * new cmd:prompt escapes \l and \L for local working directory. + +------------------------------------------------------------------- +Fri Jun 19 17:08:47 UTC 2015 - kstreitova@suse.com + +- update to 4.6.3a + * new mirror setting mirror:overwrite and options + --overwrite/--no-overwrite. + * new mirror option --upload-older. + * new mirror option --recursion={always,never,missing,newer}. + * try to download zero sized files as they may be non-empty. + * torrent: new options --only-new, --only-incomplete. + * torrent: fixed endless loop in FD deallocation. + * fixed a memleak when parsing a directory listing with special + files. + * fixed one byte buffer overflow in cls. + * fixed cmd:fail-exit description in the man page. + * fixed large stack usage when parsing fish directory listings. +- refresh lftp-stdio.h.patch +- use spec-cleaner + +------------------------------------------------------------------- +Thu May 28 08:27:26 UTC 2015 - idonmez@suse.com + +- Update to version 4.6.2: + * new command "edit" instead of the edit alias. + * new setting ssl:priority for disabling selected protocols. + * new settings fish:auto-confirm and sftp:auto-confirm. + * new setting file:use-lock to lock local files before accessing. + * ftp: fixed disconnecting on timeout (broken in 4.6.0). + * http: enclose ipv6 address in brackets in URLs and Host header. + * fixed mirror for http protocol with redirections. + * fixed `bookmark edit' to use correct XDG path if XDG is used. + * fixed a wildcard certificate validation vulnerability (CVE-2014-0139). + * fixed proxy authentication for CONNECT method. + * fixed exit code of `help' command. + * fixed sftp to show file names with slashes. + * fixed pget status display when all chunks are done except the first one. +- Drop lftp-CVE-2014-0139.patch, fixed upstream. +- Refresh lftp-default-ssl-cipher.patch + +------------------------------------------------------------------- +Fri Jan 9 22:11:12 UTC 2015 - andreas.stieger@gmx.de + +- lftp 4.6.1: + * new mirror option --scan-all-first. + * mirror --Remove-source-files now removes files already present + at the target. + * added a workaround for FUSE with HadoopFS I/O error during + rename(2). + * fixed du to round file size up to block size. + * fixed compilation with libressl. + * fixed OPTS MLST, removed trailing semicolon. + * fixed put to sftp with special files (like /dev/stdin). + * fixed ftp to copy SID properly with GnuTLS + * fixed mirror to follow redirections to files + +------------------------------------------------------------------- +Thu Dec 11 13:30:28 UTC 2014 - vcizek@suse.com + +- build with openssl instead of gnutls as suggested in bnc#792456 + * don't default to /etc/ssl/ca-bundle.pem (bnc#907803) + * drop lftp-ca-bundle-path.patch +- fix a "curl" vulnerability CVE-2014-0139 + * that's because lftp uses code borrowed from curl 7.21.3 which + contains this incorrect wildcard certificate validation + * added lftp-CVE-2014-0139.patch + +------------------------------------------------------------------- +Mon Nov 3 10:49:12 UTC 2014 - tchvatal@suse.com + +- Fix the update-alternatives to be up-par + +------------------------------------------------------------------- +Mon Nov 3 10:41:56 UTC 2014 - tchvatal@suse.com + +- Fully remove sle10 support. + +------------------------------------------------------------------- +Mon Nov 3 10:38:19 UTC 2014 - tchvatal@suse.com + +- Version bump to lftp 4.6.0: + * new torrent --share option. + * new setting mirror:require-source. + * new settings xfer:use-temp-file and xfer:temp-file-name. + * ftp: wait for QUIT reply before closing control socket. + * display valid IDN in URLs without percent encoding. + * ftp: shutdown SSL connection before closing control socket. + * ftp: avoid duplication of PROT command. + * fixed debug -o to append to the log file. + * fixed compilation without SSL. + * http: don't uncompress files ending with .gz, .Z or .tgz + * http: fixed inflation of some files. + * minor fixes in torrent protocol. + +------------------------------------------------------------------- +Thu Sep 4 23:26:00 UTC 2014 - andreas.stieger@gmx.de + +-lftp 4.5.5: + * added support for internationalized domain names. + * added lftp --norc option. + * added mirror "Finished" message. + * added ftp:catch-size setting. + * fixed net:max-retries setting. + * fixed byte counters in mirror status. + * fixed a segfault in ftps. + * fixed a spurious error message in fxp and ftp. + +------------------------------------------------------------------- +Mon Aug 11 21:11:48 UTC 2014 - andreas.stieger@gmx.de + +- lftp 4.5.4: + * new setting mirror:sort-by (name, size, date). + * torrent: reduced cpu and memory usage. + * fixed occasional "BUG:deadlock" message. + * fixed a segfault when a directory contains duplicate file names. + * fixed a memory leak in torrent. + * fixed byte counters in mirror --depth-first. + * fixed timeout checks in FISH. + * translations updated (pl). + +------------------------------------------------------------------- +Tue Jul 29 09:50:11 UTC 2014 - pgajdos@suse.com + +- use default ssl cipher instead of the custom one + [bnc#857148] (internal) +- added patches: + * lftp-default-ssl-cipher.patch + +------------------------------------------------------------------- +Thu Jul 24 04:59:49 UTC 2014 - andreas.stieger@gmx.de + +- lftp 4.5.3: + * new setting ftp:site. + * don't uncompress http body when Contrent-Type is compressed. + * check source address of DHT replies. + * discard disconnected torrent peers only after a timeout. + +------------------------------------------------------------------- +Thu Jun 12 11:12:13 UTC 2014 - vdziewiecki@suse.com + +- lftp 4.5.2: + * fixed a coredump on startup when compiled with certain gcc + versions. + * mkdir -q option for quiet operation. + * glob --exists and --not-exist options. + * improved torrent status, show piece availability statistics. + * remove unconnectable torrent peers on trackerless torrents. + +------------------------------------------------------------------- +Thu Jun 12 10:16:06 UTC 2014 - vdziewiecki@suse.com + +- bnc#880202 - lftp_wrapper file corruption (modified +lftp-compat-addfiles.patch - fix by pgajdos) +- Removed name from summary + +------------------------------------------------------------------- +Sat Jun 7 19:13:27 UTC 2014 - andreas.stieger@gmx.de + +- lftp 4.5.1: + * show piece availabilty in torrent status. + * fixed a coredump in ftp when data connection fails. + * fixed default values of some settings. + * fixed http redirection handling. + * fixed compilation with gcc-4.8.3. + +------------------------------------------------------------------- +Mon Jun 2 13:00:55 UTC 2014 - vdziewiecki@suse.com + +- Removed desktop file - bnc#869644 - Remove lftp menu item + +------------------------------------------------------------------- +Fri May 30 20:31:41 UTC 2014 - andreas.stieger@gmx.de + +- lftp 4.5.0: + * optimized cpu usage for 10Gb/s transfers by using better data + structures and algorithms. + * new open option --env-password to take password from + LFTP_PASSWORD environment variable. + * new `exit parent' subcommand. + * new settings http:accept-encoding, http:decode. + * new setting xfer:max-log-size to limit transfer log size. + * show last disconnect cause for a few seconds in the session + status. + * improved mirror status to display real-time aggregated byte + count and rate. + * save torrent matadata on disk and load if available when + needed. + * improved torrent DHT search. + * fixed exit behavior to flush buffered commands. + * fixed transfer rate reporting for mirror --parallel. + +------------------------------------------------------------------- +Sat May 10 18:41:59 UTC 2014 - andreas.stieger@gmx.de + +- ltfp 4.4.16: + * fixed mirror --loop to re-check base directory contents. + * fixed sftp and fish authentication by password with FreeBSD + server. + * fixed directory index parsing for some http servers. + * fixed find command output to avoid extra slash for plain files. + * fixed several bugs which could cause segfault. +- some spec cleanup + +------------------------------------------------------------------- +Thu Apr 3 17:26:11 UTC 2014 - mpost@suse.com + +- Modified lftp-wrapper+edit+compat-modify.patch. Fixes problem + with "Unknown command open" when using the lftp_wrapper. bnc#867373 + +------------------------------------------------------------------- +Sun Feb 9 19:56:59 UTC 2014 - andreas.stieger@gmx.de + +- lftp 4.4.15: + * new setting pget:min-chunk-size. + * improved DHT search by preferring responded nodes. + * allow UTC timezone in http timestamps. + * fixed WebDAV rmdir operation. + * fixed torrent hang on shutdown when a tracker is unresposive. + * fixed adding too may slashes to URLs in http. +- verify source signatures +- fix SLE 11 SP3 build + +------------------------------------------------------------------- +Wed Dec 18 12:45:39 UTC 2013 - vdziewiecki@suse.com + +-Update to latest stable upstream, 4.4.14: + fixed HEAD/PROPFIND handling in http. + a minor memory leak fixed. + +------------------------------------------------------------------- +Fri Nov 29 14:43:33 UTC 2013 - vdziewiecki@suse.com + +-Update to latest stable upstream, 4.4.13: + fixed a bug in file size checking code. + new option -l (--ls) for find command. + improve workaround for single NL replies from an FTP server. + Ukrainian translation updated (Yuri Chornoivan). + fixed spinning in "get" when no remote session is open. + don't pre-fetch file information in "get" when not needed. + fixed handling of 400/501 http codes for PROPFIND to switch to HEAD. + fixed a crash after cls. + added file size decrease checking. + used a newer libtool for ppc64le platform. + +------------------------------------------------------------------- +Mon Nov 18 14:40:39 UTC 2013 - vdziewiecki@suse.com + +-Update to latest stable upstream, 4.4.11: + + fixed a slow down in mirror from http (thanks to OGAWA Hirofumi). + fixed a coredump in sftp when accessing an inexistent file. +4.4.10 had these changes: + + mirror new option --file/-f to mirror a single file. + mirror new option -O for get/put similarity. + WebDAV fixes and improvements. + new setting ftp:use-utf8 to disable utf-8 activation. + fixed handling of incorrect encoding of file names. + fixed compilation without libiconv. + fixed occasional hang in mirror. + kill ssh when terminating fish or sftp connection. + + +------------------------------------------------------------------- +Mon Oct 7 16:13:53 CEST 2013 - pth@suse.de + +- Update to latest stable 4.4.9: + * implemented support for mirror -L in sftp. + * pass all 3 std file descriptors when attaching to lftp instance. + * ftp: added a workaround for incorrectly formatted multiline replies. + * sftp: added a workaround for RouterOS v6. + * fixed mirror --no-empty-dirs to skip directories with no included files. + * fixed segfault when there is no TERM environment variable. + * fixed torrent for meta-info files with % in their names. + * fixed compilation when IPV6_V6ONLY is not defined. + * fixed compilation with older zlib. + * fixed FD_CLOEXEC flag on cwd and transfer_log. + * fixed MLSD parsing for semicolons in file names. + * new translation: Ukrainian (thanks to Yuri Chornoivan). + * man page updated. + + For the other changes since 4.4.0 see the file NEWS in the + package documentation. +- Change source url as the old one isn't valid anymore. +- Use the xz packed tarbal because of size. +- Adapted patches: + ftp-wrapper+edit+compat-modify.patch + lftp-stdio.h.patch +- Add lftp-config_h.patch that includes config.h where needed + to get the gnulib macros defined. + +------------------------------------------------------------------- +Tue Jul 9 07:42:44 UTC 2013 - schwab@suse.de + +- Override broken configure checks + +------------------------------------------------------------------- +Sun Mar 17 14:46:20 UTC 2013 - dimstar@opensuse.org + +- Fix lftp-ca-bundle-path.patch: the correct syntax is to "set" the + parameter (bnc#792456). + +------------------------------------------------------------------- +Sun Dec 2 12:57:05 UTC 2012 - dimstar@opensuse.org + +- Add lftp-ca-bundle-path.patch: use /etc/ssl/ca-bundle.pem as + root CA store. Instead of 'suggesting' users to get used to + certificate errors, it's better to give a working default that + allows normal certificate verification. Note: we do not set + ssl:ca-path, even though this would be nicer, but lftp v4.4.0 + seem not to support this (despite it being documented in man + pages). + +------------------------------------------------------------------- +Tue Oct 16 10:02:11 UTC 2012 - puzel@suse.com + +- update to 4.4.0 + * implemented bittorrent extensions (FAST, DHT, LTEP, + ut_metadata, ut_pex). + * allow torrent downloading by magnet links. + * new setting torrent:use-dht. + * new torrent option --dht-bootstrap for manual bootstrapping. + * add support for name.utf-8 and path.utf-8 in torrent metadata. + * now net:limit-rate and net:limit-total-rate settings can use suffixes, + e.g. `set net:limit-total-rate 1M:500k'. + * allow numeric user names. + * don't try to upload if ALLO fails. + * send PROT to ftp servers always when AUTH is activated. + * fixed gnutls non-fatal error checking. + * fixed execution of at-finish and at-queue-finish in certain cases. + * fixed termcap coredump. + * fixed opie on 64-bit machines. + * treat gnutls decryption error as non-fatal. + * fixed core dump in `bm:' pseudo-URL opening. + * fixed PROPFIND result parsing (WebDAV). + +------------------------------------------------------------------- +Fri Jul 27 08:54:53 UTC 2012 - aj@suse.de + +- Fix build with missing gets declaration (glibc 2.16) + +------------------------------------------------------------------- +Fri Jul 13 13:36:06 UTC 2012 - vcizek@suse.com + +- mark alternative ftp.1 as ghost (bnc#723691) + +------------------------------------------------------------------- +Wed May 30 21:53:08 UTC 2012 - pascal.bleser@opensuse.org + +- update to 4.3.7: + * fixed script execution + * cls fixed to show correct time always + * torrent fixed for large PIDs + * don't check hostname in openssl case with ssl:check-hostname off + +------------------------------------------------------------------- +Mon May 21 15:07:54 UTC 2012 - pascal.bleser@opensuse.org + +- libgnutls-devel instead of gnutls-devel in order to build properly + on the upcoming 12.2 and reflect the upstream naming change + +------------------------------------------------------------------- +Sun Apr 01 21:43:29 UTC 2012 - pascal.bleser@opensuse.org + +- update to 4.3.6: + * adds explicit retracker support (new setting torrent:retracker) + * adds support for HTTP status code 429 Too Many Requests + * improves FTP login error handling + * fixes errors reported by -Werror=format-security + * fixes HTTP error reporting + +------------------------------------------------------------------- +Wed Jan 25 23:19:14 UTC 2012 - pascal.bleser@opensuse.org + +- update to 4.3.5: + * fixed ascii mode uploads to sftp + * fixed "local" command without arguments + * fixed https + * fixed large memory consumption in ftp when target disk is full + +------------------------------------------------------------------- +Sun Jan 1 13:23:05 UTC 2012 - pascal.bleser@opensuse.org + +- update to 4.3.4: + * new settings cmd:at-exit-bg, cmd:at-finish, cmd:at-queue-finish + * added timestamps in readline history + * improved attach command to remove stale sockets + * fixed core dump when ftp server does not return valid PWD result + * fixed a special ftp cd case when real cwd equals to the new cwd + * fixed torrent status command line + * fixed torrent to open files with CLOEXEC flag + * fixed exit code of queue command + * fixed mirror to follow local symlinks with -L option + * fixed a crash with https + +------------------------------------------------------------------- +Fri Oct 21 11:31:52 UTC 2011 - pascal.bleser@opensuse.org + +- update to lftp-4.3.3: + - new setting ftp:use-tvfs (yes, no, auto) + - improved ftp path handling for servers without TVFS feature + - improved closure matching, now *.EXT matches URLs ending with ".EXT" + - updated man page + - updated translations + - fixed mirror target directory naming + +- merge with server:ftp/lftp: + - add vi command support + - fix build on SLE_11 and SLE_10 + - add .desktop file + +------------------------------------------------------------------- +Wed Oct 12 14:00:01 UTC 2011 - tabraham@novell.com + +- update to lftp-4.3.2 + - fixed fish protocol syncronization when ls fails on the server + - fixed torrent shutting down when the tracker fails + +------------------------------------------------------------------- +Thu Jun 30 07:09:01 UTC 2011 - puzel@novell.com + +- update to lftp-4.3.1 + - fixed a coredump in torrent on linux with a ppp interface. + - translation updated (ru). + +------------------------------------------------------------------- +Mon Jun 27 11:28:42 UTC 2011 - puzel@novell.com + +- update to lftp-4.3.0 + - new command `attach' to control a backgrounded lftp. + - automatically fill torrent:ipv6 setting. + - slightly improved torrent status display. + - fixed reconnect interval (it was sometimes uninitialized). + - several fixes for the case of cmd:parallel>1 (Fernando + Gutierrez). + +------------------------------------------------------------------- +Fri May 13 06:24:23 UTC 2011 - puzel@novell.com + +- update to lftp-4.2.3 + - don't write passwords to transfer_log + - new setting mirror:no-empty-dirs + - allow `jobs' output to be redirected + - don't list not connected torrent peers by default + - show torrent validation rate and ETA + - fixed `cd -' + - fixed pget for URLs with special symbols + - translations updated (cs, ru) + - new setting ftp:use-ip-tos + - optimized torrent validation + - fixed fallocate call + - got rid of sprintf calls +- drop lftp-missing-sentinel.patch (in upstream) + +------------------------------------------------------------------- +Tue Mar 22 10:31:35 UTC 2011 - puzel@novell.com + +- update to lftp-4.2.0 + * changed ssl:verify-certificate default to yes. + * check certificate common name in openssl case (code from curl). + * disable weak algorithms in openssl (Ludwig Nussel + ). + * new setting xfer:log-file (Timur Sufiev). + * support for netkey pasword in ftp (). + * added torrent ipv6 support (new setting torrent:ipv6) + * don't accept new connections when no torrent can accept them. + * allow to specify job numbers in `jobs' command. + * fixed a segfault in pget when an error happens on second chunk. + Version 4.1.3 + * fixed a coredump in torrent (introduced in 4.1.2). + Version 4.1.2 + * new command ln [-s], supported by FTP (SITE [SYM]LINK), FISH, + SFTP, and locally via file: schema. + * create remote symlinks in mirror -R if supported by server. + * detect and remove duplicate peers in torrent. +- run spec-cleaner +- refresh patches + +------------------------------------------------------------------- +Sun Nov 28 15:41:33 UTC 2010 - puzel@novell.com + +- udpate to 4.1.1 + * fixed job command line display. + * fixed some warnings and compilation with old gcc compilers + (Openwall). + +------------------------------------------------------------------- +Tue Nov 23 10:41:12 UTC 2010 - puzel@novell.com + +- udpate to 4.1.0 + * send path components to ftp server separately, unless TVFS is + in FEAT reply + * save pget status at the very beginning of pget execution + * allow mirror pget continuation (mirror -c --use-pget) + * allow multiple torrent startup at once (e.g. torrent + *.torrent) + * pre-allocate disk space in torrent, if posix_fallocate(3) is + supported + * new command prefix `local'. It makes the following command use + local session instead of remote + * added torrent multi-tracker support + * fixed convert-mozilla-cookies cookie duplication + +------------------------------------------------------------------- +Fri Sep 17 15:36:08 UTC 2010 - puzel@novell.com + +- update to 4.0.10 + * use cached file set, don't parse file listing again + * updated convert-netscape-cookies + * fixed a problem with zeroed errno in http + * fixed coredump on mirror --log=file when the file cannot be + opened + * translations updated (de, ru) + +------------------------------------------------------------------- +Wed Jul 21 14:44:58 UTC 2010 - puzel@novell.com + +- update to 4.0.9 + * torrent: don't try to re-download invalid piece from the same + peer + * added a short lftp.conf(5) man page (Jiri Skala) + * fixed a problem with zeroed errno (Gabriele Balducci) + * fixed status of mget from file: schema + * fixed a compilation problem on AIX (Claus K. Larsen) + +------------------------------------------------------------------- +Thu May 27 17:39:34 CEST 2010 - mkudlvasr@suse.cz + +- update to 4.0.8 + highlights from changelist: + * new settings: xfer:auto-rename (off by default), + ftp:ssl-copy-sid (for some broken servers), + cmd:stifle-rl-history (to limit command history size), + ftp:prefer-epsv, ftp:trust-feat (default no), + cmd:move-background-detach, ftp:proxy-auth-type + * added torrent client + * many bugs fixed + +------------------------------------------------------------------- +Fri Feb 19 15:34:37 UTC 2010 - puzel@novell.com + +- lftp-use-pkg-config.patch, add pkg-config to BuildRequires + - fixes build +- cleanup specfile + +------------------------------------------------------------------- +Tue Nov 3 19:09:25 UTC 2009 - coolo@novell.com + +- updated patches to apply with fuzz=0 + +------------------------------------------------------------------- +Mon Mar 23 15:58:51 CET 2009 - crrodriguez@suse.de + +- fix build, missing sentinel + +------------------------------------------------------------------- +Tue Feb 26 01:42:25 CET 2008 - crrodriguez@suse.de + +- fix file-not-in-lang errors +- fix library-without-ldconfig* errors + +------------------------------------------------------------------- +Wed Feb 13 15:49:12 CET 2008 - mkudlvasr@suse.cz + +- update to 3.6.3 + highlights from changelist: + * french and polish translations updated. + * major code cleanup (using templates for reusable code - like lists) + * new mirror options --on-change, --depth-first, --no-empty-dirs, --ascii, + --only-existing + * lots of bugs fixed +- fixed compatibility mode to work with the code after cleanup + +------------------------------------------------------------------- +Mon Jul 16 19:42:31 CEST 2007 - mkudlvasr@suse.cz + +- update to 3.5.11 + highlights from changelist: + * fixed mirror for MDTM-less ftp servers. + * fixed compilation with Sun native compiler + +------------------------------------------------------------------- +Thu Apr 5 21:26:54 CEST 2007 - mkudlvasr@suse.cz + +- update to 3.5.10 + highlights from changelist: + * fixed 'sleep' command + * fixed 'mirror --script' + +------------------------------------------------------------------- +Mon Mar 19 18:33:39 CET 2007 - mkudlvasr@suse.cz + +- removed RPM_BUILD_ROOT from post-install script + +------------------------------------------------------------------- +Tue Oct 17 10:51:22 CEST 2006 - postadal@suse.cz + +- updated to version 3.5.6 + * new settings cmd:parallel and cmd:queue-parallel to set number of jobs + executed in parallel in non-interactive mode and in a queue. + * new mirror option --skip-noaccess and setting mirror:skip-noaccess. + * fixed a coredump when lftp was compiled with a non-gcc compiler. + * fixed compilation when stdbool.h is missing. + * fixed a failed assertion. + * fixed coredump when doing `ls ..' on a http site. + * fixed memory and file descriptor leak in mget/mput. + +------------------------------------------------------------------- +Mon Aug 14 18:14:12 CEST 2006 - anosek@suse.cz + +- updated to version 3.5.4 + * new setting mirror:include-regex. + * load ssl keys for protected data connection as well; use new option + ftp:ssl-data-use-keys to disable it. + * fixed human-readable options of du and cls. + * fixed compilation on certain systems. + * fixed a core dump in ftps with gnu tls. + * fixed random queue duplication. + * fixed compilation with modules and socks. + * fixed installation with modules. + * added configure --enable-packager-mode option + * new setting mirror:include-regex. + * load ssl keys for protected data connection as well; use new option + ftp:ssl-data-use-keys to disable it. + * fixed human-readable options of du and cls. + * fixed compilation on certain systems. + +------------------------------------------------------------------- +Tue Aug 1 12:02:26 CEST 2006 - postadal@suse.cz + +- updated to version 3.5.2 + * fixed lftp exit code when cmd:at-exit is set + * new exit options: top, kill + * new setting dns:max-retries + * new settings fish:charset and sftp:charset (for sftp version<4) + * implemented pget -c (continue) with a status file + * new options of `repeat' command: --count (-c), --delay (-d), + --while-ok, --until-ok + * added support for ALLO command and ftp:use-allo setting + * changed default for http:use-propfind to no + +------------------------------------------------------------------- +Fri Apr 14 23:29:35 CEST 2006 - pnemec@suse.cz + +- decreased priority of alternative system [#162595] +- another fix for lftp wrapper [#164726] + +------------------------------------------------------------------- +Fri Apr 7 16:21:58 CEST 2006 - pnemec@suse.cz + +- fixed lftp_wrapper [#162595] + +------------------------------------------------------------------- +Mon Mar 20 18:05:33 CET 2006 - postadal@suse.cz + +- packaged %ghost /usr/bin/ftp [#159341] + +------------------------------------------------------------------- +Mon Mar 13 12:15:11 CET 2006 - postadal@suse.cz + +- removed lukemftp from Obsoletes [#156450] + +------------------------------------------------------------------- +Sat Mar 11 18:27:48 CET 2006 - postadal@suse.cz + +- added ftp and ftp.1 to alternative system, so they can be + interchanged with lukemftp [#156450] + +------------------------------------------------------------------- +Thu Mar 9 16:03:01 CET 2006 - postadal@suse.cz + +- fixed update problem (removed lukemftp from Conflicts) [#156450] + +------------------------------------------------------------------- +Fri Mar 3 16:44:35 CET 2006 - pnemec@suse.cz + +- fixed lukemftp update problem 154349 + +------------------------------------------------------------------- +Fri Jan 27 08:05:51 CET 2006 - pnemec@suse.cz + +- fixed lftp_wrapper.c [#145143] + +------------------------------------------------------------------- +Wed Jan 25 21:37:20 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Jan 19 15:03:29 CET 2006 - pnemec@suse.cz + +- fixed some parts in lftp_wrapper.c + +------------------------------------------------------------------- +Tue Jan 17 01:54:02 CET 2006 - postadal@suse.cz + +- made ftp wrapper and compat-mode module for backward compatibility + with lukemftp [#52021] (compat-mode.patch, wrapper.patch) +- added -fstack-protector + +------------------------------------------------------------------- +Sun Jan 15 17:38:05 CET 2006 - schwab@suse.de + +- Don't strip binaries. + +------------------------------------------------------------------- +Fri Jan 6 14:40:31 CET 2006 - postadal@suse.cz + +- updated to version 3.4.0 + +------------------------------------------------------------------- +Wed Nov 23 17:30:00 CET 2005 - postadal@suse.cz + +- updated to version 3.3.4 +- parallelize build + +------------------------------------------------------------------- +Thu Jul 28 19:45:18 CEST 2005 - postadal@suse.cz + +- updated to version 3.2.1 +- disabled stripping in makefiles to enabling build helpful debuginfo package +- removed obsoleted gcc-sentinel-fix patch + +------------------------------------------------------------------- +Wed Jan 19 18:43:28 CET 2005 - postadal@suse.cz + +- updated to version 3.0.13 +- fixed gcc warnings (gcc-sentinel-fix.diff) + +------------------------------------------------------------------- +Tue Aug 17 11:11:12 CEST 2004 - postadal@suse.cz + +- removed /usr/bin/ftp link to avoid conflict with other ftp clients [#43765] + +------------------------------------------------------------------- +Thu Aug 05 16:45:41 CEST 2004 - postadal@suse.cz + +- updated to version 3.0.6 + +------------------------------------------------------------------- +Fri Feb 13 11:36:24 CET 2004 - postadal@suse.cz + +- updated to version 2.6.12 +- removed obsoleted patches: http-empty-line-fix, http-overflow-fix + +------------------------------------------------------------------- +Tue Feb 10 11:58:33 CET 2004 - schwab@suse.de + +- Add readline-devel to neededforbuild. + +------------------------------------------------------------------- +Tue Dec 16 14:25:24 CET 2003 - postadal@suse.cz + +- fixed handling first empty line (server's response doesn't parse it correctly) + +------------------------------------------------------------------- +Mon Dec 08 16:23:28 CET 2003 - postadal@suse.cz + +- fixed remote exploitable buffer overflow while using HTTP/HTTPS [#33528] + +------------------------------------------------------------------- +Thu Nov 6 11:46:49 CET 2003 - schwab@suse.de + +- Fix quoting in configure script. + +------------------------------------------------------------------- +Thu Sep 18 12:48:24 CEST 2003 - postadal@suse.cz + +- fixed to use stdarg [#30819] + +------------------------------------------------------------------- +Wed Aug 20 11:10:48 CEST 2003 - postadal@suse.cz + +- removed forgotten __os_install_post + +------------------------------------------------------------------- +Thu Jul 24 21:53:16 CEST 2003 - postadal@suse.cz + +- updated to version 2.6.6 + +------------------------------------------------------------------- +Mon Jun 2 15:44:19 CEST 2003 - poeml@suse.de + +- run automake + +------------------------------------------------------------------- +Wed May 14 12:02:25 CEST 2003 - mmj@suse.de + +- Update to 2.6.5 including: + * new mirror options --log= and --script= to produce + lftp commands equivalent to the actions done (log) or to be + done (script) by mirror. `-' as file name means stdout. + * fixed a dead-lock when resuming FXP with passive source. + * re-get file size and date after HTTP redirect. + * added workarounds for proftpd. + * handle EPIPE (Broken pipe) error as temporary network error. + * fixed a dead-lock in HTTP retrieval after redirect. + * added cls option --sort=date (Oskar Liljeblad). + * fixed compilation on OpenBSD and older Solaris. + * fixed handling of symbolic links in find. + * lftp -f and -c options can now be combined + * fixed slot handling in non-interactive mode. + * fixed large file support in cat command. + * fixed dante socks compilation. + * fixed data connection abort with ssl connection to wu-ftpd. + +- Remove files we don't want to package + +------------------------------------------------------------------- +Fri Jan 10 17:41:51 CET 2003 - postadal@suse.cz + +- updated to version 2.6.4 + * new settings net:socket-bind-ipv4 and net:socket-bind-ipv6 to bind sockets + to a specific address (to select a specific network interface) + * reget does not start transfer if not needed + * ssl:verify-certificate set to no by default + * fixed ~ handling in find and mirror + +------------------------------------------------------------------- +Fri Dec 06 12:10:17 CET 2002 - postadal@suse.cz + +- new package: lftp 2.6.3 diff --git a/lftp.keyring b/lftp.keyring new file mode 100644 index 0000000..8827678 --- /dev/null +++ b/lftp.keyring @@ -0,0 +1,154 @@ +-----BEGIN PGP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kXOkYeTBqkWraIRgQYEQIABgUCPCGx +UAAKCRCoJLtp8qmaGPDzAJ41Qy/jMUPW05Z0cGYuMKtCu1ZElQCeN5yZTl8fFQSK +99b+zNFoOpD92uo= +=EADp +-----END PGP PUBLIC KEY BLOCK----- diff --git a/lftp.spec b/lftp.spec new file mode 100644 index 0000000..65c9758 --- /dev/null +++ b/lftp.spec @@ -0,0 +1,142 @@ +# +# spec file for package lftp +# +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2012 Pascal Bleser +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: lftp +Version: 4.9.2 +Release: 0 +Summary: Command Line File Transfer Program +License: GPL-3.0-or-later +Group: Productivity/Networking/Ftp/Clients +URL: http://lftp.yar.ru/ +Source: http://lftp.yar.ru/ftp/%{name}-%{version}.tar.xz +Source2: http://lav.yar.ru/lav@yars.free.net-gpg-public-key#/%name.keyring +Source3: http://lftp.yar.ru/ftp/%{name}-%{version}.tar.xz.asc +# PATCH-FEATURE-OPENSUSE lftp-ssl-cipher.patch pgajdos@suse.cz -- use stronger cipher [bnc#857148] +Patch0: lftp-default-ssl-cipher.patch +# PATCH-FEATURE-OPENSUSE patch1-patch6 psimons@suse.com -- maintained at https://github.com/opensuse/lftp [bsc#1083331] +Patch1: 0001-Add-content-of-the-SUSE-lftp-vi-1.1-archive.patch +Patch2: 0002-Add-content-of-lftp-compat-addfiles.patch.patch +Patch3: 0003-Add-content-of-lftp-completion.patch.patch +Patch5: 0005-Add-the-wrapper-code-to-the-Makefile-in-order-to-bui.patch +# https://github.com/lavv17/lftp/issues/716 +Patch6: 0001-lftp_ssl-deinitialize-the-lftp_ssl_openssl_instance.patch +Patch7: lftp-gcc14.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: gettext-tools +BuildRequires: libstdc++-devel +BuildRequires: libtool +BuildRequires: make +BuildRequires: ncurses-devel +BuildRequires: openssl-devel +BuildRequires: pkgconfig +BuildRequires: readline-devel +BuildRequires: update-alternatives +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(libidn2) +BuildRequires: pkgconfig(zlib) +Requires: less +Requires(post): update-alternatives +Requires(postun):update-alternatives +Conflicts: ftp + +%description +LFTP is a reliable shell-like command line FTP client. It can retry +operations and does reget automatically. It can do several transfers +simultaneously in the background. With LFTP, you can start a transfer +in the background and continue browsing that FTP site or another one. +This is all done in one process. Background jobs are completed in nohup +mode if you exit or close the modem connection. LFTP has reput, mirror, +and reverse mirror among its features. Since version 2.0, it also +supports the HTTP protocol. Other features include IPV6 support, +context sensitive completion, output redirection to files or to pipe, +FTP and HTTP proxy support, transfer rate throttling for each +connection and for all connections in sum, job queueing, job execution +at specified times, opie and skey support in the FTP protocol, SSL for +HTTP and FTP, and FXP transfers. + +%prep +%autosetup -p1 + +%build +# It's necessary to update the Autotools build system, because of patches 2-6 +# that we apply above. +gettextize --force --copy --no-changelog +autoreconf --install --force +%configure \ + --disable-silent-rules \ + --without-included-regex \ + --disable-static \ + --with-modules \ + --without-gnutls \ + --with-openssl \ + --with-debug \ + --without-profiling \ + --enable-largefile \ + --with-pager=%{_bindir}/less \ + --with-libidn2 \ + --with-expat \ + --disable-rpath +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +%suse_update_desktop_file %{name} -G "FTP client" Network FileTransfer +%find_lang %{name} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files -f "lftp.lang" +%license COPYING +%doc BUGS ChangeLog FAQ FEATURES README* NEWS THANKS TODO +%config %{_sysconfdir}/lftp.conf +%{_bindir}/lftp +%{_bindir}/lftpget +%{_datadir}/lftp +%dir %{_libdir}/lftp +%dir %{_libdir}/lftp/%{version} +%{_libdir}/lftp/%{version}/compat-mode.so +%{_libdir}/lftp/%{version}/cmd-mirror.so +%{_libdir}/lftp/%{version}/cmd-sleep.so +%{_libdir}/lftp/%{version}/cmd-torrent.so +%{_libdir}/lftp/%{version}/cmd-edit.so +%{_libdir}/lftp/%{version}/liblftp-network.so +%{_libdir}/lftp/%{version}/liblftp-pty.so +%{_libdir}/lftp/%{version}/proto-file.so +%{_libdir}/lftp/%{version}/proto-fish.so +%{_libdir}/lftp/%{version}/proto-ftp.so +%{_libdir}/lftp/%{version}/proto-http.so +%{_libdir}/lftp/%{version}/proto-sftp.so +%{_libdir}/liblftp-*.so +%{_libdir}/liblftp-*.so.* +%{_mandir}/man1/lftp.1%{ext_man} +%{_mandir}/man1/lftpget.1%{ext_man} +%{_mandir}/man5/lftp.conf.5%{ext_man} +%{_datadir}/applications/lftp.desktop +%dir %{_datadir}/icons/hicolor +%dir %{_datadir}/icons/hicolor/48x48 +%dir %{_datadir}/icons/hicolor/48x48/apps +%{_datadir}/icons/hicolor/48x48/apps/lftp-icon.png + +%changelog