62 lines
2.1 KiB
Diff
62 lines
2.1 KiB
Diff
From 79d0c56ea407a1747f7aa30f916613da314f2ac5 Mon Sep 17 00:00:00 2001
|
|
From: Lukas Slebodnik <lslebodn@redhat.com>
|
|
Date: Sat, 18 Apr 2015 17:36:35 +0200
|
|
Subject: [PATCH 84/99] SPEC: Fix cyclic dependencies between
|
|
sssd-{krb5,}-common
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
libsss_ldap_common(sssd-common) requires libsss_krb5_common.so(sssd-krb5-common)
|
|
and sssd-krb5-common requires sssd-common.
|
|
|
|
sh$ nm --dynamic --defined-only /usr/lib64/sssd/libsss_krb5_common.so
|
|
000000000000c4d0 T krb5_service_init
|
|
000000000000b8c0 T krb5_try_kdcip
|
|
000000000000c710 T remove_krb5_info_files
|
|
0000000000014960 T select_principal_from_keytab
|
|
00000000000141d0 T sss_krb5_get_error_message
|
|
|
|
sh$ nm --dynamic --undefined-only /usr/lib64/sssd/libsss_ldap_common.so
|
|
U krb5_service_init
|
|
U krb5_try_kdcip
|
|
U remove_krb5_info_files
|
|
U select_principal_from_keytab
|
|
U sss_krb5_get_error_message
|
|
|
|
This patch fix cyclic dependency with rpm packaging becuase
|
|
it's not simple task to remove krb5 dependency from ldap provider.
|
|
|
|
Resolves:
|
|
https://fedorahosted.org/sssd/ticket/2507
|
|
|
|
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
|
|
(cherry picked from commit 56552c518a07b45b25d4a2ef58d37fac0918ce60)
|
|
---
|
|
contrib/sssd.spec.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
|
|
index d5f69149047bf691cc2f9663252a41c1f28f216b..35de4449318a763358265c25518e00b34c07da10 100644
|
|
--- a/contrib/sssd.spec.in
|
|
+++ b/contrib/sssd.spec.in
|
|
@@ -588,6 +588,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_libdir}/%{name}/libsss_child.so
|
|
%{_libdir}/%{name}/libsss_crypt.so
|
|
%{_libdir}/%{name}/libsss_debug.so
|
|
+%{_libdir}/%{name}/libsss_krb5_common.so
|
|
%{_libdir}/%{name}/libsss_ldap_common.so
|
|
%{_libdir}/%{name}/libsss_util.so
|
|
%{_libdir}/%{name}/libsss_semanage.so
|
|
@@ -645,7 +646,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
%files krb5-common
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING
|
|
-%{_libdir}/%{name}/libsss_krb5_common.so
|
|
%attr(4750,root,sssd) %{_libexecdir}/%{servicename}/ldap_child
|
|
%attr(4750,root,sssd) %{_libexecdir}/%{servicename}/krb5_child
|
|
|
|
--
|
|
2.4.0
|
|
|