mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- OPTIONS += LCLASS
Allow the use of login classes in nss_ldap via a new LDAP attribute (loginClass). Administrators should be able to add this attribute to their schemata easily. PR: ports/14107 Submitted by: Jacob Myers <jacob@whotookspaz.org>
This commit is contained in:
parent
f65bb6b637
commit
a4df9b833a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247103
@ -23,6 +23,8 @@ USE_AUTOTOOLS= automake:19 aclocal:19 autoconf:262 autoheader:262
|
||||
USE_LDCONFIG= yes
|
||||
USE_OPENLDAP= yes
|
||||
|
||||
OPTIONS= LCLASS "Enable login classes via the loginClass attribute" on
|
||||
|
||||
PLIST_FILES= etc/nss_ldap.conf.sample \
|
||||
lib/nss_ldap.so.1
|
||||
|
||||
@ -41,6 +43,10 @@ MAN5= nss_ldap.5
|
||||
CONFIGURE_ARGS+=--enable-configurable-krb5-ccname-env
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LCLASS)
|
||||
CFLAGS+="-DHAVE_LOGIN_CLASSES"
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/bsdnss.c ${WRKSRC}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user