Skip to content

Commit

Permalink
security/sssd: Add SMB flavor
Browse files Browse the repository at this point in the history
PR:		261730
Approved by:	maintainer timeout (2+ weeks)
  • Loading branch information
neelchauhan committed Feb 23, 2022
1 parent ce7e2f4 commit c1df24f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions security/sssd/Makefile
Expand Up @@ -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 \
Expand Down Expand Up @@ -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' \
Expand Down

0 comments on commit c1df24f

Please sign in to comment.