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

Revision 9160, 44.2 KB checked in by inagaki, 9 years ago (diff)

2014-12-17 Ryoichi INAGAKI <ryo1@…>

  • clutter-gtkmm, clutter, icewm: updated
  • nss_ldap: rebuilt
  • openldap: added patch


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