Name: libnss-ldap Version: 265 Release: 1mamba Summary: nss interface library to LDAP Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.padl.com/OSS/nss_ldap.html Source: http://www.padl.com/download/nss_ldap-%{version}.tar.gz Source1: %{name}-conf Patch1: %{name}-244-softtwice.patch Patch2: %{name}-265-Makefile.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libe2fs-devel BuildRequires: libgssapi-devel BuildRequires: libkrb5-devel BuildRequires: libopenldap-devel BuildRequires: libsasl-devel ## AUTOBUILDREQ-END Provides: libnss_ldap Obsoletes: libnss_ldap BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The resolution of the entities defined in RFC 2307 is generally performed by a set of UNIX C library calls (such as getpwnam() to return the attributes of a user). The nss_ldap module provides the means for Solaris and Linux workstations to this information (such as users, hosts, and groups) from LDAP directories. The module is the reference implementation of RFC 2307, and has been studied by vendors such as Sun (who developed the original Nameservice Switch interface). %prep %setup -q -n nss_ldap-%{version} %patch1 -p1 %patch2 -p1 %build %configure \ --libdir=/lib \ --disable-dependency-tracking \ --enable-rfc2307bis %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d %{buildroot}%{_libdir} install -d %{buildroot}/lib %makeinstall INST_UID=`id -u` INST_GID=`id -g` rm %{buildroot}%{_sysconfdir}/ldap.conf ln ../../lib/libnss_ldap.so.2 %{buildroot}%{_libdir}/libnss_ldap.so -sf install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/ldap.conf rm %{buildroot}%{_sysconfdir}/nsswitch.ldap %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/ldap.conf %{_libdir}/libnss_ldap.so %{_libdir}/libnss_ldap.so.2 /lib/libnss_ldap-*.so /lib/libnss_ldap.so.2 %{_mandir}/man5/nss_ldap* %doc README ChangeLog nsswitch.ldap COPYING %changelog * Tue Mar 15 2011 Silvan Calarco 265-1mamba - update to 265 * Sat Jan 10 2009 Silvan Calarco 264-1mamba - automatic update by autodist * Mon Jan 21 2008 Silvan Calarco 259-1mamba - update to 259 * Thu Dec 21 2005 Silvan Calarco 244-6qilnx - patch: try twice the connection with soft bind_policy * Mon Dec 19 2005 Silvan Calarco 244-5qilnx - remove badly working ldap.conf recovery tool (moved to setup) * Fri Dec 16 2005 Silvan Calarco 244-4qilnx - recover ldap.conf if it was saved as ldap.save * Thu Dec 15 2005 Silvan Calarco 244-3qilnx - move /etc/ldap.conf here from setup package - set bind_timelimit 2 as default in /etc/ldap.conf * Thu Dec 15 2005 Silvan Calarco 244-2qilnx - fix library version number * Wed Dec 14 2005 Silvan Calarco 244-1qilnx - update to version 244 by autospec * Fri Dec 24 2004 Davide Madrisan 226-2qilnx - rebuild with new libe2fs-devel, libkrb5-devel packages * Thu Dec 09 2004 Silvan Calarco 226-1qilnx - new version build * Fri May 14 2004 Silvan Calarco 220-1qilnx - new version build * Wed Apr 21 2004 Silvan Calarco 217-1qilnx - new version build - removed requirement for automake 1.6 * Mon Nov 24 2003 Silvan Calarco 211-1qilnx - new version rebuild * Fri Jun 27 2003 Silvan Calarco 209-1qilnx - first build