SHA256
1
0
forked from pool/sssd

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
This commit is contained in:
Stephan Kulow 2012-04-23 07:18:24 +00:00 committed by Git OBS Bridge
commit 6f2b953df4
4 changed files with 91 additions and 25 deletions

View File

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

3
sssd-1.8.2.tar.gz Normal file
View File

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

View File

@ -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

View File

@ -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