git: c1df24f8c4a7 - main - security/sssd: Add SMB flavor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Feb 2022 02:59:38 UTC
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c1df24f8c4a711b99a922e31b61784306dd72315
commit c1df24f8c4a711b99a922e31b61784306dd72315
Author: Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-02-23 02:59:04 +0000
Commit: Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-02-23 02:59:04 +0000
security/sssd: Add SMB flavor
PR: 261730
Approved by: maintainer timeout (2+ weeks)
---
security/sssd/Makefile | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/security/sssd/Makefile b/security/sssd/Makefile
index b3676d1de8b8..3e6f3d311f3a 100644
--- a/security/sssd/Makefile
+++ b/security/sssd/Makefile
@@ -33,6 +33,10 @@ BUILD_DEPENDS= xmlcatalog:textproc/libxml2 \
krb5>=1.10:security/krb5 \
nsupdate:dns/bind-tools
+FLAVORS= default smb
+FLAVOR?= ${FLAVORS:[1]}
+smb_PKGNAMESUFFIX= -smb
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-selinux --without-semanage \
--without-libnl --without-nfsv4-idmapd-plugin \
@@ -83,6 +87,10 @@ SMB_LIB_DEPENDS= libndr-nbt.so.0:net/samba412 \
libsamba-util.so.0:net/samba412 \
libsmbclient.so.0:net/samba412
+.if ${FLAVOR} == smb
+OPTIONS_DEFAULT+= SMB
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|NSS_STATUS_NOTFOUND|NS_NOTFOUND|g' \
-e 's|NSS_STATUS_UNAVAIL|NS_UNAVAIL|g' \