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