Page MenuHomeFreeBSD

[PATCH] security/sudo: Add sssd flavor
ClosedPublic

Authored by kiwi on Dec 19 2024, 12:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 14, 9:43 PM
Unknown Object (File)
Fri, Jan 10, 4:42 PM
Unknown Object (File)
Fri, Jan 10, 3:20 PM
Unknown Object (File)
Fri, Jan 10, 3:17 PM
Unknown Object (File)
Fri, Jan 10, 3:12 PM
Unknown Object (File)
Tue, Dec 31, 11:07 PM
Unknown Object (File)
Mon, Dec 30, 10:37 PM
Unknown Object (File)
Sun, Dec 29, 10:00 PM
Subscribers

Details

Summary
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)
Test Plan

Tested with poudriere on both flavor (default and sssd) on 13.4-RELEASE.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kiwi requested review of this revision.Dec 19 2024, 12:25 PM
kiwi created this revision.

LGTM

Regarding the commit message, I'd suggest something along the lines of:

security/sudo: Add sssd flavor

Sudo with sssd support is a  a good candidate
for a flavor because it is a fairly common requirement
in some deployments.

Let's use security/sssd2 for that instead of security/sssd
as the later is deprecated.
This revision is now accepted and ready to land.Mon, Jan 6, 1:41 PM

LGTM as well and I also agree with @0mp suggestion for commit log

kiwi retitled this revision from [PATCH] security/sudo: Addming sssd flavor to sudo to [PATCH] security/sudo: Add sssd flavor.
kiwi edited the summary of this revision. (Show Details)

Rebased patch, and fixed the summary since sssd2 is the only sssd option since Jan 1 2025.

This revision now requires review to proceed.Fri, Jan 10, 1:28 PM
This revision is now accepted and ready to land.Fri, Jan 10, 2:56 PM
This revision was automatically updated to reflect the committed changes.

I fail to see why the SSSD2 option is not removed completely. Flavors are dependable options. A flavor can be thought of as an option that other ports may depend on, because it produces a separate package.

With ports current state it is possible to get sudo-default with SSSD2 turned on and sudo-sssd with SSSD2 turned off.

I fail to see why the SSSD2 option is not removed completely. Flavors are dependable options. A flavor can be thought of as an option that other ports may depend on, because it produces a separate package.

With ports current state it is possible to get sudo-default with SSSD2 turned on and sudo-sssd with SSSD2 turned off.

sssd has been removed from port tree on Jan 1srt, see https://reviews.freebsd.org/D48389 unfortunatly.
The option systems still works. So you can have (localy) a sudo(-default) with sssd2 turned on if you need. (or OPTION_SET+=SSSD2 on your /etc/make.conf )

What I'm saying is that SSSD2 option should now be removed altogether.