CVS commit: pkgsrc/net/libfilezilla

"Thomas Klausner" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	wiz
Date:		Fri Aug 21 12:29:04 UTC 2026

Modified Files:
	pkgsrc/net/libfilezilla: Makefile distinfo
	pkgsrc/net/libfilezilla/patches: patch-lib_impersonation.cpp
Removed Files:
	pkgsrc/net/libfilezilla/patches: patch-lib_local__filesys.cpp

Log Message:
libfilezilla: update to 0.57.0.

0.57.0 (2026-08-18)

+ Added support for creating impersonation_token from either user names or user ids
+ Added APIs to check whether impersonation is available before trying to create a token
+ Added fz::get_user_id() and fz::get_user_name()
+ MSW: Added passwordless impersonation tokens
+ MSW: Added desktop selection for processes spawned under impersonation
+ MSW: Process spawning under impersonation can now report setup failures through a logger
+ Improved the impersonation demo with user id, passwordless, desktop and custom command support
+ Added fz::secure_buffer that wipes memory on deallocation
+ Added fz::pbkd2 function taking hmac algorithm as argument
- MSW: Loading impersonated user profiles no longer changes caller process privileges
- MSW: Fixed EOF handling when reading redirected process output after the child process exits


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/net/libfilezilla/Makefile
cvs rdiff -u -r1.48 -r1.49 pkgsrc/net/libfilezilla/distinfo
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/net/libfilezilla/patches/patch-lib_impersonation.cpp
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/net/libfilezilla/patches/patch-lib_local__filesys.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 3.4 KB)
Modified files:

Index: pkgsrc/net/libfilezilla/Makefile
diff -u pkgsrc/net/libfilezilla/Makefile:1.69 pkgsrc/net/libfilezilla/Makefile:1.70
--- pkgsrc/net/libfilezilla/Makefile:1.69	Tue Jun  9 18:00:18 2026
+++ pkgsrc/net/libfilezilla/Makefile	Fri Aug 21 12:29:04 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.69 2026/06/09 18:00:18 wiz Exp $
+# $NetBSD: Makefile,v 1.70 2026/08/21 12:29:04 wiz Exp $
 
-DISTNAME=	libfilezilla-0.56.1
+DISTNAME=	libfilezilla-0.57.0
 CATEGORIES=	net
 # some kind of direct-download disabling
 #MASTER_SITES=	https://dl3.cdn.filezilla-project.org/libfilezilla/

Index: pkgsrc/net/libfilezilla/distinfo
diff -u pkgsrc/net/libfilezilla/distinfo:1.48 pkgsrc/net/libfilezilla/distinfo:1.49
--- pkgsrc/net/libfilezilla/distinfo:1.48	Tue Jun  9 18:00:18 2026
+++ pkgsrc/net/libfilezilla/distinfo	Fri Aug 21 12:29:04 2026
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.48 2026/06/09 18:00:18 wiz Exp $
+$NetBSD: distinfo,v 1.49 2026/08/21 12:29:04 wiz Exp $
 
-BLAKE2s (libfilezilla-0.56.1.tar.xz) = 5e9fe270cd9de9114a0e1238a513fcea11e1975ff3d775ced9e59f3641ddadaf
-SHA512 (libfilezilla-0.56.1.tar.xz) = b488968ea8d0f8b4b83f45755303bf94a0118cded5fe911a187c532962e2445c2e2851311229cddcec3141d9e0d0a84076927812cd9a78b83ca0693dcc23fbfd
-Size (libfilezilla-0.56.1.tar.xz) = 571924 bytes
-SHA1 (patch-lib_impersonation.cpp) = d02a10cbcbec23ec1cc6966c1721bd222c02670d
-SHA1 (patch-lib_local__filesys.cpp) = ad3c9d6fd2d943710e96539d65a2d2992fdd9262
+BLAKE2s (libfilezilla-0.57.0.tar.xz) = 59104a147754d9a37aaa47f5c4ec270e6a6df90fe4b11a3162a9e3f4f2857687
+SHA512 (libfilezilla-0.57.0.tar.xz) = 5cc5d87fa756ae7e74bfb7667653936b5d34fa922c00b492756bf0795afd3747835c6460f804d75121cd26f8fc8965e3dcbd2fefc2a0ca9c4d9180ecd3cf5a51
+Size (libfilezilla-0.57.0.tar.xz) = 586896 bytes
+SHA1 (patch-lib_impersonation.cpp) = 9ce77bf6bd227549693c05f0cd613b566a9a9e0c

Index: pkgsrc/net/libfilezilla/patches/patch-lib_impersonation.cpp
diff -u pkgsrc/net/libfilezilla/patches/patch-lib_impersonation.cpp:1.4 pkgsrc/net/libfilezilla/patches/patch-lib_impersonation.cpp:1.5
--- pkgsrc/net/libfilezilla/patches/patch-lib_impersonation.cpp:1.4	Thu Jul 21 11:31:23 2022
+++ pkgsrc/net/libfilezilla/patches/patch-lib_impersonation.cpp	Fri Aug 21 12:29:04 2026
@@ -1,20 +1,20 @@
-$NetBSD: patch-lib_impersonation.cpp,v 1.4 2022/07/21 11:31:23 wiz Exp $
+$NetBSD: patch-lib_impersonation.cpp,v 1.5 2026/08/21 12:29:04 wiz Exp $
 
 Hide Linux-specific stuff in ifdef __Linux__
 https://trac.filezilla-project.org/ticket/12658
 
---- lib/impersonation.cpp.orig	2022-07-08 13:18:44.000000000 +0000
+--- lib/impersonation.cpp.orig	2026-08-18 13:40:55.000000000 +0000
 +++ lib/impersonation.cpp
-@@ -7,7 +7,7 @@
- #include <optional>
- #include <tuple>
+@@ -81,7 +81,7 @@ impersonation_token::impersonation_token(fz::user cons
+ 
+ #include "libfilezilla/buffer.hpp"
  
 -#if FZ_UNIX
 +#if FZ_UNIX && defined(__Linux__)
  #include <crypt.h>
  #include <shadow.h>
  #endif
-@@ -98,7 +98,7 @@ std::optional<gid_t> get_group(native_st
+@@ -177,7 +177,7 @@ std::optional<gid_t> get_group(native_string const& gn
  	return {};
  }
  
@@ -23,7 +23,7 @@ https://trac.filezilla-project.org/ticke
  struct shadow_holder {
  	shadow_holder() = default;
  	shadow_holder(shadow_holder const&) = delete;
-@@ -190,7 +190,7 @@ std::vector<gid_t> get_supplementary(std
+@@ -265,7 +265,7 @@ bool check_auth(native_string const& username, native_
  
  bool check_auth(native_string const& username, native_string const& password)
  {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.