21 Commits

Author SHA1 Message Date
Hemanth Kumar M D e2584b80b7 lftp: add zsh completion subpackage
4.9.3 installs zsh completion via 'make install'. Package it as
${PN}-zsh-completion consistent with other recipes in meta-oe.

Link: https://github.com/lavv17/lftp/commit/7f5c127878fa76a916b9ea80419d65e7df549d3e

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-26 19:59:33 -07:00
Khem Raj 56c550a48e lftp: fix build with clang, lld and GCC 16 libstdc++
lftp 4.9.3 bundles gnulib sources that fail to build with the OpenEmbedded
clang + lld toolchain. Carry a single patch with the gnulib compatibility
fixes:

1. Single-argument static_assert (lib/dirent.in.h, lib/uchar.in.h) is a
   C++17 feature; clang in its default C++14 mode rejects it with
   "static_assert with no message is a C++17 extension". Add a message.
   Reported upstream: https://github.com/lavv17/lftp/issues/766

2. lib/stdlib.in.h pre-includes <string> to pre-instantiate std::strtoull
   before the "#define strtoull rpl_strtoull" macro fires, but guarded the
   workaround with "&& !defined __clang__" so it never triggered under
   clang + libstdc++, rewriting std::strtoull to the non-existent
   std::rpl_strtoull. Extend the guard to cover clang.

3. After gnulib split md5.c/sha1.c into primary + -stream.c files, both
   define GL_OPENSSL_INLINE to _GL_EXTERN_INLINE before including the
   header, so with the OpenSSL md5/sha1 backends both translation units
   emit out-of-line wrapper copies and lld fails with duplicate symbol
   errors. Drop the override from the -stream.c files.

Consolidates the three previously separate patches into one; verified by
building lftp for qemux86-64 with clang + lld (the duplicate-symbol link
failure reproduces without the patch and is resolved with it).

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-26 19:59:33 -07:00
Khem Raj ad432033b1 lftp: upgrade 4.9.2 -> 4.9.3
Signed-off-by: Filipe Pires <filipe.pires@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-26 19:59:21 -07:00
Ross Burton aa8db6600c lftp: remove obsolete acpaths
As of "autotools: don't try and find in-tree macros" in core, acpaths is
no longer used.

Also remove an obsolete FILES:PN-dbg as the debug package is packaged
automatically.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Khem Raj 7d8a0e840d recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Zang Ruochen 903a808600 lftp: upgrade 4.9.1 -> 4.9.2
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-21 10:16:29 -07:00
Trevor Gamblin 0f800834d2 lftp: upgrade 4.9.0 -> 4.9.1
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-04 18:45:47 -08:00
Wang Mingyu 263bbaf3ba lftp: upgrade 4.8.4 -> 4.9.0
fix-gcc-6-conflicts-signbit.patch
Removed since they are included in 4.9.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-06 19:22:26 -08:00
Randy MacLeod f83a6cfe66 lftp: update from 4.8.3 to 4.8.4
Drop upstreamed CVE fix:
   a27e07d9 mirror: prepend ./ to rm and chmod arguments to avoid URL recognition (fix #452)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05 13:59:16 -07:00
Jagadeesh Krishnanjanappa 29158f7bde lftp: CVE-2018-10916
Affects lftp <= 4.8.3

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24 08:58:13 -07:00
Khem Raj 491806ba72 lftp: Fix useless-rpaths QA issue
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:32:26 -07:00
Khem Raj 00794e3f93 lftp: Upgrade to 4.8.3
Drop libidn packageconfig, this is no more an option in configure.ac
Package the icon files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:32:26 -07:00
Khem Raj cb3561aa22 lftp: Upgrade to 4.7.7
Delete charset.alias if generated

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-03-24 14:10:18 -04:00
Oleksandr Kravchuk a2e075ba65 lftp: update to 4.7.5 and change SRC_URI source
Updated lftp to version 4.7.5 and changed SRC_URI source to official
web-site, which keeps tarballs with old releases.

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-02-22 08:31:58 -05:00
Robert Yang 0fc2bd373a lftp: do_configure: fix "Argument list too long"
Fixed when len(TMPDIR) =  410:
aclocal: error: cannot open echo [snip]: Argument list too long

This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-12-14 09:20:11 -05:00
Robert Yang 06d15756bd lftp: fix PACKAGECONFIG[readline]
The --with-readline means check readline automatically, and will cause build
failures when there is /usr/include/readline:

ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.

Use --with-readline=${STAGING_INCDIR}/.. to fix the problem. And also add
--with-readline=no when PACKAGECONFIG is not set for readline.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-11-14 10:07:27 -05:00
Mingli Yu 908a27cab8 lftp: 4.6.3a -> 4.7.3
* Upgrade lftp from 4.6.3a to 4.7.3
* Add readline and expat to PACKAGECONFIG and update
  zlib to add detailed prefix as better configure checks
  is included in 4.7.3 as below commit from lftp repo
  https://github.com/lavv17/lftp.git

  commit c2ef3838421ca954c378d109c0328fdeea3fc89e
  Author: Alexander V. Lukyanov <lavv17f@gmail.com>
  Date:   Mon Dec 14 11:34:38 2015 +0300

     use better configure checks for expat, zlib, readline

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-09-05 13:34:11 -04:00
Derek Straka 6b2fc930c4 lftp: fix issues with multiple signbit definitions and remove from the blacklist
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-07-07 09:51:27 -04:00
Martin Jansa f0756d1ee3 crda, lftp, curlpp: blacklist, fails to build with gcc-6
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-06-15 19:52:21 -04:00
Jagadeesh Krishnanjanappa 7e1de2f5c3 lftp: add new recipe
LFTP is a sophisticated file transfer program with command line interface.
It supports FTP, HTTP, FISH, SFTP, HTTPS and FTPS protocols.
Every operation in lftp is reliable, that is any non-fatal error is handled and
the operation is retried automatically. So if downloading breaks, it will be
restarted from the point automatically.

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-09-11 10:39:09 -04:00