source: projects/specs/trunk/o/openldap/openldap-vl.spec @ 9412

Revision 9412, 43.9 KB checked in by tomop, 9 years ago (diff)

openldap-2.4.40-2

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3%define migtools_version 47
4%define ldbm_backend berkeley
5%define evolution_connector_prefix %{_libdir}/evolution-openldap
6%define evolution_connector_includedir %{evolution_connector_prefix}/include
7%define evolution_connector_libdir %{evolution_connector_prefix}/%{_lib}
8%define __perl_requires %{SOURCE11}
9
10%define stable 0
11%if %{stable}
12%define date 20100719
13%endif
14
15Summary: The configuration files, libraries and documentation for OpenLDAP.
16Summary(ja): OpenLDAP の設定ファイル,ライブラリ,ドキュメント.
17Name: openldap
18Version: 2.4.40
19Release: 2%{?_dist_release}
20License: OpenLDAP
21Group: System Environment/Libraries
22URL: http://www.openldap.org/
23
24%if %{stable}
25Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-stable/openldap-stable-%{date}.tgz
26%else
27Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz
28%endif
29Source1: http://www.padl.com/download/MigrationTools-%{migtools_version}.tar.gz
30Source2: ldap.init
31Source3: migration-tools.txt
32Source4: autofs.schema
33Source5: rfc822-MailMember.schema
34Source6: README.upgrading
35Source7: http://www.OpenLDAP.org/doc/admin/guide.html
36Source8: README.evolution
37Source9: README.migration
38Source10: ldap.sysconfig
39Source11: filter-requires-openldap.sh
40
41# Patches for 2.4
42Patch0: openldap-2.4.11-config.patch
43Patch1: openldap-2.0.11-ldaprc.patch
44Patch2: openldap-2.4.16-setugid.patch
45Patch3: openldap-2.4.6-pie.patch
46Patch4: openldap-2.3.11-toollinks.patch
47Patch5: openldap-2.4.6-nosql.patch
48Patch6: openldap-2.3.19-gethostbyXXXX_r.patch
49Patch9: openldap-2.3.37-smbk5pwd.patch
50Patch10: openldap-2.4.6-multilib.patch
51
52# Patches for the evolution library
53Patch200: openldap-2.4.16-evolution-ntlm.patch
54
55# Patches for the MigrationTools package
56Patch300: MigrationTools-38-instdir.patch
57Patch301: MigrationTools-36-mktemp.patch
58Patch302: MigrationTools-27-simple.patch
59Patch303: MigrationTools-26-suffix.patch
60Patch304: MigrationTools-46-schema.patch
61Patch305: MigrationTools-45-noaliases.patch
62
63# Vine Patches
64
65# security fixes
66
67# CVE-2015-1545
68Patch1000: its8027.patch
69# CVE-2015-1546
70Patch1001: its8046.patch
71
72BuildRoot: %{_tmppath}/%{name}-%{version}-root
73BuildRequires: autoconf, automake, libtool >= 2.2.6a
74BuildRequires: cyrus-sasl-devel, gdbm-devel, openssl-devel, perl
75BuildRequires: libdb-devel, pam-devel, pkgconfig, tcp_wrappers
76BuildRequires: unixODBC-devel, bind-devel, libtool-ltdl-devel >= 2.2.6a
77BuildRequires: krb5-devel
78BuildRequires: groff
79#BuildConflicts: libicu-devel
80Requires: cyrus-sasl, mktemp, gdbm
81
82Vendor: Project Vine
83Distribution: Vine Linux
84
85%description
86OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
87Protocol) applications and development tools.  LDAP is a set of
88protocols for accessing directory services (usually phone book style
89information, but other information is possible) over the Internet,
90similar to the way DNS (Domain Name System) information is propagated
91over the Internet.  The openldap package contains configuration files,
92libraries and documentation for OpenLDAP.
93
94%description -l ja
95OpenLDAPはオープンソースなLDAP (Lightweight Directory Access Protocol)アプリケーションと開発ツール集です。LDAPはディレクトリサービス(電話帳の様な情報や他の情報)にInternelからアクセスするプロトコルであり、DNS(Domain Name System)情報に似た方式でInternetに伝えられます。opanldapパッケージはOpanLDAP用の設定ファイルやライブラリ、ドキュメントを含んでいます。
96
97%package devel
98Summary: OpenLDAP development libraries and header files.
99Summary(ja): OpenLDAP の開発用ライブラリおよびヘッダファイル.
100Group: Development/Libraries
101Requires: openldap = %{version}-%{release}, cyrus-sasl-devel >= 2.1
102Provides: openldap-evolution-devel = %{version}-%{release}
103
104%description devel
105The openldap-devel package includes the development libraries and
106header files needed for compiling applications that use LDAP
107(Lightweight Directory Access Protocol) internals.  LDAP is a set of
108protocols for enabling directory services over the Internet. Install
109this package only if you plan to develop or will need to compile
110customized LDAP clients.
111
112%description devel -l ja
113openldap-develパッケージはLDAP(Lightweight Directory Access Protocol)を使うためにコンパイルするアプリケーションに必要な開発用ライブラリやヘッダファイルを含んでいます。LDAPはInternet上にディレクトリサービスを可能にするプロトコルです。LDAPクライアントを開発したりカスタマイズする場合には、このパッケージをインストールしてください。
114
115%package servers
116Summary: OpenLDAP servers and related files.
117Summary(ja): OpenLDAP サーバおよび関連ファイル.
118Requires(post): fileutils, make, openldap = %{version}-%{release}, openssl, shadow-utils, chkconfig, coreutils
119Requires(pre): fileutils, make, openldap = %{version}-%{release}, openssl, shadow-utils, chkconfig, coreutils
120Group: System Environment/Daemons
121
122%description servers
123OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
124Protocol) applications and development tools.  LDAP is a set of
125protocols for accessing directory services (usually phone book style
126information, but other information is possible) over the Internet,
127similar to the way DNS (Domain Name System) information is propagated
128over the Internet. This package contains the slapd and slurpd servers,
129migration scripts and related files.
130
131%description servers -l ja
132OpenLDAPはオープンソースなLDAP (Lightweight Directory Access Protocol)アプリケーションと開発ツール集です。LDAPはディレクトリサービス(電話帳の様な情報や他の情報)にInternelからアクセスするプロトコルであり、DNS(Domain Name System)情報に似た\方式でInternetに伝えられます。このパッケージはslapdやslurpdサーバ、移行スクリプトや関連するファイルを含んでいます。
133
134
135%package servers-sql
136Summary: OpenLDAP server SQL support module.
137Summary(ja): SQLサポートモジュールを含んだOpenLDAPサーバ
138Requires(post): openldap-servers = %{version}-%{release}
139Group: System Environment/Daemons
140
141%description servers-sql
142OpenLDAP is an open-source suite of LDAP (Lightweight Directory Access
143Protocol) applications and development tools. LDAP is a set of
144protocols for accessing directory services (usually phone book style
145information, but other information is possible) over the Internet,
146similar to the way DNS (Domain Name System) information is propagated
147over the Internet. This package contains a loadable module which the
148slapd server can use to read data from an RDBMS.
149
150%description servers-sql -l ja
151OpenLDAPはオープンソースなLDAP (Lightweight Directory Access Protocol)アプリケー
152ションと開発ツール集です。LDAPはディレクトリサービス(電話帳の様な情報や他の情報
153)にInternelからアクセスするプロトコルであり、DNS(Domain Name System)情報に似た
154方式でInternetに伝えられます。
155このパッケージはslapdサーバがRDBMSからデータを読み込むためのモジュールを含んでいます。
156
157%package clients
158Summary: Client programs for OpenLDAP.
159Summary(ja): OpenLDAP のクライアントプログラム.
160Requires(post): openldap = %{version}-%{release}
161Group: Applications/Internet
162
163%description clients
164OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
165Protocol) applications and development tools.  LDAP is a set of
166protocols for accessing directory services (usually phone book style
167information, but other information is possible) over the Internet,
168similar to the way DNS (Domain Name System) information is propagated
169over the Internet.  The openldap-clients package contains the client
170programs needed for accessing and modifying OpenLDAP directories.
171
172%description clients -l ja
173OpenLDAPはオープンソースなLDAP (Lightweight Directory Access Protocol)アプリケーションと開発ツール集です。LDAPはディレクトリサービス(電話帳の様な情報や他の情報)にInternelからアクセスするプロトコルであり、DNS(Domain Name System)情報に似た\方式でInternetに伝えられます。openldap-clientsパッケージはOpenLDAPディレクトリにアクセスしたり、修正したりするためのクライアントプログラムを含んでいます。
174
175## to build compat32 for x86_64 architecture support
176%package -n compat32-%{name}
177Summary: libraries for OpenLDAP.
178Group: System Environment/Libraries
179
180%description -n compat32-%{name}
181OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
182Protocol) applications and development tools.  LDAP is a set of
183protocols for accessing directory services (usually phone book style
184information, but other information is possible) over the Internet,
185similar to the way DNS (Domain Name System) information is propagated
186over the Internet.  The openldap package contains configuration files,
187libraries and documentation for OpenLDAP.
188
189# %package -n compat32-%{name}-servers-sql
190# Summary: OpenLDAP server SQL support module.
191# Group: System Environment/Libraries
192
193# %description -n compat32-%{name}-servers-sql
194# OpenLDAP is an open-source suite of LDAP (Lightweight Directory Access
195# Protocol) applications and development tools. LDAP is a set of
196# protocols for accessing directory services (usually phone book style
197# information, but other information is possible) over the Internet,
198# similar to the way DNS (Domain Name System) information is propagated
199# over the Internet. This package contains a loadable module which the
200# slapd server can use to read data from an RDBMS.
201
202%package -n compat32-%{name}-devel
203Summary: OpenLDAP development libraries and header files.
204Group: Development/Libraries
205
206%description -n compat32-%{name}-devel
207The openldap-devel package includes the development libraries and
208header files needed for compiling applications that use LDAP
209(Lightweight Directory Access Protocol) internals.  LDAP is a set of
210protocols for enabling directory services over the Internet. Install
211this package only if you plan to develop or will need to compile
212customized LDAP clients.
213
214
215%prep
216%setup -q -c -a 1
217
218pushd openldap-%{version}
219libtoolize --force --copy
220popd
221
222pushd openldap-%{version}
223%patch0 -p1 -b .config
224%patch1 -p1 -b .ldaprc
225%patch2 -p1 -b .setugid
226%patch3 -p1 -b .pie
227%patch4 -p1 -b .toollinks
228%patch5 -p1 -b .nosql
229%patch6 -p1 -b .gethostbyname_r
230%patch9 -p1 -b .smbk5pwd
231%patch10 -p1 -b .multilib
232
233# security
234%patch1000 -p1 -b .CVE-2015-1545
235%patch1001 -p1 -b .CVE-2015-1546
236
237
238libtoolize --force --copy
239popd
240
241# Set up a build tree for a static version of libldap with the hooks for the
242# non-standard NTLM bind type which is needed to connect to Win2k GC servers
243# (Win2k3 supports SASL with DIGEST-MD5, so this shouldn't be needed for those
244# servers, though as of version 1.4 the connector doesn't try SASL first).
245if ! cp -al openldap-%{version} evo-openldap-%{version} ; then
246     rm -fr evo-openldap-%{version}
247     cp -a  openldap-%{version} evo-openldap-%{version}
248fi
249pushd evo-openldap-%{version}
250%patch200 -p1 -b .evolution-ntlm
251popd
252
253pushd MigrationTools-%{migtools_version}
254%patch300 -p1 -b .instdir
255%patch301 -p1 -b .mktemp
256%patch302 -p1 -b .simple
257%patch303 -p1 -b .suffix
258%patch304 -p1 -b .schema
259%patch305 -p1 -b .noaliases
260popd
261
262pushd openldap-%{version}
263        for subdir in build-servers build-clients ; do
264                mkdir $subdir
265                ln -s ../configure $subdir
266        done
267autoconf
268# build smbk5pwd with other overlays
269ln -s ../../../contrib/slapd-modules/smbk5pwd/smbk5pwd.c servers/slapd/overlays
270mv contrib/slapd-modules/smbk5pwd/README contrib/slapd-modules/smbk5pwd/README.smbk5pwd
271popd
272
273%build
274libtool='%{_bindir}/libtool'
275tagname=CC; export tagname
276
277%ifarch ia64
278RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O0"
279%endif
280
281# Find OpenSSL's header and library dependencies.
282if pkg-config openssl ; then
283        OPENSSL_CPPFLAGS=`pkg-config --cflags-only-I openssl`
284        CPPFLAGS="$OPENSSL_CPPFLAGS" ; export CPPFLAGS
285        OPENSSL_LDFLAGS=`pkg-config --libs-only-L openssl`
286        LDFLAGS="$OPENSSL_LDFLAGS" ; export LDFLAGS
287fi
288CFLAGS="$CPPFLAGS $RPM_OPT_FLAGS -D_REENTRANT -fPIC"; export CFLAGS
289
290# Build 2.4.
291CFLAGS="$RPM_OPT_FLAGS -D_REENTRANT -fPIC"; export CFLAGS
292export CPPFLAGS="-I${dbdir}/include"
293export CFLAGS="$CPPFLAGS $RPM_OPT_FLAGS -D_REENTRANT -fPIC -D_GNU_SOURCE"
294export LDFLAGS="-L${dbdir}/%{_lib}"
295
296
297build() {
298%configure \
299        --with-threads=posix \
300        \
301        --enable-local --enable-rlookups \
302        \
303        --with-tls \
304        --with-cyrus-sasl \
305        --with-gssapi \
306        --with-odbc=unixodbc \
307        \
308        --enable-wrappers \
309        \
310        --enable-passwd \
311        \
312        --enable-cleartext \
313        --enable-crypt \
314        --enable-spasswd \
315        --enable-lmpasswd \
316        --enable-modules \
317        --disable-sql \
318        \
319        --libexecdir=%{_libdir} \
320        $@
321make %{_smp_mflags} LIBTOOL="$libtool"
322}
323
324# Build the servers with Kerberos support (for password checking, mainly).
325LIBS=-lpthread; export LIBS
326
327pushd openldap-%{version}/build-servers
328build \
329       --enable-plugins \
330       --enable-slapd \
331       --enable-slurpd \
332       --enable-bdb \
333       --enable-hdb \
334       --enable-ldap \
335       --enable-ldbm \
336       --enable-ldbm-api=%{ldbm_backend} \
337       --enable-meta \
338       --enable-monitor \
339       --enable-null \
340       --enable-shell \
341       --enable-sql=mod \
342       --disable-perl \
343       --disable-shared \
344       --disable-dynamic \
345       --enable-static
346unset LIBS
347popd
348
349# Build clients without Kerberos password-checking support, which is only
350# useful in the server anyway, to avoid stray dependencies.
351pushd openldap-%{version}/build-clients
352build \
353        --disable-slapd \
354        --disable-slurpd \
355        --enable-shared \
356        --enable-dynamic \
357        --enable-static \
358        --with-pic
359popd
360
361# Build evolution-specific clients just as we would normal clients, except with
362# a different installation directory in mind and no shared libraries.
363pushd evo-openldap-%{version}
364build \
365        --disable-slapd \
366        --disable-slurpd \
367        --disable-shared \
368        --disable-dynamic \
369        --enable-static \
370        --with-pic \
371        --includedir=%{evolution_connector_includedir} \
372        --libdir=%{evolution_connector_libdir}
373popd
374
375%install
376[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
377libtool='%{_bindir}/libtool'
378tagname=CC; export tagname
379
380mkdir -p $RPM_BUILD_ROOT/%{_libdir}/
381
382# Install servers.
383pushd openldap-%{version}/build-servers
384make install DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} LIBTOOL="$libtool"
385popd
386
387# Install clients and shared libraries.  Install the evo-specific versions
388# first so that any conflicting files are overwritten by generic versions.
389pushd evo-openldap-%{version}
390make install DESTDIR=$RPM_BUILD_ROOT \
391        includedir=%{evolution_connector_includedir} \
392        libdir=%{evolution_connector_libdir} \
393        LIBTOOL="$libtool"
394install -m644 \
395        $RPM_SOURCE_DIR/README.evolution \
396        $RPM_BUILD_ROOT/%{evolution_connector_prefix}/
397popd
398pushd openldap-%{version}/build-clients
399make install DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} LIBTOOL="$libtool"
400popd
401
402# Create this directory so that authconfig setting TLS_CACERT to
403# /etc/openldap/cacerts doesn't cause TLS startup of any kind to fail
404# when the directory doesn't exist.
405mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openldap/cacerts
406# make sure the certs directory exists
407mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/certs
408# Touch the dummy slapd.pem to make rpmbuild happy
409touch $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/certs/slapd.pem
410
411# Install the padl.com migration tools.
412mkdir -p $RPM_BUILD_ROOT%{_datadir}/openldap/migration
413install -m 755 MigrationTools-%{migtools_version}/migrate_* \
414        $RPM_BUILD_ROOT%{_datadir}/openldap/migration/
415install -m 644 MigrationTools-%{migtools_version}/README \
416        $RPM_SOURCE_DIR/migration-tools.txt \
417        $RPM_BUILD_ROOT%{_datadir}/openldap/migration/
418cp MigrationTools-%{migtools_version}/README README.migration
419cp $RPM_SOURCE_DIR/migration-tools.txt TOOLS.migration
420
421install -m 644 %SOURCE6 README.upgrading
422install -m 644 %SOURCE9 README.migration
423
424# Create the data directory.
425mkdir -p $RPM_BUILD_ROOT/var/lib/ldap
426# Create the new run directory
427mkdir -p $RPM_BUILD_ROOT/var/run/openldap
428
429# Hack the build root out of the default config files.
430perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT/%{_sysconfdir}/openldap/*.conf
431
432# Get the buildroot out of the man pages.
433perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/*/*.*
434
435# We don't need the default files -- RPM handles changes.
436rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/openldap/*.default
437rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/openldap/schema/*.default
438
439# Install an init script for the servers.
440mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
441install -m 755 $RPM_SOURCE_DIR/ldap.init $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/ldap
442
443# Install syconfig/ldap
444mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
445install -m 644 %SOURCE10 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ldap
446
447# Add some more schema for the sake of migration scripts.
448install -d -m755 $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/vine
449install -m644 \
450        $RPM_SOURCE_DIR/autofs.schema \
451        $RPM_SOURCE_DIR/rfc822-MailMember.schema \
452        $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/vine/
453
454# Move slapd and slurpd out of _libdir
455mv $RPM_BUILD_ROOT/%{_libdir}/slapd $RPM_BUILD_ROOT/%{_sbindir}/
456rm -f $RPM_BUILD_ROOT/%{_sbindir}/slap{acl,add,auth,cat,dn,index,passwd,test}
457rm -f $RPM_BUILD_ROOT/%{_libdir}/slap{acl,add,auth,cat,dn,index,passwd,test}
458for X in acl add auth cat dn index passwd test; do ln -s slapd $RPM_BUILD_ROOT/%{_sbindir}/slap$X ; done
459
460# Tweak permissions on the libraries to make sure they're correct.
461chmod 755 $RPM_BUILD_ROOT/%{_libdir}/lib*.so*
462chmod 644 $RPM_BUILD_ROOT/%{_libdir}/lib*.*a
463
464# Remove files which we don't want packaged.
465rm -f $RPM_BUILD_ROOT/%{_datadir}/openldap/migration/*.{instdir,simple,schema,mktemp,suffix,noaliases}
466#rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
467#rm -f $RPM_BUILD_ROOT/%{evolution_connector_libdir}/*.la
468#rm -f $RPM_BUILD_ROOT/%{evolution_connector_libdir}/*.so*
469#rm -f $RPM_BUILD_ROOT/%{_libdir}/openldap/*.a
470#rm -f $RPM_BUILD_ROOT/%{_libdir}/openldap/*.so
471
472rm -f $RPM_BUILD_ROOT/var/openldap-data/DB_CONFIG.example
473rmdir $RPM_BUILD_ROOT/var/openldap-data
474
475%clean
476rm -rf $RPM_BUILD_ROOT
477
478%post -p /sbin/ldconfig
479
480%postun -p /sbin/ldconfig
481
482
483%pre servers
484# Take care to only do ownership-changing if we're adding the user.
485if /usr/sbin/useradd -c "LDAP User" -u 55 \
486        -s /bin/false -r -d /var/lib/ldap ldap 2> /dev/null ; then
487        if [ -d /var/lib/ldap ] ; then
488                for dbfile in /var/lib/ldap/* ; do
489                        if [ -f $dbfile ] ; then
490                                chown ldap.ldap $dbfile
491                        fi
492                done
493        fi
494fi
495
496if [ "$1" = "2" ]; then
497    # guess, if database upgrade is necessary
498    OLD_SLAPD_VERSION=$( rpm -q --qf "%{VERSION}" openldap-servers | sed 's/\.[0-9]*$//' )
499    NEW_SLAPD_VERSION=$( echo %{version} | sed 's/\.[0-9]*$//' )
500
501    if [ "$OLD_SLAPD_VERSION" != "$NEW_SLAPD_VERSION" ]; then
502        # Minor version number has changed -> slapcat/slapadd of the BDB database
503        # is necessary. Save an ldif of the database where the "% post servers"
504        # scriptlet can restore it.  Also save the database files to a "rpmorig"
505        # directory - Just In Case (TM)
506
507        # stop the server
508        if /sbin/service ldap status &>/dev/null; then
509            touch /var/lib/ldap/need_start
510            /sbin/service ldap stop &>/dev/null
511        fi
512
513        files=$(echo /var/lib/ldap/{log.*,__db.*,[a]lock})
514        if [ "$files" != '/var/lib/ldap/log.* /var/lib/ldap/__db.* /var/lib/ldap/[a]lock' ] ; then
515            if /usr/sbin/slapcat -l /var/lib/ldap/upgrade.ldif > /dev/null 2>&1 ; then
516                if [ -f /var/lib/ldap/upgrade.ldif ] ; then
517                    /bin/rm -fr /var/lib/ldap/rpmorig > /dev/null 2>&1 || :
518                    mkdir /var/lib/ldap/rpmorig
519                    mv /var/lib/ldap/{alock,*.bdb,__db.*,log.*} /var/lib/ldap/rpmorig > /dev/null 2>&1 || :
520                    cp -f /var/lib/ldap/DB_CONFIG /var/lib/ldap/rpmorig > /dev/null 2>&1 || :
521                else
522                    /bin/rm -f /var/lib/ldap/upgrade.ldif
523                fi
524            fi
525        fi
526    fi
527fi
528exit 0
529
530
531%post servers
532/sbin/ldconfig
533/sbin/chkconfig --add ldap
534# If there's a /var/lib/ldap/upgrade.ldif file, slapadd it and delete it.
535# It was created by the % pre above.
536if [ -f /var/lib/ldap/upgrade.ldif ] ; then
537    /sbin/runuser -m -s /usr/sbin/slapadd -- "ldap" -l /var/lib/ldap/upgrade.ldif > /dev/null 2>&1
538    rm -f /var/lib/ldap/upgrade.ldif
539fi
540
541exec > /dev/null 2> /dev/null
542if [ ! -f %{_sysconfdir}/pki/tls/certs/slapd.pem ] ; then
543pushd %{_sysconfdir}/pki/tls/certs
544umask 077
545cat << EOF | make slapd.pem
546--
547SomeState
548SomeCity
549SomeOrganization
550SomeOrganizationalUnit
551localhost.localdomain
552root@localhost.localdomain
553EOF
554chown root:ldap slapd.pem
555chmod 640 slapd.pem
556popd
557fi
558
559if [ $1 -ge 1 ] ; then
560    /sbin/service ldap condrestart &>/dev/null
561    /sbin/service ldap status &>/dev/null
562    if [ "$?" != "0" -a -f /var/lib/ldap/need_start ]; then
563        /sbin/service ldap start &>/dev/null
564        rm -f /var/lib/ldap/need_start &>/dev/null
565    fi
566fi
567
568exit 0
569
570
571%preun servers
572if [ "$1" = "0" ] ; then
573        /sbin/service ldap stop > /dev/null 2>&1 || :
574        /sbin/chkconfig --del ldap
575# Openldap-servers are being removed from system.
576# Do not touch the database! Older versions of this
577# package attempted to store database in LDIF format, so
578# it can be restored later - but it's up to the administrator
579# to save the database, if he/she wants so.
580fi
581
582%postun servers
583/sbin/ldconfig
584if [ $1 -ge 1 ] ; then
585        /sbin/service ldap condrestart > /dev/null 2>&1 || :
586fi
587
588%post devel -p /sbin/ldconfig
589
590%postun devel -p /sbin/ldconfig
591
592%files
593%defattr(-,root,root)
594%doc openldap-%{version}/{ANNOUNCEMENT,CHANGES,COPYRIGHT,LICENSE,README,doc/rfc}
595%attr(0755,root,root) %dir %{_sysconfdir}/openldap
596%attr(0755,root,root) %dir %{_sysconfdir}/openldap/cacerts
597%attr(0644,root,root) %config %{_sysconfdir}/openldap/ldap*.conf
598%attr(0755,root,root) %{_libdir}/libl*-2.4*.so.*
599%attr(0644,root,root) %{_mandir}/man5/ldif.5*
600%attr(0644,root,root) %{_mandir}/man5/ldap.conf.5*
601
602%files servers
603%defattr(-,root,root)
604%doc README.migration TOOLS.migration
605%doc $RPM_SOURCE_DIR/README.upgrading $RPM_SOURCE_DIR/guide.html
606%doc README.upgrading
607%doc openldap-%{version}/contrib/slapd-modules/smbk5pwd/README.smbk5pwd
608%doc openldap-%{version}/doc/guide/admin/*.html
609%doc openldap-%{version}/doc/guide/admin/*.png
610%ghost %config %{_sysconfdir}/pki/tls/certs/slapd.pem
611%attr(0755,root,root) %config %{_sysconfdir}/rc.d/init.d/ldap
612%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/ldap*.conf
613%attr(0640,root,ldap) %config(noreplace) %{_sysconfdir}/openldap/slapd.conf
614%attr(0640,root,ldap) %{_sysconfdir}/openldap/DB_CONFIG.example
615%attr(0755,root,root) %dir %{_sysconfdir}/openldap/schema
616%attr(0644,root,root) %{_sysconfdir}/openldap/schema/README*
617%attr(0644,root,root) %config %{_sysconfdir}/sysconfig/ldap
618%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/schema/*.schema*
619%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/schema/*.ldif
620%attr(0755,root,root) %dir %{_sysconfdir}/openldap/schema/vine
621%attr(0644,root,root) %config %{_sysconfdir}/openldap/schema/vine/*.schema*
622%attr(0755,root,root) %{_sbindir}/sl*
623%attr(0644,root,root) %{_mandir}/man8/*
624%attr(0644,root,root) %{_mandir}/man5/slapd*.5*
625%attr(0644,root,root) %{_mandir}/man5/slapo-*.5*
626%attr(0755,root,root) %dir %{_datadir}/openldap
627%attr(0755,root,root) %dir %{_datadir}/openldap/migration
628%attr(0644,root,root) %{_datadir}/openldap/migration/README
629%attr(0644,root,root) %config(noreplace) %{_datadir}/openldap/migration/*.ph
630%attr(0755,root,root) %{_datadir}/openldap/migration/*.pl
631%attr(0755,root,root) %{_datadir}/openldap/migration/*.sh
632%attr(0644,root,root) %{_datadir}/openldap/migration/*.txt
633%attr(0700,ldap,ldap) %dir /var/lib/ldap
634%attr(0755,ldap,ldap) %dir /var/run/openldap
635%attr(0755,root,root) %dir %{_libdir}/openldap
636%attr(0755,root,root) %{_libdir}/openldap/[^b]*
637
638%files servers-sql
639%defattr(-,root,root)
640%doc openldap-%{version}/servers/slapd/back-sql/docs/*
641%doc openldap-%{version}/servers/slapd/back-sql/rdbms_depend
642%attr(0755,root,root) %{_libdir}/openldap/back_sql.la
643%attr(0755,root,root) %{_libdir}/openldap/back_sql*.so.*
644
645%files clients
646%defattr(-,root,root)
647%attr(0755,root,root) %{_bindir}/*
648%attr(0644,root,root) %{_mandir}/man1/*
649
650%files devel
651%defattr(-,root,root)
652%doc openldap-%{version}/doc/drafts openldap-%{version}/doc/rfc
653%attr(0755,root,root) %{_libdir}/libl*.so
654%attr(0644,root,root) %{_libdir}/libl*.a
655%attr(0644,root,root) %{_includedir}/*
656%attr(0644,root,root) %{_mandir}/man3/*
657%attr(0755,root,root) %dir %{evolution_connector_prefix}
658%attr(0644,root,root)      %{evolution_connector_prefix}/README*
659%attr(0755,root,root) %dir %{evolution_connector_includedir}
660%attr(0644,root,root)      %{evolution_connector_includedir}/*.h
661%attr(0755,root,root) %dir %{evolution_connector_libdir}
662%attr(0644,root,root)      %{evolution_connector_libdir}/*.a
663
664%exclude %{_libdir}/*.la
665#%exclude %{_libdir}/openldap/*.a
666%exclude %{_libdir}/openldap/*.so
667%exclude %{evolution_connector_libdir}/*.la
668%exclude %{evolution_connector_libdir}/*.so*
669
670
671## to build compat32 for x86_64 architecture support
672%if %{build_compat32}
673%files -n compat32-%{name}
674%defattr(-,root,root)
675%attr(0755,root,root) %{_libdir}/libl*-2.4*.so.*
676
677# %files -n compat32-%{name}-servers-sql
678# %defattr(-,root,root)
679# %attr(0755,root,root) %{_libdir}/openldap/back_sql.la
680# %attr(0755,root,root) %{_libdir}/openldap/back_sql*.so.*
681
682%files -n compat32-%{name}-devel
683%defattr(-,root,root)
684%attr(0755,root,root) %{_libdir}/libl*.so
685%attr(0644,root,root) %{_libdir}/libl*.a
686%attr(0644,root,root) %{_includedir}/*
687%attr(0755,root,root) %dir %{evolution_connector_prefix}
688%attr(0644,root,root)      %{evolution_connector_prefix}/README*
689%attr(0755,root,root) %dir %{evolution_connector_includedir}
690%attr(0644,root,root)      %{evolution_connector_includedir}/*.h
691%attr(0755,root,root) %dir %{evolution_connector_libdir}
692%attr(0644,root,root)      %{evolution_connector_libdir}/*.a
693
694%exclude %{_libdir}/*.la
695#%exclude %{_libdir}/openldap/*.a
696%exclude %{_libdir}/openldap/*.so
697%exclude %{evolution_connector_libdir}/*.la
698%exclude %{evolution_connector_libdir}/*.so*
699%endif
700
701
702%changelog
703* Fri Mar 6 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.40-2
704- added patch1000,1001 to fix CVE-2015-1545,1546.
705
706* Sat Feb 28 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.40-1
707- new upstream release.
708
709* Fri Feb 27 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.4.23-6
710- add patch1146 for fix CVE-2013-4449
711
712* Tue Dec 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.4.23-5
713- added Patch700 to build with libdb 5.3.28
714
715* Thu Jan  9 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.4.23-4
716- build with cyrus-sasl 2.1.26
717
718* Sun Dec  9 2012 IWAI, Masaharu <iwai@alib.jp> 2.4.23-3
719- SECURITY FIX, #2501
720 - patches from CentOS 6.3; openldap 2.4.23-26.el6_3.2
721  - CVE-2011-1024: add openldap-cve-ppolicy-forward-updates.patch (Patch1112)
722  - CVE-2011-1025: add openldap-cve-ndb-bind-rootdn.patch (Patch1113)
723  - CVE-2012-1164: add openldap-cve-relay-rwm-translucent.patch (Patch1141)
724  - CVE-2012-2668: add openldap-cve-nss-cipher-suite-ignored.patch (Patch1144)
725 - patch based CentOS 6.3; openldap 2.4.23-26.el6_3.2
726  - CVE-2012-2668: add openldap-cve-nss-default-cipher-suite-always-selected.patch (Patch1145)
727- fix document file path for servers sub package
728
729* Sat Apr  9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.23-2
730- added --with-odbc=unixodbc to configure
731
732* Wed Apr  6 2011 IWAI, Masaharu <iwai@alib.jp> 2.4.23-1
733- new upstream release
734- update MigrationTools 47
735
736* Wed Jan 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.4.21-5
737- change %%define __perl_requires instead of __find_requires
738
739* Tue Jan 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.4.21-4
740- rebuild with openssl-1.0.0c
741
742* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.21-3
743- rebuilt with gcc-4.4.3-3 on ppc
744
745* Fri Feb  5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.21-2
746- rebuilt with rpm-4.8.0-3 (on ppc)
747
748* Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.21-1
749- new upstream release
750- rebuild with db4-4.8.0
751- use Requires(post/pre) instead of Prereq
752
753* Sun Dec 20 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.16-4
754- rebuild
755
756* Tue Nov  3 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.16-3
757- add BuildConflicts: libicu-devel
758
759* Mon Nov  2 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.16-2
760- add Patch1000 for fix CVE-2009-3767 (openssl null char)
761- add --with-gssapi into configure
762- drop --without-kerberos (it is old configure option)
763
764* Wed Aug 05 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.16-1
765- new upstream release
766
767* Sun Jul 05 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.11-6
768- dropped compat32-%%{name}-servers-sql
769
770* Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.11-5
771- added compat32 subpackages
772
773* Wed Apr 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.11-4
774- rebuild with libtool-2.2.6a
775
776* Sat Apr 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.11-3
777- use filter-requires-openldap.sh instead of find-requires
778
779* Wed Apr 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.11-2
780- reverted a scriptlet that dropped in 2.3.24-0vl4
781
782* Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.11-1
783- new upstream release
784- applied patches from fedora's package (openldap-2.4.12-1)
785
786* Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.41-1vl5
787- updated to 2.3.41 (Patch10 and 11 were merged into upstream)
788
789* Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.27-0vl5
790- rebuild with new openssl
791
792* Sat May 12 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.27-0vl4
793- rebuilt with new toolchain/bdb 4.3
794
795* Tue Dec 26 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.27-0vl3
796- rebuilt for VineSeed
797
798* Thu Dec 21 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.3.27-0vl2.3
799- add Vendor/Distribution tag
800
801* Wed Dec 13 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.3.27-0vl2.2
802- add patch11 for fix krbv4_ldap_auth issue
803
804* Fri Nov 24 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.3.27-0vl2.1
805- add patch10 for fix CVE-2006-5779
806
807* Sun Sep 03 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.3.27-0vl2
808- use filter-requires-openldap.sh instead of find-requires
809
810* Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.3.27-0vl1
811- new upstream release
812
813* Sat Aug 26 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.3.24-0vl4
814- restored rfc822-MailMember.schema
815- update config.patch
816- removed a scriptlet that save and restore the database
817
818* Sat Aug 19 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.3.24-0vl3
819- removed internal bdb
820- removed autoconf-2.13.1 and automake-1.4a
821
822* Tue Jul 11 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.3.24-0vl2
823- removed compat-openldap subpackage
824
825* Sun Jul 02 2006 Satoshi MACHINO <machino@vinelinux.org> 2.3.24-0vl1
826- New upstream release
827- merged to fedora's package(openldap-2.3.24-2)
828        -- build sql backend as a loadable module
829        -- move ucdata to the -servers subpackage where it belongs
830        -- add compat-openldap subpackage
831        -- update administrator guide
832        -- build a separate, static set of libraries for openldap-devel with the
833           non-standard ntlm bind patch applied, for use by
834           the evolution-connector package (#125579), and installing them under
835           %%{evolution_connector_prefix} (%{evolution_connector_prefix})
836        -- add libtool-ltdl-devel buildprereqs
837        -- Upgrade internal bdb to db-4.4.20.  For a clean upgrade, this will
838           require that users slapcat their databases into a temp file, move
839           /var/lib/ldap someplace safe, upgrade the openldap rpms, then
840           slapadd the temp file.
841        -- fix ldap.init
842        -- add two upstream patches for db-4.4.20
843
844* Wed Nov  2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.30-0vl2
845- rebuild for VineSeed Plus
846- added Japanese summary
847
848* Sat Apr 17 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.30-0vl1
849- new upstream version (openldap-2.1.30)
850        -- Fixed slapd userdb checkpass bub (ITS#3048)
851        -- Fixed back-ldbm IDL delete bug (ITS#3048)
852        -- Fixed libldap schema parsing bug (ITS#2920, ITS#3065)
853        -- Fixed liblutil NS MTA MD5 passwd len bug (ITS#2899)
854        -- Removed lint (ITS#3086)
855        -- Documentation updated slapd.conf(5) manpage (ITS#2525)
856
857* Thu Apr 08 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.29-0vl2
858- fixed ldap.ini
859
860* Sun Mar 28 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.29-0vl1
861- new upstream version (openldap-2.1.29)
862
863* Wed Mar 24 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.28-0vl1
864- new upstream version (openldap-2.1.28)
865
866* Mon Mar 22 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.27-0vl1
867- new upstream version (openldap-2.1.27)
868
869* Sat Jan 24 2004 Satoshi MACHINO <machino@vinelinux.org> 2.1.26-0vl1
870- new upstream version (openldap-2.1.26)
871- don't use libtool in make
872
873* Sun Oct 26 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.23-0vl1
874- new upstream version (openldap-2.1.23)
875- updated migration tools to version 45
876- used libtool
877
878* Sun Jul 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.22-0vl2
879- for VineSeedPlus
880- fixed BuildPreReq
881
882* Sat Jul 19 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.22-0vl1
883- for VinePlus
884- new upstream version (openldap-2.1.22)
885
886* Thu May 29 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.21-0vl1
887- new upstream version (openldap-2.1.21)
888
889* Tue May 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.20-0vl1
890- new upstream version
891
892* Thu May 15 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.19-1vl1
893- new upstream version
894- merged spec file to 2.1.19-1
895        -- switch to db with crypto
896        -- install the db utils for the bundled libdb as %%{_sbindir}/slapd_db_*
897        -- install slapcat/slapadd from 2.0.x for migration purposes
898
899* Mon Jan 27 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.12-0vl1
900- updated to openldap-2.1.12
901        -- dropped ldapfriendly
902
903* Fri Sep 06 2002 Satoshi MACHINO <machino@vinelinux.org> 2.1.4-0vl1
904- updated to openldap-2.1.4
905- updated guide.html
906
907* Fri Sep 06 2002 Satoshi MACHINO <machino@vinelinux.org> 2.1.3-4vl1
908- updated to openldap-2.1.3
909- added db-4.0.14
910- updated migration tools to version 44
911- merged openldap-2.1.3-4
912        -- updated patch0, patch1, patch3 and patch6
913        -- dropped patch7 and patch10
914        -- enable the ldbm/berkeley backend as well
915        -- use an ldbm/berkeley database as the default
916        -- don't install slapadd-gdbm
917        -- allow ldapv2 binds by default
918        -- set TLS_CACERTFILE in the default ldap.conf file
919
920* Tue Jun 11 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.25-0vl1
921- updated to openldap-2.0.25
922
923* Mon Jun 10 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.24-0vl1
924- updated to openldap-2.0.24
925- updated migration tools to version 40
926- dropped autoconf source
927- dropped some patches
928
929* Sat Feb 16 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.23-0vl1
930- updated openldap-2.0.23
931
932* Wed Feb 06 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.22-0vl1
933- updated openldap-2.0.22
934
935* Mon Jan 21 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.21-0vl1
936- updated openldap-2.0.21
937
938* Wed Nov 07 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.18-0vl1
939- updated openldap-2.0.18
940
941* Sun Oct 14 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.17-0vl1
942- updated openldap-2.0.17
943- updated MigrationTools-38-instdir.patch
944- updated openldap-2.0.17-config.patch
945- removed openldap-2.0.3-krb5-1.1.patch
946
947* Sat Sep 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.14-1vl1
948- update to migration tools 39
949- removed patch libtool.patch and linkage.patch
950 
951* Wed Sep 19 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.14-0vl0
952- updated openldap-2.0.14
953
954* Mon Jul 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
955- 2.0.11-0vl2
956- rebuilt with openssl-0.9.6b
957
958* Sun May 27 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.11-0vl1
959- updated
960
961* Thu Apr 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 2.0.7-14vl3
962- Fixed resolve libraries path.
963
964* Wed Apr 11 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.7-14vl2
965- added openldap-2.0.7-config-vine.patch
966- removed openldap-2.0.7-config.patch
967
968* Tue Apr 10 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.7-14vl1
969- merged Rawhide's OpenLDAP Package
970    back out pidfile patches, which interact weirdly with Linux threads
971    mark non-standard schema as such by moving them to a different directory
972    update to MigrationTools 36, adds netgroup support
973    fix thinko in that last patch
974    try to work around some buffering problems
975    gettextize the init script
976    move the RFCs to the base package (#21701)
977    add support for additional OPTIONS, SLAPD_OPTIONS, and SLURPD_OPTIONS in
978    a /etc/sysconfig/ldap file (#23549)
979    change automount object OID from 1.3.6.1.1.1.2.9 to 1.3.6.1.1.1.2.13,
980    per mail from the ldap-nis mailing list
981    force -fPIC so that shared libraries don't fall over
982    add Norbert Klasen's patch (via Del) to fix searches using ldaps URLs
983     (OpenLDAP ITS #889)
984    add "-h ldaps:///" to server init when TLS is enabled, in order to support
985    ldaps in addition to the regular STARTTLS (suggested by Del)
986    correct mismatched-dn-cn bug in migrate_automount.pl
987    update to the correct OIDs for automount and automountInformation
988    add notes on upgrading
989   
990* Sat Nov 25 2000 Satoshi MACHINO <machino@vinelinux.org> 2.0.7-1vl2
991- fixed VersionedDependencies to used _noVersionedDependencies 1 in .rpmmacros
992
993* Sat Nov 18 2000 MACHINO, satoshi <machino@vinelinux.org> 2.0.7-1vl1
994- build for Vine Linux
995- removed kerberos
996- fixed config dir
997- fixed _sysconfdir
998
999* Tue Nov  7 2000 Nalin Dahyabhai <nalin@redhat.com>
1000- update to 2.0.7
1001- drop chdir patch (went mainstream)
1002
1003* Thu Nov  2 2000 Nalin Dahyabhai <nalin@redhat.com>
1004- change automount object classes from auxiliary to structural
1005
1006* Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com>
1007- update to Migration Tools 27
1008- change the sense of the last simple patch
1009
1010* Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com>
1011- reorganize the patch list to separate MigrationTools and OpenLDAP patches
1012- switch to Luke Howard's rfc822MailMember schema instead of the aliases.schema
1013- configure slapd to run as the non-root user "ldap" (#19370)
1014- chdir() before chroot() (we don't use chroot, though) (#19369)
1015- disable saving of the pid file because the parent thread which saves it and
1016  the child thread which listens have different pids
1017
1018* Wed Oct 11 2000 Nalin Dahyabhai <nalin@redhat.com>
1019- add missing required attributes to conversion scripts to comply with schema
1020- add schema for mail aliases, autofs, and kerberosSecurityObject rooted in
1021  our own OID tree to define attributes and classes migration scripts expect
1022- tweak automounter migration script
1023
1024* Mon Oct  9 2000 Nalin Dahyabhai <nalin@redhat.com>
1025- try adding the suffix first when doing online migrations
1026- force ldapadd to use simple authentication in migration scripts
1027- add indexing of a few attributes to the default configuration
1028- add commented-out section on using TLS to default configuration
1029
1030* Thu Oct  5 2000 Nalin Dahyabhai <nalin@redhat.com>
1031- update to 2.0.6
1032- add buildprereq on cyrus-sasl-devel, krb5-devel, openssl-devel
1033- take the -s flag off of slapadd invocations in migration tools
1034- add the cosine.schema to the default server config, needed by inetorgperson
1035
1036* Wed Oct  4 2000 Nalin Dahyabhai <nalin@redhat.com>
1037- add the nis.schema and inetorgperson.schema to the default server config
1038- make ldapadd a hard link to ldapmodify because they're identical binaries
1039
1040* Fri Sep 22 2000 Nalin Dahyabhai <nalin@redhat.com>
1041- update to 2.0.4
1042
1043* Fri Sep 15 2000 Nalin Dahyabhai <nalin@redhat.com>
1044- remove prereq on /etc/init.d (#17531)
1045- update to 2.0.3
1046- add saucer to the included clients
1047
1048* Wed Sep  6 2000 Nalin Dahyabhai <nalin@redhat.com>
1049- update to 2.0.1
1050
1051* Fri Sep  1 2000 Nalin Dahyabhai <nalin@redhat.com>
1052- update to 2.0.0
1053- patch to build against MIT Kerberos 1.1 and later instead of 1.0.x
1054
1055* Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com>
1056- remove that pesky default password
1057- change "Copyright:" to "License:"
1058
1059* Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com>
1060- adjust permissions in files lists
1061- move libexecdir from %%{_prefix}/sbin to %%{_sbindir}
1062
1063* Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com>
1064- add migrate_automount.pl to the migration scripts set
1065
1066* Tue Aug  8 2000 Nalin Dahyabhai <nalin@redhat.com>
1067- build a semistatic slurpd with threads, everything else without
1068- disable reverse lookups, per email on OpenLDAP mailing lists
1069- make sure the execute bits are set on the shared libraries
1070
1071* Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com>
1072- change logging facility used from local4 to daemon (#11047)
1073
1074* Thu Jul 27 2000 Nalin Dahyabhai <nalin@redhat.com>
1075- split off clients and servers to shrink down the package and remove the
1076  base package's dependency on Perl
1077- make certain that the binaries have sane permissions
1078
1079* Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com>
1080- move the init script back
1081
1082* Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com>
1083- tweak the init script to only source /etc/sysconfig/network if it's found
1084
1085* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
1086- automatic rebuild
1087
1088* Mon Jul 10 2000 Nalin Dahyabhai <nalin@redhat.com>
1089- switch to gdbm; I'm getting off the db merry-go-round
1090- tweak the init script some more
1091- add instdir to @INC in migration scripts
1092
1093* Thu Jul  6 2000 Nalin Dahyabhai <nalin@redhat.com>
1094- tweak init script to return error codes properly
1095- change initscripts dependency to one on /etc/init.d
1096
1097* Tue Jul  4 2000 Nalin Dahyabhai <nalin@redhat.com>
1098- prereq initscripts
1099- make migration scripts use mktemp
1100
1101* Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
1102- do condrestart in post and stop in preun
1103- move init script to /etc/init.d
1104
1105* Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com>
1106- update to 1.2.11
1107- add condrestart logic to init script
1108- munge migration scripts so that you don't have to be
1109  /usr/share/openldap/migration to run them
1110- add code to create pid files in /var/run
1111
1112* Mon Jun  5 2000 Nalin Dahyabhai <nalin@redhat.com>
1113- FHS tweaks
1114- fix for compiling with libdb2
1115
1116* Thu May  4 2000 Bill Nottingham <notting@redhat.com>
1117- minor tweak so it builds on ia64
1118
1119* Wed May  3 2000 Nalin Dahyabhai <nalin@redhat.com>
1120- more minimalistic fix for bug #11111 after consultation with OpenLDAP team
1121- backport replacement for the ldapuser patch
1122
1123* Tue May  2 2000 Nalin Dahyabhai <nalin@redhat.com>
1124- fix segfaults from queries with commas in them in in.xfingerd (bug #11111)
1125
1126* Tue Apr 25 2000 Nalin Dahyabhai <nalin@redhat.com>
1127- update to 1.2.10
1128- add revamped version of patch from kos@bastard.net to allow execution as
1129  any non-root user
1130- remove test suite from %%build because of weirdness in the build system
1131
1132* Wed Apr 12 2000 Nalin Dahyabhai <nalin@redhat.com>
1133- move the defaults for databases and whatnot to /var/lib/ldap (bug #10714)
1134- fix some possible string-handling problems
1135
1136* Mon Feb 14 2000 Bill Nottingham <notting@redhat.com>
1137- start earlier, stop later.
1138
1139* Thu Feb  3 2000 Nalin Dahyabhai <nalin@redhat.com>
1140- auto rebuild in new environment (release 4)
1141
1142* Tue Feb  1 2000 Nalin Dahyabhai <nalin@redhat.com>
1143- add -D_REENTRANT to make threaded stuff more stable, even though it looks
1144  like the sources define it, too
1145- mark *.ph files in migration tools as config files
1146
1147* Fri Jan 21 2000 Nalin Dahyabhai <nalin@redhat.com>
1148- update to 1.2.9
1149
1150* Mon Sep 13 1999 Bill Nottingham <notting@redhat.com>
1151- strip files
1152
1153* Sat Sep 11 1999 Bill Nottingham <notting@redhat.com>
1154- update to 1.2.7
1155- fix some bugs from bugzilla (#4885, #4887, #4888, #4967)
1156- take include files out of base package
1157
1158* Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com>
1159- missing ;; in init script reload) (#4734).
1160
1161* Tue Aug 24 1999 Cristian Gafton <gafton@redhat.com>
1162- move stuff from /usr/libexec to /usr/sbin
1163- relocate config dirs to /etc/openldap
1164
1165* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
1166- initscript munging
1167
1168* Wed Aug 11 1999 Cristian Gafton <gafton@redhat.com>
1169- add the migration tools to the package
1170
1171* Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com>
1172- upgrade to 1.2.6
1173- add rc.d script
1174- split -devel package
1175
1176* Sun Feb 07 1999 Preston Brown <pbrown@redhat.com>
1177- upgrade to latest stable (1.1.4), it now uses configure macro.
1178
1179* Fri Jan 15 1999 Bill Nottingham <notting@redhat.com>
1180- build on arm, glibc2.1
1181
1182* Wed Oct 28 1998 Preston Brown <pbrown@redhat.com>
1183- initial cut.
1184- patches for signal handling on the alpha
Note: See TracBrowser for help on using the repository browser.