mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
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
32 lines
970 B
Diff
32 lines
970 B
Diff
From 406621efcd26d48b5e8f1e5df4082c8bf2cc8bab Mon Sep 17 00:00:00 2001
|
|
From: "Timur I. Bakeyev" <timur@FreeBSD.org>
|
|
Date: Sun, 30 May 2021 03:32:21 +0200
|
|
Subject: [PATCH 06/28] Install nss_* modules into PAMMODULESDIR path.
|
|
|
|
Signed-off-by: Timur I. Bakeyev <timur@FreeBSD.org>
|
|
---
|
|
nsswitch/wscript_build | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
|
|
index 3247b6c2b7c..df2fc3b97ea 100644
|
|
--- a/nsswitch/wscript_build
|
|
+++ b/nsswitch/wscript_build
|
|
@@ -54,12 +54,14 @@ elif (host_os.rfind('freebsd') > -1):
|
|
source='winbind_nss_linux.c winbind_nss_freebsd.c',
|
|
deps='wbclient',
|
|
realname='nss_winbind.so.1',
|
|
+ install_path='${PAMMODULESDIR}',
|
|
vnum='1')
|
|
|
|
bld.SAMBA3_PLUGIN('nss_wins',
|
|
source='wins.c wins_freebsd.c',
|
|
deps='''wbclient''',
|
|
realname='nss_wins.so.1',
|
|
+ install_path='${PAMMODULESDIR}',
|
|
vnum='1')
|
|
|
|
elif (host_os.rfind('netbsd') > -1):
|
|
--
|
|
2.37.1
|
|
|