Adding sssd flavor
This commit is contained in:
@ -12,6 +12,10 @@ LICENSE_NAME= Sudo license
|
|||||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||||
|
|
||||||
|
FLAVORS= default sssd
|
||||||
|
FLAVOR?= ${FLAVORS:[1]}
|
||||||
|
sssd_PKGNAMESUFFIX= -sssd
|
||||||
|
|
||||||
USES= cpe libtool pkgconfig
|
USES= cpe libtool pkgconfig
|
||||||
CPE_VENDOR= todd_miller
|
CPE_VENDOR= todd_miller
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
@ -92,8 +96,13 @@ SSSD_PREVENTS_MSG= sssd requires MIT kerberos and it conflicts with heimdal
|
|||||||
SSSD_RUN_DEPENDS= sssd:security/sssd
|
SSSD_RUN_DEPENDS= sssd:security/sssd
|
||||||
SSSD_CONFIGURE_ON= --with-sssd
|
SSSD_CONFIGURE_ON= --with-sssd
|
||||||
|
|
||||||
|
.if ${FLAVOR} == sssd
|
||||||
|
RUN_DEPENDS+= sssd:security/sssd2
|
||||||
|
CONFIGURE_ARGS+= --with-sssd
|
||||||
|
.else
|
||||||
SSSD2_RUN_DEPENDS= sssd:security/sssd2
|
SSSD2_RUN_DEPENDS= sssd:security/sssd2
|
||||||
SSSD2_CONFIGURE_ON= --with-sssd
|
SSSD2_CONFIGURE_ON= --with-sssd
|
||||||
|
.endif
|
||||||
|
|
||||||
LOGFAC?= authpriv
|
LOGFAC?= authpriv
|
||||||
SUDO_LDAP_CONF?= ldap.conf
|
SUDO_LDAP_CONF?= ldap.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user