Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2025 15:04:54 GMT
From:      Xavier Beaudouin <kiwi@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 68af7b3d319e - main - security/sudo: Add sssd flavor
Message-ID:  <202501101504.50AF4st4058206@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kiwi:

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

commit 68af7b3d319e28e0c33de21d9dfbf9f3371b397e
Author:     Xavier Beaudouin <kiwi@FreeBSD.org>
AuthorDate: 2025-01-10 13:24:03 +0000
Commit:     Xavier Beaudouin <kiwi@FreeBSD.org>
CommitDate: 2025-01-10 14:59:43 +0000

    security/sudo: Add sssd flavor
    
    Sudo with sssd support is a good candidate
    for a flavor because it is a fairly common requirement
    in some deployments.
    
    Sponsored by:   Klara, Inc.
    Approved by:    0mp (mentor)
    Approved by:    garga (maintainer)
    Differential Revision:  https://reviews.freebsd.org/D48147
---
 security/sudo/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index b288cd0850c6..0548654a1210 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -13,6 +13,10 @@ LICENSE_NAME=	Sudo license
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 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
 CPE_VENDOR=	todd_miller
 USE_LDCONFIG=	yes
@@ -86,6 +90,10 @@ PYTHON_CONFIGURE_ENABLE=python
 SSL_USES=		ssl
 SSL_CONFIGURE_ON=	--enable-openssl=${OPENSSLBASE}
 
+.if ${FLAVOR:U} == sssd
+OPTIONS_DEFAULTS+=	SSSD2
+.endif
+
 SSSD2_RUN_DEPENDS=	sssd:security/sssd2
 SSSD2_CONFIGURE_ON=	--with-sssd
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501101504.50AF4st4058206>