Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sssd for openSUSE:Factory checked in at 2026-04-01 19:54:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sssd (Old) and /work/SRC/openSUSE:Factory/.sssd.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sssd" Wed Apr 1 19:54:53 2026 rev:147 rq:1343883 version:2.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/sssd/sssd.changes 2026-01-17 21:42:37.917631840 +0100 +++ /work/SRC/openSUSE:Factory/.sssd.new.21863/sssd.changes 2026-04-01 19:55:16.412701984 +0200 @@ -1,0 +2,8 @@ +Mon Mar 30 14:19:08 UTC 2026 - Jan Engelhardt <[email protected]> + +- Add 0001-Fix-libini_config-related-includes.patch, + 0001-INI-get-rid-of-useless-macros.patch, + 0001-INI-use-proper-deallocators.patch to + allow build with newer ding-libs >= 0.7.0. + +------------------------------------------------------------------- New: ---- 0001-Fix-libini_config-related-includes.patch 0001-INI-get-rid-of-useless-macros.patch 0001-INI-use-proper-deallocators.patch ----------(New B)---------- New: - Add 0001-Fix-libini_config-related-includes.patch, 0001-INI-get-rid-of-useless-macros.patch, New:- Add 0001-Fix-libini_config-related-includes.patch, 0001-INI-get-rid-of-useless-macros.patch, 0001-INI-use-proper-deallocators.patch to New: 0001-INI-get-rid-of-useless-macros.patch, 0001-INI-use-proper-deallocators.patch to allow build with newer ding-libs >= 0.7.0. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sssd.spec ++++++ --- /var/tmp/diff_new_pack.YQqHHg/_old 2026-04-01 19:55:17.704755318 +0200 +++ /var/tmp/diff_new_pack.YQqHHg/_new 2026-04-01 19:55:17.712755647 +0200 @@ -31,6 +31,9 @@ Source5: %name.keyring Source6: %name-rpmlintrc Patch1: 0001-TOOL-Fix-build-parameter-name-omitted.patch +Patch2: 0001-Fix-libini_config-related-includes.patch +Patch3: 0001-INI-get-rid-of-useless-macros.patch +Patch4: 0001-INI-use-proper-deallocators.patch Patch11: krb-noversion.diff Patch12: harden_sssd-ifp.service.patch Patch13: harden_sssd-kcm.service.patch @@ -63,7 +66,6 @@ BuildRequires: sysuser-tools BuildRequires: uid_wrapper BuildRequires: pkgconfig(augeas) >= 1.0.0 -BuildRequires: pkgconfig(collection) >= 0.5.1 BuildRequires: pkgconfig(dbus-1) >= 1.0.0 BuildRequires: pkgconfig(dhash) >= 0.4.2 BuildRequires: pkgconfig(glib-2.0) ++++++ 0001-Fix-libini_config-related-includes.patch ++++++ >From 29a8731d23d67b2e9641ff4e97fa9be15f4a8fe3 Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov <[email protected]> Date: Wed, 28 Jan 2026 14:25:42 +0100 Subject: [PATCH] Fix libini_config related includes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Tomáš Halman <[email protected]> --- src/tools/sssctl/sssctl_config.c | 1 - src/util/sss_ini.c | 5 ++--- src/util/sss_ini.h | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/tools/sssctl/sssctl_config.c b/src/tools/sssctl/sssctl_config.c index dcd37863e..b29cef2a5 100644 --- a/src/tools/sssctl/sssctl_config.c +++ b/src/tools/sssctl/sssctl_config.c @@ -22,7 +22,6 @@ #include <popt.h> #include <stdio.h> -#include <ini_configobj.h> #include "util/util.h" #include "util/sss_ini.h" diff --git a/src/util/sss_ini.c b/src/util/sss_ini.c index 61f8cd786..f3157d022 100644 --- a/src/util/sss_ini.c +++ b/src/util/sss_ini.c @@ -28,6 +28,8 @@ #include <errno.h> #include <sys/stat.h> #include <talloc.h> +#include <ini_configobj.h> +#include <ini_config.h> #include "config.h" #include "util/util.h" @@ -35,9 +37,6 @@ #include "confdb/confdb_setup.h" #include "confdb/confdb_private.h" -#include "ini_configobj.h" -#include "ini_config.h" - struct sss_ini { char **error_list; struct ref_array *ra_success_list; diff --git a/src/util/sss_ini.h b/src/util/sss_ini.h index 45ede2759..e2197f374 100644 --- a/src/util/sss_ini.h +++ b/src/util/sss_ini.h @@ -28,6 +28,7 @@ #define __SSS_INI_H__ #include <stdbool.h> +#include <ref_array.h> /** * @brief INI data structure -- 2.53.0 ++++++ 0001-INI-get-rid-of-useless-macros.patch ++++++ >From ee42c35db951619aed7545020f6d7c0e0b8c0b8a Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov <[email protected]> Date: Wed, 28 Jan 2026 18:46:15 +0100 Subject: [PATCH] INI: get rid of useless macros MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Tomáš Halman <[email protected]> --- src/util/sss_ini.c | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/src/util/sss_ini.c b/src/util/sss_ini.c index f3157d022..bcd65772e 100644 --- a/src/util/sss_ini.c +++ b/src/util/sss_ini.c @@ -47,11 +47,6 @@ struct sss_ini { bool main_config_exists; }; -#define sss_ini_get_sec_list ini_get_section_list -#define sss_ini_get_attr_list ini_get_attribute_list -#define sss_ini_get_const_string_config_value ini_get_const_string_config_value -#define sss_ini_get_config_obj ini_get_config_valueobj - static void sss_ini_free_error_messages(struct sss_ini *self) { @@ -272,8 +267,8 @@ sss_ini_get_ra_error_list(struct sss_ini *self) int sss_ini_get_cfgobj(struct sss_ini *self, const char *section, const char *name) { - return sss_ini_get_config_obj(section,name, self->sssd_config, - INI_GET_FIRST_VALUE, &self->obj); + return ini_get_config_valueobj(section,name, self->sssd_config, + INI_GET_FIRST_VALUE, &self->obj); } /* Check configuration object */ @@ -337,7 +332,7 @@ int sss_confdb_create_ldif(TALLOC_CTX *mem_ctx, /* Read in the collection and convert it to an LDIF */ /* Get the list of sections */ - sections = sss_ini_get_sec_list(self->sssd_config, + sections = ini_get_section_list(self->sssd_config, §ion_count, &ret); if (ret != EOK) { goto error; @@ -371,8 +366,8 @@ int sss_confdb_create_ldif(TALLOC_CTX *mem_ctx, dn_size = strlen(dn); /* Get all of the attributes and their values as LDIF */ - attrs = sss_ini_get_attr_list(self->sssd_config, sections[i], - &attr_count, &ret); + attrs = ini_get_attribute_list(self->sssd_config, sections[i], + &attr_count, &ret); if (ret != EOK) { free_section_list(sections); goto error; @@ -381,12 +376,12 @@ int sss_confdb_create_ldif(TALLOC_CTX *mem_ctx, for (j = 0; j < attr_count; j++) { DEBUG(SSSDBG_TRACE_LDB, "Processing attribute [%s]\n", attrs[j]); - ret = sss_ini_get_config_obj(sections[i], attrs[j], - self->sssd_config, - INI_GET_FIRST_VALUE, &obj); + ret = ini_get_config_valueobj(sections[i], attrs[j], + self->sssd_config, + INI_GET_FIRST_VALUE, &obj); if (ret != EOK) goto error; - const char *value = sss_ini_get_const_string_config_value(obj, &ret); + const char *value = ini_get_const_string_config_value(obj, &ret); if (ret != EOK) goto error; if (value && value[0] == '\0') { DEBUG(SSSDBG_CRIT_FAILURE, @@ -520,7 +515,7 @@ static errno_t check_domain_id_provider(char *cfg_section, "missing in section '%s'.", cfg_section); } else { - value = sss_ini_get_const_string_config_value(vo, &ret); + value = ini_get_const_string_config_value(vo, &ret); if (ret != EOK) { goto done; } -- 2.53.0 ++++++ 0001-INI-use-proper-deallocators.patch ++++++ >From ade61ef1bac6aa2f6d91a25b39417a93375ed3ed Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov <[email protected]> Date: Wed, 28 Jan 2026 18:57:59 +0100 Subject: [PATCH] INI: use proper deallocators MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This also allows to avoid inclusion of 'ini_config.h' Reviewed-by: Tomáš Halman <[email protected]> --- src/util/sss_ini.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/util/sss_ini.c b/src/util/sss_ini.c index bcd65772e..f20a8148f 100644 --- a/src/util/sss_ini.c +++ b/src/util/sss_ini.c @@ -29,7 +29,6 @@ #include <sys/stat.h> #include <talloc.h> #include <ini_configobj.h> -#include <ini_config.h> #include "config.h" #include "util/util.h" @@ -360,7 +359,7 @@ int sss_confdb_create_ldif(TALLOC_CTX *mem_ctx, sec_dn, rdn); if (!dn) { ret = ENOMEM; - free_section_list(sections); + ini_free_section_list(sections); goto error; } dn_size = strlen(dn); @@ -369,7 +368,7 @@ int sss_confdb_create_ldif(TALLOC_CTX *mem_ctx, attrs = ini_get_attribute_list(self->sssd_config, sections[i], &attr_count, &ret); if (ret != EOK) { - free_section_list(sections); + ini_free_section_list(sections); goto error; } @@ -400,8 +399,8 @@ int sss_confdb_create_ldif(TALLOC_CTX *mem_ctx, dn_size+attr_len+1); if (!tmp_dn) { ret = ENOMEM; - free_attribute_list(attrs); - free_section_list(sections); + ini_free_attribute_list(attrs); + ini_free_section_list(sections); goto error; } dn = tmp_dn; @@ -414,8 +413,8 @@ int sss_confdb_create_ldif(TALLOC_CTX *mem_ctx, dn_size+1); if (!tmp_dn) { ret = ENOMEM; - free_attribute_list(attrs); - free_section_list(sections); + ini_free_attribute_list(attrs); + ini_free_section_list(sections); goto error; } dn = tmp_dn; @@ -428,15 +427,15 @@ int sss_confdb_create_ldif(TALLOC_CTX *mem_ctx, ldif_len+dn_size+1); if (!tmp_ldif) { ret = ENOMEM; - free_attribute_list(attrs); - free_section_list(sections); + ini_free_attribute_list(attrs); + ini_free_section_list(sections); goto error; } ldif = tmp_ldif; memcpy(ldif+ldif_len, dn, dn_size); ldif_len += dn_size; - free_attribute_list(attrs); + ini_free_attribute_list(attrs); talloc_free(dn); } @@ -446,7 +445,7 @@ int sss_confdb_create_ldif(TALLOC_CTX *mem_ctx, } ldif[ldif_len] = '\0'; - free_section_list(sections); + ini_free_section_list(sections); *config_ldif = (const char *)ldif; talloc_free(tmp_ctx); -- 2.53.0 ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.YQqHHg/_old 2026-04-01 19:55:17.940765060 +0200 +++ /var/tmp/diff_new_pack.YQqHHg/_new 2026-04-01 19:55:17.948765390 +0200 @@ -1,5 +1,5 @@ -mtime: 1768506555 -commit: 5a8a322537158c501d97e2ee418e9b167bac72a9ff11394ccd462c47b154969a +mtime: 1774953118 +commit: bf84d5158f55cc0c3633490730e0a501855167ae65e996c25746aa7035de05da url: https://src.opensuse.org/jengelh/sssd revision: master ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-03-31 12:32:12.000000000 +0200 @@ -0,0 +1 @@ +.osc
