summaryrefslogtreecommitdiff
path: root/net/libfilezilla
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2021-03-12 10:35:47 +0000
committerwiz <wiz@pkgsrc.org>2021-03-12 10:35:47 +0000
commitad2edf2c8ac4cee32624289f95aed2f7fd182ec4 (patch)
treeb4b6dbaefda79a41e36ad4bbe0339c711929608f /net/libfilezilla
parentb66b3fac0d8ea0cb0ca28261b75dee2fd4318a65 (diff)
downloadpkgsrc-ad2edf2c8ac4cee32624289f95aed2f7fd182ec4.tar.gz
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 (limited to 'net/libfilezilla')
-rw-r--r--net/libfilezilla/Makefile4
-rw-r--r--net/libfilezilla/PLIST6
-rw-r--r--net/libfilezilla/distinfo12
-rw-r--r--net/libfilezilla/patches/patch-lib_socket.cpp19
-rw-r--r--net/libfilezilla/patches/patch-lib_string.cpp17
5 files changed, 12 insertions, 46 deletions
diff --git a/net/libfilezilla/Makefile b/net/libfilezilla/Makefile
index 7a3a6d40a1d..e7ef85d43d2 100644
--- a/net/libfilezilla/Makefile
+++ b/net/libfilezilla/Makefile
@@ -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 --git a/net/libfilezilla/PLIST b/net/libfilezilla/PLIST
index 296038dbeb6..995ff02c0dd 100644
--- a/net/libfilezilla/PLIST
+++ b/net/libfilezilla/PLIST
@@ -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/file.hpp
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/translate.hpp
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 --git a/net/libfilezilla/distinfo b/net/libfilezilla/distinfo
index c2447c806d1..689b8f7b22d 100644
--- a/net/libfilezilla/distinfo
+++ b/net/libfilezilla/distinfo
@@ -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 --git a/net/libfilezilla/patches/patch-lib_socket.cpp b/net/libfilezilla/patches/patch-lib_socket.cpp
deleted file mode 100644
index 2b50282e448..00000000000
--- a/net/libfilezilla/patches/patch-lib_socket.cpp
+++ /dev/null
@@ -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 --git a/net/libfilezilla/patches/patch-lib_string.cpp b/net/libfilezilla/patches/patch-lib_string.cpp
deleted file mode 100644
index e3a5b88c7f7..00000000000
--- a/net/libfilezilla/patches/patch-lib_string.cpp
+++ /dev/null
@@ -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.