SHA256
1
0
forked from jengelh/sssd

Accepting request 53189 from network:ldap

Accepted submit request 53189 from user rhafer

OBS-URL: https://build.opensuse.org/request/show/53189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sssd?expand=0&rev=9
This commit is contained in:
Ruediger Oertel 2010-11-18 15:58:43 +00:00 committed by Git OBS Bridge
parent 85bd4f9cef
commit c0397aa961
4 changed files with 34 additions and 206 deletions

View File

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

3
sssd-1.4.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9819769fdbb3003c4c2c3cb2d55cb5ec1de9d1196ee0cbe7e44be4485b6e1fa2
size 796262

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Tue Nov 16 11:06:02 UTC 2010 - rhafer@novell.com
- Updated to 1.4.1
* Add support for netgroups to the LDAP and proxy providers
* Fixes a minor bug with UIDs/GIDs >= 2^31
* Fixes a segfault in the kerberos provider
* Fixes a segfault in the NSS responder if a data provider crashes
* Correctly use sdap_netgroup_search_base
* the utility libraries libpath_utils1, libpath_utils-devel,
libref_array1 and libref_array-devel moved to their own
separate upstream project (ding-libs)
* Performance improvements made to group processing of RFC2307
LDAP servers
* Fixed nested group issues with RFC2307bis LDAP servers without
a memberOf plugin
* Manpage reviewed and updated
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 13 12:23:47 UTC 2010 - coolo@novell.com Mon Sep 13 12:23:47 UTC 2010 - coolo@novell.com

216
sssd.spec
View File

