Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > main-src > by-pkgid > 5bfb117ec26d438c806f42f3723d6c76 > files > 34

openldap-2.0.21-4mdk.src.rpm

%define name	openldap
%define version	2.0.21
%define release	4mdk

%define major 		2
%define migtools_ver 	39

%define _localstatedir %{_var}/run
%define	_libexecdir	%{_sbindir}

Summary: 	LDAP servers and sample clients.
Name: 		%{name}
Version: 	%{version}
Release: 	%{release}
License: 	Artistic
Group: 		System/Servers
URL: 		http://www.openldap.org

# Openldap source
Source0: 	%{name}-%{version}.tar.bz2
Source12:	openldap-guide.tar.bz2


# Specific source
Source1: 	ldap.init
Source2: 	%{name}.sysconfig
Source19:   gencert.sh
Source20:   ldap.logrotate
Source21:   slapd.conf

# Migration tools
Source11:	http://www.padl.com/download/MigrationTools-%{migtools_ver}.tar.bz2
Source3: 	migration-tools.txt
Source4: 	migrate_automount.pl


# Extended Schema 
Source50: 	rfc822-MailMember.schema
Source51: 	autofs.schema
Source52: 	kerberosobject.schema
Source53: 	qmail.schema
Source54: 	mull.schema
Source55: 	samba.schema
Source56: 	http://debian.jones.dk/debian/local/honda/pool-ldapv3/woody-jones/openldap2/schemas/netscape-profile.schema
Source57: 	http://debian.jones.dk/debian/local/honda/pool-ldapv3/woody-jones/openldap2/schemas/trust.schema
Source58: 	http://debian.jones.dk/debian/local/honda/pool-ldapv3/woody-jones/openldap2/schemas/dns.schema
Source59: 	http://debian.jones.dk/debian/local/honda/pool-ldapv3/woody-jones/openldap2/schemas/cron.schema


# Chris Patches
Patch0: 	%{name}-2.0.7-config.patch.bz2
Patch1:		%{name}-2.0.7-module.patch.bz2
Patch2:		%{name}-2.0.7-schema.patch.bz2
Patch3: 	%{name}-2.0.9-slapd.conf.patch.bz2
Patch4: 	%{name}-2.0.7-db3.patch.bz2
Patch22:	%{name}-libtool.patch.bz2
# Patch23: 	%{name}-2.0.8-ipv6-configure.patch
Patch24:	%{name}-2.0.18-libtool.patch.bz2

# RH + PLD Patches
#Patch5: 	%{name}-2.0.3-redhat.patch
Patch6: 	%{name}-2.0.3-krb5-1.1.patch.bz2
# Patch7:	%{name}-make_man_link.patch
Patch8:		%{name}-conffile.patch.bz2
Patch10:	%{name}-sql.patch.bz2
# Patch11:	%{name}-sendbuf.patch only for not threaded version
Patch12:	%{name}-syslog.patch.bz2
# Patch13:	%{name}-fast.patch  # not need for mandrake glibc threads not broken 
# Patch14:	%{name}-pidfile.patch
Patch15:	%{name}-cldap.patch.bz2
# Patch16:	%{name}-norbert.patch

# Migration tools Patch
Patch40: 	MigrationTools-34-instdir.patch.bz2
Patch41: 	MigrationTools-36-mktemp.patch.bz2
Patch42: 	MigrationTools-27-simple.patch.bz2
Patch43: 	MigrationTools-26-suffix.patch.bz2
Patch44: 	MigrationTools-24-schema.patch.bz2
Patch45:	MigrationTools-38-i18n.patch.bz2
# schema patch
Patch46: 	openldap-2.0.21-schema.patch.bz2

BuildRequires: 	libsasl7-devel
BuildRequires: 	openssl-devel
BuildRequires: 	perl
BuildRequires: 	autoconf
#BuildRequires: 	libgdbm1-devel
BuildRequires: 	db3-devel
BuildRequires:  libunixODBC2-devel
BuildRequires:  ncurses-devel >= 5.0
BuildRequires:  libltdl-devel
BuildRequires: 	tcp_wrappers-devel
BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
Requires: 	libldap%{major}
Requires: 	shadow-utils
Requires: 	setup >= 2.2.0-6mdk


