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

Revision 8199, 44.0 KB checked in by iwaim, 10 years ago (diff)

openldap 2.4.23-4

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