Hello community, here is the log from the commit of package lftp for openSUSE:Factory checked in at Thu Mar 24 11:12:55 CET 2011.
-------- --- lftp/lftp.changes 2010-11-28 16:50:46.000000000 +0100 +++ /mounts/work_src_done/STABLE/lftp/lftp.changes 2011-03-22 12:59:24.000000000 +0100 @@ -1,0 +2,24 @@ +Tue Mar 22 10:31:35 UTC 2011 - [email protected] + +- update to lftp-4.2.0 + * changed ssl:verify-certificate default to yes. + * check certificate common name in openssl case (code from curl). + * disable weak algorithms in openssl (Ludwig Nussel + <[email protected]>). + * new setting xfer:log-file (Timur Sufiev). + * support for netkey pasword in ftp (). + * added torrent ipv6 support (new setting torrent:ipv6) + * don't accept new connections when no torrent can accept them. + * allow to specify job numbers in `jobs' command. + * fixed a segfault in pget when an error happens on second chunk. + Version 4.1.3 + * fixed a coredump in torrent (introduced in 4.1.2). + Version 4.1.2 + * new command ln [-s], supported by FTP (SITE [SYM]LINK), FISH, + SFTP, and locally via file: schema. + * create remote symlinks in mirror -R if supported by server. + * detect and remove duplicate peers in torrent. +- run spec-cleaner +- refresh patches + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- lftp-4.1.1.tar.bz2 New: ---- lftp-4.2.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lftp.spec ++++++ --- /var/tmp/diff_new_pack.3AW9nS/_old 2011-03-24 11:11:59.000000000 +0100 +++ /var/tmp/diff_new_pack.3AW9nS/_new 2011-03-24 11:11:59.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package lftp (Version 4.1.1) +# spec file for package lftp # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: lftp -Version: 4.1.1 +Version: 4.2.0 Release: 1 License: GPLv2+ Summary: Command Line File Transfer Program @@ -70,10 +70,10 @@ LDFLAGS=' ' \ %configure \ --with-modules -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install -%makeinstall +%make_install touch %{buildroot}%{_bindir}/ftp chmod +x %{buildroot}%{_bindir}/ftp # We don't package the .la files ++++++ lftp-4.1.1.tar.bz2 -> lftp-4.2.0.tar.bz2 ++++++ ++++ 64736 lines of diff (skipped) ++++++ lftp-compat-mode.patch ++++++ --- /var/tmp/diff_new_pack.3AW9nS/_old 2011-03-24 11:11:59.000000000 +0100 +++ /var/tmp/diff_new_pack.3AW9nS/_new 2011-03-24 11:11:59.000000000 +0100 @@ -1,6 +1,8 @@ ---- src/CmdExec.cc +Index: src/CmdExec.cc +=================================================================== +--- src/CmdExec.cc.orig +++ src/CmdExec.cc -@@ -1178,6 +1178,47 @@ +@@ -1188,6 +1188,47 @@ void CmdExec::RegisterCommand(const char dyn_cmd_table.insert(new_entry,i); } @@ -48,9 +50,11 @@ void CmdExec::ChangeSession(FileAccess *new_session) { session=new_session; ---- src/CmdExec.h +Index: src/CmdExec.h +=================================================================== +--- src/CmdExec.h.orig +++ src/CmdExec.h -@@ -224,6 +224,9 @@ +@@ -228,6 +228,9 @@ public: static void RegisterCommand(const char *name,cmd_creator_t creator, const char *short_name=0,const char *long_name=0); @@ -60,7 +64,9 @@ Job *builtin_lcd(); Job *builtin_cd(); Job *builtin_open(); ---- src/CompatMode.cc +Index: src/CompatMode.cc +=================================================================== +--- /dev/null +++ src/CompatMode.cc @@ -0,0 +1,232 @@ +/* @@ -295,7 +301,9 @@ + CmdExec::RegisterCommand("binary", cmd_bin, "binary", "set binary transfer type\n"); + CmdExec::RegisterCommand("type", cmd_type, "type [ascii|binary]", "set file transfer type\n"); +} ---- src/CompatMode.h +Index: src/CompatMode.h +=================================================================== +--- /dev/null +++ src/CompatMode.h @@ -0,0 +1,28 @@ +/* @@ -326,9 +334,11 @@ + + +#endif //COMPATMODE_H ---- src/Makefile.am +Index: src/Makefile.am +=================================================================== +--- src/Makefile.am.orig +++ src/Makefile.am -@@ -20,7 +20,7 @@ +@@ -20,7 +20,7 @@ example_module1_la_SOURCES = example-mod example_module1_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir) TASK_MODULES = liblftp-pty.la liblftp-network.la proto-ftp.la proto-http.la proto-file.la proto-fish.la proto-sftp.la @@ -337,7 +347,7 @@ if WITH_MODULES pkgverlib_LTLIBRARIES = $(TASK_MODULES) $(JOB_MODULES) else -@@ -42,6 +42,7 @@ +@@ -42,6 +42,7 @@ liblftp_pty_la_SOURCES = PtyShell.cc liblftp_network_la_SOURCES = NetAccess.cc NetAccess.h Resolver.cc Resolver.h\ lftp_ssl.cc lftp_ssl.h buffer_ssl.cc buffer_ssl.h RateLimit.cc RateLimit.h\ network.cc network.h SSH_Access.cc SSH_Access.h @@ -345,18 +355,20 @@ if NEED_TRIO TRIO = $(top_builddir)/trio/libtrio.la -@@ -60,6 +61,8 @@ +@@ -60,6 +61,8 @@ liblftp_pty_la_LDFLAGS = -avoid-vers liblftp_network_la_LDFLAGS = -avoid-version -rpath $(pkgverlibdir) $(OPENSSL_LDFLAGS) - liblftp_network_la_LIBADD = $(SOCKSLIBS) $(OPENSSL_LIBS) $(LIBGNUTLS_LIBS) + liblftp_network_la_LIBADD = $(SOCKSLIBS) $(OPENSSL_LIBS) $(LIBGNUTLS_LIBS) $(GNULIB) +compat_mode_la_LDFLAGS = -module -avoid-version -rpath $(pkgverlibdir) + proto_ftp_la_LIBADD = -L$(DESTDIR)$(pkgverlibdir) liblftp-network.la proto_http_la_LIBADD = -L$(DESTDIR)$(pkgverlibdir) liblftp-network.la $(EXPAT_LIBS) proto_fish_la_LIBADD = -L$(DESTDIR)$(pkgverlibdir) liblftp-network.la liblftp-pty.la ---- src/lftp_wrapper.c +Index: src/lftp_wrapper.c +=================================================================== +--- src/lftp_wrapper.c.orig +++ src/lftp_wrapper.c -@@ -507,17 +507,6 @@ +@@ -507,17 +507,6 @@ int main(int argc, char *argv[]) char *buf_url = NULL; int is = haveFile(buf2); @@ -374,7 +386,7 @@ int ishtml,isftp,isfile,ishost,isuser; //flags for url int tmp_port; ishtml=isHTML(buf2); -@@ -569,8 +558,7 @@ +@@ -569,8 +558,7 @@ int main(int argc, char *argv[]) buf_url = get_url(buf2); tmp_port= isPortInUrl(buf2);/* no need to test error message, it is done in get_url() */ if(tmp_port)ftp_port_i=tmp_port; @@ -384,7 +396,7 @@ snprintf(buf, BUFSIZE, "%s %s:%d; %s %s", open, buf_url, ftp_port_i, get, buf_file); -@@ -591,9 +579,6 @@ +@@ -591,9 +579,6 @@ int main(int argc, char *argv[]) } } ++++++ lftp-wrapper.patch ++++++ --- /var/tmp/diff_new_pack.3AW9nS/_old 2011-03-24 11:12:00.000000000 +0100 +++ /var/tmp/diff_new_pack.3AW9nS/_new 2011-03-24 11:12:00.000000000 +0100 @@ -3,7 +3,7 @@ --- src/CopyJob.cc.orig +++ src/CopyJob.cc @@ -21,6 +21,7 @@ - /* $Id: CopyJob.cc,v 1.46 2010/06/02 07:25:59 lav Exp $ */ + /* $Id: CopyJob.cc,v 1.47 2010/12/28 11:46:25 lav Exp $ */ #include <config.h> +#include <unistd.h> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
