pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libfilezilla libfilezilla: update to 0.27.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a16c857d4659
branches:  trunk
changeset: 448682:a16c857d4659
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Mar 12 10:35:47 2021 +0000

description:
libfilezilla: update to 0.27.0.

2021-03-04 - libfilezilla 0.27.0 released

New features:

    Added fz::normalize_hypens to replace all hyphen-like characters in a string with the good old hyphen-minus
    Added fz::pbkdf2_hmac_sha256
    Added visibility_helper.hpp to simplify exporting symbols in shared libraries
    Added fz::compound_rate_limited_layer to which multiple rate limiters can be dynamically added/removed
    Added redirect_io parameter to fz::process::spawn
    Added --enable-socketdebug configure argument to check for invariant violation when handling socket events
    Added a optional preamble to server_handshake that is sent after initializing the session, but before the SERVER_HELLO

Bugfixes and minor changes:

    Various fixes to socket event retriggering if socket_interface::set_event_handler is used
    Fixed a nullpointer dereference in fz::tls_layer if a hostname is set prior to creating a session

2020-12-17 - libfilezilla 0.26.0 released

New features:

    Added fz::buffer::capacity()
    fz::buffer::append now also accepts single characters and std::vector
    Added fz::nonowning_buffer
    MSW: Added fz::process::handle()
    *nix: Allow passing extra file descriptors to child processes
    fz::to_wstring_from_utf8 now accepts std::string_view and fz::buffer
    fz::replace_substrings and fz::replaced_substrings now accept string views and single characters

Bugfixes and minor changes:

    Reset bucket data if it gets removed from a rate_limiter

2020-10-13 - libfilezilla 0.25.0 released

New features:

    Added fz::invoker to asynchronously call functions to run in a specific thread independent of the caller's thread

Bugfixes and minor changes:

    Added additional checks to fz::buffer to leave the buffer in a valid state in out-of-memory situations and to prevent mis-use
    Detect a particular socket buffer tuning issue under Linux where setting a receiver buffer size shrinks the window scale factor
    Reordered a few data members to reduce the amount of structure padding due to alignment

diffstat:

 net/libfilezilla/Makefile                     |   4 ++--
 net/libfilezilla/PLIST                        |   6 +++++-
 net/libfilezilla/distinfo                     |  12 +++++-------
 net/libfilezilla/patches/patch-lib_socket.cpp |  19 -------------------
 net/libfilezilla/patches/patch-lib_string.cpp |  17 -----------------
 5 files changed, 12 insertions(+), 46 deletions(-)

diffs (106 lines):

diff -r a5e5318258eb -r a16c857d4659 net/libfilezilla/Makefile
--- a/net/libfilezilla/Makefile Fri Mar 12 10:33:15 2021 +0000
+++ b/net/libfilezilla/Makefile Fri Mar 12 10:35:47 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2020/09/17 10:05:44 jperkin Exp $
+# $NetBSD: Makefile,v 1.33 2021/03/12 10:35:47 wiz Exp $
 
-DISTNAME=      libfilezilla-0.24.1
+DISTNAME=      libfilezilla-0.27.0
 CATEGORIES=    net
 # some kind of direct-download disabling
 #MASTER_SITES= https://dl3.cdn.filezilla-project.org/libfilezilla/
diff -r a5e5318258eb -r a16c857d4659 net/libfilezilla/PLIST
--- a/net/libfilezilla/PLIST    Fri Mar 12 10:33:15 2021 +0000
+++ b/net/libfilezilla/PLIST    Fri Mar 12 10:35:47 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2020/09/17 10:05:44 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.12 2021/03/12 10:35:47 wiz Exp $
 include/libfilezilla/apply.hpp
 include/libfilezilla/buffer.hpp
 include/libfilezilla/encode.hpp
@@ -10,12 +10,15 @@
 include/libfilezilla/format.hpp
 include/libfilezilla/glue/unix.hpp
 include/libfilezilla/glue/wx.hpp
+include/libfilezilla/glue/wxinvoker.hpp
 include/libfilezilla/hash.hpp
+include/libfilezilla/invoker.hpp
 include/libfilezilla/iputils.hpp
 include/libfilezilla/libfilezilla.hpp
 include/libfilezilla/local_filesys.hpp
 include/libfilezilla/logger.hpp
 include/libfilezilla/mutex.hpp
+include/libfilezilla/nonowning_buffer.hpp
 include/libfilezilla/optional.hpp
 include/libfilezilla/private/defs.hpp
 include/libfilezilla/private/visibility.hpp