%description
OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
Protocol) applications and development tools.  The suite includes a
stand-alone LDAP server (slapd), a stand-alone LDAP replication server
(slurpd), libraries for implementing the LDAP protocol, and utilities,
tools, and sample clients.
Install openldap if you need LDAP applications and tools.


%package servers
Summary: 	OpenLDAP servers and related files.
Group: 		System/Servers
Prereq: 	fileutils,  /usr/sbin/useradd
Requires: 	libldap%{major} = %{version}

%description servers
OpenLDAP Servers


%package clients
Summary: 	OpenLDAP clients and related files.
Group: 		System/Servers
Requires: 	libldap%{major} = %{version}

%description clients
OpenLDAP clients

%package migration
Summary: 	Set of scripts for migration of a nis domain to a ldap annuary.
Group: 		System/Configuration/Other
Requires: 	openldap-servers = %{version}
Requires: 	openldap-clients = %{version}
Requires: 	perl-MIME-Base64


%description migration
Set of scripts for migration of a nis domain to a ldap annuary.


%package -n libldap%{major}
Summary: 	OpenLDAP libraries.
Group: 		System/Libraries

%description -n libldap%{major}
This package includes thelibraries needed for make works ldap applications.


%package -n libldap%{major}-devel
Summary: 	OpenLDAP development libraries and header files.
Group: 		Development/C
Provides: 	libldap-devel, openldap-devel
Requires: 	libldap%{major} = %{version}
Obsoletes: 	openldap-devel
Conflicts:	libldap1-devel

%description -n libldap%{major}-devel
This package includes the development libraries and header files
needed for compiling applications that use LDAP internals.  Install
this package only if you plan to develop or will need to compile
customized LDAP clients.


%package -n libldap%{major}-devel-static
Summary: 	OpenLDAP development static libraries
Group: 		Development/C
Provides: 	libldap-devel-static, openldap-devel-static
Requires: 	libldap%{major}-devel = %{version}
Obsoletes: 	openldap-devel-static
Conflicts:	libldap1-devel


%description -n libldap%{major}-devel-static
OpenLDAP development static libraries


%package back_dnssrv
Summary: 	Module dnssrv for OpenLDAP 
Group: 		System/Libraries
Requires: 	libldap%{major} = %{version}
Requires: 	openldap-servers = %{version}

%description back_dnssrv
Module dnssrv for OpenLDAP daemon


%package back_ldap
Summary: 	Module ldap for OpenLDAP 
Group: 		System/Libraries
Requires: 	libldap%{major} = %{version}
Requires: 	openldap-servers = %{version}

%description back_ldap
Module ldap for OpenLDAP daemon


%package back_passwd
Summary: 	Module passwd for OpenLDAP 
Group: 		System/Libraries
Requires: 	libldap%{major} = %{version}
Requires: 	openldap-servers = %{version}

%description back_passwd
Module passwd for OpenLDAP daemon


%package back_sql
Summary: 	Module sql for OpenLDAP 
Group: 		System/Libraries
Requires: 	libldap%{major} = %{version}
Requires: 	openldap-servers = %{version}

%description back_sql
Module sql for OpenLDAP daemon


%package guide
Summary: 	OpenLDAP administration guide
Group: 		Books/Computer books
Requires: 	openldap

%description guide
OpenLDAP guide


%prep
%setup -q -a 11

# Chris patches
%patch0 -p1 -b .config
%patch1 -p1 -b .module
%patch2 -p1 -b .schema
#%patch3 -p1 
#%patch4 -p1 
#%patch23 -p1 
%patch24 -p1 -b .libtool

# RH patches
#%patch5 -p1 
#%patch6 -p1 
#%patch7 -p1 
%patch8 -p1 -b .conffile
%patch10 -p1 -b .sql
#%patch11 -p1 
%patch12 -p1 -b .syslog
#%patch13 -p1 
#%patch14 -p1 
%patch15 -p1 -b .cldap 
#%patch16 -p1 

pushd MigrationTools-%{migtools_ver}
%patch40 -p1 -b .instdir
%patch41 -p1 -b .mktemp
%patch42 -p1 -b .simple
%patch43 -p1 -b .suffix
%patch44 -p2 -b .schema
%patch45 -p2 -b .i18n
popd

%patch46 -p1 -b .mdk


