Update to lftp-4.7.2

from Rafael Sadowski (maintainer)
This commit is contained in:
jca 2016-05-27 12:08:46 +00:00
parent 8a3e788fb3
commit 2b54bfb31c
4 changed files with 27 additions and 36 deletions

View File

@ -1,18 +1,19 @@
# $OpenBSD: Makefile,v 1.108 2015/12/11 18:27:18 sthen Exp $
# $OpenBSD: Makefile,v 1.109 2016/05/27 12:08:46 jca Exp $
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 <rafael@sizeofvoid.org>
# 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,18 +21,17 @@ 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
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/lftp

View File

@ -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

View File

@ -1,24 +1,15 @@
$OpenBSD: patch-configure,v 1.12 2015/12/11 18:27:18 sthen Exp $
$OpenBSD: patch-configure,v 1.13 2016/05/27 12:08:46 jca Exp $
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

View File

@ -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
$OpenBSD: patch-src_Makefile_in,v 1.12 2016/05/27 12:08:46 jca Exp $
--- 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