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

Revision 9416, 44.4 KB checked in by iwamoto, 9 years ago (diff)

openldap: CVE-2015-1545

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