Skip to contentSkip to conversation

lftp: bump version to 4.7.2

PATCH New Vicente Olivert Riera 2 participants 2 messages May 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lftp: bump version to 4.7.2

Help lftp to find readline and zlib so it will not fail this way:

checking for Readline... no
configure: error: cannot find readline library, install readline-devel package

checking if zlib is wanted... yes
checking for inflateEnd in -lz... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
configure: error: cannot find -lz library, install zlib-devel package

---
 package/lftp/lftp.hash |  2 +-
 package/lftp/lftp.mk   | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)
package/lftp/lftp.hash +1 -1
index 4c5d799..3185fc5 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256  1e7cb674c83ace48172263f86847ed04bb6ab2f24116b11a8505f70a15e8805c  lftp-4.6.4.tar.xz
+sha256 475d7699b1390f951efee867ba1ad600f78329e13fd2a04d92f82bfffb70d872  lftp-4.7.2.tar.xz
package/lftp/lftp.mk +9 -1
index 5051f70..80479ee 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LFTP_VERSION = 4.6.4
+LFTP_VERSION = 4.7.2
 LFTP_SOURCE = lftp-$(LFTP_VERSION).tar.xz
 LFTP_SITE = http://lftp.yar.ru/ftp
 LFTP_LICENSE = GPLv3+
@@ -13,6 +13,14 @@ LFTP_LICENSE_FILES = COPYING
 LFTP_AUTORECONF = YES
 LFTP_DEPENDENCIES = readline zlib host-pkgconf
 
+# Help lftp finding readline
+LFTP_CONF_OPTS += --with-readline=$(STAGING_DIR)/usr
+LFTP_CONF_OPTS += --with-readline-inc=$(STAGING_DIR)/usr/include/readline
+LFTP_CONF_OPTS += --with-readline-lib=$(STAGING_DIR)/usr/lib
+
+# Help lftp finding zlib
+LFTP_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr
+
 ifneq ($(BR2_STATIC_LIBS),y)
 LFTP_CONF_OPTS += --with-modules
 endif
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 lftp: bump version to 4.7.2

Hello,

package/lftp/lftp.mk LFTP_LICENSE_FILES = COPYING · line 22

Quoted 7 lines · Vicente Olivert Riera
package/lftp/lftp.mk +7 -0
+# Help lftp finding readline
+LFTP_CONF_OPTS += --with-readline=$(STAGING_DIR)/usr
+LFTP_CONF_OPTS += --with-readline-inc=$(STAGING_DIR)/usr/include/readline
+LFTP_CONF_OPTS += --with-readline-lib=$(STAGING_DIR)/usr/lib
+
+# Help lftp finding zlib
+LFTP_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr

We typically prefer one single LFTP_CONF_OPTS assignment in such situations, so I've fixed that up and applied to next. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com