git: c90c4cc7030b - main - security/sudo: add sssd-devel option

From: Dan Langille <dvl_at_FreeBSD.org>
Date: Fri, 14 Jul 2023 13:06:53 UTC
The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c90c4cc7030b96337f094c4f72c1708cf89381b7

commit c90c4cc7030b96337f094c4f72c1708cf89381b7
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2023-07-14 13:05:34 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2023-07-14 13:06:49 +0000

    security/sudo: add sssd-devel option
    
    security/sudo already allows for the use of security/sssd (SSSD)
    
    This patch allows for selecting security/sssd-devel (SSSD_DEVEL)
    instead.
    
    PR:             272488
---
 security/sudo/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 4aa6cc782f36..fea84c8e8a20 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sudo
 PORTVERSION=	1.9.14p1
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SUDO
 
@@ -29,10 +30,11 @@ LDFLAGS+=	-lgcc
 PORTSCOUT=	ignore:1
 
 OPTIONS_DEFINE=		AUDIT DISABLE_AUTH DISABLE_ROOT_SUDO DOCS EXAMPLES \
-			INSULTS LDAP NLS NOARGS_SHELL OPIE PAM PYTHON SSSD
+			INSULTS LDAP NLS NOARGS_SHELL OPIE PAM PYTHON
 OPTIONS_DEFAULT=	AUDIT PAM
-OPTIONS_RADIO=		KERBEROS
+OPTIONS_RADIO=		KERBEROS SSSD
 OPTIONS_RADIO_KERBEROS=	GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
+OPTIONS_RADIO_SSSD=	SSSD SSSD_DEVEL
 OPTIONS_SUB=		yes
 
 AUDIT_DESC=		Enable BSM audit support
@@ -44,6 +46,7 @@ NOARGS_SHELL_DESC=	Run a shell if no arguments are given
 OPIE_DESC=		Enable one-time passwords (no PAM support)
 PYTHON_DESC=		Enable python plugin support
 SSSD_DESC=		Enable SSSD backend support.
+SSSD_DEVEL_DESC=	Enable SSSD-devel backend support.
 
 AUDIT_CONFIGURE_WITH=	bsm-audit
 
@@ -82,6 +85,9 @@ PYTHON_CONFIGURE_ENABLE=python
 SSSD_RUN_DEPENDS=	sssd:security/sssd
 SSSD_CONFIGURE_ON=	--with-sssd
 
+SSSD_DEVEL_RUN_DEPENDS=	sssd:security/sssd-devel
+SSSD_DEVEL_CONFIGURE_ON=	--with-sssd
+
 LOGFAC?=		authpriv
 SUDO_LDAP_CONF?=	ldap.conf