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

Revision 3325, 42.5 KB checked in by iwaim, 13 years ago (diff)

openldap-2.4.23-1

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