Jan Engelhardt 2012-12-06 09:16:16 +00:00 committed by Git OBS Bridge
parent 0e60c7e306
commit ce396e6add
5 changed files with 93 additions and 45 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1a597b8e26b083968199aff93c7768ca9aed6ded67cb394734377beb4b085fe
size 1224284

3
sssd-1.9.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:123aa0bd6c2c7276f04f3c4dd7681f0d08cd0c186fd61288bb454c7e2840d4ad
size 1252232

View File

@ -13,40 +13,84 @@ The patch fixes the location of library names, and also adds them
to two program which need them. to two program which need them.
--- ---
Makefile.am | 23 +++++++++++++++-------- Makefile.am | 36 +++++++++++++++++++++---------------
1 file changed, 15 insertions(+), 8 deletions(-) 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.3.orig/Makefile.am
+++ sssd-1.9.2/Makefile.am +++ sssd-1.9.3/Makefile.am
@@ -746,8 +746,8 @@ sss_sudo_cli_SOURCES = \ @@ -531,7 +531,8 @@ libipa_hbac_la_SOURCES = \
src/sss_client/common.c \ 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 src/sss_client/sudo_testcli/sudo_testcli.c
sss_sudo_cli_CFLAGS = $(AM_CFLAGS) sss_sudo_cli_CFLAGS = $(AM_CFLAGS)
-sss_sudo_cli_LDFLAGS = $(CLIENT_LIBS) -sss_sudo_cli_LDFLAGS = $(CLIENT_LIBS)
sss_sudo_cli_LDADD = \ +sss_sudo_cli_LDADD = $(CLIENT_LIBS)
+ $(CLIENT_LIBS) \
libsss_sudo.la
endif 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 src/sss_client/ssh/sss_ssh_authorizedkeys.c
sss_ssh_authorizedkeys_CFLAGS = $(AM_CFLAGS) sss_ssh_authorizedkeys_CFLAGS = $(AM_CFLAGS)
sss_ssh_authorizedkeys_LDADD = \ sss_ssh_authorizedkeys_LDADD = \
+ $(CLIENT_LIBS) \ + $(CLIENT_LIBS) \
libsss_util.la libsss_util.la
-sss_ssh_authorizedkeys_LDFLAGS = $(CLIENT_LIBS)
sss_ssh_knownhostsproxy_SOURCES = \ 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 src/sss_client/ssh/sss_ssh_knownhostsproxy.c
sss_ssh_knownhostsproxy_CFLAGS = $(AM_CFLAGS) sss_ssh_knownhostsproxy_CFLAGS = $(AM_CFLAGS)
sss_ssh_knownhostsproxy_LDADD = \ sss_ssh_knownhostsproxy_LDADD = \
+ $(CLIENT_LIBS) \ + $(CLIENT_LIBS) \
libsss_util.la libsss_util.la
-sss_ssh_knownhostsproxy_LDFLAGS = $(CLIENT_LIBS)
endif 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_group.c \
src/sss_client/nss_mc.h src/sss_client/nss_mc.h
libnss_sss_la_LDFLAGS = \ libnss_sss_la_LDFLAGS = \
@ -59,7 +103,7 @@ Index: sssd-1.9.2/Makefile.am
pamlib_LTLIBRARIES = pam_sss.la pamlib_LTLIBRARIES = pam_sss.la
pam_sss_la_SOURCES = \ 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 src/sss_client/sss_pam_macros.h
pam_sss_la_LDFLAGS = \ pam_sss_la_LDFLAGS = \
@ -74,19 +118,18 @@ Index: sssd-1.9.2/Makefile.am
if BUILD_SUDO 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.h \
src/sss_client/sudo/sss_sudo_private.h src/sss_client/sudo/sss_sudo_private.h
+libsss_sudo_la_LIBADD = \
+ $(CLIENT_LIBS)
libsss_sudo_la_LDFLAGS = \ libsss_sudo_la_LDFLAGS = \
- $(CLIENT_LIBS) \ - $(CLIENT_LIBS) \
-Wl,--version-script,$(srcdir)/src/sss_client/sss_sudo.exports \ -Wl,--version-script,$(srcdir)/src/sss_client/sss_sudo.exports \
-version-info 2:0:1 -module \
+libsss_sudo_la_LIBADD = \ -avoid-version
+ $(CLIENT_LIBS) @@ -1206,10 +1210,11 @@ libsss_autofs_la_SOURCES = \
sudolib_LTLIBRARIES = libsss_sudo.la
@@ -1201,10 +1206,11 @@ libsss_autofs_la_SOURCES = \
src/sss_client/autofs/sss_autofs_private.h src/sss_client/autofs/sss_autofs_private.h
libsss_autofs_la_LDFLAGS = \ libsss_autofs_la_LDFLAGS = \
@ -99,7 +142,7 @@ Index: sssd-1.9.2/Makefile.am
endif endif
dist_noinst_DATA += \ dist_noinst_DATA += \
@@ -1521,10 +1527,11 @@ sssd_pac_plugin_la_CFLAGS = \ @@ -1528,10 +1533,11 @@ sssd_pac_plugin_la_CFLAGS = \
$(AM_CFLAGS) \ $(AM_CFLAGS) \
$(KRB5_CFLAGS) $(KRB5_CFLAGS)
sssd_pac_plugin_la_LDFLAGS = \ sssd_pac_plugin_la_LDFLAGS = \

View File

@ -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 Sat Nov 10 00:27:06 UTC 2012 - jengelh@inai.de

View File

@ -17,7 +17,7 @@
Name: sssd Name: sssd
Version: 1.9.2 Version: 1.9.3
Release: 0 Release: 0
Summary: System Security Services Daemon Summary: System Security Services Daemon
License: GPL-3.0+ and LGPL-3.0+ License: GPL-3.0+ and LGPL-3.0+
@ -164,21 +164,16 @@ Requires: libsss_idmap0 = %version
%description -n libsss_idmap-devel %description -n libsss_idmap-devel
A utility library for FreeIPA to map Windows SIDs to Unix user/group IDs. 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 Summary: A library to allow communication between sudo and SSSD
License: LGPL-3.0+ License: LGPL-3.0+
Group: System/Libraries 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 %description -n libsss_sudo
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
A utility library to allow communication between sudo and SSSD. A utility library to allow communication between sudo and SSSD.
%package -n python-ipa_hbac %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 %postun -n libipa_hbac0 -p /sbin/ldconfig
%post -n libsss_idmap0 -p /sbin/ldconfig %post -n libsss_idmap0 -p /sbin/ldconfig
%postun -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 %files -f sssd.lang
%defattr(-,root,root) %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/libsss_idmap.so
%_libdir/pkgconfig/sss_idmap.pc %_libdir/pkgconfig/sss_idmap.pc
%files -n libsss_sudo1 %files -n libsss_sudo
%defattr(-,root,root)
%_libdir/libsss_sudo.so.1*
%files -n libsss_sudo-devel
%defattr(-,root,root) %defattr(-,root,root)
%_includedir/sss_sudo.h %_includedir/sss_sudo.h
%_libdir/libsss_sudo.so %_libdir/libsss_sudo.so