summaryrefslogtreecommitdiff
path: root/net/samba4
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-04-25 16:25:02 +0000
committerjperkin <jperkin@pkgsrc.org>2022-04-25 16:25:02 +0000
commitaf85da00059a170e91fe003c77edf6813946d56a (patch)
tree39f68b960f752413f2fea0898f161fd825135a6c /net/samba4
parent8b401f1f6d002c3889229a96887e2b034dfa62ec (diff)
downloadpkgsrc-af85da00059a170e91fe003c77edf6813946d56a.tar.gz
samba4: Build fixes, primarily for SunOS.
Diffstat (limited to 'net/samba4')
-rw-r--r--net/samba4/distinfo5
-rw-r--r--net/samba4/patches/patch-source3_modules_vfs__solarisacl.c24
-rw-r--r--net/samba4/patches/patch-source3_modules_vfs__solarisacl.h15
-rw-r--r--net/samba4/patches/patch-source3_printing_samba-bgqd.c14
4 files changed, 57 insertions, 1 deletions
diff --git a/net/samba4/distinfo b/net/samba4/distinfo
index 5b99ca2331f..907d8e3b370 100644
--- a/net/samba4/distinfo
+++ b/net/samba4/distinfo
@@ -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_stress-nss-libwbclient.c) = c546f00184b0d22b6c150e210962cdf
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 --git a/net/samba4/patches/patch-source3_modules_vfs__solarisacl.c b/net/samba4/patches/patch-source3_modules_vfs__solarisacl.c
new file mode 100644
index 00000000000..a70eeaa9da0
--- /dev/null
+++ b/net/samba4/patches/patch-source3_modules_vfs__solarisacl.c
@@ -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 --git a/net/samba4/patches/patch-source3_modules_vfs__solarisacl.h b/net/samba4/patches/patch-source3_modules_vfs__solarisacl.h
new file mode 100644
index 00000000000..192368a2171
--- /dev/null
+++ b/net/samba4/patches/patch-source3_modules_vfs__solarisacl.h
@@ -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 --git a/net/samba4/patches/patch-source3_printing_samba-bgqd.c b/net/samba4/patches/patch-source3_printing_samba-bgqd.c
new file mode 100644
index 00000000000..c16efaeb33c
--- /dev/null
+++ b/net/samba4/patches/patch-source3_printing_samba-bgqd.c
@@ -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"