summaryrefslogtreecommitdiff
path: root/net/samba416/files/0006-Install-nss_-modules-into-PAMMODULESDIR-path.patch
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/0006-Install-nss_-modules-into-PAMMODULESDIR-path.patch
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/0006-Install-nss_-modules-into-PAMMODULESDIR-path.patch')
-rw-r--r--net/samba416/files/0006-Install-nss_-modules-into-PAMMODULESDIR-path.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/net/samba416/files/0006-Install-nss_-modules-into-PAMMODULESDIR-path.patch b/net/samba416/files/0006-Install-nss_-modules-into-PAMMODULESDIR-path.patch
new file mode 100644
index 000000000000..9fa102f09d75
--- /dev/null
+++ b/net/samba416/files/0006-Install-nss_-modules-into-PAMMODULESDIR-path.patch
@@ -0,0 +1,32 @@
+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
+