Hi @ports,

here is an update to the last stable lftp version.

lftp changelog:

Version 4.7.2 - 2016-05-18

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).

Version 4.7.1 - 2016-04-04

http: fixed authentication for proxy, transient errors, max-retries=1.
http: fixed put with authentication not to use HEAD request.
translations updated (cs, ru).

Version 4.7.0 - 2016-03-28

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.

port changelog:

- remove gettext as MODULE
-- pick up by LIB_DEPENDS from devel/libidn
- new patch to get correct (e)readline includes.
- http -> https

Tested @amd64. Okay? Comments?

Best regards,

Rafael


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/lftp/Makefile,v
retrieving revision 1.108
diff -u -p -u -p -r1.108 Makefile
--- Makefile    11 Dec 2015 18:27:18 -0000      1.108
+++ Makefile    23 May 2016 16:08:00 -0000
@@ -2,17 +2,18 @@
 
 COMMENT=       shell-like command line ftp and sftp client
 
-DISTNAME=      lftp-4.6.5
+DISTNAME=      lftp-4.7.2
 CATEGORIES=    net
 
-HOMEPAGE=      http://lftp.yar.ru/
+HOMEPAGE=      https://lftp.yar.ru/
 
 MAINTAINER=    Rafael Sadowski <[email protected]>
 
 # GPLv3+
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB=       c crypto curses expat idn m ereadline ssl stdc++ util z
+WANTLIB += c crypto curses ereadline expat iconv idn intl m ssl
+WANTLIB += stdc++ util z
 
 USE_GROFF=     Yes
 
@@ -20,17 +21,16 @@ USE_GROFF=  Yes
 LIB_DEPENDS=   devel/libidn \
                devel/readline>=6.1p2 \
 
-MASTER_SITES=  http://lftp.yar.ru/ftp/
+MASTER_SITES=  https://lftp.yar.ru/ftp/
 
 LIBTOOL_FLAGS= --tag=disable-shared
 CONFIGURE_STYLE= gnu
 CONFIGURE_ARGS=        --with-openssl \
                --without-gnutls \
                --disable-shared
+
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ereadline 
-I${LOCALBASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib"
-
-MODULES=       devel/gettext
 
 NO_TEST=       Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/lftp/distinfo,v
retrieving revision 1.67
diff -u -p -u -p -r1.67 distinfo
--- distinfo    11 Dec 2015 18:27:18 -0000      1.67
+++ distinfo    23 May 2016 16:08:00 -0000
@@ -1,2 +1,2 @@
-SHA256 (lftp-4.6.5.tar.gz) = KdHILWEIA9XAF2V9dmPgX6Ab1Y8OBhgPMG5DDweBYpk=
-SIZE (lftp-4.6.5.tar.gz) = 2666338
+SHA256 (lftp-4.7.2.tar.gz) = EiTlYF9K2QUMHOhw/CEZa68Aiq4ps90Gpeb1h4TcAos=
+SIZE (lftp-4.7.2.tar.gz) = 2721927
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/net/lftp/patches/patch-configure,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 patch-configure
--- patches/patch-configure     11 Dec 2015 18:27:18 -0000      1.12
+++ patches/patch-configure     23 May 2016 16:08:00 -0000
@@ -2,23 +2,14 @@ $OpenBSD: patch-configure,v 1.12 2015/12
 
 Use GNU readline as our base readline lacks add_history_time().
 
---- configure.orig     Thu Dec 10 14:20:13 2015
-+++ configure  Fri Dec 11 00:08:40 2015
-@@ -48137,7 +48137,7 @@ if ${lftp_cv_precompiled_readline+:} false; then :
- else
- 
-    old_LIBS="$LIBS"
--   LIBS="-lreadline $READLINE_SUPPLIB $LIBS"
-+   LIBS="-lereadline $READLINE_SUPPLIB $LIBS"
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h.  */
- extern int (*rl_getc_function)();
-@@ -48177,7 +48177,7 @@ if test $lftp_cv_precompiled_readline = yes; then
-    READLINE_DIR=''
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- $as_echo "yes" >&6; }
--   READLINE='-lreadline'
-+   READLINE='-lereadline'
-    READLINE_DEPEND=''
-    COMPILE_READLINE=no
- else
+--- configure.orig     Mon May 23 17:35:33 2016
++++ configure  Mon May 23 17:37:08 2016
+@@ -48415,7 +48415,7 @@ fi
+           readline_include_dir="$readline_include_dir/readline"
+       fi
+         readline_ld_flags="-L$readline_prefix/lib"
+-        readline_lib_flags="-lreadline"
++        readline_lib_flags="-lereadline"
+         run_readline_test="yes"
+     elif test "$readline_requested" = "yes"; then
+         if test -n "$readline_include_dir" -a -n "$readline_lib_flags"; then
Index: patches/patch-src_Makefile_in
===================================================================
RCS file: /cvs/ports/net/lftp/patches/patch-src_Makefile_in,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 patch-src_Makefile_in
--- patches/patch-src_Makefile_in       11 Dec 2015 18:27:18 -0000      1.11
+++ patches/patch-src_Makefile_in       23 May 2016 16:08:00 -0000
@@ -1,10 +1,10 @@
 $OpenBSD: patch-src_Makefile_in,v 1.11 2015/12/11 18:27:18 sthen Exp $
---- src/Makefile.in.orig       Thu Dec 10 14:20:12 2015
-+++ src/Makefile.in    Fri Dec 11 00:08:40 2015
-@@ -236,7 +236,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(p
+--- src/Makefile.in.orig       Mon May 23 17:34:28 2016
++++ src/Makefile.in    Mon May 23 17:35:10 2016
+@@ -235,7 +235,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(p
+       "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \
        "$(DESTDIR)$(pkgdatadir)"
- LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) \
-       $(pkgverlib_LTLIBRARIES)
+ LTLIBRARIES = $(lib_LTLIBRARIES) $(pkgverlib_LTLIBRARIES)
 -cmd_mirror_la_LIBADD =
 +cmd_mirror_la_LIBADD = $(GNULIB)
  am_cmd_mirror_la_OBJECTS = MirrorJob.lo
Index: patches/patch-src_lftp_rl_c
===================================================================
RCS file: patches/patch-src_lftp_rl_c
diff -N patches/patch-src_lftp_rl_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_lftp_rl_c 23 May 2016 16:08:00 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+--- src/lftp_rl.c.orig Mon May 23 17:46:56 2016
++++ src/lftp_rl.c      Mon May 23 17:47:33 2016
+@@ -19,8 +19,8 @@
+ 
+ #include <config.h>
+ #include <stdio.h>
+-#include <readline.h>
+-#include <history.h>
++#include <readline/readline.h>
++#include <readline/history.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include "lftp_rl.h"

Reply via email to