Skip to contentSkip to conversation

package/lftp: bump version to 4.9.3

PATCH In review Bernd Kuhls 2 participants 2 messages Apr 19

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/lftp: bump version to 4.9.3

https://github.com/lavv17/lftp/releases/tag/v4.9.3

Removed patches which are included in this release.

Added patch for gnulib to fix linking error which would be introduced by this bump.

---
v2: Added patch for gnulib to fix linking error

 .checkpackageignore                           |  2 -
 ...-LibreSSL-following-commit-537f37898.patch | 46 ---------------
 package/lftp/0001-gnulib.patch                | 59 +++++++++++++++++++
 ..._ssl.c-fix-build-with-libressl-2.7.0.patch | 36 -----------
 package/lftp/lftp.hash                        |  6 +-
 package/lftp/lftp.mk                          |  2 +-
 6 files changed, 63 insertions(+), 88 deletions(-)
 delete mode 100644 package/lftp/0001-Fix-build-with-LibreSSL-following-commit-537f37898.patch
 create mode 100644 package/lftp/0001-gnulib.patch
 delete mode 100644 package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch
.checkpackageignore +0 -2
index 26c13d5387..3e06e60fa2 100644
@@ -474,8 +474,6 @@ package/leafnode2/0001-cross_makefile.patch lib_patch.Upstream
 package/leveldb/0001-Fix-compilation-with-g-4.8.2.patch lib_patch.Upstream
 package/leveldb/0002-CMake-install-libmemenv.a.patch lib_patch.Upstream
 package/leveldb/0003-CMakeLists.txt-check-for-atomic-library.patch lib_patch.Upstream
-package/lftp/0001-Fix-build-with-LibreSSL-following-commit-537f37898.patch lib_patch.Upstream
-package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch lib_patch.Upstream
 package/libabseil-cpp/0001-force-position-independent-code.patch lib_patch.Upstream
 package/libargon2/0001-libargon2-dont-fail-on-existing-symlink.patch lib_patch.Upstream
 package/libart/0001-art-config-cross.patch lib_patch.Sob lib_patch.Upstream
package/lftp/0001-Fix-build-with-LibreSSL-following-commit-537f37898.patch deleted +0 -46

46 lines not on this page · raw message

package/lftp/0001-gnulib.patch new file +59 -0

59 lines not on this page · raw message

package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch deleted +0 -36
deleted file mode 100644
index 4251a5e176..0000000000
@@ -1,36 +0,0 @@
-From 3ffa0132987bdde986c82c924bc51b13b37f8b54 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Wed, 6 Apr 2022 22:56:21 +0200
-Subject: [PATCH] src/lftp_ssl.c: fix build with libressl >= 2.7.0
-
-X509_OBJECT_get0_X509_CRL is provided by libressl since version 2.7.0
-and
-https://github.com/libressl-portable/openbsd/commit/9866ae34c0af718973475296bd9ef036d3aaa94e
-resulting in the following build failure:
-
-/nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL':
-(.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here
-
-Fixes:
- - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Retrieved from:
-https://github.com/lavv17/lftp/commit/3ffa0132987bdde986c82c924bc51b13b37f8b54]
----
- src/lftp_ssl.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc
-index 26e91e4b..a814543d 100644
---- a/src/lftp_ssl.cc
-+++ b/src/lftp_ssl.cc
-@@ -664,7 +664,7 @@ int gnutls_x509_crt_list_import(gnutls_x509_crt_t *certs, unsigned int* cert_max
- #elif USE_OPENSSL
- //static int lftp_ssl_passwd_callback(char *buf,int size,int rwflag,void *userdata);
- 
--#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L)
- // for compatibility with older versions
- X509_OBJECT *X509_OBJECT_new()
- {
package/lftp/lftp.hash +3 -3
index e4c3305c03..8a548fba0a 100644
@@ -1,7 +1,7 @@
-# From http://lftp.yar.ru/ftp/lftp-4.9.2.md5sum
-md5  b3a272ecb7a2b60e3827776f90ffb2f3  lftp-4.9.2.tar.xz
+# From http://lftp.yar.ru/ftp/lftp-4.9.3.md5sum
+md5  f2e4ffa81b68106a14d354d50635bbf4  lftp-4.9.3.tar.xz
 # Locally calculated after checking gpg signature
-sha256  c517c4f4f9c39bd415d7313088a2b1e313b2d386867fe40b7692b83a20f0670d  lftp-4.9.2.tar.xz
+sha256  96e7199d7935be33cf6b1161e955b2aab40ab77ecdf2a19cea4fc1193f457edc  lftp-4.9.3.tar.xz
 
 # Hash for license file:
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  COPYING
package/lftp/lftp.mk +1 -1
index 483ca298cd..50b3f9809f 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LFTP_VERSION = 4.9.2
+LFTP_VERSION = 4.9.3
 LFTP_SOURCE = lftp-$(LFTP_VERSION).tar.xz
 LFTP_SITE = http://lftp.yar.ru/ftp
 LFTP_LICENSE = GPL-3.0+
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot