SHA256
1
0
forked from jengelh/sssd

- Updated to 1.1.0

* Support for IPv6
  * Support for LDAP referrals
  * Offline failed login counter
  * Fix for the long-standing cache cleanup performance issues
  * libini_config, libcollection, libdhash, libref_array and
    libpath_utils are now built as shared libraries for general
    consumption
  * Users get feedback from PAM if they authenticated offline
  * Native local backend now has a utility to show nested memberships
    (sss_groupshow)
  * New "simple" access provider for easy restriction of users
- Backported libcrypto support from master to avoid Mozilla NSS 
  dependency
- Backported password policy improvments for LDAP provider from
  master

OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=9
This commit is contained in:
Ralf Haferkamp 2010-03-30 14:32:56 +00:00 committed by Git OBS Bridge
parent 275c8d2044
commit f488c1bcb9
2 changed files with 213 additions and 17 deletions

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Tue Mar 30 14:28:19 UTC 2010 - rhafer@novell.com
- Updated to 1.1.0
* Support for IPv6
* Support for LDAP referrals
* Offline failed login counter
* Fix for the long-standing cache cleanup performance issues
* libini_config, libcollection, libdhash, libref_array and
libpath_utils are now built as shared libraries for general
consumption
* Users get feedback from PAM if they authenticated offline
* Native local backend now has a utility to show nested memberships
(sss_groupshow)
* New "simple" access provider for easy restriction of users
- Backported libcrypto support from master to avoid Mozilla NSS
dependency
- Backported password policy improvments for LDAP provider from
master
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 8 14:06:29 UTC 2010 - rhafer@novell.com Mon Mar 8 14:06:29 UTC 2010 - rhafer@novell.com

210
sssd.spec
View File

