Index: devel/libsmb2/Makefile =================================================================== RCS file: /home/cvs/ports/devel/libsmb2/Makefile,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 Makefile --- devel/libsmb2/Makefile 31 Dec 2019 11:35:55 -0000 1.1.1.1 +++ devel/libsmb2/Makefile 28 Jan 2022 19:28:21 -0000 @@ -4,11 +4,11 @@ COMMENT= userspace client library for ac GH_ACCOUNT= sahlberg GH_PROJECT= libsmb2 -GH_TAGNAME= v3.0.0 +GH_TAGNAME= v4.0.0 CATEGORIES= devel -SHARED_LIBS= smb2 0.0 +SHARED_LIBS= smb2 1.0 MAINTAINER= Brad Smith Index: devel/libsmb2/distinfo =================================================================== RCS file: /home/cvs/ports/devel/libsmb2/distinfo,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 distinfo --- devel/libsmb2/distinfo 31 Dec 2019 11:35:55 -0000 1.1.1.1 +++ devel/libsmb2/distinfo 28 Jan 2022 19:28:21 -0000 @@ -1,2 +1,2 @@ -SHA256 (libsmb2-3.0.0.tar.gz) = NtENFiitNNVmRr+ecAWoq+jOa2e6OpSdU3rj5fCPcB8= -SIZE (libsmb2-3.0.0.tar.gz) = 129442 +SHA256 (libsmb2-4.0.0.tar.gz) = tNGxO8B63Gg3mnL3I7kDKpUK/WL+1/KqPlfzQhQG2hE= +SIZE (libsmb2-4.0.0.tar.gz) = 171678 Index: devel/libsmb2/patches/patch-include_smb2_libsmb2_h =================================================================== RCS file: devel/libsmb2/patches/patch-include_smb2_libsmb2_h diff -N devel/libsmb2/patches/patch-include_smb2_libsmb2_h --- devel/libsmb2/patches/patch-include_smb2_libsmb2_h 31 Dec 2019 11:35:55 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -$OpenBSD: patch-include_smb2_libsmb2_h,v 1.1.1.1 2019/12/31 11:35:55 ajacoutot Exp $ - -smb2_connect_share_async: don't return ENOMEM if connect fails. - -Index: include/smb2/libsmb2.h ---- include/smb2/libsmb2.h.orig -+++ include/smb2/libsmb2.h -@@ -176,7 +176,7 @@ const char *smb2_get_client_guid(struct smb2_context * - * status can be either of : - * 0 : Connection was successful. Command_data is NULL. - * -- * <0 : Failed to establish the connection. Command_data is NULL. -+ * -errno : Failed to establish the connection. Command_data is NULL. - */ - int smb2_connect_async(struct smb2_context *smb2, const char *server, - smb2_command_cb cb, void *cb_data); Index: devel/libsmb2/patches/patch-lib_errors_c =================================================================== RCS file: /home/cvs/ports/devel/libsmb2/patches/patch-lib_errors_c,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 patch-lib_errors_c --- devel/libsmb2/patches/patch-lib_errors_c 31 Dec 2019 11:35:55 -0000 1.1.1.1 +++ devel/libsmb2/patches/patch-lib_errors_c 28 Jan 2022 19:28:21 -0000 @@ -3,7 +3,7 @@ $OpenBSD: patch-lib_errors_c,v 1.1.1.1 2 Index: lib/errors.c --- lib/errors.c.orig +++ lib/errors.c -@@ -204,7 +204,7 @@ int nterror_to_errno(uint32_t status) { +@@ -1108,7 +1108,7 @@ int nterror_to_errno(uint32_t status) { case SMB2_STATUS_FILE_DELETED: return EPERM; case SMB2_STATUS_NO_MORE_FILES: Index: devel/libsmb2/pkg/PLIST =================================================================== RCS file: /home/cvs/ports/devel/libsmb2/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 PLIST --- devel/libsmb2/pkg/PLIST 31 Dec 2019 11:35:55 -0000 1.1.1.1 +++ devel/libsmb2/pkg/PLIST 28 Jan 2022 19:28:21 -0000 @@ -1,5 +1,6 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2019/12/31 11:35:55 ajacoutot Exp $ include/smb2/ +include/smb2/libsmb2-dcerpc-lsa.h include/smb2/libsmb2-dcerpc-srvsvc.h include/smb2/libsmb2-dcerpc.h include/smb2/libsmb2-raw.h