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