%build
rm -rf $RPM_BUILD_ROOT

%serverbuild

#
# dont't run libtoolize because openldap use custom libtool 1.3
%define __libtoolize  /bin/true

%configure2_5x \
	--localstatedir=/var/run/ldap \
    --with-tls \
	--with-cyrus-sasl \
	--without-kerberos \
	--enable-wrappers \
	--enable-cleartext \
	--enable-crypt \
	--enable-spasswd \
	--enable-rlookups \
	--enable-syslog \
	--enable-proctitle \
	--enable-cache \
	--enable-referrals \
	--enable-local \
	--enable-cldap \
	--with-readline \
	--with-threads \
	--with-yielding-select \
	--enable-slapd \
	--enable-slurpd \
	--enable-multimaster \
	--enable-phonetic \
	--enable-aci \
	--enable-dynamic \
	--enable-shared \
	--enable-static \
	--enable-cldap \
	--enable-modules \
	--enable-passwd \
	--with-passwd-module=dynamic \
	--enable-dnssrv \
	--with-dnssrv-module=dynamic \
	--enable-sql \
	--with-sql-module=dynamic \
	--enable-ldap \
	--with-ldap-module=dynamic \
	--enable-ldbm \
	--with-ldbm-module=static \
	--enable-shell \
	--with-shell-module=static \
	--enable-ipv6 

#configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin \
#	--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share \
#	--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/sbin \
#	--localstatedir=/var/run --sharedstatedir=/usr/com \
#	--mandir=/usr/share/man --infodir=/usr/share/info \
#   --with-ldbm-api=gdbm \
#	--with-ldbm-api=berkeley \
#	--with-ldbm-type=%{?ldbm_type:%{ldbm_type}}%{?!ldbm_type:btree} \

#patch -p1 < %{PATCH22}

%make depend 

%make 

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall_std


#	sysconfdir=%{_sysconfdir}/openldap \
#	datadir=$RPM_BUILD_ROOT/%{_datadir}/openldap 
#
### install slapcat-gdbm
#install -m 755 slapcat-gdbm $RPM_BUILD_ROOT%{_sbindir}


### some hack
#perl -pi -e "s|%{buildroot}||g" $RPM_BUILD_ROOT%{_sysconfdir}/openldap/slapd.conf
#perl -pi -e "s|^#! /bin/sh|#!/bin/sh|g" $RPM_BUILD_ROOT%{_bindir}/xrpcomp 

### Init scripts
install -d $RPM_BUILD_ROOT%{_initrddir}
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/ldap

install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ldap

install -m 755 %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/openldap

### repository dir
install -d $RPM_BUILD_ROOT/var/lib/ldap

### run dir
install -d $RPM_BUILD_ROOT/var/run/ldap

### Server defaults
echo "localhost" > $RPM_BUILD_ROOT%{_sysconfdir}/openldap/ldapserver

### we don't need the default files 
rm -f $RPM_BUILD_ROOT/etc/openldap/*.default 
rm -f $RPM_BUILD_ROOT/etc/openldap/schema/*.default 


### Standard schemas should not be changed by users
install -d $RPM_BUILD_ROOT%{_datadir}/openldap/schema
mv -f $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/* $RPM_BUILD_ROOT%{_datadir}/openldap/schema/

### install additional schemas
for i in %{SOURCE50} %{SOURCE51} %{SOURCE52} %{SOURCE53} %{SOURCE54} \
		%{SOURCE55}	%{SOURCE56}	%{SOURCE57}	%{SOURCE58}	%{SOURCE59}; do
install -m 644 $i $RPM_BUILD_ROOT%{_datadir}/openldap/schema/
done

### create local.schema
echo "# This is a good place to put your schema definitions " > $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/local.schema
chmod 644 $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/local.schema

### create slapd.access.conf
echo "# This is a good place to put slapd access-control directives" > $RPM_BUILD_ROOT%{_sysconfdir}/openldap/slapd.access.conf

### try to build saucer, but don't fret if we can't
if make -C contrib/saucer ; then
	install -m755 contrib/saucer/saucer $RPM_BUILD_ROOT%{_bindir}/
	install -m644 contrib/saucer/saucer.1 $RPM_BUILD_ROOT%{_mandir}/man1/
fi

### deal with the migration tools
install -d $RPM_BUILD_ROOT%{_datadir}/openldap/migration
install -m 755 MigrationTools-%{migtools_ver}/{*.pl,*.sh,*.txt,*.ph} $RPM_BUILD_ROOT%{_datadir}/openldap/migration
install -m 644 MigrationTools-%{migtools_ver}/README %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/openldap/migration
install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/openldap/migration

cp MigrationTools-%{migtools_ver}/README README.migration
cp %{SOURCE3} TOOLS.migration


### Guide
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/
tar xvjf %{SOURCE12} -C $RPM_BUILD_ROOT/%{_docdir}/

### gencert.sh
install -m 755 %{SOURCE19} $RPM_BUILD_ROOT/%{_datadir}/openldap

### log repository
install -m 700 -d $RPM_BUILD_ROOT/var/log/ldap
install -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
install -m 644 %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ldap


# get the buildroot out of the man pages
perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/*/*.*

