commit:     5b797e3e35a78d6c20b20ca506b33948e57d4c81
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Mon Sep  8 00:47:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 25 00:11:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b797e3e

sys-auth/sssd: Allow compile against app-crypt/mit-krb5-1.22

sys-auth/sssd uses an unstable API from app-crypt/mit-krb5. Because it
could change at any time, upstream restricts which versions of
app-crypt/mit-krb5 it will work with. So every time there's a new
version of app-crypt/mit-krb5, upstream has to check if the ABI changed
and add the appropriate test for the new version.

Upstream currently cannot automate this for reasons listed in
https://github.com/SSSD/sssd/issues/8068.

Closes: https://bugs.gentoo.org/961637
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43708
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-auth/sssd/files/sssd-2.9.7-kerberos-1-22.patch | 14 ++++++++++++++
 sys-auth/sssd/sssd-2.9.7.ebuild                    |  1 +
 2 files changed, 15 insertions(+)

diff --git a/sys-auth/sssd/files/sssd-2.9.7-kerberos-1-22.patch 
b/sys-auth/sssd/files/sssd-2.9.7-kerberos-1-22.patch
new file mode 100644
index 000000000000..28475db41373
--- /dev/null
+++ b/sys-auth/sssd/files/sssd-2.9.7-kerberos-1-22.patch
@@ -0,0 +1,14 @@
+diff --git a/src/external/pac_responder.m4 b/src/external/pac_responder.m4
+index 90727185b..3501b6b71 100644
+--- a/src/external/pac_responder.m4
++++ b/src/external/pac_responder.m4
+@@ -23,7 +23,8 @@ then
+         Kerberos\ 5\ release\ 1.18* | \
+         Kerberos\ 5\ release\ 1.19* | \
+         Kerberos\ 5\ release\ 1.20* | \
+-        Kerberos\ 5\ release\ 1.21*)
++        Kerberos\ 5\ release\ 1.21* | \
++        Kerberos\ 5\ release\ 1.22*)
+             krb5_version_ok=yes
+             AC_MSG_RESULT([yes])
+             ;;

diff --git a/sys-auth/sssd/sssd-2.9.7.ebuild b/sys-auth/sssd/sssd-2.9.7.ebuild
index 268d2ff2e1b5..78043d407a85 100644
--- a/sys-auth/sssd/sssd-2.9.7.ebuild
+++ b/sys-auth/sssd/sssd-2.9.7.ebuild
@@ -102,6 +102,7 @@ CONFIG_CHECK="~KEYS"
 PATCHES=(
        "${FILESDIR}/${PN}-2.8.2-krb5_pw_locked.patch"
        "${FILESDIR}/${PN}-2.9.6-conditional-python-install.patch"
+       "${FILESDIR}/${PN}-2.9.7-kerberos-1-22.patch"
 )
 
 MULTILIB_WRAPPED_HEADERS=(

Reply via email to