Bug 276598

Summary: security/sudo: patch to add sssd-devel option back in
Product: Ports & Packages Reporter: Dan Langille <dvl>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed FIXED    
Severity: Affects Some People CC: dvl
Priority: --- Flags: garga: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 272571    
Bug Blocks:    
Attachments:
Description Flags
patches both sudo and sssd-devel so they play well together none

Description Dan Langille freebsd_committer freebsd_triage 2024-01-24 21:08:09 UTC
Created attachment 247935 [details]
patches both sudo and sssd-devel so they play well together

This patch, originally submitted via 272488 was later removed[1] because it conflicted with sssd-devel (circular dependency).

It patches both sudo and sssd-devel (see 272571) and removes the sudo dependency from sssd-devel

sssd-devel without the sudo dependency has been in use here since July 2023 - however, I have only just today remove these lines from the Makefile:

-with-sudo
-with-sudo-lib-path=${LOCALBASE}/lib

I've tested that change here - works.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-01-24 21:39:08 UTC
A commit in branch main references this bug:

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

commit 2f448a87ed311d7e3bc506c6a42e23da6ad8bfee
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2024-01-24 21:37:01 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2024-01-24 21:37:01 +0000

    security/sudo: re-add sssd-devel option

    sudo already allows for the use of security/sssd (SSSD)

    This patch allows for selecting security/sssd-devel (SSSD_DEVEL)
    instead.

    Also updates security/sssd-devel, elminating a circular dependency.

    PR:             276598 272571

 security/sssd-devel/Makefile |  3 +--
 security/sudo/Makefile       | 11 ++++++++---
 2 files changed, 9 insertions(+), 5 deletions(-)