@ -18,7 +18,7 @@
Name: sssd Name: sssd
Version: 1.3.1 Version: 1.4.1
Release: 2 Release: 2
Group: System/Daemons Group: System/Daemons
Summary: System Security Services Daemon Summary: System Security Services Daemon
@ -28,12 +28,6 @@ Source0: %{name}-%{version}.tar.bz2
Source1: baselibs.conf Source1: baselibs.conf
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.5.0
%define ini_config_version 0.6.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
@ -64,6 +58,11 @@ BuildRequires: krb5-devel
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: bind-utils BuildRequires: bind-utils
BuildRequires: nscd BuildRequires: nscd
BuildRequires: libpath_utils-devel
BuildRequires: libdhash-devel
BuildRequires: libini_config-devel
BuildRequires: libcollection-devel
BuildRequires: libref_array-devel
%description %description
Provides a set of daemons to manage access to remote directories and Provides a set of daemons to manage access to remote directories and
@ -102,123 +101,12 @@ 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}
Release: 5
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}
Release: 5
Requires: libdhash1 = %{dhash_version}
License: LGPLv3+
%description -n libdhash-devel
A hash table which will dynamically resize to achieve optimal storage & access
time properties
%package -n libcollection2
Summary: Collection data-type for C
Group: Development/Libraries/C and C++
Version: %{collection_version}
Release: 2
License: LGPLv3+
%description -n libcollection2
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}
Release: 2
Requires: libcollection2 = %{collection_version}
License: LGPLv3+
%description -n libcollection-devel
A data-type to collect data in a heirarchical structure for easy iteration
and serialization
%package -n libini_config2
Summary: INI file parser for C
Group: Development/Libraries/C and C++
Version: %{ini_config_version}
Release: 2
License: LGPLv3+
%description -n libini_config2
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}
Release: 2
Requires: libini_config2 = %{ini_config_version}
License: LGPLv3+
%description -n libini_config-devel
Library to process config files in INI format into a libcollection data
structure
%package -n libpath_utils1
Summary: Filesystem Path Utilities
Group: Development/Libraries/C and C++
Version: %{path_utils_version}
Release: 2
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}
Release: 2
Requires: libpath_utils1 = %{path_utils_version}
License: LGPLv3+
%description -n libpath_utils-devel
Utility functions to manipulate filesystem pathnames
%package -n libref_array1
Summary: A refcounted array for C
Group: Development/Libraries/C and C++
Version: %{refarray_version}
Release: 2
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}
Release: 2
Requires: libref_array1 = %{refarray_version}
License: LGPLv3+
%description -n libref_array-devel
A dynamically-growing, reference-counted array
%prep %prep
%setup -q %setup -q
%build %build
autoreconf autoreconf
export LDB_LIBS="-lldb" export LDB_LIBS="-lldb"
export LDB_CFLAGS="-I/usr/include" export LDB_CFLAGS="-I/usr/include"
%configure \ %configure \
--without-tests \ --without-tests \
@ -226,13 +114,13 @@ export LDB_CFLAGS="-I/usr/include"
--with-pipe-path=%{pipepath} \ --with-pipe-path=%{pipepath} \
--with-init-dir=%{_initrddir} \ --with-init-dir=%{_initrddir} \
--enable-nsslibdir=/%{_lib} \ --enable-nsslibdir=/%{_lib} \
--enable-pammoddir=/%{_lib}/security \
--enable-cryptp=yes \ --enable-cryptp=yes \
--with-ldb-lib-dir=%{_libdir}/ldb \ --with-ldb-lib-dir=%{_libdir}/ldb \
--with-selinux=no \ --with-selinux=no \
--with-so=suse \
--with-semanage=no --with-semanage=no
make %{?jobs:-j%jobs}
#make %{?_smp_mflags}
make
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -258,14 +146,7 @@ rm -f \
$RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_ipa.la \ $RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_ipa.la \
$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
%find_lang sssd
rm $RPM_BUILD_ROOT/%{_libdir}/*.a
%find_lang sss_daemon
#%find_lang sss_client
#cat sss_client.lang >> sss_daemon.lang
install -d $RPM_BUILD_ROOT/%{_docdir}/dhash
mv $RPM_BUILD_ROOT/%{_datarootdir}/doc/dhash/* $RPM_BUILD_ROOT/%{_docdir}/dhash
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -280,27 +161,7 @@ rm -rf $RPM_BUILD_ROOT
%restart_on_update sssd %restart_on_update sssd
%insserv_cleanup %insserv_cleanup
%post -n libdhash1 -p /sbin/ldconfig %files -f sssd.lang
%postun -n libdhash1 -p /sbin/ldconfig
%post -n libcollection2 -p /sbin/ldconfig
%postun -n libcollection2 -p /sbin/ldconfig
%post -n libini_config2 -p /sbin/ldconfig
%postun -n libini_config2 -p /sbin/ldconfig
%post -n libpath_utils1 -p /sbin/ldconfig
%postun -n libpath_utils1 -p /sbin/ldconfig
%post -n libref_array1 -p /sbin/ldconfig
%postun -n libref_array1 -p /sbin/ldconfig
%files -f sss_daemon.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING %doc COPYING
%{_initrddir}/%{name} %{_initrddir}/%{name}
@ -310,7 +171,6 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_libexecdir}/%{name} %dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/sss* %{_libexecdir}/%{name}/sss*
%{_libexecdir}/%{name}/*_child %{_libexecdir}/%{name}/*_child
%{_libexecdir}/%{name}/upgrade_config.py
%{_libdir}/%{name}/libsss_krb5* %{_libdir}/%{name}/libsss_krb5*
%{_libdir}/%{name}/libsss_ldap* %{_libdir}/%{name}/libsss_ldap*
%{_libdir}/%{name}/libsss_proxy* %{_libdir}/%{name}/libsss_proxy*
@ -348,6 +208,7 @@ rm -rf $RPM_BUILD_ROOT
%{_sbindir}/sss_groupdel %{_sbindir}/sss_groupdel
%{_sbindir}/sss_groupmod %{_sbindir}/sss_groupmod
%{_sbindir}/sss_groupshow %{_sbindir}/sss_groupshow
%attr(0755,root,root) %{_sbindir}/sss_obfuscate
%files ipa-provider %files ipa-provider
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -361,55 +222,4 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/*.py* %{python_sitelib}/*.py*
%{python_sitelib}/*.egg-info %{python_sitelib}/*.egg-info
%files -n libdhash1
%defattr(-,root,root,-)
%{_libdir}/libdhash.so.*
%files -n libdhash-devel
%defattr(-,root,root,-)
%{_libdir}/libdhash.so
%{_libdir}/pkgconfig/dhash.pc
%{_prefix}/include/dhash.h
%doc %{_docdir}/dhash
%files -n libini_config2
%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 libcollection2
%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 libpath_utils1
%defattr(-,root,root,-)
%{_libdir}/libpath_utils.so.*
%files -n libpath_utils-devel
%defattr(-,root,root,-)
%{_libdir}/libpath_utils.so
%{_libdir}/pkgconfig/path_utils.pc
%{_prefix}/include/path_utils*.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