# if ldapadd and ldapmodify are the same, make them a hard link
if cmp $RPM_BUILD_ROOT%{_bindir}/ldapadd $RPM_BUILD_ROOT%{_bindir}/ldapmodify ; then
	ln -f $RPM_BUILD_ROOT%{_bindir}/ldapadd $RPM_BUILD_ROOT%{_bindir}/ldapmodify
fi


%clean 
rm -rf $RPM_BUILD_ROOT


%pre servers
grep -q ldap %{_sysconfdir}/passwd && (
	%{_sbindir}/userdel ldap 1>&2 || :
)

grep -q ldap %{_sysconfdir}/group  && (
	%{_sbindir}/groupdel ldap 1>&2 || :
)


%{_sbindir}/groupadd -g 93 -r -f ldap 1>&2 || : 
%{_sbindir}/useradd -M -o -r -u 93 -g ldap -c "OpenLDAP server" -d /var/lib/ldap ldap 1>&2 || :

# allowing slapd to read hosts.allow and hosts.deny
%{_bindir}/gpasswd -a ldap adm 1>&2 > /dev/null || :


%post servers
# Setup log facility for OpenLDAP
if [ -f %{_sysconfdir}/syslog.conf ] ;then

	# clean syslog
	perl -pi -e "s|^.*ldap.*\n||g" %{_sysconfdir}/syslog.conf 

	typeset -i cntlog
	cntlog=0

	# probe free local-users
	while [ `grep -c local${cntlog} %{_sysconfdir}/syslog.conf` -gt 0 ]
	do 
		cntlog=${cntlog}+1
	done

	if [ ${cntlog} -le 9 ];then
		echo "# added by %{name}-%{version} r""pm $(date)" >> %{_sysconfdir}/syslog.conf
		echo "local${cntlog}.*       /var/log/ldap/ldap.log" >> %{_sysconfdir}/syslog.conf

		# reset syslog daemon
		if [ -f /var/lock/subsys/syslog ]; then
        		service syslog restart  > /dev/null 2>/dev/null || : 
		fi
	else
		echo "I can't set syslog local-user!"
	fi
		
	# set syslog local-user in /etc/sysconfig/ldap
	perl -pi -e "s|^.*SLAPDSYSLOGLOCALUSER.*|SLAPDSYSLOGLOCALUSER=\"LOCAL${cntlog}\"|g" %{_sysconfdir}/sysconfig/ldap 

fi