@@ -39,6 +42,7 @@
 include/libfilezilla/uri.hpp
 include/libfilezilla/util.hpp
 include/libfilezilla/version.hpp
+include/libfilezilla/visibility_helper.hpp
 lib/libfilezilla.la
 lib/pkgconfig/libfilezilla.pc
 share/locale/an/LC_MESSAGES/libfilezilla.mo
diff -r a5e5318258eb -r a16c857d4659 net/libfilezilla/distinfo
--- a/net/libfilezilla/distinfo Fri Mar 12 10:33:15 2021 +0000
+++ b/net/libfilezilla/distinfo Fri Mar 12 10:35:47 2021 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.28 2020/09/18 08:55:45 jperkin Exp $
+$NetBSD: distinfo,v 1.29 2021/03/12 10:35:47 wiz Exp $
 
-SHA1 (libfilezilla-0.24.1.tar.bz2) = 0cc47178917abc8e33b1c08bbe4f4d9a1de8180e
-RMD160 (libfilezilla-0.24.1.tar.bz2) = e4439b7039f35536b447f523489a478f1ea34dde
-SHA512 (libfilezilla-0.24.1.tar.bz2) = f9075bb88e5c10617d21fb7b49f7e9bd38567eeca3c4a1cd8b1e20354b1e3da95f05618897cefa6758c7843efd9833230843f77a0c23e7019cf22c950e7e8e8c
-Size (libfilezilla-0.24.1.tar.bz2) = 560439 bytes
-SHA1 (patch-lib_socket.cpp) = c0bd9a42d312fb4990eca74ecdae34da1edb5d2d
-SHA1 (patch-lib_string.cpp) = bcd82d2e02bcdfbd14c8b0e0c74fbbd235dc1329
+SHA1 (libfilezilla-0.27.0.tar.bz2) = 94b41415ab1e91bf378476cf0f0b848f3f8613c7
+RMD160 (libfilezilla-0.27.0.tar.bz2) = 6133dd5cf877a603850555a6fd052912e0fce8b2
+SHA512 (libfilezilla-0.27.0.tar.bz2) = f7545d0220bc83d66dd6b66494696a8799428d065037c98d7752d841e03fa5ea2198751cd22e22b9b1ad8023210725dd1af8afcffa6f61bcfe6aa12671200011
+Size (libfilezilla-0.27.0.tar.bz2) = 567792 bytes
diff -r a5e5318258eb -r a16c857d4659 net/libfilezilla/patches/patch-lib_socket.cpp
--- a/net/libfilezilla/patches/patch-lib_socket.cpp     Fri Mar 12 10:33:15 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-lib_socket.cpp,v 1.2 2020/09/17 14:48:08 wiz Exp $
-
-Spell struct correctly.
-
-https://trac.filezilla-project.org/ticket/12280
-
---- lib/socket.cpp.orig        2020-08-21 13:35:14.000000000 +0000
-+++ lib/socket.cpp
-@@ -1678,8 +1678,8 @@ int socket::write(void const* buffer, un
- 
- #if !defined(SO_NOSIGPIPE) && !defined(FZ_WINDOWS)
-       // Some systems have neither. Need to block signal
--      sigaction old_action;
--      sigaction action = {};
-+      struct sigaction old_action;
-+      struct sigaction action = {};
-       action.sa_handler = SIG_IGN;
-       int signal_set = sigaction(SIGPIPE, &action, &old_action);
- #endif
diff -r a5e5318258eb -r a16c857d4659 net/libfilezilla/patches/patch-lib_string.cpp
--- a/net/libfilezilla/patches/patch-lib_string.cpp     Fri Mar 12 10:33:15 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-lib_string.cpp,v 1.9 2020/09/18 08:55:45 jperkin Exp $
-
-Use std::wcsnrtombs() on SunOS.
-
---- lib/string.cpp.orig        2020-07-07 12:06:31.000000000 +0000
-+++ lib/string.cpp
-@@ -13,6 +13,10 @@
- 
- #include <cstdlib>
- 
-+#ifdef __sun
-+using std::wcsnrtombs;
-+#endif
-+
- static_assert('a' + 25 == 'z', "We only support systems running with an ASCII-based character set. Sorry, no EBCDIC.");
- 
- // char may be unsigned, yielding stange results if subtracting characters. To work around it, expect a particular order of characters.



Home | Main Index | Thread Index | Old Index