[Pkg-sssd-devel] [Git][sssd-team/sssd][master] 6 commits: debian/control: Assure we are building using dh-nss (>= 1.8~). See #1148069 for details.

Mike Gabriel (@sunweaver) gitlab at salsa.debian.org
Wed Nov 4 17:58:52 GMT 2026



Mike Gabriel pushed to branch master at Debian SSSD packaging / sssd


Commits:
9b29d089 by Mike Gabriel at 2026-10-09T09:44:10+02:00
debian/control: Assure we are building using dh-nss (>= 1.8~). See #1148069 for details.

- - - - -
ab25b5b8 by Mike Gabriel at 2026-10-09T09:44:10+02:00
debian/control: Add Pre-D: relation to sudo (>= 1.9.17p2-10~). See #1147179 for details.

- - - - -
7fd5fa22 by Mike Gabriel at 2026-10-09T09:45:30+02:00
debian/libsss-sudo.nss: Require sudoers database being maintained by other package (i.e. sudo). (Closes: #1129522).

- - - - -
8908059a by Mike Gabriel at 2026-10-09T09:48:32+02:00
debian/patches: Add gdm-51-pam-extension-macros-compat.diff. Fix building against libgdm-dev (>= 51). (Closes: #1150094).

- - - - -
ded66afe by Mike Gabriel at 2026-11-04T18:46:34+01:00
debian/control: Add myself to Uploaders: field.

- - - - -
12dd5186 by Mike Gabriel at 2026-11-04T18:58:05+01:00
releasing package sssd version 2.13.1-4

Signed-off-by: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>

- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/libsss-sudo.nss
- + debian/patches/gdm-51-pam-extension-macros-compat.diff
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,19 @@
+sssd (2.13.1-4) unstable; urgency=medium
+
+  * debian/control:
+    + Assure we are building using dh-nss (>= 1.8~). See #1148069 for details.
+    + Add Pre-D: relation to sudo (>= 1.9.17p2-10~). See #1147179 for details.
+  * debian/libsss-sudo.nss:
+    + Require sudoers database being maintained by other package (i.e. sudo).
+      (Closes: #1129522).
+  * debian/patches:
+    + Add gdm-51-pam-extension-macros-compat.diff. Fix building against
+      libgdm-dev (>= 51). (Closes: #1150094).
+  * debian/control:
+    + Add myself to Uploaders: field.
+
+ -- Mike Gabriel <sunweaver at debian.org>  Wed, 04 Nov 2026 18:47:24 +0100
+
 sssd (2.13.1-3) unstable; urgency=medium
 
   * debian/tests/control: Explicitly have tests requiring openssh-client depend


=====================================
debian/control
=====================================
@@ -2,7 +2,8 @@ Source: sssd
 Section: utils
 Maintainer: Debian SSSD Team <sssd at packages.debian.org>
 Uploaders: Timo Aaltonen <tjaalton at debian.org>,
- Dominik George <natureshadow at debian.org>
+ Dominik George <natureshadow at debian.org>,
+ Mike Gabriel <sunweaver at debian.org>,
 Build-Depends: dpkg-dev (>= 1.22.5),
  autopoint,
  bc,
@@ -12,6 +13,7 @@ Build-Depends: dpkg-dev (>= 1.22.5),
  dh-apparmor,
  dh-python,
  dh-sequence-installnss,
+ dh-nss (>= 1.8~),
  bind9-dnsutils,
  docbook-xml,
  docbook-xsl,
@@ -372,6 +374,7 @@ Description: SID based lookups library for SSSD -- development files
 Package: libsss-sudo
 Section: libs
 Architecture: any
+Pre-Depends: ${misc:Pre-Depends}, sudo (>= 1.9.17p2-10~)
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: Communicator library for sudo
  Utility library to allow communication between sudo and SSSD for caching


=====================================
debian/libsss-sudo.nss
=====================================
@@ -1,3 +1,3 @@
-sudoers	database-add
+sudoers	database-require
 
 sudoers last	sss


=====================================
debian/patches/gdm-51-pam-extension-macros-compat.diff
=====================================
@@ -0,0 +1,54 @@
+Description: Fix FTBFS with GDM 51 PAM extension headers
+ GDM 51 rewrote its gdm-pam-extensions headers, replacing the uppercase
+ function-like macros with static inline functions.
+Author: Renan Rodrigo <rr at ubuntu.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/2163336
+Forwarded: https://github.com/SSSD/sssd/pull/9076
+Last-Update: 2026-08-12
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: sssd-2.13.1/src/sss_client/pam_sss.c
+===================================================================
+--- sssd-2.13.1.orig/src/sss_client/pam_sss.c
++++ sssd-2.13.1/src/sss_client/pam_sss.c
+@@ -67,6 +67,40 @@
+ #endif
+ #endif /* HAVE_GDM_CUSTOM_JSON_PAM_EXTENSION */
+ 
++/* GDM 51 replaced the uppercase function-like macros of its PAM extension
++ * headers with lowercase static inline functions. Provide the old macro
++ * names as aliases so the code below keeps compiling with both old and new
++ * gdm-pam-extensions. */
++#ifdef HAVE_GDM_PAM_EXTENSIONS
++#ifndef GDM_PAM_EXTENSION_SUPPORTED
++#define GDM_PAM_EXTENSION_SUPPORTED(name) \
++    gdm_pam_extension_supported(name)
++#endif
++#ifndef GDM_PAM_EXTENSION_MESSAGE_TO_BINARY_PROMPT_MESSAGE
++#define GDM_PAM_EXTENSION_MESSAGE_TO_BINARY_PROMPT_MESSAGE(extended_message, binary_message) \
++    gdm_pam_extension_message_to_binary_prompt_message((GdmPamExtensionMessage *)(extended_message), binary_message)
++#endif
++#ifndef GDM_PAM_EXTENSION_CHOICE_LIST_REQUEST_INIT
++#define GDM_PAM_EXTENSION_CHOICE_LIST_REQUEST_INIT(request, title, num_items) \
++    gdm_pam_extension_choice_list_request_init(request, title, num_items)
++#endif
++#ifndef GDM_PAM_EXTENSION_REPLY_TO_CHOICE_LIST_RESPONSE
++#define GDM_PAM_EXTENSION_REPLY_TO_CHOICE_LIST_RESPONSE(reply) \
++    gdm_pam_extension_reply_to_choice_list_response(reply)
++#endif
++#endif /* HAVE_GDM_PAM_EXTENSIONS */
++
++#ifdef HAVE_GDM_CUSTOM_JSON_PAM_EXTENSION
++#ifndef GDM_PAM_EXTENSION_CUSTOM_JSON_REQUEST_INIT
++#define GDM_PAM_EXTENSION_CUSTOM_JSON_REQUEST_INIT(request, proto_name, proto_version, json_str) \
++    gdm_pam_extension_custom_json_request_init(request, proto_name, proto_version, json_str)
++#endif
++#ifndef GDM_PAM_EXTENSION_REPLY_TO_CUSTOM_JSON_RESPONSE
++#define GDM_PAM_EXTENSION_REPLY_TO_CUSTOM_JSON_RESPONSE(reply) \
++    gdm_pam_extension_reply_to_custom_json_response(reply)
++#endif
++#endif /* HAVE_GDM_CUSTOM_JSON_PAM_EXTENSION */
++
+ #include "sss_pam_compat.h"
+ #include "sss_pam_macros.h"
+


=====================================
debian/patches/series
=====================================
@@ -9,3 +9,4 @@ CVE-2026-14476.diff
 CVE-2026-68742.diff
 CVE-2026-68743.diff
 CVE-2026-68744.diff
+gdm-51-pam-extension-macros-compat.diff



View it on GitLab: https://salsa.debian.org/sssd-team/sssd/-/compare/f1ec53b791c52a63ca4e321d48a0b08089f86a60...12dd5186bb350568fe9161a77d0c5562b2261de4

-- 
View it on GitLab: https://salsa.debian.org/sssd-team/sssd/-/compare/f1ec53b791c52a63ca4e321d48a0b08089f86a60...12dd5186bb350568fe9161a77d0c5562b2261de4
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-sssd-devel/attachments/20261104/3374ef78/attachment-0001.htm>


More information about the Pkg-sssd-devel mailing list