Hello community,

here is the log from the commit of package sssd for openSUSE:Factory checked in 
at 2014-06-02 07:00:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sssd (Old)
 and      /work/SRC/openSUSE:Factory/.sssd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sssd"

Changes:
--------
--- /work/SRC/openSUSE:Factory/sssd/sssd.changes        2014-05-14 
10:50:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.sssd.new/sssd.changes   2014-06-02 
07:00:18.000000000 +0200
@@ -1,0 +2,13 @@
+Tue May 27 16:56:42 UTC 2014 - [email protected]
+
+- Switch to libnl-3 so we can get rid of libnl-1. 
+
+-------------------------------------------------------------------
+Sat May 24 14:36:43 UTC 2014 - [email protected]
+
+- Redo 0001-build-detect-endianness-at-configure-time.patch to be -p1
+- Add 0001-BUILD-Link-libsss_ldap_common.so-to-libsss_idmap.so.patch
+  to resolve runtime loading problems
+  (http://lists.opensuse.org/opensuse-factory/2014-05/msg00181.html )
+
+-------------------------------------------------------------------

New:
----
  0001-BUILD-Link-libsss_ldap_common.so-to-libsss_idmap.so.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sssd.spec ++++++
--- /var/tmp/diff_new_pack.WYNctn/_old  2014-06-02 07:00:19.000000000 +0200
+++ /var/tmp/diff_new_pack.WYNctn/_new  2014-06-02 07:00:19.000000000 +0200
@@ -31,6 +31,7 @@
 Source4:        sssd.service
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Patch1:         0001-build-detect-endianness-at-configure-time.patch
+Patch2:         0001-BUILD-Link-libsss_ldap_common.so-to-libsss_idmap.so.patch
 
 %define servicename    sssd
 %define sssdstatedir   %_localstatedir/lib/sss
@@ -60,7 +61,8 @@
 BuildRequires:  pkgconfig(ini_config) >= 0.6.1
 BuildRequires:  pkgconfig(ldb) >= 0.9.2
 BuildRequires:  pkgconfig(libcares)
-BuildRequires:  pkgconfig(libnl-1) >= 1.1
+BuildRequires:  pkgconfig(libnl-3.0) >= 3.0
+BuildRequires:  pkgconfig(libnl-route-3.0) >= 3.0
 BuildRequires:  pkgconfig(libpcre) >= 7
 BuildRequires:  pkgconfig(ndr_nbt)
 BuildRequires:  pkgconfig(openssl)
@@ -286,7 +288,7 @@
 %prep
 %{?gpg_verify: %gpg_verify %{S:2}}
 %setup -q
-%patch1 -p0
+%patch -P 1 -P 2 -p1
 
 %build
 %if 0%{?suse_version} < 1210

++++++ 0001-BUILD-Link-libsss_ldap_common.so-to-libsss_idmap.so.patch ++++++
>From 7fc27c7a3ccbb6aecb8cf4a4a5f91962028cb897 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <[email protected]>
Date: Mon, 17 Mar 2014 09:07:56 +0100
Subject: [PATCH] BUILD: Link libsss_ldap_common.so to libsss_idmap.so

Library libsss_ldap.so does not directly use functions from library
libsss_idmap.so. It only call function sdap_idmap_init (from file sdap_idmap.c)
which is in library libsss_ldap_common.so

sh-4.2$ nm -D --undefined-only /usr/lib64/sssd/libsss_ldap.so | grep idmap
                 U sdap_idmap_init

On the other hand, libsss_ldap_common.so uses functions from libsss_idmap
but it was not linked to libsss_idmap.so.

sh-4.2$ objdump -p /usr/lib64/sssd/libsss_ldap_common.so | grep idmap
sh-4.2$ echo $?
1

Reviewed-by: Jakub Hrozek <[email protected]>
Reviewed-by: Simo Sorce <[email protected]>
---
 Makefile.am |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Index: sssd-1.11.5.1/Makefile.am
===================================================================
--- sssd-1.11.5.1.orig/Makefile.am
+++ sssd-1.11.5.1/Makefile.am
@@ -1618,6 +1618,8 @@ libsss_ldap_common_la_SOURCES = \
     src/providers/ldap/sdap_dyndns.c \
     src/providers/ldap/sdap_refresh.c \
     src/providers/ldap/sdap.c
+libsss_ldap_common_la_LIBADD = \
+    libsss_idmap.la
 libsss_ldap_common_la_LDFLAGS = \
     -avoid-version
 
@@ -1675,8 +1677,7 @@ libsss_ldap_la_LIBADD = \
     $(OPENLDAP_LIBS) \
     $(DHASH_LIBS) \
     $(KRB5_LIBS) \
-    libsss_ldap_common.la \
-    libsss_idmap.la
+    libsss_ldap_common.la
 libsss_ldap_la_LDFLAGS = \
     -avoid-version \
     -module
++++++ 0001-build-detect-endianness-at-configure-time.patch ++++++
--- /var/tmp/diff_new_pack.WYNctn/_old  2014-06-02 07:00:19.000000000 +0200
+++ /var/tmp/diff_new_pack.WYNctn/_new  2014-06-02 07:00:19.000000000 +0200
@@ -8,14 +8,14 @@
 
 Signed-off-by: David Disseldorp <[email protected]>
 ---
- configure.ac | 7 +++++++
+ configure.ac |    7 +++++++
  1 file changed, 7 insertions(+)
 
-diff --git configure.ac configure.ac
-index eb7e376..3ed8e69 100644
---- configure.ac
-+++ configure.ac
-@@ -309,6 +309,13 @@ AM_CHECK_CMOCKA
+Index: sssd-1.11.5.1/configure.ac
+===================================================================
+--- sssd-1.11.5.1.orig/configure.ac
++++ sssd-1.11.5.1/configure.ac
+@@ -301,6 +301,13 @@ AM_CHECK_CMOCKA
  
  AM_CONDITIONAL([HAVE_DEVSHM], [test -d /dev/shm])
  
@@ -29,6 +29,3 @@
  abs_build_dir=`pwd`
  AC_DEFINE_UNQUOTED([ABS_BUILD_DIR], ["$abs_build_dir"], [Absolute path to the 
build directory])
  AC_SUBST([abs_builddir], $abs_build_dir)
--- 
-1.8.4.5
-


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to