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

Revision 9396, 43.7 KB checked in by tomop, 9 years ago (diff)

openldap-2.4.40-1

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