source: projects/specs/branches/6/o/openldap/openldap-vl.spec @ 8298

Revision 8298, 44.1 KB checked in by iwamoto, 10 years ago (diff)

openldap: CVE-2013-4449

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