@ -29,6 +29,12 @@ Patch1: 0001-Added-option-to-use-libcrypto-instead-of-NSS.patch
Patch2: 0002-Improvements-for-LDAP-Password-Policy-support.patch Patch2: 0002-Improvements-for-LDAP-Password-Policy-support.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define dhash_version 0.4.0
%define path_utils_version 0.2.0
%define collection_version 0.4.0
%define ini_config_version 0.4.0
%define refarray_version 0.1.0
### Dependencies ### ### Dependencies ###
%define servicename sssd %define servicename sssd
%define sssdstatedir %{_localstatedir}/lib/sss %define sssdstatedir %{_localstatedir}/lib/sss
@ -94,6 +100,109 @@ Group: Development/Libraries/Python
Provide python module to access and manage configuration of the System Provide python module to access and manage configuration of the System
Security Services Daemon (sssd). Security Services Daemon (sssd).
%package -n libdhash1
Summary: Dynamic hash table
Group: Development/Libraries/C and C++
Version: %{dhash_version}
License: LGPLv3+
%description -n libdhash1
A hash table which will dynamically resize to achieve optimal storage & access
time properties
%package -n libdhash-devel
Summary: Development files for libdhash
Group: Development/Libraries/C and C++
Version: %{dhash_version}
Requires: libdhash = %{dhash_version}-%{release}
License: LGPLv3+
%description -n libdhash-devel
A hash table which will dynamically resize to achieve optimal storage & access
time properties
%package -n libpath_utils1
Summary: Filesystem Path Utilities
Group: Development/Libraries/C and C++
Version: %{path_utils_version}
License: LGPLv3+
%description -n libpath_utils1
Utility functions to manipulate filesystem pathnames
%package -n libpath_utils-devel
Summary: Development files for libpath_utils
Group: Development/Libraries/C and C++
Version: %{path_utils_version}
Requires: libpath_utils = %{path_utils_version}-%{release}
License: LGPLv3+
%description -n libpath_utils-devel
Utility functions to manipulate filesystem pathnames
%package -n libcollection1
Summary: Collection data-type for C
Group: Development/Libraries/C and C++
Version: %{collection_version}
License: LGPLv3+
%description -n libcollection1
A data-type to collect data in a heirarchical structure for easy iteration
and serialization
%package -n libcollection-devel
Summary: Development files for libcollection
Group: Development/Libraries/C and C++
Version: %{collection_version}
Requires: libcollection = %{collection_version}-%{release}
License: LGPLv3+
%description -n libcollection-devel
A data-type to collect data in a heirarchical structure for easy iteration
and serialization
%package -n libini_config1
Summary: INI file parser for C
Group: Development/Libraries/C and C++
Version: %{ini_config_version}
Requires: libcollection = %{collection_version}-%{release}
License: LGPLv3+
%description -n libini_config1
Library to process config files in INI format into a libcollection data
structure
%package -n libini_config-devel
Summary: Development files for libini_config
Group: Development/Libraries/C and C++
Version: %{ini_config_version}
Requires: libini_config = %{ini_config_version}-%{release}
License: LGPLv3+
%description -n libini_config-devel
Library to process config files in INI format into a libcollection data
structure
%package -n libref_array1
Summary: A refcounted array for C
Group: Development/Libraries/C and C++
Version: %{refarray_version}
License: LGPLv3+
%description -n libref_array1
A dynamically-growing, reference-counted array
%package -n libref_array-devel
Summary: Development files for libref_array
Group: Development/Libraries/C and C++
Version: %{refarray_version}
Requires: libref_array = %{refarray_version}-%{release}
License: LGPLv3+
%description -n libref_array-devel
A dynamically-growing, reference-counted array
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
@ -122,7 +231,7 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
# Copy default sssd.conf file # Copy default sssd.conf file
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sssd install -d $RPM_BUILD_ROOT/%{_sysconfdir}/sssd
install -m600 src/examples/sssd.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.conf install -m600 src/examples/sssd.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.conf
install src/sysv/SUSE/sssd $RPM_BUILD_ROOT%{_sysconfdir}/init.d/sssd install src/sysv/SUSE/sssd $RPM_BUILD_ROOT%{_sysconfdir}/init.d/sssd
ln -sf ../../etc/init.d/sssd $RPM_BUILD_ROOT/usr/sbin/rcsssd ln -sf ../../etc/init.d/sssd $RPM_BUILD_ROOT/usr/sbin/rcsssd
@ -141,20 +250,47 @@ rm -f \
$RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_simple.la \ $RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_simple.la \
$RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.la $RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.la
rm $RPM_BUILD_ROOT/%{_prefix}/include/*.h \ rm $RPM_BUILD_ROOT/%{_libdir}/*.a
$RPM_BUILD_ROOT/%{_libdir}/*.a \
$RPM_BUILD_ROOT/%{_libdir}/*.so \
$RPM_BUILD_ROOT/%{_libdir}/pkgconfig/*
rm -r $RPM_BUILD_ROOT/%{_prefix}/share/doc/dhash
%find_lang sss_daemon %find_lang sss_daemon
install -d $RPM_BUILD_ROOT/%{_docdir}/dhash
mv $RPM_BUILD_ROOT/%{_datarootdir}/doc/dhash/* $RPM_BUILD_ROOT/%{_docdir}/dhash
#%find_lang sss_client #%find_lang sss_client
#cat sss_client.lang >> sss_daemon.lang #cat sss_client.lang >> sss_daemon.lang
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%preun
%stop_on_removal sssd
%postun
/sbin/ldconfig
%restart_on_update sssd
%insserv_cleanup
%post -n libdhash1 -p /sbin/ldconfig
%postun -n libdhash1 -p /sbin/ldconfig
%post -n libcollection1 -p /sbin/ldconfig
%postun -n libcollection1 -p /sbin/ldconfig
%post -n libref_array1 -p /sbin/ldconfig
%postun -n libref_array1 -p /sbin/ldconfig
%post -n libini_config1 -p /sbin/ldconfig
%postun -n libini_config1 -p /sbin/ldconfig
%post -n libpath_utils1 -p /sbin/ldconfig
%postun -n libpath_utils1 -p /sbin/ldconfig
%files -f sss_daemon.lang %files -f sss_daemon.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING %doc COPYING
@ -162,7 +298,7 @@ rm -rf $RPM_BUILD_ROOT
%{_sbindir}/sssd %{_sbindir}/sssd
%{_sbindir}/rcsssd %{_sbindir}/rcsssd
%{_libexecdir}/%{servicename}/ %{_libexecdir}/%{servicename}/
%{_libdir}/*.so.* #%{_libdir}/*.so.*
%dir %{_libdir}/%{name}/ %dir %{_libdir}/%{name}/
%{_libdir}/%{name}/libsss_krb5* %{_libdir}/%{name}/libsss_krb5*
%{_libdir}/%{name}/libsss_ldap* %{_libdir}/%{name}/libsss_ldap*
@ -214,15 +350,55 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/*.py* %{python_sitelib}/*.py*
%{python_sitelib}/*.egg-info %{python_sitelib}/*.egg-info
%post %files -n libdhash1
/sbin/ldconfig %defattr(-,root,root,-)
%{_libdir}/libdhash.so.*
%preun %files -n libdhash-devel
%stop_on_removal sssd %defattr(-,root,root,-)
%{_libdir}/libdhash.so
%{_libdir}/pkgconfig/dhash.pc
%{_prefix}/include/dhash.h
%doc %{_docdir}/dhash
%postun %files -n libpath_utils1
/sbin/ldconfig %defattr(-,root,root,-)
%restart_on_update sssd %{_libdir}/libpath_utils.so.*
%insserv_cleanup
%files -n libpath_utils-devel
%defattr(-,root,root,-)
%{_libdir}/libpath_utils.so
%{_libdir}/pkgconfig/path_utils.pc
%{_prefix}/include/path_utils.h
%files -n libini_config1
%defattr(-,root,root,-)
%{_libdir}/libini_config.so.*
%files -n libini_config-devel
%defattr(-,root,root,-)
%{_libdir}/libini_config.so
%{_libdir}/pkgconfig/ini_config.pc
%{_prefix}/include/ini_config.h
%files -n libcollection1
%defattr(-,root,root,-)
%{_libdir}/libcollection.so.*
%files -n libcollection-devel
%defattr(-,root,root,-)
%{_libdir}/libcollection.so
%{_libdir}/pkgconfig/collection.pc
%{_prefix}/include/collection*.h
%files -n libref_array1
%defattr(-,root,root,-)
%{_libdir}/libref_array.so.*
%files -n libref_array-devel
%defattr(-,root,root,-)
%{_libdir}/libref_array.so
%{_libdir}/pkgconfig/ref_array.pc
%{_prefix}/include/ref_array*.h
%changelog %changelog