From cfc26a6ad41d193d0a85934be8f64e46b4021ba3 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 8 Jul 2015 16:46:43 +0000 Subject: Update to 3.12.0 This file only lists a short summary of the changes between FileZilla versions. For a full list of changes, please read the ChangeLog file. Legend: ! Security related bugfix or otherwise critical bugfix + New feature or important bugfix - Bugfixes Platform prefixes: MSW: Microsoft Windows *nix: Unix (e.g BSD) and Unix-like systems (e.g. Linux) OS X: Apple Mac OS X 3.12.0 (2015-07-08) + Directory comparison can be configured for Site Manager entires and bookmarks - Instead of skipping commands due to spontaneous connection failures while executing a command, reconnect and retry - FileZilla no longer shows popup dialogs such as the file exists dialog if another dialog or message box is already shown - Improved compatibility with servers sending malformed FEAT replies 3.12.0-rc1 (2015-06-29) + FileZilla no longer visually enters each visited directory during recursive operations, e.g. when downloading or deleting remote directories. During recursive operations the server's directory structure can now be navigated as if idle + Ask for confirmation if trying to load Site Manager data originating from a future version of FileZilla + Display location of settings directory on the About dialog + Display detected CPU features (on x86) on the About dialog - Remove certificate verification messages in the message log for data connections - Speed up parsing of the PASV reply - The status bar of the search dialog now shows the number of found matches again - OS X: Configuring SFTP keys no longer fails if the full path of FileZilla's application bundle contains spaces - *nix: Make waitable conditions immune to wallclock changes if the system supports both clock_gettime and pthread_condattr_setclock - Fixed a rare crash when queuing many socket threads for deletion at the same time 3.11.0.2 (2015-06-02) - Fixed a potential crash if a connection gets remotely closed in the same moment a new connection is to be opened - Improved compatibility with servers sending pre-epoch timestamps - Fixed pt_BR translation 3.11.0.1 (2015-05-22) ! Reject Diffie-Hellman Groups smaller than 1024 bits when using FTP over TLS to protect against the Logjam attack - Do not bind the source IP address of the data connection if the server is not configured properly - Deleting bookmarks from the bookmarks dialog no longer deletes the wrong bookmark - Fixed CPU compatibility issues on 64bit binaries 3.11.0 (2015-05-19) - Ensure the title bar is at least partially inside the screen boundary when restoring a saved window position - Fixed crash if opening a wrapped dialog without having restarted FileZilla after having change language to Chinese or Japanese 3.11.0-rc1 (2015-05-12) + Implemented new date/time handling to solve issues with DST conversion + *nix: Official Linux binaries are now built for Debian Jessie + In passive mode transfer, the source IP of the data connection is now bound to the same source IP as the control connection - Requeueing of folder items no longer prints an error message - Fix disabling of timeouts - MSW: Fix the returned error level of the installer - Fix a crash if disconnecting during transfers - Official binaries now link against GnuTLS 3.4.1 - Official binaries now link against SQLite 3.8.10.1 ================= Use POSIC fcntl() instead of flock() on SunOS as well as apply to upstream workarounds to redefinition involving 'struct mutex' on SunOS. Add xgettext to USE_TOOLS. --- net/filezilla/Makefile | 6 ++-- net/filezilla/PLIST | 3 +- net/filezilla/distinfo | 11 ++++--- .../patches/patch-src_engine_ControlSocket.cpp | 15 ++++++++++ net/filezilla/patches/patch-src_engine_socket.cpp | 21 +++++++++++++ .../patches/patch-src_putty_unix_uxshare.c | 35 ++++++++++++++++++++++ 6 files changed, 82 insertions(+), 9 deletions(-) create mode 100644 net/filezilla/patches/patch-src_engine_ControlSocket.cpp create mode 100644 net/filezilla/patches/patch-src_engine_socket.cpp create mode 100644 net/filezilla/patches/patch-src_putty_unix_uxshare.c (limited to 'net/filezilla') diff --git a/net/filezilla/Makefile b/net/filezilla/Makefile index 56b62ca4e9e..b646c6669be 100644 --- a/net/filezilla/Makefile +++ b/net/filezilla/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.62 2015/05/06 17:01:52 wiz Exp $ +# $NetBSD: Makefile,v 1.63 2015/07/08 16:46:43 richard Exp $ -VERSION= 3.10.3 +VERSION= 3.12.0 DISTNAME= FileZilla_${VERSION}_src PKGNAME= filezilla-${VERSION} CATEGORIES= net x11 @@ -14,7 +14,7 @@ LICENSE= gnu-gpl-v2 GNU_CONFIGURE= yes USE_LANGUAGES= c c++ -USE_TOOLS+= gmake pkg-config msgfmt msgmerge +USE_TOOLS+= gmake pkg-config msgfmt msgmerge xgettext WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} CONFIGURE_ARGS+= --disable-autoupdatecheck diff --git a/net/filezilla/PLIST b/net/filezilla/PLIST index 9cceb545ed6..3b7c7c0a7a1 100644 --- a/net/filezilla/PLIST +++ b/net/filezilla/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.13 2015/01/18 17:19:32 wiz Exp $ +@comment $NetBSD: PLIST,v 1.14 2015/07/08 16:46:43 richard Exp $ bin/filezilla bin/fzputtygen bin/fzsftp @@ -669,7 +669,6 @@ share/locale/el/LC_MESSAGES/filezilla.mo share/locale/es/LC_MESSAGES/filezilla.mo share/locale/et/LC_MESSAGES/filezilla.mo share/locale/eu/LC_MESSAGES/filezilla.mo -share/locale/eu_ES/LC_MESSAGES/filezilla.mo share/locale/fa_IR/LC_MESSAGES/filezilla.mo share/locale/fi_FI/LC_MESSAGES/filezilla.mo share/locale/fr/LC_MESSAGES/filezilla.mo diff --git a/net/filezilla/distinfo b/net/filezilla/distinfo index 7a650dd1ad8..c33d781bc37 100644 --- a/net/filezilla/distinfo +++ b/net/filezilla/distinfo @@ -1,5 +1,8 @@ -$NetBSD: distinfo,v 1.24 2015/05/06 17:01:52 wiz Exp $ +$NetBSD: distinfo,v 1.25 2015/07/08 16:46:43 richard Exp $ -SHA1 (FileZilla_3.10.3_src.tar.bz2) = 81d9994797a841711e4365fb437771abc0df82a8 -RMD160 (FileZilla_3.10.3_src.tar.bz2) = cdb1a073b66bedcb7930d804a588bc437a1e1e6b -Size (FileZilla_3.10.3_src.tar.bz2) = 4430113 bytes +SHA1 (FileZilla_3.12.0_src.tar.bz2) = a0d3be9c19e15a14473f3103063dbf7eb1b8ed77 +RMD160 (FileZilla_3.12.0_src.tar.bz2) = dd6f80326b1d2d77d9e25e5bb64647576d3ba9a6 +Size (FileZilla_3.12.0_src.tar.bz2) = 4438133 bytes +SHA1 (patch-src_engine_ControlSocket.cpp) = efb71dde8ad35c8a7424ac6f0383c79950f6e495 +SHA1 (patch-src_engine_socket.cpp) = 5abbd66d0cb93fc2cf3293bcd91e413934bffe74 +SHA1 (patch-src_putty_unix_uxshare.c) = 0c3102c10b742c461fe032f081d1a642c6fd6a59 diff --git a/net/filezilla/patches/patch-src_engine_ControlSocket.cpp b/net/filezilla/patches/patch-src_engine_ControlSocket.cpp new file mode 100644 index 00000000000..517802394db --- /dev/null +++ b/net/filezilla/patches/patch-src_engine_ControlSocket.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_engine_ControlSocket.cpp,v 1.1 2015/07/08 16:46:43 richard Exp $ +upstream workaround for clash with 'struct mutex' on SunOS + +--- src/engine/ControlSocket.cpp.orig 2015-03-28 04:30:03.000000000 +0000 ++++ src/engine/ControlSocket.cpp +@@ -14,7 +14,9 @@ + #include + + #ifndef __WXMSW__ ++ #define mutex mutex_override // Sadly on some platforms system headers include conflicting names + #include ++ #undef mutex + #ifndef AI_IDN + #include + extern "C" { diff --git a/net/filezilla/patches/patch-src_engine_socket.cpp b/net/filezilla/patches/patch-src_engine_socket.cpp new file mode 100644 index 00000000000..c34e227b4e5 --- /dev/null +++ b/net/filezilla/patches/patch-src_engine_socket.cpp @@ -0,0 +1,21 @@ +$NetBSD: patch-src_engine_socket.cpp,v 1.1 2015/07/08 16:46:43 richard Exp $ +upstream workaround for clash with 'struct mutex' on SunOS + +--- src/engine/socket.cpp.orig 2015-03-20 04:30:04.000000000 +0000 ++++ src/engine/socket.cpp +@@ -19,6 +19,7 @@ + #include "mutex.h" + #include "socket.h" + #ifndef __WXMSW__ ++ #define mutex mutex_override // Sadly on some platforms system headers include conflicting names + #include + #include + #include +@@ -29,6 +30,7 @@ + #if !defined(MSG_NOSIGNAL) && !defined(SO_NOSIGPIPE) + #include + #endif ++ #undef mutex + #endif + + // Fixups needed on FreeBSD diff --git a/net/filezilla/patches/patch-src_putty_unix_uxshare.c b/net/filezilla/patches/patch-src_putty_unix_uxshare.c new file mode 100644 index 00000000000..71bfcb65eab --- /dev/null +++ b/net/filezilla/patches/patch-src_putty_unix_uxshare.c @@ -0,0 +1,35 @@ +$NetBSD: patch-src_putty_unix_uxshare.c,v 1.1 2015/07/08 16:46:43 richard Exp $ +Use POSIX fcntl instead of flock for setting file locking options on SunOS + +--- src/putty/unix/uxshare.c.orig 2014-12-18 15:15:44.000000000 +0000 ++++ src/putty/unix/uxshare.c +@@ -295,6 +295,13 @@ int platform_ssh_share(const char *pi_na + int lockfd; + Socket retsock; + ++ struct flock lock; ++ ++ lock.l_type = F_WRLCK; ++ lock.l_whence = SEEK_SET; ++ lock.l_start = 0; ++ lock.l_len = 0; ++ + /* + * Sort out what we're going to call the directory in which we + * keep the socket. This has the side effect of potentially +@@ -326,9 +333,15 @@ int platform_ssh_share(const char *pi_na + sfree(lockname); + return SHARE_NONE; + } ++#ifdef __sun ++ if (fcntl(lockfd, F_SETLK, &lock) == -1) { ++ *logtext = dupprintf("%s: fcntl(F_SETLK): %s", ++ lockname, strerror(errno)); ++#else + if (flock(lockfd, LOCK_EX) < 0) { + *logtext = dupprintf("%s: flock(LOCK_EX): %s", + lockname, strerror(errno)); ++#endif + sfree(dirname); + sfree(lockname); + close(lockfd); -- cgit v1.2.3