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

Revision 2490, 42.1 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with openssl-1.0.0c

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