summaryrefslogtreecommitdiff
path: root/net/samba416/files/patch-source3_wscript__build
diff options
context:
space:
mode:
authorTimur I. Bakeyev <timur@FreeBSD.org>2022-10-17 01:06:57 +0200
committerTimur I. Bakeyev <timur@FreeBSD.org>2022-10-17 01:23:12 +0200
commit2daf87ac19838c9a36f56fb51b0678d193921771 (patch)
tree87a5f4c067f790a80182ab78a91be4695e030b8c /net/samba416/files/patch-source3_wscript__build
parentnet/samba413: Fix alignment of the WWW line. (diff)
net/samba416: New port for Samba 4.16
This is an initial attempt to add Samba to the FreeBSD after major rewrite of the VFS code in the upstream. Most of the port development is now carried in: https://gitlab.com/samba-freebsd Due to the way how new Samba VFS code is written there is a constrain that Samba 4.14+ can run only on FreeBSD 13.1+, as it requires support of the `nodup` option for the `fdesc` file system, as well as it's presence in the system in general. https://gitlab.com/samba-freebsd/-/wikis/The-New-VFS I'd like to thank CyberSecure Pty Ltd. company for their supoort of the port development and Andrew Walker from iXsystems Inc. for the patches he created and made available for the Samba4 on TrueNAS. PR: 263874
Diffstat (limited to 'net/samba416/files/patch-source3_wscript__build')
-rw-r--r--net/samba416/files/patch-source3_wscript__build44
1 files changed, 44 insertions, 0 deletions
diff --git a/net/samba416/files/patch-source3_wscript__build b/net/samba416/files/patch-source3_wscript__build
new file mode 100644
index 000000000000..ff35a17327dd
--- /dev/null
+++ b/net/samba416/files/patch-source3_wscript__build
@@ -0,0 +1,44 @@
+--- source3/wscript_build.orig 2020-07-09 13:33:56 UTC
++++ source3/wscript_build
+@@ -235,11 +235,9 @@ bld.SAMBA3_SUBSYSTEM('SMBREGISTRY',
+ talloc
+ replace
+ util_reg
+- samba-util
+- samba-security
+ errors3
+ dbwrap
+- samba3-util
++ samba3util
+ ''')
+
+ # Do not link against this use 'smbconf'
+@@ -482,7 +480,7 @@ bld.SAMBA3_LIBRARY('secrets3',
+
+ bld.SAMBA3_LIBRARY('smbldap',
+ source='lib/smbldap.c',
+- deps='ldap lber samba-util smbconf',
++ deps='ldap lber samba3util smbd_shim samba-debug smbconf',
+ enabled=bld.CONFIG_SET("HAVE_LDAP"),
+ private_library=False,
+ abi_directory='lib/ABI',
+@@ -1151,8 +1151,8 @@ bld.SAMBA3_BINARY('smbspool_krb5_wrapper',
+ enabled=bld.CONFIG_SET('HAVE_CUPS'))
+
+ bld.SAMBA3_BINARY('smbspool_argv_wrapper',
+- source='script/tests/smbspool_argv_wrapper.c',
+- for_selftest=True)
++ source='script/tests/smbspool_argv_wrapper.c',
++ for_selftest=True)
+
+ bld.SAMBA3_BINARY('smbconftort',
+ source='lib/smbconf/testsuite.c',
+@@ -1199,7 +1199,7 @@ bld.SAMBA3_BINARY('vlp',
+ talloc
+ smbconf
+ ''',
+- for_selftest=True)
++ install=True)
+
+
+ pyrpc_util = bld.pyembed_libname('pyrpc_util')