From ce396e6add2051fdbac3eb0a43a8b33abdbb22ea637e468f7cb53cbe40030649 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 6 Dec 2012 09:16:16 +0000 Subject: [PATCH] sssd-1.9.3 OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=78 --- sssd-1.9.2.tar.xz | 3 -- sssd-1.9.3.tar.xz | 3 ++ sssd-ldflags.diff | 89 +++++++++++++++++++++++++++++++++++------------ sssd.changes | 16 +++++++++ sssd.spec | 27 +++++--------- 5 files changed, 93 insertions(+), 45 deletions(-) delete mode 100644 sssd-1.9.2.tar.xz create mode 100644 sssd-1.9.3.tar.xz diff --git a/sssd-1.9.2.tar.xz b/sssd-1.9.2.tar.xz deleted file mode 100644 index 8cbde6f..0000000 --- a/sssd-1.9.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f1a597b8e26b083968199aff93c7768ca9aed6ded67cb394734377beb4b085fe -size 1224284 diff --git a/sssd-1.9.3.tar.xz b/sssd-1.9.3.tar.xz new file mode 100644 index 0000000..facfca1 --- /dev/null +++ b/sssd-1.9.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:123aa0bd6c2c7276f04f3c4dd7681f0d08cd0c186fd61288bb454c7e2840d4ad +size 1252232 diff --git a/sssd-ldflags.diff b/sssd-ldflags.diff index 1ba81f7..da7a141 100644 --- a/sssd-ldflags.diff +++ b/sssd-ldflags.diff @@ -13,40 +13,84 @@ The patch fixes the location of library names, and also adds them to two program which need them. --- - Makefile.am | 23 +++++++++++++++-------- - 1 file changed, 15 insertions(+), 8 deletions(-) + Makefile.am | 36 +++++++++++++++++++++--------------- + 1 file changed, 21 insertions(+), 15 deletions(-) -Index: sssd-1.9.2/Makefile.am +Index: sssd-1.9.3/Makefile.am =================================================================== ---- sssd-1.9.2.orig/Makefile.am -+++ sssd-1.9.2/Makefile.am -@@ -746,8 +746,8 @@ sss_sudo_cli_SOURCES = \ - src/sss_client/common.c \ +--- sssd-1.9.3.orig/Makefile.am ++++ sssd-1.9.3/Makefile.am +@@ -531,7 +531,8 @@ libipa_hbac_la_SOURCES = \ + src/providers/ipa/hbac_evaluator.c \ + src/util/sss_utf8.c + libipa_hbac_la_LDFLAGS = \ +- -version-info 0:1:0 \ ++ -version-info 0:1:0 ++libipa_hbac_la_LIBADD = \ + $(UNICODE_LIBS) + + dist_pkgconfig_DATA += src/lib/idmap/sss_idmap.pc +@@ -645,11 +646,11 @@ sssd_be_LDADD = \ + -ldl \ + $(SSSD_LIBS) \ + $(CARES_LIBS) \ ++ $(PAM_LIBS) \ + libsss_util.la + sssd_be_LDFLAGS = \ + -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \ +- -export-dynamic \ +- $(PAM_LIBS) ++ -export-dynamic + + if BUILD_PYTHON_BINDINGS + sss_obfuscate_pythondir = $(sbindir) +@@ -750,7 +751,7 @@ sss_sudo_cli_SOURCES = \ + src/sss_client/sudo/sss_sudo_response.c \ src/sss_client/sudo_testcli/sudo_testcli.c sss_sudo_cli_CFLAGS = $(AM_CFLAGS) -sss_sudo_cli_LDFLAGS = $(CLIENT_LIBS) - sss_sudo_cli_LDADD = \ -+ $(CLIENT_LIBS) \ - libsss_sudo.la ++sss_sudo_cli_LDADD = $(CLIENT_LIBS) endif -@@ -758,6 +758,7 @@ sss_ssh_authorizedkeys_SOURCES = \ + if BUILD_SSH +@@ -760,8 +761,8 @@ sss_ssh_authorizedkeys_SOURCES = \ src/sss_client/ssh/sss_ssh_authorizedkeys.c sss_ssh_authorizedkeys_CFLAGS = $(AM_CFLAGS) sss_ssh_authorizedkeys_LDADD = \ + $(CLIENT_LIBS) \ libsss_util.la +-sss_ssh_authorizedkeys_LDFLAGS = $(CLIENT_LIBS) sss_ssh_knownhostsproxy_SOURCES = \ -@@ -766,6 +767,7 @@ sss_ssh_knownhostsproxy_SOURCES = \ + src/sss_client/common.c \ +@@ -769,8 +770,8 @@ sss_ssh_knownhostsproxy_SOURCES = \ src/sss_client/ssh/sss_ssh_knownhostsproxy.c sss_ssh_knownhostsproxy_CFLAGS = $(AM_CFLAGS) sss_ssh_knownhostsproxy_LDADD = \ + $(CLIENT_LIBS) \ libsss_util.la +-sss_ssh_knownhostsproxy_LDFLAGS = $(CLIENT_LIBS) endif -@@ -1152,10 +1154,11 @@ libnss_sss_la_SOURCES = \ + ################# +@@ -1127,14 +1128,14 @@ noinst_PROGRAMS += autofs_test_client + endif + + pam_test_client_SOURCES = src/sss_client/pam_test_client.c +-pam_test_client_LDFLAGS = -lpam -lpam_misc ++pam_test_client_LDADD = -lpam -lpam_misc + + if BUILD_AUTOFS + autofs_test_client_SOURCES = src/sss_client/autofs/autofs_test_client.c \ + src/sss_client/autofs/sss_autofs.c \ + src/sss_client/common.c + autofs_test_client_CFLAGS = $(AM_CFLAGS) +-autofs_test_client_LDFLAGS = -lpopt $(CLIENT_LIBS) ++autofs_test_client_LDADD = -lpopt $(CLIENT_LIBS) + endif + + #################### +@@ -1156,10 +1157,11 @@ libnss_sss_la_SOURCES = \ src/sss_client/nss_mc_group.c \ src/sss_client/nss_mc.h libnss_sss_la_LDFLAGS = \ @@ -59,7 +103,7 @@ Index: sssd-1.9.2/Makefile.am pamlib_LTLIBRARIES = pam_sss.la pam_sss_la_SOURCES = \ -@@ -1166,11 +1169,12 @@ pam_sss_la_SOURCES = \ +@@ -1170,11 +1172,12 @@ pam_sss_la_SOURCES = \ src/sss_client/sss_pam_macros.h pam_sss_la_LDFLAGS = \ @@ -74,19 +118,18 @@ Index: sssd-1.9.2/Makefile.am if BUILD_SUDO -@@ -1182,9 +1186,10 @@ libsss_sudo_la_SOURCES = \ +@@ -1185,8 +1188,9 @@ libsss_sudo_la_SOURCES = \ + src/sss_client/sudo/sss_sudo.c \ src/sss_client/sudo/sss_sudo.h \ src/sss_client/sudo/sss_sudo_private.h ++libsss_sudo_la_LIBADD = \ ++ $(CLIENT_LIBS) libsss_sudo_la_LDFLAGS = \ - $(CLIENT_LIBS) \ -Wl,--version-script,$(srcdir)/src/sss_client/sss_sudo.exports \ - -version-info 2:0:1 -+libsss_sudo_la_LIBADD = \ -+ $(CLIENT_LIBS) - - sudolib_LTLIBRARIES = libsss_sudo.la - -@@ -1201,10 +1206,11 @@ libsss_autofs_la_SOURCES = \ + -module \ + -avoid-version +@@ -1206,10 +1210,11 @@ libsss_autofs_la_SOURCES = \ src/sss_client/autofs/sss_autofs_private.h libsss_autofs_la_LDFLAGS = \ @@ -99,7 +142,7 @@ Index: sssd-1.9.2/Makefile.am endif dist_noinst_DATA += \ -@@ -1521,10 +1527,11 @@ sssd_pac_plugin_la_CFLAGS = \ +@@ -1528,10 +1533,11 @@ sssd_pac_plugin_la_CFLAGS = \ $(AM_CFLAGS) \ $(KRB5_CFLAGS) sssd_pac_plugin_la_LDFLAGS = \ diff --git a/sssd.changes b/sssd.changes index f4640d8..98a367c 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 6 09:05:29 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 1.9.3 +* Many fixes related to deployments where the SSSD is running as + a client of IPA server with trust relation established with an + Active Directory server +* Multiple fixes related to correct reporting of group + memberships, especially in setups that use nested groups +* Fixed a bug that prevented upgrade from the 1.8 series if the + cache contained nested groups before the upgrade +* Restarting the responders is more robust for cases where the + machine is under heavy load during back end restart +* The default_shell option can now be also set per-domain in + addition to global setting. + ------------------------------------------------------------------- Sat Nov 10 00:27:06 UTC 2012 - jengelh@inai.de diff --git a/sssd.spec b/sssd.spec index b79b40f..94dc420 100644 --- a/sssd.spec +++ b/sssd.spec @@ -17,7 +17,7 @@ Name: sssd -Version: 1.9.2 +Version: 1.9.3 Release: 0 Summary: System Security Services Daemon License: GPL-3.0+ and LGPL-3.0+ @@ -164,21 +164,16 @@ Requires: libsss_idmap0 = %version %description -n libsss_idmap-devel A utility library for FreeIPA to map Windows SIDs to Unix user/group IDs. -%package -n libsss_sudo1 +%package -n libsss_sudo Summary: A library to allow communication between sudo and SSSD License: LGPL-3.0+ Group: System/Libraries +Provides: libsss_sudo-devel = %version-%release +Obsoletes: libsss_sudo-devel < %version-%release +# No provides: true obsolete. +Obsoletes: libsss_sudo1 -%description -n libsss_sudo1 -A utility library to allow communication between sudo and SSSD. - -%package -n libsss_sudo-devel -Summary: Development files for the sss_sudo library -License: LGPL-3.0+ -Group: Development/Libraries/C and C++ -Requires: libsss_sudo1 = %version - -%description -n libsss_sudo-devel +%description -n libsss_sudo A utility library to allow communication between sudo and SSSD. %package -n python-ipa_hbac @@ -288,8 +283,6 @@ rm -Rf "$b/usr/share/locale"/{fa_IR,ja_JP,lt_LT,ta_IN,vi_VN} %postun -n libipa_hbac0 -p /sbin/ldconfig %post -n libsss_idmap0 -p /sbin/ldconfig %postun -n libsss_idmap0 -p /sbin/ldconfig -%post -n libsss_sudo1 -p /sbin/ldconfig -%postun -n libsss_sudo1 -p /sbin/ldconfig %files -f sssd.lang %defattr(-,root,root) @@ -404,11 +397,7 @@ rm -Rf "$b/usr/share/locale"/{fa_IR,ja_JP,lt_LT,ta_IN,vi_VN} %_libdir/libsss_idmap.so %_libdir/pkgconfig/sss_idmap.pc -%files -n libsss_sudo1 -%defattr(-,root,root) -%_libdir/libsss_sudo.so.1* - -%files -n libsss_sudo-devel +%files -n libsss_sudo %defattr(-,root,root) %_includedir/sss_sudo.h %_libdir/libsss_sudo.so