Update lftp 4.8.4

Changelog:

fixed a security vulnerability with "file:" file names.
fixed mirror --flat.
http: extract links from <source> 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).

Port changes:

Enable tests
Remove unreachable host
This commit is contained in:
rsadowski 2018-08-13 14:36:41 +00:00
parent b796ddd488
commit 4d61a15b8d
5 changed files with 11 additions and 14 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.121 2017/10/16 22:01:13 rsadowski Exp $
# $OpenBSD: Makefile,v 1.122 2018/08/13 14:36:41 rsadowski Exp $
COMMENT= shell-like command line ftp and sftp client
DISTNAME= lftp-4.8.3
DISTNAME= lftp-4.8.4
CATEGORIES= net
HOMEPAGE= https://lftp.tech/
@ -20,8 +20,7 @@ LIB_DEPENDS= devel/libidn2 \
devel/gettext \
devel/readline>=6.1p2
MASTER_SITES= http://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/ \
http://lftp.yar.ru/ftp/ \
MASTER_SITES= http://lftp.yar.ru/ftp/ \
ftp://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/
LIBTOOL_FLAGS= --tag=disable-shared
@ -33,8 +32,6 @@ CONFIGURE_ARGS= --with-openssl \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ereadline -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
NO_TEST= Yes
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/lftp
post-install:

View File

@ -1,2 +1,2 @@
SHA256 (lftp-4.8.3.tar.gz) = z7u9Bnwl/51imCigEMxwAhSFmwLjOyQF3+ftBF0IDw8=
SIZE (lftp-4.8.3.tar.gz) = 2831712
SHA256 (lftp-4.8.4.tar.gz) = GfOkI2VY+9uI7sAbydaTxRsSLSNIe2vtrUzGeuaCX8I=
SIZE (lftp-4.8.4.tar.gz) = 2899780

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-configure,v 1.20 2017/10/16 22:01:13 rsadowski Exp $
$OpenBSD: patch-configure,v 1.21 2018/08/13 14:36:41 rsadowski Exp $
Use GNU readline as our base readline lacks add_history_time().
Index: configure
--- configure.orig
+++ configure
@@ -50434,7 +50434,7 @@ fi
@@ -52920,7 +52920,7 @@ fi
readline_include_dir="$readline_include_dir/readline"
fi
readline_ld_flags="-L$readline_prefix/lib"

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-doc_lftp_1,v 1.2 2017/10/16 22:01:13 rsadowski Exp $
$OpenBSD: patch-doc_lftp_1,v 1.3 2018/08/13 14:36:41 rsadowski Exp $
Index: doc/lftp.1
--- doc/lftp.1.orig
+++ doc/lftp.1
@@ -783,7 +783,8 @@ FXP is automatically used for transfers between FTP se
@@ -788,7 +788,8 @@ FXP is automatically used for transfers between FTP se
Some FTP servers hide dot-files by default (e.g. \fI.htaccess\fP), and show
them only when LIST command is used with \-a option. In such case try to use
`set ftp:list-options \-a'.

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-src_Makefile_in,v 1.16 2017/10/16 22:01:13 rsadowski Exp $
$OpenBSD: patch-src_Makefile_in,v 1.17 2018/08/13 14:36:41 rsadowski Exp $
Index: src/Makefile.in
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -245,7 +245,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(p
@@ -250,7 +250,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(p
"$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \
"$(DESTDIR)$(pkgdatadir)"
LTLIBRARIES = $(lib_LTLIBRARIES) $(pkgverlib_LTLIBRARIES)