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

Revision 3408, 42.7 KB checked in by inagaki, 13 years ago (diff)

updated: apr-util, gambas2, gambas3, openldap, php5, qt, qt4, unixODBC

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