pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/samba4 samba4: Build fixes, primarily for SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/728c1d556949
branches:  trunk
changeset: 377959:728c1d556949
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Apr 25 16:25:02 2022 +0000

description:
samba4: Build fixes, primarily for SunOS.

diffstat:

 net/samba4/distinfo                                        |   5 ++-
 net/samba4/patches/patch-source3_modules_vfs__solarisacl.c |  24 ++++++++++++++
 net/samba4/patches/patch-source3_modules_vfs__solarisacl.h |  15 ++++++++
 net/samba4/patches/patch-source3_printing_samba-bgqd.c     |  14 ++++++++
 4 files changed, 57 insertions(+), 1 deletions(-)

diffs (84 lines):

diff -r 086aa736a6cc -r 728c1d556949 net/samba4/distinfo
--- a/net/samba4/distinfo       Mon Apr 25 16:19:45 2022 +0000
+++ b/net/samba4/distinfo       Mon Apr 25 16:25:02 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.76 2022/03/24 10:16:13 hauke Exp $
+$NetBSD: distinfo,v 1.77 2022/04/25 16:25:02 jperkin Exp $
 
 BLAKE2s (samba-4.15.6.tar.gz) = b11fd56c12dfbb3e0dc3e7b5e25b73f964b3b26afcc504293f2050c9bb9b0cfd
 SHA512 (samba-4.15.6.tar.gz) = cd193d74173831449abc24f1769f0af2dabd5dd8a65507af7b09fde6dd5780d30336d59600add939b044cfa5781f357ec9192c7fed1a1e7278812b6c07b824e2
@@ -25,6 +25,9 @@
 SHA1 (patch-nsswitch_winbind__nss__netbsd.c) = 2773ec9269d1fe0d7ce7ed220f6a7122d187fabe
 SHA1 (patch-nsswitch_wscript__build) = e8a6251e031ffa13d6347fade8891f7afd65d3eb
 SHA1 (patch-source3_libsmb_pylibsmb.c) = 962bb35b140ec11c0035ffa7fb83c9143fa5615f
+SHA1 (patch-source3_modules_vfs__solarisacl.c) = 087db5db78bce27a71caee5c78eb4f9aba81b428
+SHA1 (patch-source3_modules_vfs__solarisacl.h) = 11f8664641a14fd83d78b1a7e10056a77b7b634f
+SHA1 (patch-source3_printing_samba-bgqd.c) = e9b83c35fbb24c702650d745b82fe6c9efbcdf76
 SHA1 (patch-source3_smbd_open.c) = 002f26f77dad54617bf9c0fe4fa12f093ef3b66c
 SHA1 (patch-source3_smbd_process.c) = 3a6f9682aca6473e364d0be0f601774df4fd1296
 SHA1 (patch-source3_utils_net__offlinejoin.c) = 773a4686d5e2a7eaebf9430529708e8318d45c77
diff -r 086aa736a6cc -r 728c1d556949 net/samba4/patches/patch-source3_modules_vfs__solarisacl.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba4/patches/patch-source3_modules_vfs__solarisacl.c        Mon Apr 25 16:25:02 2022 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-source3_modules_vfs__solarisacl.c,v 1.1 2022/04/25 16:25:02 jperkin Exp $
+
+https://bugzilla.samba.org/attachment.cgi?id=16710
+
+--- source3/modules/vfs_solarisacl.c.orig      2021-08-09 13:38:36.435381200 +0000
++++ source3/modules/vfs_solarisacl.c
+@@ -204,7 +204,7 @@ int solarisacl_sys_acl_set_fd(vfs_handle
+       DEBUG(10, ("solarisacl_sys_acl_set_fd %s.\n",
+                  ((ret == 0) ? "succeeded" : "failed" )));
+       SAFE_FREE(solaris_acl);
+-      SAFE_FREE(default_acl);
++      SAFE_FREE(other_acl);
+       return ret;
+ }
+ 
+@@ -252,7 +252,7 @@ int solarisacl_sys_acl_delete_def_fd(vfs
+       }
+       ret = acl(fsp->fsp_name->base_name, SETACL, count, solaris_acl);
+       if (ret != 0) {
+-              DBG_DEBG("settinge file acl failed!\n");
++              DBG_DEBUG("settinge file acl failed!\n");
+       }
+ 
+  done:
diff -r 086aa736a6cc -r 728c1d556949 net/samba4/patches/patch-source3_modules_vfs__solarisacl.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba4/patches/patch-source3_modules_vfs__solarisacl.h        Mon Apr 25 16:25:02 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-source3_modules_vfs__solarisacl.h,v 1.1 2022/04/25 16:25:02 jperkin Exp $
+
+Fix function prototype to match.
+
+--- source3/modules/vfs_solarisacl.h.orig      2022-03-15 13:19:34.136201100 +0000
++++ source3/modules/vfs_solarisacl.h
+@@ -20,7 +20,7 @@
+ #ifndef __VFS_SOLARISACL_H__
+ #define __VFS_SOLARISACL_H__
+ 
+-SMB_ACL_T solarisacl_sys_acl_get_file(vfs_handle_struct *handle,
++static SMB_ACL_T solarisacl_sys_acl_get_file(vfs_handle_struct *handle,
+                               const struct smb_filename *smb_fname,
+                               SMB_ACL_TYPE_T type,
+                               TALLOC_CTX *mem_ctx);
diff -r 086aa736a6cc -r 728c1d556949 net/samba4/patches/patch-source3_printing_samba-bgqd.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba4/patches/patch-source3_printing_samba-bgqd.c    Mon Apr 25 16:25:02 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-source3_printing_samba-bgqd.c,v 1.1 2022/04/25 16:25:02 jperkin Exp $
+
+Fix includes for SIG*.
+
+--- source3/printing/samba-bgqd.c.orig 2022-03-15 13:19:34.136201100 +0000
++++ source3/printing/samba-bgqd.c
+@@ -15,6 +15,7 @@
+  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
+  */
+ 
++#include "includes.h"
+ #include "replace.h"
+ #include "system/filesys.h"
+ #include "lib/util/server_id.h"



Home | Main Index | Thread Index | Old Index