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

Revision 10078, 44.1 KB checked in by iwamoto, 8 years ago (diff)

openldap: update to 2.4.44 with openssl 1.0.2g

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