From 1ccad662ca4bcab5d8cf71b63780c7f40ed4a1928ce3446f847c71adc5762e60 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 23 Apr 2012 07:18:24 +0000 Subject: [PATCH] Accepting request 114418 from network:ldap - Update to new upstream release 1.8.2 OBS-URL: https://build.opensuse.org/request/show/114418 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sssd?expand=0&rev=35 --- sssd-1.8.0.tar.bz2 | 3 -- sssd-1.8.2.tar.gz | 3 ++ sssd.changes | 23 ++++++++++++ sssd.spec | 87 ++++++++++++++++++++++++++++++++++------------ 4 files changed, 91 insertions(+), 25 deletions(-) delete mode 100644 sssd-1.8.0.tar.bz2 create mode 100644 sssd-1.8.2.tar.gz diff --git a/sssd-1.8.0.tar.bz2 b/sssd-1.8.0.tar.bz2 deleted file mode 100644 index 77d917e..0000000 --- a/sssd-1.8.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:09f5e6d9f4ab7f7ad8d2cbe818f22de416963d62b995d030ecfdd34c55e56059 -size 1733496 diff --git a/sssd-1.8.2.tar.gz b/sssd-1.8.2.tar.gz new file mode 100644 index 0000000..30f3af1 --- /dev/null +++ b/sssd-1.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59231dbe76f53b4d2ae026419940c5afceb3307a221648226bc661ce8b871575 +size 2128880 diff --git a/sssd.changes b/sssd.changes index 743805a..d56caf6 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,4 +1,27 @@ ------------------------------------------------------------------- +Fri Apr 13 13:03:44 PDT 2012 - ben.kevan@gmail.com + +- Fix build error on SLES 11 builds + +------------------------------------------------------------------- +Mon Apr 9 21:45:45 PDT 2012 - ben.kevan@gmail.com + +- Add suse_version condition for glib over libunistring for + SLES 11 SP2. +- Update to new upstream release 1.8.2 +* Fix for GSSAPI binds when the keytab contains unrelated + principals +* Workarounds added for LDAP servers with unreadable RootDSE + +------------------------------------------------------------------- +Wed Apr 4 16:13:33 PDT 2012 - ben.kevan@gmail.com + +- Update to new upstream release 1.8.1 +* Resolve issue where we could enter an infinite loop trying to + connect to an auth server + +------------------------------------------------------------------- + Sun Mar 11 18:36:44 UTC 2012 - jengelh@medozas.de - Update to new upstream release 1.8.0 diff --git a/sssd.spec b/sssd.spec index e743bab..939efc9 100644 --- a/sssd.spec +++ b/sssd.spec @@ -14,22 +14,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: sssd -Version: 1.8.0 +Version: 1.8.2 Release: 0 Summary: System Security Services Daemon License: GPL-3.0+ and LGPL-3.0+ Group: System/Daemons Url: https://fedorahosted.org/sssd/ -Source0: %{name}-%{version}.tar.bz2 + +Source0: %{name}-%{version}.tar.gz Source1: baselibs.conf Patch3: 0003-Allow-LDAP-to-decide-when-an-expiration-warning-is-w.patch Patch4: 0004-avoid-hard-crypto-dep.diff Patch5: 0005-implicit-decl.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if %suse_version >= 1210 -%{?systemd_requires} -%endif %define servicename sssd %define sssdstatedir %{_localstatedir}/lib/sss @@ -81,16 +81,26 @@ BuildRequires: bind-utils BuildRequires: docbook-xsl-stylesheets BuildRequires: krb5-devel BuildRequires: libtool +%if 0%{?suse_version} >= 1140 BuildRequires: libunistring-devel -# wants: xmllint, xsltproc +%else +# SLES 11 SP2 does not have libunistring +BuildRequires: glib2-devel +%endif +%if 0%{?suse_version} >= 1220 +BuildRequires: libxml2-tools +BuildRequires: libxslt-tools +%else BuildRequires: libxml2 BuildRequires: libxslt +%endif BuildRequires: nscd BuildRequires: openldap2-devel BuildRequires: pam-devel BuildRequires: pkg-config %if %suse_version >= 1210 BuildRequires: systemd +%{?systemd_requires} %endif %description @@ -187,17 +197,31 @@ export PATH="$PATH:/usr/sbin" --with-ldb-lib-dir="$LDB_DIR" \ --with-selinux=no \ --with-os=suse \ +%if 0%{?sles_version} == 11 + --with-unicode-lib=glib2 \ +%endif --with-semanage=no -make %{?_smp_mflags} + +make %{?_smp_mflags} all %install make install DESTDIR=$RPM_BUILD_ROOT # Copy default sssd.conf file +install -d %{buildroot}%{_mandir}/cs +install -d %{buildroot}%{_mandir}/cs/man8 +install -d %{buildroot}%{_mandir}/nl +install -d %{buildroot}%{_mandir}/nl/man8 +install -d %{buildroot}%{_mandir}/pt +install -d %{buildroot}%{_mandir}/pt/man8 +install -d %{buildroot}%{_mandir}/uk +install -d %{buildroot}%{_mandir}/uk/man1 +install -d %{buildroot}%{_mandir}/uk/man5 +install -d %{buildroot}%{_mandir}/uk/man8 install -d $RPM_BUILD_ROOT/%{_sysconfdir}/sssd install -m600 src/examples/sssd-example.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.conf install src/sysv/SUSE/sssd $RPM_BUILD_ROOT%{_sysconfdir}/init.d/sssd -%if %suse_version >= 1210 +%if 0%{?_unitdir:1} install -d $RPM_BUILD_ROOT/%{_unitdir} install src/sysv/systemd/sssd.service $RPM_BUILD_ROOT/%{_unitdir}/sssd.service %endif @@ -219,21 +243,20 @@ rm -rf \ %find_lang %{name} --all-name -%if %suse_version >= 1210 - +%if 0%{?_unitdir:1} %pre %service_add_pre sssd.service %endif %post /sbin/ldconfig -%if %suse_version >= 1210 +%if 0%{?_unitdir:1} %service_add_post sssd.service %endif %preun %stop_on_removal sssd -%if %suse_version >= 1210 +%if 0%{?_unitdir:1} %service_del_preun sssd.service %endif @@ -241,7 +264,7 @@ rm -rf \ /sbin/ldconfig %restart_on_update sssd %insserv_cleanup -%if %suse_version >= 1210 +%if 0%{?_unitdir:1} %service_del_postun sssd.service %endif @@ -253,13 +276,31 @@ rm -rf \ %defattr(-,root,root,-) %doc COPYING %{_initrddir}/%{name} -%if %suse_version >= 1210 +%if 0%{?_unitdir:1} %{_unitdir}/sssd.service %endif %{_sbindir}/sssd %{_sbindir}/rcsssd %dir %{_libdir}/%{name} %dir %{_libexecdir}/%{name} +%dir %{_mandir}/cs +%dir %{_mandir}/cs/man8 +%dir %{_mandir}/nl +%dir %{_mandir}/nl/man8 +%dir %{_mandir}/pt +%dir %{_mandir}/pt/man8 +%dir %{_mandir}/uk +%dir %{_mandir}/uk/man1 +%dir %{_mandir}/uk/man5 +%dir %{_mandir}/uk/man8 +%{_mandir}/??/man?/* +%{_mandir}/man5/sssd-krb5.5* +%{_mandir}/man5/sssd-ldap.5* +%{_mandir}/man5/sssd-simple.5* +%{_mandir}/man8/sssd.8* +%{_mandir}/man5/sssd.conf.5.gz +%{_mandir}/man8/pam_sss.8.gz +%{_mandir}/man8/sssd_krb5_locator_plugin.8.gz %{_libexecdir}/%{name}/sss* %{_libexecdir}/%{name}/*_child %{_libdir}/%{name}/libsss_krb5* @@ -278,19 +319,11 @@ rm -rf \ %config(noreplace) %{_sysconfdir}/sssd/sssd.conf /%{_lib}/libnss_sss.so.2 /%{_lib}/security/pam_sss.so -%{_mandir}/man5/sssd-krb5.* -%{_mandir}/man5/sssd-ldap.* -%{_mandir}/man5/sssd-simple.* -%{_mandir}/man5/sssd.conf.* %_datadir/sssd %exclude %_datadir/sssd/sssd.api.d/sssd-ipa.conf %files tools %defattr(-,root,root,-) -%_mandir/man8/* -%dir %_mandir/?? -%dir %_mandir/??/man* -%_mandir/??/man8/* %{_sbindir}/sss_cache %{_sbindir}/sss_debuglevel %{_sbindir}/sss_useradd @@ -300,6 +333,16 @@ rm -rf \ %{_sbindir}/sss_groupdel %{_sbindir}/sss_groupmod %{_sbindir}/sss_groupshow +%{_mandir}/man8/sss_groupadd.8* +%{_mandir}/man8/sss_groupdel.8* +%{_mandir}/man8/sss_groupmod.8* +%{_mandir}/man8/sss_groupshow.8* +%{_mandir}/man8/sss_useradd.8* +%{_mandir}/man8/sss_userdel.8* +%{_mandir}/man8/sss_usermod.8* +%{_mandir}/man8/sss_obfuscate.8* +%{_mandir}/man8/sss_cache.8* +%{_mandir}/man8/sss_debuglevel.8* %attr(0755,root,root) %{_sbindir}/sss_obfuscate %files ipa-provider