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

Revision 12491, 42.0 KB checked in by tomop, 4 years ago (diff)

updated 6 packages

appstream-data-7-4

libid3tag-0.15.1b-6

openldap-2.4.53-1

p7zip-16.02-1

shotwell-0.30.10-1

unzip-6.0-6

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