# Reset right permissions 
for i in /var/lib/ldap/* ; do
	if [ -f $i ]; then
		chmod 0600 $i
		chown ldap.ldap $i
	fi
done

pushd %{_sysconfdir}/openldap/ > /dev/null
for i in slapd.conf slapd.access.conf ldap.pem ; do
	if [ -f $i ]; then
		chmod 0640 $i
		chown root.ldap $i
	fi
done
popd > /dev/null


%_post_service ldap

# nscd reset
if [ -f /var/lock/subsys/nscd ]; then
        service nscd restart  > /dev/null 2>/dev/null || : 
fi


%preun servers
%_preun_service ldap


%postun servers
if [ $1 = 0 ]; then 
	# remove ldap entry 
	perl -pi -e "s|^.*ldap.*\n||g" %{_sysconfdir}/syslog.conf 

	# reset syslog daemon
	if [ -f /var/lock/subsys/syslog ]; then
	        service syslog restart  > /dev/null 2>/dev/null || : 
	fi
fi



%post -n libldap%{major} -p /sbin/ldconfig

%postun -n libldap%{major} -p /sbin/ldconfig



%files
%defattr(-,root,root)
%doc ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README 
%doc README.migration TOOLS.migration
%doc doc/rfc doc/drafts
%dir  %{_sysconfdir}/openldap
%config(noreplace) %{_sysconfdir}/openldap/ldapfilter.conf
%config(noreplace) %{_sysconfdir}/openldap/ldapsearchprefs.conf
%config(noreplace) %{_sysconfdir}/openldap/ldaptemplates.conf
%config(noreplace) %{_sysconfdir}/openldap/ldapserver
%dir  %{_datadir}/openldap
%{_datadir}/openldap/ldapfriendly
%{_mandir}/man5/ldap.conf.5*
%{_mandir}/man5/ldapfilter.conf.5*
%{_mandir}/man5/ldapfriendly.5*
%{_mandir}/man5/ldapsearchprefs.conf.5*
%{_mandir}/man5/ldaptemplates.conf.5*
%{_mandir}/man5/ldif.5*

%files migration
%defattr(-,root,root)
%{_datadir}/openldap/migration


%files servers
%defattr(-,root,root)
#%attr(640,root,ldap) %config(noreplace) %{_sysconfdir}/openldap/ldap.pem
%attr(640,root,ldap) %config(noreplace) %{_sysconfdir}/openldap/slapd.conf
%attr(640,root,ldap) %config(noreplace) %{_sysconfdir}/openldap/slapd.access.conf

%dir %{_sysconfdir}/openldap/schema
%config(noreplace) %{_sysconfdir}/openldap/schema/*.schema
%dir %{_datadir}/openldap/schema
%{_datadir}/openldap/schema/*.schema

%config(noreplace) %{_sysconfdir}/sysconfig/ldap
%config(noreplace) %{_initrddir}/ldap
%attr(750,ldap,ldap) %dir /var/lib/ldap
%attr(755,ldap,ldap) %dir /var/run/ldap
%{_datadir}/openldap/*.help
%{_datadir}/openldap/gencert.sh
%{_sbindir}/*
%{_mandir}/man5/slapd.conf.5*
%{_mandir}/man5/slapd.replog.5*
%{_mandir}/man8/*

%attr(750,ldap,ldap) %dir /var/log/ldap
%config(noreplace) %{_sysconfdir}/logrotate.d/ldap


%files clients
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man5/ud.conf.5*

%files -n libldap%{major}
%defattr(-,root,root)
%{_libdir}/lib*.so.*


%files -n libldap%{major}-devel
%defattr(-,root,root)
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_includedir}/*
%{_mandir}/man3/*

%files -n libldap%{major}-devel-static
%defattr(-,root,root)
%{_libdir}/lib*.a

%files guide
%defattr(-,root,root)
%doc %{_docdir}/%{name}-guide

%files back_dnssrv
%defattr(-,root,root)
%{_libdir}/openldap/back_dnssrv.la
%{_libdir}/openldap/back_dnssrv*.so.*
%{_libdir}/openldap/back_dnssrv*.so

%files back_ldap
%defattr(-,root,root)
%{_libdir}/openldap/back_ldap.la
%{_libdir}/openldap/back_ldap*.so.*
%{_libdir}/openldap/back_ldap*.so

%files back_sql
%defattr(-,root,root)
%dir %{_libdir}/openldap
%{_libdir}/openldap/back_sql.la
%{_libdir}/openldap/back_sql*.so.*
%{_libdir}/openldap/back_sql*.so


%files back_passwd
%defattr(-,root,root)
%{_libdir}/openldap/back_passwd.la
%{_libdir}/openldap/back_passwd*.so.*
%{_libdir}/openldap/back_passwd*.so


%changelog
* Tue Mar 12 2002 Daouda LO <daouda@mandrakesoft.com> 2.0.21-4mdk
- split the LANG variable to get correct country code.

* Thu Feb 14 2002 Vincent Danen <vdanen@mandrakesoft.com> 2.0.21-3mdk
- fix typeo in misc.schema

* Tue Jan 28 2002 Vincent Danen <vdanen@mandrakesoft.com> 2.0.21-2mdk
- fix typeo in schema patch
- fix some rpmlint warnings
- fix slapd.conf; remove missing nadf.schema reference
- fix logrotate entry so slapd is restarted only if it's already running
  (re: mr@uue.org)

* Wed Jan 22 2002 Vincent Danen <vdanen@mandrakesoft.com> 2.0.21-1mdk
- 2.0.21 (security update)
- regenerate schema patch

* Tue Dec 25 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.0.19-1mdk
- 2.0.19 for general usage.

* Thu Dec 06 2001 Philippe Libat <philippe@mandrakesoft.com> 2.0.18-3mdk
- fix static librairies (Patch24+libtool comment)

* Mon Nov 26 2001 Philippe Libat <philippe@mandrakesoft.com> 2.0.18-2mdk
- add new schema
- Migration Tools v39

* Fri Oct 26 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.18-1mdk
- Up to 2.0.18

* Tue Oct 16 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.17-1mdk
- Up to 2.0.17

* Thu Oct 11 2001 Christian Belisle <cbelisle@mandrakesoft.com> 2.0.15-2mdk
- new db3.

* Sat Sep 22 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.15-1mdk
- Up to 2.0.15, SSL fix

* Tue Sep 11 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.14-1mdk
- Up 2.0.14, Fixed slurpd millionth second bug.

* Mon Sep 10 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.13-1mdk
- Up to 2.0.13

* Fri Aug 31 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.12-1mdk
- Up to 2.0.12

* Fri Aug 24 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.11-6mdk
- Adding some directory in package (thanks to fcrozat)

* Thu Jul 05 2001 Philippe Libat <philippe@mandrakesoft.com> 2.0.11-6mdk
- new db3

* Mon Jul 02 2001 Philippe Libat <philippe@mandrakesoft.com> 2.0.11-5mdk
- fix requires on openldap-migration

* Wed Jun 27 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.11-4mdk
- Change typo fault in gencert script

* Mon Jun 11 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.11-3mdk
- Rebuild with some change
- Rebuild with cooker's libtool
- Remove slapcat because cooker broken libtool 
- Auto preset common name by hostname in gencert

* Mon May 28 2001 Christian Zoffoli <czoffoli@mandrakesoft.com> 2.0.11-2mdk
- added a statically compiled slapcat (named slapcat-gdbm) to dump gdbm DBs 
  to LDIF files also with an OpenLDAP compiled with Berkeley DB support
- added BuildRequires: db3-devel
- fixed certificate search in the init script
- added some conversion infos in the init script

* Mon May 28 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.11-1mdk
- Update to 2.0.11
- Build on 8.0, cooker devel environnement is broken

* Tue May 22 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.10-1mdk
- Adding default run level in init file
- Up to 2.0.10
- Don't get patched file in migration package
- Set default country in gencert.sh by default lang
- Now generate certificate at first start of server
- Correct strange space in sldap.conf patch (it made warning message on start
  of slapd)
- Using berkeley base for storing

* Mon May 21 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.9-2mdk
- Require setup with ldap user (remove user creation in few time, please ugrade).
- Adding i18n for migration tools patch.

* Sat May 19 2001 Christian Zoffoli <czoffoli@linux-mandrake.com> 2.0.9-1mdk
- 2.0.9
- removed no more needed openldap-2.0.8-ipv6-configure.patch (ITS#1146)
- new openldap-2.0.9-slapd.conf.patch (added basic ACL)

* Tue May 15 2001 Christian Zoffoli <czoffoli@linux-mandrake.com> 2.0.8-3mdk
- added Conflicts: openldap1-devel
- clean up in spec

* Mon May 14 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.8-2mdk
- Rebuild on cooker environnement (Thx to : Christian Zoffoli)

* Sat May 12 2001 Christian Zoffoli <czoffoli@linux-mandrake.com> 2.0.8-1mdk
- 2.0.8
- removed not needed openldap-norbert.patch
- updated openldap-2.0.8-slapd.conf.patch
- added openldap-2.0.8-ipv6-configure.patch

* Thu May 10 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.7-9mdk
- Really fall in love Christian's work !!!
- Removed not needen rh patch 
- Assembled html admin guide in one file
- Changed number of patch and source for easy maintenance
- Added migration package

* Tue May 08 2001 Christian Zoffoli <czoffoli@linux-mandrake.com> 2.0.7-8mdk
- added static libraries
- s!Copyright!License

* Mon May 07 2001 Christian Zoffoli <czoffoli@linux-mandrake.com> 2.0.7-7mdk
- added reset permissions on post macro
- merged with last RH patches
- removed ldap.conf
- improved post - postun - preun macros
- fixed tcp_wrapper support (allowing slapd to read hosts.*)
- fixed man pages (removed buildroot)

* Thu Apr 26 2001 Christian Zoffoli <czoffoli@linux-mandrake.com> 2.0.7-6mdk
- complete spec restyle
- Migration Tools v37
- merge with RH patches
- merge with PLD patches
- added SSL/TLS, unixODBC support
- added modules: dnssrv, sql, ldap, passwd
- added static modules: ldbm, shell
- changed default schema location
- added libldap2-static-devel package
- added openldap-servers package
- added openldap-clients package
- added openldap-guide package (added guide)
- added ldap user/group
- OpenLDAP executed as ldap  :O
- fixed slapd - slurpd DB paths
- fixed module path
- massive changes on default slapd.conf
- added Netscape Roaming profiles schema
- added QMAIL schema
- added kerberos schema
- added autofs schema
- added samba schema (MS AD)
- improved init script
- added certificate generation
- added syslog support (with autoprobe local-user) + logrotate 

* Mon Apr  9 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.7-5mdk
- Adaptation of default config file (bug#: 3044, by peter.boerner@lhsystems.com) 

* Mon Apr  2 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.7-4mdk
- Using build server macro

* Fri Mar  9 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.7-3mdk
- Rebuild with sasl support
- Correct bad link in man page

* Mon Feb 19 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.7-2mdk
- adding provide openldap-devel to libldap-devel package

* Tue Feb 13 2001 Vincent Saugey <vince@mandrakesoft.com> 2.0.7-1mdk
- Libificatizication
- Up to 2.0.7 (promize at French linux-expo, sorry for late)
- Update Migration tools to 2.0.7

* Tue Oct 17 2000 Vincent Saugey <vince@mandrakesoft.com> 2.0.6-1mdk
- Up to 2.0.6
- Macrozification

* Wed Aug 30 2000 Etienne Faure <etienne@mandrakesoft.com> 1.2.9-7mdk
- rebuilt with _mandir macro

* Fri Jul 07 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.2.9-6mdk.
- Remove make tests.

* Fri Apr 21 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.2.9-5mdk
- Move default databases to /var/lib/ldap and not /usr/tmp/
- Add redhat patch.
- Clean up.

* Tue Mar 21 2000 Jerome Dumonteil <jd@mandrakesoft.com>
- error in changelog

* Mon Mar 13 2000 Jerome Dumonteil <jd@mandrakesoft.com>
- Upgrade to versin 1.2.9
- use of _prefix

* Tue Nov 30 1999 Jerome Dumonteil <jd@mandrakesoft.com>
- Upgrade version of MigrationTools.
- use of _tmppath and prefix

* Sun Nov  7 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Get your life easy, patch the sources for bzman.

* Tue Nov  2 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- First mandrake release.

* Mon Sep 13 1999 Bill Nottingham <notting@redhat.com>
- strip files

* Sat Sep 11 1999 Bill Nottingham <notting@redhat.com>
- update to 1.2.7
- fix some bugs from bugzilla (#4885, #4887, #4888, #4967)
- take include files out of base package

* Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com>
- missing ;; in init script reload) (#4734).

* Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com>
- move stuff from /usr/libexec to /usr/sbin
- relocate config dirs to /etc/openldap

* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
- initscript munging

* Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com>
- add the migration tools to the package

* Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com>
- upgrade to 1.2.6
- add rc.d script
- split -devel package

* Sun Feb 07 1999 Preston Brown <pbrown@redhat.com>
- upgrade to latest stable (1.1.4), it now uses configure macro.

* Fri Jan 15 1999 Bill Nottingham <notting@redhat.com>
- build on arm, glibc2.1

* Wed Oct 28 1998 Preston Brown <pbrown@redhat.com>
- initial cut.
- patches for signal handling on the alpha