3 # - complete & validate descriptions
4 # /usr/share/man/man5/slapd-tcl.5.gz
7 # ldbm_type - set to needed value (btree<default> or hash)
8 %bcond_without odbc # disable sql backend
9 %bcond_without perl # disable perl backend
10 %bcond_without sasl # don't build cyrus sasl support
11 %bcond_without slp # disable SLP support
13 Summary: Lightweight Directory Access Protocol clients/servers
14 Summary(es.UTF-8): Clientes y servidor para LDAP
15 Summary(pl.UTF-8): Klienci Lightweight Directory Access Protocol
16 Summary(pt_BR.UTF-8): Clientes e servidor para LDAP
17 Summary(ru.UTF-8): Образцы клиентов LDAP
18 Summary(uk.UTF-8): Зразки клієнтів LDAP
22 License: OpenLDAP Public License
23 Group: Networking/Daemons
24 Source0: ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/%{name}-%{version}.tgz
25 # Source0-md5: 1b25281086eb146b8e11ebd33de086dc
27 Source2: %{name}.sysconfig
29 Patch0: %{name}-make_man_link.patch
30 Patch1: %{name}-conffile.patch
31 Patch2: %{name}-config.patch
32 Patch3: %{name}-fast.patch
33 Patch4: %{name}-cldap.patch
34 Patch5: %{name}-ldapi_FHS.patch
35 Patch6: %{name}-install.patch
36 Patch7: %{name}-backend_libs.patch
37 Patch8: %{name}-perl.patch
38 Patch9: %{name}-pic.patch
39 Patch10: %{name}-ltinstall-mode.patch
40 Patch11: %{name}-whowhere.patch
41 Patch12: %{name}-ldaprc.patch
42 Patch13: %{name}-setugid.patch
43 Patch14: %{name}-nosql.patch
44 Patch15: %{name}-link.patch
45 #Patch12: %{name}-sendbuf.patch
46 URL: http://www.openldap.org/
47 BuildRequires: autoconf
48 BuildRequires: automake
49 %{?with_sasl:BuildRequires: cyrus-sasl-devel >= 2.1.15}
50 BuildRequires: db-devel >= 4.2
51 BuildRequires: libltdl-devel
52 BuildRequires: libtool >= 1:1.4.2-9
53 BuildRequires: libwrap-devel
54 %{?with_slp:BuildRequires: openslp-devel}
55 BuildRequires: openssl-devel >= 0.9.7d
56 %{?with_perl:BuildRequires: perl-devel}
57 BuildRequires: readline-devel >= 4.2
58 BuildRequires: rpmbuild(macros) >= 1.268
59 %{?with_odbc:BuildRequires: unixODBC-devel}
60 Requires: %{name}-libs = %{version}-%{release}
61 Obsoletes: openldap-clients
62 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64 %define no_install_post_check_so 1
65 %define no_install_post_check_tmpfiles 1
67 %define _libexecdir %{_sbindir}
68 %define _localstatedir /var/lib
71 LDAP servers and clients, as well as interfaces to other protocols.
72 Note that this does not include the slapd interface to X.500 and
73 therefore does not require the ISODE package.
76 - libraries implementing the LDAP protocol,
77 - utilities, tools, and sample clients.
79 %description -l es.UTF-8
80 Cliente y servidor LDAP.
82 %description -l pl.UTF-8
83 Serwery i klienci LDAP jak i interfejsy do innych protokołów. Wiedz,
84 że pakiet ten nie zawiera interfejsu slapd to X.500 i dlatego nie
88 - biblioteki implementujące obsługę protokołu LDAP,
89 - dodatkowe narzędzia i przykładowe aplikacje klienckie LDAP.
91 %description -l pt_BR.UTF-8
92 OpenLDAP é um conjunto de ferramentas e aplicações para construir um
93 servidor de diretórios.
95 O conjunto completo contém:
96 - bibliotecas implementando o protocolo LDAP utilitários,
97 - ferramentas e clientes.
99 Este pacote contém apenas as bibliotecas usadas por alguns programas.
100 Você provavelmente também vai querer instalar o pacote
103 %description -l ru.UTF-8
104 Образцы клиентов, поставляемые с LDAP.
106 %description -l uk.UTF-8
107 Зразки клієнтів, що поставляються з LDAP.
110 Summary: LDAP shared libraries
111 Summary(pl.UTF-8): Biblioteki współdzielone LDAP
113 %{?with_sasl:Requires: cyrus-sasl >= 2.1.15}
114 Conflicts: openldap < 2.2.6-0.3
117 LDAP shared libraries.
119 %description libs -l pl.UTF-8
120 Biblioteki współdzielone LDAP.
123 Summary: LDAP development files
124 Summary(es.UTF-8): Bibliotecas de desarrollo y archivos de inclusión para OpenLDAP
125 Summary(pl.UTF-8): Pliki dla developerów LDAP
126 Summary(pt_BR.UTF-8): Bibliotecas de desenvolvimento e arquivos de inclusão para o OpenLDAP
127 Summary(ru.UTF-8): Файлы для программирования с LDAP
128 Summary(uk.UTF-8): Файли для програмування з LDAP
129 Group: Development/Libraries
130 Requires: %{name}-libs = %{version}-%{release}
131 %{?with_sasl:Requires: cyrus-sasl-devel >= 2.1.15}
132 Requires: openssl-devel >= 0.9.7c
135 Header files and libraries for developing applications that use LDAP.
137 %description devel -l es.UTF-8
138 Bibliotecas de desarrollo y archivos de inclusión de OpenLDAP.
140 %description devel -l pl.UTF-8
141 Pliki nagłówkowe i biblioteki konieczne do rozwoju aplikacji
144 %description devel -l pt_BR.UTF-8
145 Bibliotecas de desenvolvimento e arquivos de inclusão do OpenLDAP.
146 Instale este pacote se você for trabalhar com desenvolvimento em LDAP
147 ou desejar compilar algum programa que utilize LDAP.
149 %description devel -l ru.UTF-8
150 Хедеры и библиотеки, необходимые для разработки приложений,
153 %description devel -l uk.UTF-8
154 Хедери та бібліотеки, необхідні для розробки програм, що
158 Summary: LDAP static libraries
159 Summary(pl.UTF-8): Biblioteki statyczne LDAP
160 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com openldap
161 Summary(ru.UTF-8): Статические библиотеки LDAP
162 Summary(uk.UTF-8): Статичні бібліотеки LDAP
163 Group: Development/Libraries
164 Requires: %{name}-devel = %{version}-%{release}
167 This package includes the development libraries and header files
168 needed for compilation of applications that are making use of the LDAP
169 internals. Install this package only if you plan to develop or will
170 need to compile cutomized LDAP clients.
172 %description static -l pl.UTF-8
173 Biblioteki statyczne LDAP.
175 %description static -l pt_BR.UTF-8
176 Bibliotecas estáticas para desenvolvimento com openldap.
178 %description static -l ru.UTF-8
179 Статические библиотеки, необходимые для разработки приложений,
182 %description static -l uk.UTF-8
183 Статичні бібліотеки, необхідні для розробки програм, що використовують
187 Summary: BDB backend to OpenLDAP server
188 Summary(pl.UTF-8): Backend BDB do serwera OpenLDAP
189 Group: Networking/Daemons
190 Requires(post,preun): sed >= 4.0
191 Requires: %{name}-servers = %{version}-%{release}
193 %description backend-bdb
194 BDB backend to slapd, the OpenLDAP server.
196 %description backend-bdb -l pl.UTF-8
197 Backend BDB do slapd - serwera OpenLDAP.
199 %package backend-dnssrv
200 Summary: DNS SRV backend to OpenLDAP server
201 Summary(pl.UTF-8): Backend DNS SRV do serwera OpenLDAP
202 Group: Networking/Daemons
203 Requires(post,preun): sed >= 4.0
204 Requires: %{name}-servers = %{version}-%{release}
206 %description backend-dnssrv
207 DNS SRV backend to slapd, the OpenLDAP server.
209 %description backend-dnssrv -l pl.UTF-8
210 Backend DNS SRV do slapd - serwera OpenLDAP.
213 Summary: HDB (Hierarchical DB) backend to OpenLDAP server
214 Summary(pl.UTF-8): Backend HDB (Hierarchical DB) do serwera OpenLDAP
215 Group: Networking/Daemons
216 Requires(post,preun): sed >= 4.0
217 Requires: %{name}-servers = %{version}-%{release}
219 %description backend-hdb
220 HDB (Hierarchical DB) backend to slapd, the OpenLDAP server.
222 %description backend-hdb -l pl.UTF-8
223 Backend HDB (Hierarchical DB) do slapd - serwera OpenLDAP.
225 %package backend-ldap
226 Summary: LDAP backend to OpenLDAP server
227 Summary(pl.UTF-8): Backend LDAP do serwera OpenLDAP
228 Group: Networking/Daemons
229 Requires(post,preun): sed >= 4.0
230 Requires: %{name}-servers = %{version}-%{release}
232 %description backend-ldap
233 LDAP backend to slapd, the OpenLDAP server.
235 %description backend-ldap -l pl.UTF-8
236 Backend LDAP do slapd - serwera OpenLDAP.
238 %package backend-ldbm
239 Summary: LDBM backend to OpenLDAP server
240 Summary(pl.UTF-8): Backend LDBM do serwera OpenLDAP
241 Group: Networking/Daemons
242 Requires(post,preun): sed >= 4.0
243 Requires: %{name}-servers = %{version}-%{release}
245 %description backend-ldbm
246 LDBM backend to slapd, the OpenLDAP server.
248 %description backend-ldbm -l pl.UTF-8
249 Backend LDBM do slapd - serwera OpenLDAP.
251 %package backend-meta
252 Summary: Meta backend to OpenLDAP server
253 Summary(pl.UTF-8): Backend Meta do serwera OpenLDAP
254 Group: Networking/Daemons
255 Requires(post,preun): sed >= 4.0
256 Requires: %{name}-servers = %{version}-%{release}
258 %description backend-meta
259 Meta backend to slapd, the OpenLDAP server.
261 %description backend-meta -l pl.UTF-8
262 Backend Meta do slapd - serwera OpenLDAP.
264 %package backend-monitor
265 Summary: Monitor backend to OpenLDAP server
266 Summary(pl.UTF-8): Backend Monitor do serwera OpenLDAP
267 Group: Networking/Daemons
268 Requires(post,preun): sed >= 4.0
269 Requires: %{name}-servers = %{version}-%{release}
271 %description backend-monitor
272 Meta backend to slapd, the OpenLDAP server.
274 %description backend-monitor -l pl.UTF-8
275 Backend Meta do slapd - serwera OpenLDAP.
277 %package backend-passwd
278 Summary: /etc/passwd backend to OpenLDAP server
279 Summary(pl.UTF-8): Backend /etc/passwd do serwera OpenLDAP
280 Group: Networking/Daemons
281 Requires(post,preun): sed >= 4.0
282 Requires: %{name}-servers = %{version}-%{release}
284 %description backend-passwd
285 /etc/passwd backend to slapd, the OpenLDAP server.
287 %description backend-passwd -l pl.UTF-8
288 Backend /etc/passwd do slapd - serwera OpenLDAP.
290 %package backend-perl
291 Summary: Perl backend to OpenLDAP server
292 Summary(pl.UTF-8): Backend Perl do serwera OpenLDAP
293 Group: Networking/Daemons
294 Requires(post,preun): sed >= 4.0
295 Requires: %{name}-servers = %{version}-%{release}
296 Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
298 %description backend-perl
299 Perl backend to slapd, the OpenLDAP server.
301 %description backend-perl -l pl.UTF-8
302 Backend Perl do slapd - serwera OpenLDAP.
304 %package backend-relay
305 Summary: Relay backend to OpenLDAP server
306 Summary(pl.UTF-8): Backend przekazujący do serwera OpenLDAP
307 Group: Networking/Daemons
308 Requires(post,preun): sed >= 4.0
309 Requires: %{name}-overlay-rwm = %{version}-%{release}
310 Requires: %{name}-servers = %{version}-%{release}
312 %description backend-relay
313 The primary purpose of this slapd(8) backend is to map a naming
314 context defined in a database running in the same slapd(8) instance
315 into a virtual naming context, with attributeType and objectClass
316 manipulation, if required. It requires the rwm overlay.
318 %description backend-relay -l pl.UTF-8
319 Głównym celem tego backendu slapd(8) jest odwzorowywanie kontekstów
320 nazw zdefiniowanych w bazie danych działającej w tej samej instancji
321 slapd(8) na konteksty nazw wirtualnych z modyfikowaniem attributeType
322 i objectClass w razie potrzeby. Wymaga nakładki rwm.
324 %package backend-shell
325 Summary: Shell backend to OpenLDAP server
326 Summary(pl.UTF-8): Backend Shell do serwera OpenLDAP
327 Group: Networking/Daemons
328 Requires(post,preun): sed >= 4.0
329 Requires: %{name}-servers = %{version}-%{release}
331 %description backend-shell
332 Shell backend to slapd, the OpenLDAP server.
334 %description backend-shell -l pl.UTF-8
335 Backend Shell do slapd - serwera OpenLDAP.
338 Summary: SQL backend to OpenLDAP server
339 Summary(pl.UTF-8): Backend SQL do serwera OpenLDAP
340 Group: Networking/Daemons
341 Requires(post,preun): sed >= 4.0
342 Requires: %{name}-servers = %{version}-%{release}
344 %description backend-sql
345 SQL backend to slapd, the OpenLDAP server.
347 %description backend-sql -l pl.UTF-8
348 Backend SQL do slapd - serwera OpenLDAP.
350 %package overlay-accesslog
351 Summary: Accesslog overlay for OpenLDAP server
352 Summary(pl.UTF-8): Nakładka accesslog dla serwera OpenLDAP
353 Group: Networking/Daemons
354 Requires(post,preun): sed >= 4.0
355 Requires: %{name}-servers = %{version}-%{release}
357 %description overlay-accesslog
358 Accesslog overlay for OpenLDAP server.
360 %description overlay-accesslog -l pl.UTF-8
361 Nakładka accesslog dla serwera OpenLDAP.
363 %package overlay-auditlog
364 Summary: Auditlog overlay for OpenLDAP server
365 Summary(pl.UTF-8): Nakładka auditog dla serwera OpenLDAP
366 Group: Networking/Daemons
367 Requires(post,preun): sed >= 4.0
368 Requires: %{name}-servers = %{version}-%{release}
370 %description overlay-auditlog
371 The Audit Logging overlay can be used to record all changes on a given
372 backend database to a specified log file. Changes are logged as
373 standard LDIF, with an additional comment header giving the timestamp
374 of the change and the identity of the user making the change.
376 %description overlay-auditlog -l pl.UTF-8
377 Nakładka Audit Logging może być używana do zapisywania wszystkich
378 zmian w danej bazie danych do podanego pliki loga. Zmiany są logowane
379 jako standardowy LDIF z dodatkowym nagłówkiem komentarza podającym
380 czas zmiany i identyfikującym użytkownika, który dokonał zmiany.
382 %package overlay-denyop
383 Summary: Denyop overlay for OpenLDAP server
384 Summary(pl.UTF-8): Nakładka zabraniająca wykonania operacji dla serwera OpenLDAP
385 Group: Networking/Daemons
386 Requires(post,preun): sed >= 4.0
387 Requires: %{name}-servers = %{version}-%{release}
389 %description overlay-denyop
390 This overlay provides a quick'n'easy way to deny selected operations
391 for a database whose backend implements the operations. It is intended
392 to be less expensive than ACLs because its evaluation occurs before
393 any backend specific operation is actually even initiated.
395 %description overlay-denyop -l pl.UTF-8
396 Ta nakładka udostępnia szybki i łatwy sposób na blokowanie wybranych
397 operacji dla bazy danych, której backend implementuje te operacje. Ma
398 być mniej kosztowna niż ACL-e, ponieważ obliczenia zachodzą przed
399 rozpoczęciem jakichkolwiek operacji specyficznych dla backendu.
401 %package overlay-dyngroup
402 Summary: Dyngroup overlay for OpenLDAP server
403 Summary(pl.UTF-8): Nakładka dynamicznych grup dla serwera OpenLDAP
404 Group: Networking/Daemons
405 Requires(post,preun): sed >= 4.0
406 Requires: %{name}-servers = %{version}-%{release}
408 %description overlay-dyngroup
409 This overlay extends the Compare operation to detect members of a
410 dynamic group. It has no effect on any other operations. It must be
411 configured with a pair of attributes to trigger on, e.g. attrpair
412 member memberURL will cause compares on "member" to trigger a compare
415 %description overlay-dyngroup -l pl.UTF-8
416 Ta nakładka rozszerza operację Compare, aby wykrywała członików grupy
417 dynamicznej. Nie wpływa na żadne inne operacje. Musi być
418 skonfigurowana parą atrybutów, które mają ją wyzwalać, np. attrpair
419 member memberURL spowoduje, że porównania na "memberu" wyzwolą
420 porównania na "memberURL".
422 %package overlay-dynlist
423 Summary: Dynnamic list overlay for OpenLDAP server
424 Summary(pl.UTF-8): Nakładka dynamicznych list dla serwera OpenLDAP
425 Group: Networking/Daemons
426 Requires(post,preun): sed >= 4.0
427 Requires: %{name}-servers = %{version}-%{release}
429 %description overlay-dynlist
430 The dynlist overlay allows expansion of dynamic groups and more.
432 %description overlay-dynlist -l pl.UTF-8
433 Nakładka dynlist pozwala na rozwijanie dynamicznych grup i inne
436 %package overlay-lastmod
437 Summary: Last Modification overlay for OpenLDAP server
438 Summary(pl.UTF-8): Nakładka Last Modification dla serwera OpenLDAP
439 Group: Networking/Daemons
440 Requires(post,preun): sed >= 4.0
441 Requires: %{name}-servers = %{version}-%{release}
443 %description overlay-lastmod
444 The lastmod overlay creates a service entry rooted at the suffix of
445 the database it's stacked onto, which holds the DN, the modification
446 type, the modifiersName and the modifyTimestamp of the last write
447 operation performed on that database.
449 %description overlay-lastmod -l pl.UTF-8
450 Nakładka lastmod tworzy wpis usługi zaczynający się od przyrostka bazy
451 danych, na której jest oparty, trzymający DN, rodzaj modyfikacji,
452 modifiersName i modifyTimestamp dla ostatniej operacji zapisu
453 wykonywanej na tej bazie.
455 %package overlay-pcache
456 Summary: Proxy cache overlay for OpenLDAP server
457 Summary(pl.UTF-8): Nakładka proxy cache dla serwera OpenLDAP
458 Group: Networking/Daemons
459 Requires(post,preun): sed >= 4.0
460 Requires: %{name}-servers = %{version}-%{release}
462 %description overlay-pcache
463 The proxy cache overlay allows caching of LDAP search requests
464 (queries) in a local database.
466 %description overlay-pcache -l pl.UTF-8
467 Nakładka proxy cache pozwalająca buforować zapytania LDAP w lokalnej
470 %package overlay-ppolicy
471 Summary: Password Policy overlay for OpenLDAP server
472 Summary(pl.UTF-8): Nakładka do polityki haseł dla serwera OpenLDAP
473 Group: Networking/Daemons
474 Requires(post,preun): sed >= 4.0
475 Requires: %{name}-servers = %{version}-%{release}
477 %description overlay-ppolicy
478 The ppolicy overlay is an implementation of the most recent IETF
479 Password Policy proposal for LDAP. When instantiated, it intercepts,
480 decodes and applies specific password policy controls to overall use
481 of a backend database, changes to user password fields, etc.
483 %description overlay-ppolicy -l pl.UTF-8
484 Nakładka ppolicy jest implementacją najnowszej propozycji IETF
485 Password Policy dla LDAP. Kiedy zostanie użyta, przechwytuje, dekoduje
486 i aplikuje określone regulacje polityki haseł do ogólnego używania
487 bazy danych, zmiany pól haseł użytkowników itp.
489 %package overlay-refint
490 Summary: Referential Integrity overlay for OpenLDAP server
491 Summary(pl.UTF-8): Nakładka sprawdzają integralność odwołań dla serwera OpenLDAP
492 Group: Networking/Daemons
493 Requires(post,preun): sed >= 4.0
494 Requires: %{name}-servers = %{version}-%{release}
496 %description overlay-refint
497 The Referential Integrity overlay can be used to maintain the
498 cohesiveness of a schema which utilizes reference attributes.
500 %description overlay-refint -l pl.UTF-8
501 Nakładka Referential Integrity może być używana do utrzymywania
502 spójności schematu wykorzystującego atrybuty referencji.
504 %package overlay-retcode
505 Summary: Return code overlay for OpenLDAP server
506 Summary(pl.UTF-8): Nakładka obsługująca zwracane wartości dla serwera OpenLDAP
507 Group: Networking/Daemons
508 Requires(post,preun): sed >= 4.0
509 Requires: %{name}-servers = %{version}-%{release}
511 %description overlay-retcode
512 The retcode overlay to slapd is useful to test the behavior of clients
513 when server-generated erroneous and/or unusual responses occur, e.g.
514 error codes, referrals, excessive response times and so on.
516 %description overlay-retcode -l pl.UTF-8
517 Nakładka retcode dla slapd jest przydatna do sprawdzania zachowania
518 klientów w przypadku wystąpienia wygenerowanych przez serwer błędnych
519 i/lub nienormalnych odpowiedzi, np. kodów błędów, odniesień, długich
520 czasów odpowiedzi itp.
523 Summary: Rewrite/remap overlay for OpenLDAP server
524 Summary(pl.UTF-8): Nakładka mapująca dla serwera OpenLDAP
525 Group: Networking/Daemons
526 Requires(post,preun): sed >= 4.0
527 Requires: %{name}-servers = %{version}-%{release}
529 %description overlay-rwm
530 The rwm overlay performs basic DN/data rewrite and
531 object-Class/attributeType mapping. Its usage is mostly intended to
532 provide virtual views of existing data either remotely, in conjunction
533 with the proxy backend or locally, in conjunction with the relay
536 %description overlay-rwm -l pl.UTF-8
537 Nakładka rwm wykonuje podstawowe przepisywanie DN na dane i
538 odwzorowywanie klas obiektów na attributeType. Jej zastosowania to
539 przede wszystkim dostarczanie wirtualnych widoków danych istniejących
540 albo zdalnie, w połączeniu z backendem proxy, albo lokalnie, w
541 połączeniu z backendem relay.
543 %package overlay-syncprov
544 Summary: Syncrepl Provider overlay for OpenLDAP server
545 Summary(pl.UTF-8): Nakładka Syncrepl Provider dla serwera OpenLDAP
546 Group: Networking/Daemons
547 Requires(post,preun): sed >= 4.0
548 Requires: %{name}-servers = %{version}-%{release}
550 %description overlay-syncprov
551 The Syncrepl Provider overlay implements the provider-side support for
552 syncrepl replication, including persistent search functionality. The
553 overlay can be used with any backend that maintains entryCSN and
554 entryUUID attributes for its entries. It also creates a contextCSN
555 attribute in the root entry of the database.
557 %description overlay-syncprov -l pl.UTF-8
558 Nakładka SyncRepl Provider implementuje obsługę replikacji syncrepl po
559 stronie dostarczyciela, włącznie z ciągłością funkcjonalności
560 wyszukiwania. Nakładka może być używana z dowolnym backendem
561 utrzymującym atrybuty entryCSN i entryUUID dla swoich wpisów. Tworzy
562 także atrybut contextCSN w głównym elemencie bazy.
564 %package overlay-translucent
565 Summary: Translucent Proxy overlay for OpenLDAP server
566 Summary(pl.UTF-8): Nakładka Translucent Proxy dla serwera OpenLDAP
567 Group: Networking/Daemons
568 Requires(post,preun): sed >= 4.0
569 Requires: %{name}-servers = %{version}-%{release}
571 %description overlay-translucent
572 The Translucent Proxy overlay can be used with a backend database such
573 as slapd-bdb(5) to create a "translucent proxy". Entries retrieved
574 from a remote LDAP server may have some or all attributes overridden,
575 or new attributes added, by entries in the local database before being
576 presented to the client.
578 %description overlay-translucent -l pl.UTF-8
579 Nakładka Translucent Proxy może być używana wraz z bazą danych taką
580 jak slapd-bdb(5) do stworzenia "przezroczystego proxy". Wpisy
581 otrzymane ze zdalnego serwera LDAP mogą mieć nadpisane niektóre lub
582 wszystkie atrybuty, albo dodane nowe atrybuty poprzez wpisy w lokalnej
583 bazie danych przed przekazaniem do klienta.
585 %package overlay-unique
586 Summary: Uniqueness overlay for OpenLDAP server
587 Summary(pl.UTF-8): Nakładka sprawdzająca unikatowość dla serwera OpenLDAP
588 Group: Networking/Daemons
589 Requires(post,preun): sed >= 4.0
590 Requires: %{name}-servers = %{version}-%{release}
592 %description overlay-unique
593 The Attribute Uniqueness overlay can be used to enforce the uniqueness
594 of some or all attributes within a subtree.
596 %description overlay-unique -l pl.UTF-8
597 Nakładka sprawdzająca unikatowość służy do wymuszania unikatowości
598 atrybutów w poddrzewie LDAP.
600 %package overlay-valsort
601 Summary: Valsort overlay for OpenLDAP server
602 Summary(pl.UTF-8): Nakładka valsort dla serwera OpenLDAP
603 Group: Networking/Daemons
604 Requires(post,preun): sed >= 4.0
605 Requires: %{name}-servers = %{version}-%{release}
607 %description overlay-valsort
608 This overlay sorts the values of multi-valued attributes when
609 returning them in a search response.
611 %description overlay-valsort -l pl.UTF-8
612 Ta nakładka sortuje wartości wielowartościowych atrybutów przy
613 zwracaniu ich jako odpowiedź przy wyszukiwaniu.
616 Summary: LDAP servers
617 Summary(pl.UTF-8): Serwery LDAP
618 Summary(pt_BR.UTF-8): Arquivos para o servidor OpenLDAP
619 Summary(ru.UTF-8): Сервера LDAP
620 Summary(uk.UTF-8): Сервера LDAP
621 Group: Networking/Daemons
622 Requires(post): /usr/sbin/usermod
623 Requires(post,preun): /sbin/chkconfig
624 Requires(postun): /usr/sbin/groupdel
625 Requires(postun): /usr/sbin/userdel
626 Requires(pre): /bin/id
627 Requires(pre): /usr/bin/getent
628 Requires(pre): /usr/bin/getgid
629 Requires(pre): /usr/sbin/groupadd
630 Requires(pre): /usr/sbin/useradd
631 Requires(pre): textutils
632 Requires: %{name} = %{version}-%{release}
633 Requires: /sbin/chkconfig
635 Provides: group(slapd)
636 Provides: user(slapd)
637 Obsoletes: openldap-overlay-glue
638 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
639 Conflicts: rpm < 4.4.2-0.2
642 The openldap-server package has the slapd daemon which is responsible
643 for handling the database and client queries.
645 The package includes:
646 - stand-alone LDAP server (slapd),
647 - stand-alone LDAP replication server (slurpd)
649 Install this package if you want to setup an OpenLDAP-2.x server.
651 You will also need some backend for server, so install some
652 openldap-backend package. The bdb backend is recommended.
654 %description servers -l pl.UTF-8
655 Serwery (demony) które przychodzą z LDAPem.
658 - serwer LDAP (slapd)
659 - serwer replikacji bazy LDAP (slurpd)
661 Zainstaluj ten pakiet jeżeli potrzebujesz server OpenLDAP-2.x.
663 Potrzebny też jest jakiś backend dla serwera, dlatego należy
664 zainstalować odpowiedni pakiet openldap-backend. Zalecany jest backend
667 %description servers -l pt_BR.UTF-8
668 O pacote openldap-server contém o servidor slapd que é responsável por
669 receber as requisições dos clientes e por manter a base de dados do
672 O conjunto completo contém:
673 - servidor LDAP (slapd),
674 - servidor de replicação (slurpd)
676 Instale este pacote se você desejar executar um servidor OpenLDAP.
678 %description servers -l ru.UTF-8
679 Сервера (демоны), поставляемые с LDAP.
681 %description servers -l uk.UTF-8
682 Сервера (демони), що поставляються з LDAP.
707 CPPFLAGS="-I/usr/include/ncurses"
709 ac_cv_header_sys_epoll_h=no \
717 --with-yielding-select \
725 --without-cyrus-sasl \
738 --enable-dnssrv=mod \
741 --enable-overlays=mod \
743 --enable-ldbm-api=berkeley \
744 --enable-ldbm-type%{?ldbm_type:%{ldbm_type}}%{!?ldbm_type:btree} \
746 --enable-monitor=mod \
748 --enable-passwd=mod \
762 %{__make} -C servers/slapd/overlays syncprov.la
767 rm -rf $RPM_BUILD_ROOT
768 install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},/var/lib/openldap-data} \
769 $RPM_BUILD_ROOT/var/run/slapd \
770 $RPM_BUILD_ROOT%{_datadir}/openldap/schema
773 DESTDIR=$RPM_BUILD_ROOT
775 rm -f $RPM_BUILD_ROOT%{_libdir}/openldap/*.a
777 install servers/slapd/overlays/.libs/syncprov{.la,*.so*} $RPM_BUILD_ROOT%{_libdir}/openldap
779 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ldap
780 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ldap
782 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/ldap.conf
784 echo "localhost" > $RPM_BUILD_ROOT%{_sysconfdir}/openldap/ldapserver
786 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/openldap/{*.{default,example},ldap.conf,schema/README}
788 # Standard schemas should not be changed by users
789 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/* $RPM_BUILD_ROOT%{_datadir}/openldap/schema
791 # create slapd.access.conf
792 echo "# This is a good place to put slapd access-control directives" > \
793 $RPM_BUILD_ROOT%{_sysconfdir}/openldap/slapd.access.conf
795 # create local.schema
796 echo "# This is a good place to put your schema definitions " > \
797 $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/local.schema
800 rm -rf $RPM_BUILD_ROOT
802 %post libs -p /sbin/ldconfig
803 %postun libs -p /sbin/ldconfig
806 %groupadd -P %{name}-servers -g 93 slapd
807 %useradd -P %{name}-servers -u 93 -s /bin/false -g slapd -c "OpenLDAP server" -d /var/lib/openldap-data slapd
810 /sbin/chkconfig --add ldap
812 # minimizing restarts logics. we restart server:
814 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
815 # 2. first install of module (post: $1 == 1)
816 # 2. uninstall of module (postun: $1 == 0)
818 # the strict internal deps between modules and
819 # server package are very important for all this to work.
822 %service ldap restart "OpenLDAP server"
825 if [ "$1" = "0" ] ; then
827 /sbin/chkconfig --del ldap || :
831 if [ "$1" = "0" ]; then
836 %define ldap_module_add() \
837 %{__sed} -i -e 's/^#[[:blank:]]*moduleload[[:blank:]]\\+%1[[:blank:]]*$/moduleload %1/' %{_sysconfdir}/openldap/slapd.conf \
838 if [ "$1" = "1" ]; then \
839 %service ldap restart "OpenLDAP server" \
843 %define ldap_module_remove() \
844 if [ "$1" = "0" ]; then \
845 %{__sed} -i -e 's/^[[:blank:]]*moduleload[[:blank:]]\\+%1[[:blank:]]*$/# moduleload %1/' %{_sysconfdir}/openldap/slapd.conf \
846 %service ldap restart "OpenLDAP server" \
851 %ldap_module_add back_bdb.la
854 %ldap_module_remove back_bdb.la
857 %ldap_module_add back_dnssrv.la
859 %preun backend-dnssrv
860 %ldap_module_remove back_dnssrv.la
863 %ldap_module_add back_hdb.la
866 %ldap_module_remove back_hdb.la
869 %ldap_module_add back_ldap.la
872 %ldap_module_remove back_ldap.la
875 %ldap_module_add back_ldbm.la
878 %ldap_module_remove back_ldbm.la
881 %ldap_module_add back_meta.la
884 %ldap_module_remove back_meta.la
886 %post backend-monitor
887 %ldap_module_add back_monitor.la
889 %preun backend-monitor
890 %ldap_module_remove back_monitor.la
893 %ldap_module_add back_passwd.la
895 %preun backend-passwd
896 %ldap_module_remove back_passwd.la
899 %ldap_module_add back_perl.la
902 %ldap_module_remove back_perl.la
905 %ldap_module_add back_relay.la
908 %ldap_module_remove back_relay.la
911 %ldap_module_add back_shell.la
914 %ldap_module_remove back_shell.la
917 %ldap_module_add back_sql.la
920 %ldap_module_remove back_sql.la
923 %ldap_module_add pcache.la
925 %preun overlay-pcache
926 %ldap_module_remove pcache.la
928 %post overlay-accesslog
929 %ldap_module_add accesslog.la
931 %preun overlay-accesslog
932 %ldap_module_remove accesslog.la
934 %post overlay-auditlog
935 %ldap_module_add auditlog.la
937 %preun overlay-auditlog
938 %ldap_module_remove auditlog.la
941 %ldap_module_add denyop.la
943 %preun overlay-denyop
944 %ldap_module_remove denyop.la
946 %post overlay-dyngroup
947 %ldap_module_add dyngroup.la
949 %preun overlay-dyngroup
950 %ldap_module_remove dyngroup.la
952 %post overlay-dynlist
953 %ldap_module_add dynlist.la
955 %preun overlay-dynlist
956 %ldap_module_remove dynlist.la
958 %post overlay-lastmod
959 %ldap_module_add lastmod.la
961 %preun overlay-lastmod
962 %ldap_module_remove lastmod.la
964 %post overlay-ppolicy
965 %ldap_module_add ppolicy.la
967 %preun overlay-ppolicy
968 %ldap_module_remove ppolicy.la
971 %ldap_module_add refint.la
973 %preun overlay-refint
974 %ldap_module_remove refint.la
976 %post overlay-retcode
977 %ldap_module_add retcode.la
979 %preun overlay-retcode
980 %ldap_module_remove retcode.la
983 %ldap_module_add rwm.la
986 %ldap_module_remove rwm.la
988 %post overlay-syncprov
989 %ldap_module_add syncprov.la
991 %preun overlay-syncprov
992 %ldap_module_remove syncprov.la
994 %post overlay-translucent
995 %ldap_module_add translucent.la
997 %preun overlay-translucent
998 %ldap_module_remove translucent.la
1000 %post overlay-unique
1001 %ldap_module_add unique.la
1003 %preun overlay-unique
1004 %ldap_module_remove unique.la
1006 %post overlay-valsort
1007 %ldap_module_add valsort.la
1009 %preun overlay-valsort
1010 %ldap_module_remove valsort.la
1012 %triggerpostun servers -- openldap-servers < 2.1.12
1013 if [ "`/usr/bin/getent passwd slapd | cut -d: -f6`" = "/var/lib/openldap-ldbm" ]; then
1014 /usr/sbin/usermod -d /var/lib/openldap-data slapd
1018 %defattr(644,root,root,755)
1019 %doc ANNOUNCEMENT CHANGES COPYRIGHT README LICENSE
1020 %doc doc/{drafts,rfc}
1021 %dir %{_sysconfdir}/openldap
1022 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openldap/ldapserver
1023 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ldap.conf
1024 %attr(755,root,root) %{_bindir}/*
1025 %dir %{_datadir}/openldap
1026 %{_mandir}/man1/ldap*.1*
1027 %{_mandir}/man5/ldap.conf.5*
1028 %{_mandir}/man5/ldif.5*
1031 %defattr(644,root,root,755)
1032 %attr(755,root,root) %{_libdir}/liblber-2.3.so.*.*.*
1033 %attr(755,root,root) %{_libdir}/libldap-2.3.so.*.*.*
1034 %attr(755,root,root) %{_libdir}/libldap_r-2.3.so.*.*.*
1035 %attr(755,root,root) %ghost %{_libdir}/liblber-2.3.so.0
1036 %attr(755,root,root) %ghost %{_libdir}/libldap-2.3.so.0
1037 %attr(755,root,root) %ghost %{_libdir}/libldap_r-2.3.so.0
1040 %defattr(644,root,root,755)
1041 %attr(755,root,root) %{_libdir}/liblber.so
1042 %attr(755,root,root) %{_libdir}/libldap.so
1043 %attr(755,root,root) %{_libdir}/libldap_r.so
1044 %{_libdir}/liblber.la
1045 %{_libdir}/libldap.la
1046 %{_libdir}/libldap_r.la
1051 %defattr(644,root,root,755)
1052 %{_libdir}/liblber.a
1053 %{_libdir}/libldap.a
1054 %{_libdir}/libldap_r.a
1057 %defattr(644,root,root,755)
1058 %attr(755,root,root) %{_libdir}/openldap/back_bdb*.so*
1059 %{_libdir}/openldap/back_bdb.la
1060 %{_mandir}/man5/slapd-bdb.5*
1062 %files backend-dnssrv
1063 %defattr(644,root,root,755)
1064 %attr(755,root,root) %{_libdir}/openldap/back_dnssrv*.so*
1065 %{_libdir}/openldap/back_dnssrv.la
1066 %{_mandir}/man5/slapd-dnssrv.5*
1069 %defattr(644,root,root,755)
1070 %attr(755,root,root) %{_libdir}/openldap/back_hdb*.so*
1071 %{_libdir}/openldap/back_hdb.la
1072 %{_mandir}/man5/slapd-hdb.5*
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) %{_libdir}/openldap/back_ldap*.so*
1077 %{_libdir}/openldap/back_ldap.la
1078 %{_mandir}/man5/slapd-ldap.5*
1079 %{_mandir}/man5/slapo-chain.5*
1082 %defattr(644,root,root,755)
1083 %attr(755,root,root) %{_libdir}/openldap/back_ldbm*.so*
1084 %{_libdir}/openldap/back_ldbm.la
1085 %{_mandir}/man5/slapd-ldbm.5*
1088 %defattr(644,root,root,755)
1089 %attr(755,root,root) %{_libdir}/openldap/back_meta*.so*
1090 %{_libdir}/openldap/back_meta.la
1091 %{_mandir}/man5/slapd-meta.5*
1093 %files backend-monitor
1094 %defattr(644,root,root,755)
1095 %doc servers/slapd/back-monitor/README
1096 %attr(755,root,root) %{_libdir}/openldap/back_monitor*.so*
1097 %{_libdir}/openldap/back_monitor.la
1098 %{_mandir}/man5/slapd-monitor.5*
1100 %files backend-passwd
1101 %defattr(644,root,root,755)
1102 %attr(755,root,root) %{_libdir}/openldap/back_passwd*.so*
1103 %{_libdir}/openldap/back_passwd.la
1104 %{_mandir}/man5/slapd-passwd.5*
1108 %defattr(644,root,root,755)
1109 %doc servers/slapd/back-perl/*.pm
1110 %attr(755,root,root) %{_libdir}/openldap/back_perl*.so*
1111 %{_libdir}/openldap/back_perl.la
1112 %{_mandir}/man5/slapd-perl.5*
1115 %files backend-relay
1116 %defattr(644,root,root,755)
1117 %attr(755,root,root) %{_libdir}/openldap/back_relay*.so*
1118 %{_libdir}/openldap/back_relay.la
1119 %{_mandir}/man5/slapd-relay.5*
1121 %files backend-shell
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_libdir}/openldap/back_shell*.so*
1124 %{_libdir}/openldap/back_shell.la
1125 %{_mandir}/man5/slapd-shell.5*
1129 %defattr(644,root,root,755)
1130 %doc servers/slapd/back-sql/docs/*
1131 %doc servers/slapd/back-sql/rdbms_depend
1132 %attr(755,root,root) %{_libdir}/openldap/back_sql*.so*
1133 %{_libdir}/openldap/back_sql.la
1134 %{_mandir}/man5/slapd-sql.5*
1137 %files overlay-accesslog
1138 %defattr(644,root,root,755)
1139 %attr(755,root,root) %{_libdir}/openldap/accesslog*.so*
1140 %{_libdir}/openldap/accesslog.la
1141 %{_mandir}/man5/slapo-accesslog.5*
1143 %files overlay-auditlog
1144 %defattr(644,root,root,755)
1145 %attr(755,root,root) %{_libdir}/openldap/auditlog*.so*
1146 %{_libdir}/openldap/auditlog.la
1147 %{_mandir}/man5/slapo-auditlog.5*
1149 %files overlay-denyop
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_libdir}/openldap/denyop*.so*
1152 %{_libdir}/openldap/denyop.la
1154 %files overlay-dyngroup
1155 %defattr(644,root,root,755)
1156 %attr(755,root,root) %{_libdir}/openldap/dyngroup*.so*
1157 %{_libdir}/openldap/dyngroup.la
1159 %files overlay-dynlist
1160 %defattr(644,root,root,755)
1161 %attr(755,root,root) %{_libdir}/openldap/dynlist*.so*
1162 %{_libdir}/openldap/dynlist.la
1163 %{_mandir}/man5/slapo-dynlist.5*
1165 %files overlay-lastmod
1166 %defattr(644,root,root,755)
1167 %attr(755,root,root) %{_libdir}/openldap/lastmod*.so*
1168 %{_libdir}/openldap/lastmod.la
1169 %{_mandir}/man5/slapo-lastmod.5*
1171 %files overlay-pcache
1172 %defattr(644,root,root,755)
1173 %attr(755,root,root) %{_libdir}/openldap/pcache*.so*
1174 %{_libdir}/openldap/pcache.la
1175 %{_mandir}/man5/slapo-pcache.5*
1177 %files overlay-ppolicy
1178 %defattr(644,root,root,755)
1179 %attr(755,root,root) %{_libdir}/openldap/ppolicy*.so*
1180 %{_libdir}/openldap/ppolicy.la
1181 %{_mandir}/man5/slapo-ppolicy.5*
1183 %files overlay-refint
1184 %defattr(644,root,root,755)
1185 %attr(755,root,root) %{_libdir}/openldap/refint*.so*
1186 %{_libdir}/openldap/refint.la
1187 %{_mandir}/man5/slapo-refint.5*
1189 %files overlay-retcode
1190 %defattr(644,root,root,755)
1191 %attr(755,root,root) %{_libdir}/openldap/retcode*.so*
1192 %{_libdir}/openldap/retcode.la
1193 %{_mandir}/man5/slapo-retcode.5*
1196 %defattr(644,root,root,755)
1197 %attr(755,root,root) %{_libdir}/openldap/rwm*.so*
1198 %{_libdir}/openldap/rwm.la
1199 %{_mandir}/man5/slapo-rwm.5*
1201 %files overlay-syncprov
1202 %defattr(644,root,root,755)
1203 %attr(755,root,root) %{_libdir}/openldap/syncprov*.so*
1204 %{_libdir}/openldap/syncprov.la
1205 %{_mandir}/man5/slapo-syncprov.5*
1207 %files overlay-translucent
1208 %defattr(644,root,root,755)
1209 %attr(755,root,root) %{_libdir}/openldap/translucent*.so*
1210 %{_libdir}/openldap/translucent.la
1211 %{_mandir}/man5/slapo-translucent.5*
1213 %files overlay-unique
1214 %defattr(644,root,root,755)
1215 %attr(755,root,root) %{_libdir}/openldap/unique*.so*
1216 %{_libdir}/openldap/unique.la
1217 %{_mandir}/man5/slapo-unique.5*
1219 %files overlay-valsort
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) %{_libdir}/openldap/valsort*.so*
1222 %{_libdir}/openldap/valsort.la
1223 %{_mandir}/man5/slapo-valsort.5*
1226 %defattr(644,root,root,755)
1227 %dir %{_sysconfdir}/openldap/schema
1228 %attr(640,root,slapd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openldap/slapd.conf
1229 %attr(640,root,slapd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openldap/slapd.access.conf
1230 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openldap/schema/*.schema
1231 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ldap
1232 %attr(754,root,root) /etc/rc.d/init.d/ldap
1233 %attr(770,root,slapd) %{_var}/run/slapd
1234 %attr(770,root,slapd) %{_localstatedir}/openldap-data
1235 %attr(770,root,slapd) %{_localstatedir}/openldap-slurp
1236 %dir %{_datadir}/openldap/schema
1237 %{_datadir}/openldap/schema/*.ldif
1238 %{_datadir}/openldap/schema/*.schema
1239 %dir %{_libdir}/openldap/
1240 %attr(755,root,root) %{_sbindir}/*
1241 %{_mandir}/man5/slapd.*.5*
1242 %{_mandir}/man5/slapd-ldif.5*
1243 %{_mandir}/man5/slapd-null.5*