]> git.pld-linux.org Git - packages/openldap.git/blame - openldap.spec
- updated to 2.4.43
[packages/openldap.git] / openldap.spec
CommitLineData
de61f90b 1#
5d6d7c44 2# Conditional build:
69faa309 3%bcond_with exchange # hacked version of library for Evolution Exchange support
671150dc 4%bcond_with krb5 # build with MIT Kerberos instead of Heimdal
cacee0b3 5%bcond_without odbc # disable sql backend
7f282e24 6%bcond_with ndb # enable MySQL NDB Cluster backend
cacee0b3 7%bcond_without perl # disable perl backend
53bbcd4f 8%bcond_without sasl # don't build cyrus sasl support
cacee0b3
JB
9%bcond_without slp # disable SLP support
10%bcond_with system_db # system Berkeley DB
0dfd1fe6 11%bcond_with nondist # non-distributable package (DB >= 6.0.20)
55f034f9 12
415f3589
JR
13# Never change or update Berkeley DB, it's there to isolate OpenLDAP
14# from any future changes to the system-wide Berkeley DB library.
15%define db_version 4.6.21
55f034f9 16
9ba5699f 17Summary: Lightweight Directory Access Protocol clients/servers
c4a13d8f
ER
18Summary(es.UTF-8): Clientes y servidor para LDAP
19Summary(pl.UTF-8): Klienci Lightweight Directory Access Protocol
20Summary(pt_BR.UTF-8): Clientes e servidor para LDAP
21Summary(ru.UTF-8): Образцы клиентов LDAP
22Summary(uk.UTF-8): Зразки клієнтів LDAP
9ba5699f 23Name: openldap
69faa309 24Version: 2.4.43
a6d69793 25Release: 1
de61f90b 26License: OpenLDAP Public License
49008fae 27Group: Networking/Daemons
9ba5699f 28Source0: ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/%{name}-%{version}.tgz
69faa309 29# Source0-md5: 49ca65e27891fcf977d78c10f073c705
415f3589
JR
30Source1: http://download.oracle.com/berkeley-db/db-%{db_version}.tar.gz
31# Source1-md5: 718082e7e35fc48478a2334b0bc4cd11
32Source2: ldap.init
33Source3: %{name}.sysconfig
26b19af9
JR
34Source4: %{name}.conf
35Source5: ldap.conf
1729bf34
JR
36Source6: %{name}.tmpfiles
37Source7: nssov.tmpfiles
415f3589 38Source100: %{name}-README.evolution
1c1ecf86 39Patch0: %{name}-make_man_link.patch
26b19af9
JR
40Patch1: %{name}-config.patch
41Patch2: %{name}-fast.patch
42Patch3: %{name}-cldap.patch
43Patch4: %{name}-ldapi_FHS.patch
44Patch5: %{name}-install.patch
45Patch6: %{name}-backend_libs.patch
46Patch7: %{name}-perl.patch
47Patch8: %{name}-pic.patch
48Patch9: %{name}-ltinstall-mode.patch
49Patch10: %{name}-whowhere.patch
50Patch11: %{name}-ldaprc.patch
7c24fec1
JR
51Patch12: %{name}-nosql.patch
52Patch13: %{name}-ldapc++.patch
53Patch14: %{name}-pie.patch
54Patch15: %{name}-gethostbyXXXX_r.patch
abc77317
JB
55Patch16: %{name}-contrib-modules.patch
56Patch17: %{name}-contrib-krb5.patch
625554ff 57Patch18: %{name}-format-security.patch
0b661224 58Patch19: %{name}-gcc47.patch
cd325020 59Patch20: enable-mdb.patch
465066ab 60Patch22: %{name}-am.patch
a20af413 61Patch23: %{name}-db.patch
415f3589
JR
62# Patch for the evolution library
63Patch100: %{name}-ntlm.diff
9ba5699f 64URL: http://www.openldap.org/
abc77317 65BuildRequires: autoconf >= 2.59
8162fdf0 66BuildRequires: automake
bb6dafdb
AM
67%if %{with sasl}
68BuildRequires: cyrus-sasl-devel >= 2.1.15
69BuildRequires: libicu-devel
70%endif
0dfd1fe6
JB
71%if %{with system_db}
72BuildRequires: db-devel >= 4.4
73%{!?with_nondist:BuildRequires: db-devel < 6.0.20}
74%endif
17174e2f 75BuildRequires: gcc >= 5:3.4
95de31d1 76BuildRequires: groff
671150dc 77%if %{with krb5}
7f282e24 78BuildRequires: krb5-devel
671150dc
JR
79%else
80BuildRequires: heimdal-devel
13336510 81%endif
a9ed21a7 82BuildRequires: libltdl-devel
92ef7112 83BuildRequires: libstdc++-devel
dfe8137d 84BuildRequires: libtool >= 2:2.2
2ac7ae8e 85BuildRequires: libwrap-devel
7f282e24 86%{?with_ndb:BuildRequires: mysql-devel}
4eeb8a05 87%{?with_slp:BuildRequires: openslp-devel}
532a8166 88BuildRequires: openssl-devel >= 0.9.7d
2dd15792 89%{?with_perl:BuildRequires: perl-devel}
19516117 90BuildRequires: readline-devel >= 4.2
8ad94e97 91BuildRequires: rpmbuild(macros) >= 1.268
9be24455 92BuildRequires: sed >= 4.0
8d81e1ba 93BuildRequires: uname(release) >= 2.6
4eeb8a05 94%{?with_odbc:BuildRequires: unixODBC-devel}
4c6477b0 95Requires: %{name}-libs = %{version}-%{release}
245815f0 96Obsoletes: openldap-clients
03a9c1b4 97BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
dac054ba 98
6a7e5c46
JR
99%define no_install_post_check_so 1
100
2ac7ae8e 101%define _libexecdir %{_sbindir}
6dfee808 102%define _localstatedir /var/lib
5f628d15 103%define schemadir %{_datadir}/openldap/schema
1be75b6b
ER
104%define evolution_exchange_prefix %{_libdir}/evolution-openldap
105%define evolution_exchange_includedir %{evolution_exchange_prefix}/include
106%define evolution_exchange_libdir %{evolution_exchange_prefix}/lib
2ac7ae8e 107
108%description
dac054ba 109LDAP servers and clients, as well as interfaces to other protocols.
110Note that this does not include the slapd interface to X.500 and
111therefore does not require the ISODE package.
112
edb9ed3d 113The package includes utilities, tools, and sample clients.
2ac7ae8e 114
ff5de027 115%description -l es.UTF-8
eec4aa42
JB
116Cliente y servidor LDAP.
117
ff5de027
JR
118%description -l pl.UTF-8
119Serwery i klienci LDAP jak i interfejsy do innych protokołów. Wiedz,
120że pakiet ten nie zawiera interfejsu slapd to X.500 i dlatego nie
75c6f223 121wymaga pakietu ISODE.
4ce8bb9e 122
edb9ed3d 123Pakiet ten zawiera narzędzia i przykładowe aplikacje klienckie LDAP.
2ac7ae8e 124
ff5de027
JR
125%description -l pt_BR.UTF-8
126OpenLDAP é um conjunto de ferramentas e aplicações para construir um
127servidor de diretórios.
e9b6cc77 128
edb9ed3d 129O conjunto completo contém ferramentas e clientes.
881c73fd 130
ff5de027
JR
131%description -l ru.UTF-8
132Образцы клиентов, поставляемые с LDAP.
29773050 133
ff5de027
JR
134%description -l uk.UTF-8
135Зразки клієнтів, що поставляються з LDAP.
29773050 136
26b19af9
JR
137%package nss-config
138Summary: Common configuration for nss_ldap and pam_ldap
139Summary(pl.UTF-8): Wspólna konfiguracja dla nss_ldap i pam_ldap
140Group: Base
141
142%description nss-config
143Common configuration for nss_ldap and pam_ldap.
144
145%description nss-config -l pl.UTF-8
146Wspólna konfiguracja dla nss_ldap i pam_ldap.
147
cd2ddb7a
JB
148%package libs
149Summary: LDAP shared libraries
c4a13d8f 150Summary(pl.UTF-8): Biblioteki współdzielone LDAP
cd2ddb7a 151Group: Libraries
cd2ddb7a 152Conflicts: openldap < 2.2.6-0.3
01624595 153%{?with_sasl:%requires_eq_to cyrus-sasl-libs cyrus-sasl-devel}
cd2ddb7a
JB
154
155%description libs
156LDAP shared libraries.
157
ff5de027
JR
158%description libs -l pl.UTF-8
159Biblioteki współdzielone LDAP.
cd2ddb7a 160
2ac7ae8e 161%package devel
9ba5699f 162Summary: LDAP development files
c4a13d8f
ER
163Summary(es.UTF-8): Bibliotecas de desarrollo y archivos de inclusión para OpenLDAP
164Summary(pl.UTF-8): Pliki dla developerów LDAP
165Summary(pt_BR.UTF-8): Bibliotecas de desenvolvimento e arquivos de inclusão para o OpenLDAP
166Summary(ru.UTF-8): Файлы для программирования с LDAP
167Summary(uk.UTF-8): Файли для програмування з LDAP
9ba5699f 168Group: Development/Libraries
0513c83b 169Requires: %{name}-libs = %{version}-%{release}
6db30769 170%{?with_sasl:Requires: cyrus-sasl-devel >= 2.1.15}
e2c78a47 171Requires: openssl-devel >= 0.9.7c
671150dc 172%if %{with krb5}
13336510 173Requires: krb5-devel
671150dc
JR
174%else
175Requires: heimdal-devel
13336510 176%endif
69faa309 177%{!?with_exchange:Obsoletes: openldap-evolution-devel}
dac054ba 178
42d889ce 179%description devel
dac054ba 180Header files and libraries for developing applications that use LDAP.
181
ff5de027
JR
182%description devel -l es.UTF-8
183Bibliotecas de desarrollo y archivos de inclusión de OpenLDAP.
81c6192a 184
ff5de027
JR
185%description devel -l pl.UTF-8
186Pliki nagłówkowe i biblioteki konieczne do rozwoju aplikacji
187używających LDAP.
4ce8bb9e 188
ff5de027
JR
189%description devel -l pt_BR.UTF-8
190Bibliotecas de desenvolvimento e arquivos de inclusão do OpenLDAP.
191Instale este pacote se você for trabalhar com desenvolvimento em LDAP
81c6192a 192ou desejar compilar algum programa que utilize LDAP.
881c73fd 193
ff5de027
JR
194%description devel -l ru.UTF-8
195Хедеры и библиотеки, необходимые для разработки приложений,
196использующих LDAP.
29773050 197
ff5de027
JR
198%description devel -l uk.UTF-8
199Хедери та бібліотеки, необхідні для розробки програм, що
200використовують LDAP.
29773050 201
2ac7ae8e 202%package static
42d889ce 203Summary: LDAP static libraries
c4a13d8f
ER
204Summary(pl.UTF-8): Biblioteki statyczne LDAP
205Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com openldap
206Summary(ru.UTF-8): Статические библиотеки LDAP
207Summary(uk.UTF-8): Статичні бібліотеки LDAP
42d889ce 208Group: Development/Libraries
de61f90b 209Requires: %{name}-devel = %{version}-%{release}
42d889ce 210
211%description static
edb9ed3d 212LDAP static libraries.
42d889ce 213
ff5de027 214%description static -l pl.UTF-8
4ce8bb9e
AM
215Biblioteki statyczne LDAP.
216
ff5de027
JR
217%description static -l pt_BR.UTF-8
218Bibliotecas estáticas para desenvolvimento com openldap.
881c73fd 219
ff5de027
JR
220%description static -l ru.UTF-8
221Статические библиотеки, необходимые для разработки приложений,
222использующих LDAP.
29773050 223
ff5de027
JR
224%description static -l uk.UTF-8
225Статичні бібліотеки, необхідні для розробки програм, що використовують
29773050 226LDAP.
227
d6deed33 228%package headers
229Summary: Development files for building OpenLDAP modules
230Summary(pl.UTF-8): Pliki służące do budowania modułów OpenLDAP
231Group: Development/Libraries
232Requires: %{name}-devel = %{version}-%{release}
233
234%description headers
235Header files for developing OpenLDAP modules.
236
237%description headers -l pl.UTF-8
238Pliki nagłówkowe konieczne do rozwoju modułów OpenLDAP.
239
cacee0b3 240%package evolution-devel
415f3589
JR
241Summary: LDAP NTLM hack for the evolution-exchange
242Summary(pl.UTF-8): Hack NTLM dla pakietu evolution-exchange
243Group: Development/Libraries
244Requires: %{name}-devel = %{version}-%{release}
245
246%description evolution-devel
247LDAP NTLM hack for the evolution-exchange.
248
249%description evolution-devel -l pl.UTF-8
250Hack NTLM dla pakietu evolution-exchange.
251
92ef7112
JR
252%package ldapc++
253Summary: LDAPv3 C++ Class Library
254Summary(pl.UTF-8): Biblioteka klas C++ LDAPv3
255Group: Libraries
256Requires: %{name}-libs = %{version}-%{release}
257
258%description ldapc++
259LDAPv3 C++ Class Library
260
261%description ldapc++ -l pl.UTF-8
262Biblioteka klas C++ LDAPv3.
263
264%package ldapc++-devel
265Summary: LDAPv3 C++ Class Library development files
cacee0b3 266Summary(pl.UTF-8): Pliki dla programistów C++ LDAPv3
92ef7112
JR
267Group: Libraries
268Requires: %{name}-ldapc++ = %{version}-%{release}
269
270%description ldapc++-devel
271LDAPv3 C++ Class Library development files.
272
273%description ldapc++-devel -l pl.UTF-8
cacee0b3 274Pliki dla programistów C++ LDAPv3.
92ef7112
JR
275
276%package ldapc++-static
277Summary: Static LDAPv3 C++ Class Library
278Summary(pl.UTF-8): Biblioteka statyczna klas C++ LDAPv3
279Group: Libraries
280Requires: %{name}-ldapc++-devel = %{version}-%{release}
cacee0b3 281Requires: libstdc++-devel
92ef7112
JR
282
283%description ldapc++-static
284Static LDAPv3 C++ Class Library.
285
286%description ldapc++-static -l pl.UTF-8
287Biblioteka statyczna klas C++ LDAPv3.
288
5a069025
JR
289%package servers
290Summary: LDAP servers
291Summary(pl.UTF-8): Serwery LDAP
292Summary(pt_BR.UTF-8): Arquivos para o servidor OpenLDAP
293Summary(ru.UTF-8): Сервера LDAP
294Summary(uk.UTF-8): Сервера LDAP
295Group: Networking/Daemons
296Requires(post): /usr/sbin/usermod
297Requires(post,preun): /sbin/chkconfig
298Requires(postun): /usr/sbin/groupdel
299Requires(postun): /usr/sbin/userdel
300Requires(pre): /bin/id
301Requires(pre): /usr/bin/getent
302Requires(pre): /usr/bin/getgid
303Requires(pre): /usr/sbin/groupadd
304Requires(pre): /usr/sbin/useradd
305Requires(pre): textutils
306Requires: %{name} = %{version}-%{release}
307Requires: /sbin/chkconfig
308Requires: rc-scripts
309Requires: uname(release) >= 2.6
310Suggests: %{name}-backend-hdb = %{version}-%{release}
311Provides: group(slapd)
312Provides: user(slapd)
313Obsoletes: openldap-backend-ldbm
314Obsoletes: openldap-overlay-glue
315Conflicts: kernel24
316Conflicts: kernel24-smp
317# for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
318Conflicts: rpm < 4.4.2-0.2
319
320%description servers
321The openldap-server package contains the slapd daemon which is
322responsible for handling the database and client queries.
323
edb9ed3d 324Install this package if you want to setup an OpenLDAP server.
5a069025
JR
325
326You will also need some backend for server, so install some
327openldap-backend package. The bdb backend is recommended.
328
329%description servers -l pl.UTF-8
330Ten pakiet zawiera demona slapd odpowiadającego za obsługę bazy danych
331i zapytania klientów.
332
edb9ed3d 333Aby uruchomić serwer OpenLDAP należy zainstalować ten pakiet.
5a069025
JR
334
335Potrzebny też jest jakiś backend dla serwera, dlatego należy
336zainstalować odpowiedni pakiet openldap-backend. Zalecany jest backend
337bdb.
338
339%description servers -l pt_BR.UTF-8
340O pacote openldap-server contém o servidor slapd que é responsável por
341receber as requisições dos clientes e por manter a base de dados do
342diretório.
343
344O conjunto completo contém:
345- servidor LDAP (slapd),
346
347Instale este pacote se você desejar executar um servidor OpenLDAP.
348
349%description servers -l ru.UTF-8
350Сервера (демоны), поставляемые с LDAP.
351
352%description servers -l uk.UTF-8
353Сервера (демони), що поставляються з LDAP.
354
00d6dcb1 355%package backend-bdb
98e30587 356Summary: BDB backend to OpenLDAP server
c4a13d8f 357Summary(pl.UTF-8): Backend BDB do serwera OpenLDAP
00d6dcb1 358Group: Networking/Daemons
8ad94e97 359Requires(post,preun): sed >= 4.0
de61f90b 360Requires: %{name}-servers = %{version}-%{release}
00d6dcb1
JK
361
362%description backend-bdb
363BDB backend to slapd, the OpenLDAP server.
364
ff5de027 365%description backend-bdb -l pl.UTF-8
98e30587
JB
366Backend BDB do slapd - serwera OpenLDAP.
367
00d6dcb1 368%package backend-dnssrv
98e30587 369Summary: DNS SRV backend to OpenLDAP server
c4a13d8f 370Summary(pl.UTF-8): Backend DNS SRV do serwera OpenLDAP
00d6dcb1 371Group: Networking/Daemons
8ad94e97 372Requires(post,preun): sed >= 4.0
de61f90b 373Requires: %{name}-servers = %{version}-%{release}
00d6dcb1
JK
374
375%description backend-dnssrv
376DNS SRV backend to slapd, the OpenLDAP server.
377
ff5de027 378%description backend-dnssrv -l pl.UTF-8
98e30587
JB
379Backend DNS SRV do slapd - serwera OpenLDAP.
380
de61f90b
JB
381%package backend-hdb
382Summary: HDB (Hierarchical DB) backend to OpenLDAP server
c4a13d8f 383Summary(pl.UTF-8): Backend HDB (Hierarchical DB) do serwera OpenLDAP
de61f90b 384Group: Networking/Daemons
8ad94e97 385Requires(post,preun): sed >= 4.0
de61f90b
JB
386Requires: %{name}-servers = %{version}-%{release}
387
388%description backend-hdb
389HDB (Hierarchical DB) backend to slapd, the OpenLDAP server.
390
ff5de027 391%description backend-hdb -l pl.UTF-8
de61f90b
JB
392Backend HDB (Hierarchical DB) do slapd - serwera OpenLDAP.
393
394%package backend-ldap
395Summary: LDAP backend to OpenLDAP server
c4a13d8f 396Summary(pl.UTF-8): Backend LDAP do serwera OpenLDAP
de61f90b 397Group: Networking/Daemons
8ad94e97 398Requires(post,preun): sed >= 4.0
de61f90b
JB
399Requires: %{name}-servers = %{version}-%{release}
400
401%description backend-ldap
402LDAP backend to slapd, the OpenLDAP server.
403
ff5de027 404%description backend-ldap -l pl.UTF-8
de61f90b 405Backend LDAP do slapd - serwera OpenLDAP.
00d6dcb1 406
fc2298ec
JR
407%package backend-mdb
408Summary: MDB (Memory-Mapped DB) backend to OpenLDAP server
409Summary(pl.UTF-8): Backend MDB (Memory-Mapped DB) do serwera OpenLDAP
410Group: Networking/Daemons
411Requires(post,preun): sed >= 4.0
412Requires: %{name}-servers = %{version}-%{release}
413
414%description backend-mdb
415MDB (Memory-Mapped DB) backend to slapd, the OpenLDAP server.
416
417%description backend-mdb -l pl.UTF-8
418Backend MDB (Memory-Mapped DB) do slapd - serwera OpenLDAP.
419
00d6dcb1 420%package backend-meta
98e30587 421Summary: Meta backend to OpenLDAP server
c4a13d8f 422Summary(pl.UTF-8): Backend Meta do serwera OpenLDAP
00d6dcb1 423Group: Networking/Daemons
8ad94e97 424Requires(post,preun): sed >= 4.0
de61f90b 425Requires: %{name}-servers = %{version}-%{release}
00d6dcb1
JK
426
427%description backend-meta
428Meta backend to slapd, the OpenLDAP server.
429
ff5de027 430%description backend-meta -l pl.UTF-8
98e30587
JB
431Backend Meta do slapd - serwera OpenLDAP.
432
00d6dcb1 433%package backend-monitor
98e30587 434Summary: Monitor backend to OpenLDAP server
c4a13d8f 435Summary(pl.UTF-8): Backend Monitor do serwera OpenLDAP
00d6dcb1 436Group: Networking/Daemons
8ad94e97 437Requires(post,preun): sed >= 4.0
de61f90b 438Requires: %{name}-servers = %{version}-%{release}
00d6dcb1
JK
439
440%description backend-monitor
441Meta backend to slapd, the OpenLDAP server.
442
ff5de027 443%description backend-monitor -l pl.UTF-8
98e30587
JB
444Backend Meta do slapd - serwera OpenLDAP.
445
7f282e24
JR
446%package backend-ndb
447Summary: MySQL NDB Cluster backend to OpenLDAP server
448Summary(pl.UTF-8): Backend MySQL NDB Cluster do serwera OpenLDAP
449Group: Networking/Daemons
450Requires(post,preun): sed >= 4.0
451Requires: %{name}-servers = %{version}-%{release}
452
453%description backend-ndb
454MySQL NDB Cluster backend to slapd, the OpenLDAP server.
455
456%description backend-ndb -l pl.UTF-8
457Backend MySQL NDB Cluster do slapd do serwera OpenLDAP.
458
00d6dcb1 459%package backend-passwd
98e30587 460Summary: /etc/passwd backend to OpenLDAP server
c4a13d8f 461Summary(pl.UTF-8): Backend /etc/passwd do serwera OpenLDAP
00d6dcb1 462Group: Networking/Daemons
8ad94e97 463Requires(post,preun): sed >= 4.0
de61f90b 464Requires: %{name}-servers = %{version}-%{release}
00d6dcb1
JK
465
466%description backend-passwd
467/etc/passwd backend to slapd, the OpenLDAP server.
468
ff5de027 469%description backend-passwd -l pl.UTF-8
98e30587
JB
470Backend /etc/passwd do slapd - serwera OpenLDAP.
471
00d6dcb1 472%package backend-perl
98e30587 473Summary: Perl backend to OpenLDAP server
c4a13d8f 474Summary(pl.UTF-8): Backend Perl do serwera OpenLDAP
00d6dcb1 475Group: Networking/Daemons
8ad94e97 476Requires(post,preun): sed >= 4.0
de61f90b 477Requires: %{name}-servers = %{version}-%{release}
00d6dcb1
JK
478
479%description backend-perl
480Perl backend to slapd, the OpenLDAP server.
481
ff5de027 482%description backend-perl -l pl.UTF-8
98e30587
JB
483Backend Perl do slapd - serwera OpenLDAP.
484
aecf2144
JB
485%package backend-relay
486Summary: Relay backend to OpenLDAP server
c4a13d8f 487Summary(pl.UTF-8): Backend przekazujący do serwera OpenLDAP
aecf2144 488Group: Networking/Daemons
8ad94e97 489Requires(post,preun): sed >= 4.0
aecf2144
JB
490Requires: %{name}-overlay-rwm = %{version}-%{release}
491Requires: %{name}-servers = %{version}-%{release}
492
493%description backend-relay
246346cd
JR
494The primary purpose of this backend is to map a naming context defined
495in a database running in the same slapd instance into a virtual naming
496context, with attributeType and objectClass manipulation, if required.
497It requires the rwm overlay.
aecf2144 498
ff5de027 499%description backend-relay -l pl.UTF-8
246346cd
JR
500Głównym celem tego backendu jest odwzorowywanie kontekstów nazw
501zdefiniowanych w bazie danych działającej w tej samej instancji slapd
502na konteksty nazw wirtualnych z modyfikowaniem attributeType i
503objectClass w razie potrzeby. Wymaga nakładki rwm.
aecf2144 504
00d6dcb1 505%package backend-shell
98e30587 506Summary: Shell backend to OpenLDAP server
c4a13d8f 507Summary(pl.UTF-8): Backend Shell do serwera OpenLDAP
00d6dcb1 508Group: Networking/Daemons
8ad94e97 509Requires(post,preun): sed >= 4.0
de61f90b 510Requires: %{name}-servers = %{version}-%{release}
00d6dcb1
JK
511
512%description backend-shell
513Shell backend to slapd, the OpenLDAP server.
514
ff5de027 515%description backend-shell -l pl.UTF-8
98e30587
JB
516Backend Shell do slapd - serwera OpenLDAP.
517
9be24455
JR
518%package backend-sock
519Summary: Socket backend to OpenLDAP server
520Summary(pl.UTF-8): Backend Socket do serwera OpenLDAP
521Group: Networking/Daemons
522Requires(post,preun): sed >= 4.0
523Requires: %{name}-servers = %{version}-%{release}
524
525%description backend-sock
526Socket backend to slapd, the OpenLDAP server.
527
528%description backend-sock -l pl.UTF-8
529Backend Socket do slapd - serwera OpenLDAP.
530
00d6dcb1 531%package backend-sql
98e30587 532Summary: SQL backend to OpenLDAP server
c4a13d8f 533Summary(pl.UTF-8): Backend SQL do serwera OpenLDAP
00d6dcb1 534Group: Networking/Daemons
8ad94e97 535Requires(post,preun): sed >= 4.0
de61f90b 536Requires: %{name}-servers = %{version}-%{release}
00d6dcb1
JK
537
538%description backend-sql
539SQL backend to slapd, the OpenLDAP server.
540
ff5de027 541%description backend-sql -l pl.UTF-8
98e30587
JB
542Backend SQL do slapd - serwera OpenLDAP.
543
0b5bf075 544%package overlay-accesslog
545Summary: Accesslog overlay for OpenLDAP server
c4a13d8f 546Summary(pl.UTF-8): Nakładka accesslog dla serwera OpenLDAP
0b5bf075 547Group: Networking/Daemons
8ad94e97 548Requires(post,preun): sed >= 4.0
0b5bf075 549Requires: %{name}-servers = %{version}-%{release}
550
551%description overlay-accesslog
cd2ddb7a
JB
552Accesslog overlay for OpenLDAP server.
553
ff5de027
JR
554%description overlay-accesslog -l pl.UTF-8
555Nakładka accesslog dla serwera OpenLDAP.
0b5bf075 556
488bd7be
JB
557%package overlay-auditlog
558Summary: Auditlog overlay for OpenLDAP server
c4a13d8f 559Summary(pl.UTF-8): Nakładka auditog dla serwera OpenLDAP
488bd7be
JB
560Group: Networking/Daemons
561Requires(post,preun): sed >= 4.0
562Requires: %{name}-servers = %{version}-%{release}
563
564%description overlay-auditlog
565The Audit Logging overlay can be used to record all changes on a given
566backend database to a specified log file. Changes are logged as
567standard LDIF, with an additional comment header giving the timestamp
568of the change and the identity of the user making the change.
569
ff5de027
JR
570%description overlay-auditlog -l pl.UTF-8
571Nakładka Audit Logging może być używana do zapisywania wszystkich
572zmian w danej bazie danych do podanego pliki loga. Zmiany są logowane
573jako standardowy LDIF z dodatkowym nagłówkiem komentarza podającym
574czas zmiany i identyfikującym użytkownika, który dokonał zmiany.
488bd7be 575
d0570307
AM
576%package overlay-collect
577Summary: Collect overlay for OpenLDAP server
578Summary(pl.UTF-8): Nakładka collect dla serwera OpenLDAP
579Group: Networking/Daemons
580Requires(post,preun): sed >= 4.0
581Requires: %{name}-servers = %{version}-%{release}
582
583%description overlay-collect
584The collect overlay is used to provide a relatively coarse
585implementation of RFC 3671 collective attributes.
586
587%description overlay-collect -l pl.UTF-8
588Nakładka collect jest używana do dostarczenia atrybutów wg RFC 3671.
589
92ef7112
JR
590%package overlay-constraint
591Summary: Constraint overlay for OpenLDAP server
592Summary(pl.UTF-8): Nakładka constraint dla serwera OpenLDAP
0b5bf075 593Group: Networking/Daemons
8ad94e97 594Requires(post,preun): sed >= 4.0
0b5bf075 595Requires: %{name}-servers = %{version}-%{release}
596
92ef7112 597%description overlay-constraint
d0570307
AM
598This overlay limits the values which can be placed into an attribute,
599over and above the limits placed by the schema. It traps only LDAP
600adds and modify commands (and only seeks to control the add and modify
601value mods of a modify)
92ef7112
JR
602
603%description overlay-constraint -l pl.UTF-8
cacee0b3
JB
604Ta nakładka ogranicza wartości, które można umieszczać w atrybucie,
605ponad limity umieszczone w schemacie. Przechwytuje jedynie polecenia
606dodawania i modyfikowania LDAP (i kontroluje tylko wartości dodawania
607i modyfikowania).
0b5bf075 608
92ef7112
JR
609%package overlay-dds
610Summary: Dynamic Directory Services overlay for OpenLDAP server
611Summary(pl.UTF-8): Nakładka DDS dla serwera OpenLDAP
612Group: Networking/Daemons
613Requires(post,preun): sed >= 4.0
614Requires: %{name}-servers = %{version}-%{release}
615
616%description overlay-dds
cacee0b3
JB
617The dds overlay implements dynamic objects as per RFC 2589. The name
618dds stands for Dynamic Directory Services. It allows to define dynamic
619objects, characterized by the dynamicObject objectClass.
92ef7112
JR
620
621%description overlay-dds -l pl.UTF-8
cacee0b3
JB
622Nakładka dds implementuje obiekty dynamicznie zgodnie z RFC 2589.
623Nazwa dds oznacza Dynamic Directory Services (dynamiczne usługi
624katalogowe). Pozwala definiować obiekty dynamiczne, opisywane przez
625klasę dynamicObject objectClass.
0b5bf075 626
0ba7e105
JB
627%package overlay-deref
628Summary: Dereference Control overlay for OpenLDAP server
629Summary(pl.UTF-8): Nakładka Dereference Control dla serwera OpenLDAP
630Group: Networking/Daemons
631Requires(post,preun): sed >= 4.0
632Requires: %{name}-servers = %{version}-%{release}
633
634%description overlay-deref
635Dereference Control overlay for OpenLDAP server.
636
637%description overlay-deref -l pl.UTF-8
638Nakładka Dereference Control dla serwera OpenLDAP.
639
0b5bf075 640%package overlay-dyngroup
641Summary: Dyngroup overlay for OpenLDAP server
c4a13d8f 642Summary(pl.UTF-8): Nakładka dynamicznych grup dla serwera OpenLDAP
0b5bf075 643Group: Networking/Daemons
8ad94e97 644Requires(post,preun): sed >= 4.0
0b5bf075 645Requires: %{name}-servers = %{version}-%{release}
646
647%description overlay-dyngroup
648This overlay extends the Compare operation to detect members of a
649dynamic group. It has no effect on any other operations. It must be
650configured with a pair of attributes to trigger on, e.g. attrpair
651member memberURL will cause compares on "member" to trigger a compare
652on "memberURL".
653
ff5de027
JR
654%description overlay-dyngroup -l pl.UTF-8
655Ta nakładka rozszerza operację Compare, aby wykrywała członików grupy
656dynamicznej. Nie wpływa na żadne inne operacje. Musi być
657skonfigurowana parą atrybutów, które mają ją wyzwalać, np. attrpair
658member memberURL spowoduje, że porównania na "memberu" wyzwolą
659porównania na "memberURL".
0b5bf075 660
661%package overlay-dynlist
662Summary: Dynnamic list overlay for OpenLDAP server
c4a13d8f 663Summary(pl.UTF-8): Nakładka dynamicznych list dla serwera OpenLDAP
0b5bf075 664Group: Networking/Daemons
8ad94e97 665Requires(post,preun): sed >= 4.0
0b5bf075 666Requires: %{name}-servers = %{version}-%{release}
667
668%description overlay-dynlist
669The dynlist overlay allows expansion of dynamic groups and more.
670
ff5de027
JR
671%description overlay-dynlist -l pl.UTF-8
672Nakładka dynlist pozwala na rozwijanie dynamicznych grup i inne
cd2ddb7a 673operacje.
0b5bf075 674
92ef7112
JR
675%package overlay-memberof
676Summary: Reverse Group Membership overlay for OpenLDAP server
677Summary(pl.UTF-8): Nakładka memberof dla serwera OpenLDAP
0b5bf075 678Group: Networking/Daemons
8ad94e97 679Requires(post,preun): sed >= 4.0
0b5bf075 680Requires: %{name}-servers = %{version}-%{release}
681
92ef7112
JR
682%description overlay-memberof
683The memberof overlay allows automatic reverse group membership
d0570307
AM
684maintenance. Any time a group entry is modified, its members are
685modified as appropriate in order to keep a DN-valued "is member of"
686attribute updated with the DN of the group.
0b5bf075 687
92ef7112 688%description overlay-memberof -l pl.UTF-8
cacee0b3
JB
689Nakładka memberof pozwala automatycznie utrzymywać odwrotne
690członkostwo grup. Zawsze przy modyfikacji wpisu grupy jej członkowie
691są modyfikowani w odpowiedniej kolejności, aby utrzymać opisany w DN
692atrybut "jest członkiem grupy", uaktualniany wraz z DN grupy.
0b5bf075 693
d95d9d67 694%package overlay-pcache
695Summary: Proxy cache overlay for OpenLDAP server
c4a13d8f 696Summary(pl.UTF-8): Nakładka proxy cache dla serwera OpenLDAP
d95d9d67 697Group: Networking/Daemons
8ad94e97 698Requires(post,preun): sed >= 4.0
d95d9d67 699Requires: %{name}-servers = %{version}-%{release}
700
701%description overlay-pcache
702The proxy cache overlay allows caching of LDAP search requests
703(queries) in a local database.
704
ff5de027
JR
705%description overlay-pcache -l pl.UTF-8
706Nakładka proxy cache pozwalająca buforować zapytania LDAP w lokalnej
bf682544 707bazie.
708
0b5bf075 709%package overlay-ppolicy
710Summary: Password Policy overlay for OpenLDAP server
c4a13d8f 711Summary(pl.UTF-8): Nakładka do polityki haseł dla serwera OpenLDAP
0b5bf075 712Group: Networking/Daemons
8ad94e97 713Requires(post,preun): sed >= 4.0
0b5bf075 714Requires: %{name}-servers = %{version}-%{release}
715
716%description overlay-ppolicy
717The ppolicy overlay is an implementation of the most recent IETF
718Password Policy proposal for LDAP. When instantiated, it intercepts,
719decodes and applies specific password policy controls to overall use
720of a backend database, changes to user password fields, etc.
721
ff5de027
JR
722%description overlay-ppolicy -l pl.UTF-8
723Nakładka ppolicy jest implementacją najnowszej propozycji IETF
724Password Policy dla LDAP. Kiedy zostanie użyta, przechwytuje, dekoduje
725i aplikuje określone regulacje polityki haseł do ogólnego używania
726bazy danych, zmiany pól haseł użytkowników itp.
0b5bf075 727
728%package overlay-refint
729Summary: Referential Integrity overlay for OpenLDAP server
c4a13d8f 730Summary(pl.UTF-8): Nakładka sprawdzają integralność odwołań dla serwera OpenLDAP
0b5bf075 731Group: Networking/Daemons
8ad94e97 732Requires(post,preun): sed >= 4.0
0b5bf075 733Requires: %{name}-servers = %{version}-%{release}
734
735%description overlay-refint
736The Referential Integrity overlay can be used to maintain the
737cohesiveness of a schema which utilizes reference attributes.
738
ff5de027
JR
739%description overlay-refint -l pl.UTF-8
740Nakładka Referential Integrity może być używana do utrzymywania
741spójności schematu wykorzystującego atrybuty referencji.
0b5bf075 742
1e76a8fb
JB
743%package overlay-retcode
744Summary: Return code overlay for OpenLDAP server
c4a13d8f 745Summary(pl.UTF-8): Nakładka obsługująca zwracane wartości dla serwera OpenLDAP
1e76a8fb 746Group: Networking/Daemons
8ad94e97 747Requires(post,preun): sed >= 4.0
1e76a8fb
JB
748Requires: %{name}-servers = %{version}-%{release}
749
750%description overlay-retcode
751The retcode overlay to slapd is useful to test the behavior of clients
752when server-generated erroneous and/or unusual responses occur, e.g.
753error codes, referrals, excessive response times and so on.
754
ff5de027
JR
755%description overlay-retcode -l pl.UTF-8
756Nakładka retcode dla slapd jest przydatna do sprawdzania zachowania
757klientów w przypadku wystąpienia wygenerowanych przez serwer błędnych
758i/lub nienormalnych odpowiedzi, np. kodów błędów, odniesień, długich
759czasów odpowiedzi itp.
1e76a8fb 760
0b5bf075 761%package overlay-rwm
762Summary: Rewrite/remap overlay for OpenLDAP server
c4a13d8f 763Summary(pl.UTF-8): Nakładka mapująca dla serwera OpenLDAP
0b5bf075 764Group: Networking/Daemons
8ad94e97 765Requires(post,preun): sed >= 4.0
0b5bf075 766Requires: %{name}-servers = %{version}-%{release}
767
768%description overlay-rwm
cd2ddb7a 769The rwm overlay performs basic DN/data rewrite and
0b5bf075 770object-Class/attributeType mapping. Its usage is mostly intended to
771provide virtual views of existing data either remotely, in conjunction
772with the proxy backend or locally, in conjunction with the relay
773backend.
774
ff5de027
JR
775%description overlay-rwm -l pl.UTF-8
776Nakładka rwm wykonuje podstawowe przepisywanie DN na dane i
777odwzorowywanie klas obiektów na attributeType. Jej zastosowania to
778przede wszystkim dostarczanie wirtualnych widoków danych istniejących
779albo zdalnie, w połączeniu z backendem proxy, albo lokalnie, w
780połączeniu z backendem relay.
0b5bf075 781
92ef7112
JR
782%package overlay-seqmod
783Summary: Sequenced modifies overlay for OpenLDAP server
784Summary(pl.UTF-8): Nakładka seqmod dla serwera OpenLDAP
785Group: Networking/Daemons
786Requires(post,preun): sed >= 4.0
787Requires: %{name}-servers = %{version}-%{release}
788
789%description overlay-seqmod
cacee0b3 790This overlay serializes concurrent attempts to modify a single entry.
92ef7112
JR
791
792%description overlay-seqmod -l pl.UTF-8
cacee0b3
JB
793Ta nakładka serializuje jednoczesne próby zmodyfikowania tego samego
794wpisu.
92ef7112 795
de77a786
JR
796%package overlay-sssvlv
797Summary: Server Side Sorting and Virtual List View overlay for OpenLDAP server
e8a189da 798Summary(pl.UTF-8): Nakładka sortowania po stronie serwera i wirtualnego widoku list dla serwera OpenLDAP
de77a786
JR
799Group: Networking/Daemons
800Requires(post,preun): sed >= 4.0
801Requires: %{name}-servers = %{version}-%{release}
802
803%description overlay-sssvlv
a1121f45 804This overlay implements the LDAP Server Side Sorting (RFC2891) control
805as well as the Virtual List View control. It also replaces the default
806implementation of the LDAP PagedResults (RFC2696) control, to ensure
807that it works with Sorting. The overlay can be used with any backend
808or globally for all backends.
de77a786
JR
809
810%description overlay-sssvlv -l pl.UTF-8
e8a189da
JB
811Ta nakładka implementuje sortowanie po stronie serwera (Server Side
812Sorting, RFC2891) oraz wirtualne widoki list (Virtual List View).
813Zastępuje również domyślną implementację stronnicowanych wyników
814(PagedResults, RFC2696), aby zapewnić ich działanie z sortowaniem.
815Nakładka może być użyta w dowolnym backendzie albo globalnie dla
816wszystkich backendów.
de77a786 817
0b5bf075 818%package overlay-syncprov
cd2ddb7a 819Summary: Syncrepl Provider overlay for OpenLDAP server
c4a13d8f 820Summary(pl.UTF-8): Nakładka Syncrepl Provider dla serwera OpenLDAP
0b5bf075 821Group: Networking/Daemons
8ad94e97 822Requires(post,preun): sed >= 4.0
0b5bf075 823Requires: %{name}-servers = %{version}-%{release}
824
825%description overlay-syncprov
cd2ddb7a
JB
826The Syncrepl Provider overlay implements the provider-side support for
827syncrepl replication, including persistent search functionality. The
828overlay can be used with any backend that maintains entryCSN and
829entryUUID attributes for its entries. It also creates a contextCSN
830attribute in the root entry of the database.
0b5bf075 831
ff5de027
JR
832%description overlay-syncprov -l pl.UTF-8
833Nakładka SyncRepl Provider implementuje obsługę replikacji syncrepl po
834stronie dostarczyciela, włącznie z ciągłością funkcjonalności
835wyszukiwania. Nakładka może być używana z dowolnym backendem
836utrzymującym atrybuty entryCSN i entryUUID dla swoich wpisów. Tworzy
837także atrybut contextCSN w głównym elemencie bazy.
0b5bf075 838
839%package overlay-translucent
840Summary: Translucent Proxy overlay for OpenLDAP server
c4a13d8f 841Summary(pl.UTF-8): Nakładka Translucent Proxy dla serwera OpenLDAP
0b5bf075 842Group: Networking/Daemons
8ad94e97 843Requires(post,preun): sed >= 4.0
0b5bf075 844Requires: %{name}-servers = %{version}-%{release}
845
846%description overlay-translucent
cd2ddb7a 847The Translucent Proxy overlay can be used with a backend database such
246346cd
JR
848as slapd-bdb to create a "translucent proxy". Entries retrieved from a
849remote LDAP server may have some or all attributes overridden, or new
850attributes added, by entries in the local database before being
cd2ddb7a 851presented to the client.
0b5bf075 852
ff5de027
JR
853%description overlay-translucent -l pl.UTF-8
854Nakładka Translucent Proxy może być używana wraz z bazą danych taką
246346cd
JR
855jak slapd-bdb do stworzenia "przezroczystego proxy". Wpisy otrzymane
856ze zdalnego serwera LDAP mogą mieć nadpisane niektóre lub wszystkie
857atrybuty, albo dodane nowe atrybuty poprzez wpisy w lokalnej bazie
858danych przed przekazaniem do klienta.
0b5bf075 859
860%package overlay-unique
861Summary: Uniqueness overlay for OpenLDAP server
c4a13d8f 862Summary(pl.UTF-8): Nakładka sprawdzająca unikatowość dla serwera OpenLDAP
0b5bf075 863Group: Networking/Daemons
8ad94e97 864Requires(post,preun): sed >= 4.0
0b5bf075 865Requires: %{name}-servers = %{version}-%{release}
866
867%description overlay-unique
868The Attribute Uniqueness overlay can be used to enforce the uniqueness
869of some or all attributes within a subtree.
870
ff5de027
JR
871%description overlay-unique -l pl.UTF-8
872Nakładka sprawdzająca unikatowość służy do wymuszania unikatowości
873atrybutów w poddrzewie LDAP.
0b5bf075 874
2b5ce79c
JB
875%package overlay-valsort
876Summary: Valsort overlay for OpenLDAP server
c4a13d8f 877Summary(pl.UTF-8): Nakładka valsort dla serwera OpenLDAP
2b5ce79c 878Group: Networking/Daemons
8ad94e97 879Requires(post,preun): sed >= 4.0
2b5ce79c
JB
880Requires: %{name}-servers = %{version}-%{release}
881
882%description overlay-valsort
883This overlay sorts the values of multi-valued attributes when
884returning them in a search response.
885
ff5de027
JR
886%description overlay-valsort -l pl.UTF-8
887Ta nakładka sortuje wartości wielowartościowych atrybutów przy
888zwracaniu ich jako odpowiedź przy wyszukiwaniu.
2b5ce79c 889
5a069025
JR
890# contrib overlays
891
892%package overlay-addpartial
893Summary: Addpartial overlay for OpenLDAP server
894Summary(pl.UTF-8): Nakładka addpartial dla serwera OpenLDAP
0513c83b 895Group: Networking/Daemons
5a069025
JR
896Requires(post,preun): sed >= 4.0
897Requires: %{name}-servers = %{version}-%{release}
0513c83b 898
5a069025 899%description overlay-addpartial
cf3b1381
JR
900This overlay intercepts ADD requests, determines if a change has
901actually taken place for that record, and then performs a modify
902request for those values that have changed (modified, added, deleted).
246346cd 903If the record has not changed in any way, it is ignored. This overlay
7675a18c 904is useful for replicating from sources that are not LDAPs where it is
246346cd
JR
905easier to build entire records than to determine the changes (i.e. a
906database).
0513c83b 907
5a069025 908%description overlay-addpartial -l pl.UTF-8
7675a18c
JR
909Ta nakładka przechwytuje operacje ADD, sprawdza czy dla danego rekordu
910rzeczywiście zmiana miała miejsce i wykonuje operacje modyfikacji
911jedynie dla tych atrybutów, które się zmieniły. Jeżeli rekord nie
246346cd
JR
912został zmieniony, operacja jest ignorowana. Nakładka jest użyteczna w
913przypadku migracji danych z nie-LDAPowych źródeł dla których prościej
914jest utworzyć pełne rekordy niż znaleźć zmiany (np. baza danych).
0513c83b 915
5a069025 916%package overlay-allop
cf3b1381
JR
917Summary: All Operational Attributes overlay for OpenLDAP server
918Summary(pl.UTF-8): Nakładka All Operational Attributes dla serwera OpenLDAP
5a069025
JR
919Group: Networking/Daemons
920Requires(post,preun): sed >= 4.0
921Requires: %{name}-servers = %{version}-%{release}
0513c83b 922
5a069025 923%description overlay-allop
cf3b1381
JR
924The All Operational Attributes overlay is designed to allow slapd to
925interoperate with dumb clients that expect all attributes, including
926operational ones, to be returned when "*" or an empty attribute list
927is requested, as opposed to RFC2251 and RFC3673.
0513c83b 928
5a069025 929%description overlay-allop -l pl.UTF-8
7675a18c
JR
930Nakładka All Operational Attributes pozwala serwerowi na współpracę z
931głupimi klientami, które spodziewają się wszystkich atrybutów,
932włącznie z operacyjnymi, w przypadku wyszukiwania "*" albo pustej
933listy atrybutów, co jest niezgodne z RFC2251 i RFC3673.
0513c83b 934
5a069025 935%package overlay-allowed
cf3b1381
JR
936Summary: Allowed Attributes overlay for OpenLDAP server
937Summary(pl.UTF-8): Nakładka Allowed Attributes dla serwera OpenLDAP
5a069025
JR
938Group: Networking/Daemons
939Requires(post,preun): sed >= 4.0
940Requires: %{name}-servers = %{version}-%{release}
0513c83b 941
5a069025 942%description overlay-allowed
7675a18c
JR
943This overlay returns the attributes required/allowed by the
944objectClasses that are currently present in an object in the
246346cd
JR
945allowedAttributes attribute, and the subset of the above that can be
946written by the identity that performs the search in the
7675a18c 947allowedAttributesEffective attribute.
0513c83b 948
5a069025 949%description overlay-allowed -l pl.UTF-8
7675a18c
JR
950Ta nakładka zwraca atrybuty wymagane/dozwolone przez klasy
951(objectClass), które są obecnie obecne w obiekcie w atrybucie
246346cd
JR
952allowedAttributes, i ich podzbiór, który może być zapisywany przez
953wyszukującego w atrybucie allowedAttributesEffective.
0513c83b 954
5a069025 955%package overlay-autogroup
cf3b1381
JR
956Summary: Automatic Group overlay for OpenLDAP server
957Summary(pl.UTF-8): Nakładka Automatic Group dla serwera OpenLDAP
5a069025
JR
958Group: Networking/Daemons
959Requires(post,preun): sed >= 4.0
960Requires: %{name}-servers = %{version}-%{release}
0513c83b 961
5a069025 962%description overlay-autogroup
cf3b1381
JR
963The autogroup overlay allows automated updates of group memberships
964which meet the requirements of any filter contained in the group
7675a18c 965definition.
5a069025
JR
966
967%description overlay-autogroup -l pl.UTF-8
7675a18c
JR
968Nakładka Automatic Group pozwala na automatyczne zmiany zawartości
969grup, które pasują do dowolnego filtru zawartego w definicji grupy.
5a069025
JR
970
971%package overlay-cloak
cf3b1381
JR
972Summary: Attribute Cloak overlay for OpenLDAP server
973Summary(pl.UTF-8): Nakładka Attribute Cloak dla serwera OpenLDAP
5a069025
JR
974Group: Networking/Daemons
975Requires(post,preun): sed >= 4.0
976Requires: %{name}-servers = %{version}-%{release}
977
978%description overlay-cloak
cf3b1381 979The cloak overlay allows the server to hide specific attributes,
246346cd 980unless explicitely requested by the client. This improve performance
cf3b1381 981when a client requests all attributes and get a huge binary attribute
246346cd 982that is of no interest for it. This behavior is disabled when the
cf3b1381 983manageDSAit control (RFC 3296) is used.
5a069025
JR
984
985%description overlay-cloak -l pl.UTF-8
7675a18c
JR
986Nakładka Attribute Cloak pozwala ukryć określone atrybuty, o ile nie
987są one jawnie żądane przez klienta. Pozwala to na poprawienie
988wydajności, gry klient żąda wszystkich atrybutów i otrzynuje ogromny
989blob binarny, którym nie jest zainteresowany. To zachowanie jest
990wyłączone, jeżeli jest używany manageDSAit (RFC 3296).
5a069025
JR
991
992%package overlay-denyop
cf3b1381 993Summary: Deny Operations overlay for OpenLDAP server
6f598e89 994Summary(pl.UTF-8): Nakładka zabraniająca wykonania operacji dla serwera OpenLDAP
5a069025
JR
995Group: Networking/Daemons
996Requires(post,preun): sed >= 4.0
997Requires: %{name}-servers = %{version}-%{release}
998
999%description overlay-denyop
6f598e89
JR
1000This overlay provides a quick'n'easy way to deny selected operations
1001for a database whose backend implements the operations. It is intended
1002to be less expensive than ACLs because its evaluation occurs before
1003any backend specific operation is actually even initiated.
5a069025
JR
1004
1005%description overlay-denyop -l pl.UTF-8
6f598e89
JR
1006Ta nakładka udostępnia szybki i łatwy sposób na blokowanie wybranych
1007operacji dla bazy danych, której backend implementuje te operacje. Ma
1008być mniej kosztowna niż ACL-e, ponieważ obliczenia zachodzą przed
1009rozpoczęciem jakichkolwiek operacji specyficznych dla backendu.
5a069025
JR
1010
1011%package overlay-dsaschema
cf3b1381
JR
1012Summary: DSA Schema overlay for OpenLDAP server
1013Summary(pl.UTF-8): Nakładka DSA Schema dla serwera OpenLDAP
5a069025
JR
1014Group: Networking/Daemons
1015Requires(post,preun): sed >= 4.0
1016Requires: %{name}-servers = %{version}-%{release}
1017
1018%description overlay-dsaschema
cf3b1381
JR
1019This overlay permits the loading of DSA-specific schema from
1020configuration files (including operational attributes).
5a069025
JR
1021
1022%description overlay-dsaschema -l pl.UTF-8
7675a18c
JR
1023Ta nakładka umożliwia ładowanie schematów DSA bezpośrednio z plików
1024konfiguracyjnych.
5a069025
JR
1025
1026%package overlay-dupent
cf3b1381
JR
1027Summary: Duplicate Entry overlay for OpenLDAP server
1028Summary(pl.UTF-8): Nakładka Duplicate Entry dla serwera OpenLDAP
5a069025
JR
1029Group: Networking/Daemons
1030Requires(post,preun): sed >= 4.0
1031Requires: %{name}-servers = %{version}-%{release}
1032
1033%description overlay-dupent
cf3b1381
JR
1034LDAP Control for a Duplicate Entry Representation of Search Results
1035<draft-ietf-ldapext-ldapv3-dupent-08.txt> (EXPIRED)
1036<http://tools.ietf.org/id/draft-ietf-ldapext-ldapv3-dupent-08.txt>
5a069025
JR
1037
1038%description overlay-dupent -l pl.UTF-8
7675a18c
JR
1039Nakładka implemetująca "Duplicate Entry Representation of Search
1040Results" <draft-ietf-ldapext-ldapv3-dupent-08.txt> (EXPIRED)
1041<http://tools.ietf.org/id/draft-ietf-ldapext-ldapv3-dupent-08.txt>
5a069025
JR
1042
1043%package overlay-kinit
1044Summary: Kinit overlay for OpenLDAP server
1045Summary(pl.UTF-8): Nakładka kinit dla serwera OpenLDAP
1046Group: Networking/Daemons
1047Requires(post,preun): sed >= 4.0
1048Requires: %{name}-servers = %{version}-%{release}
1049
1050%description overlay-kinit
cf3b1381
JR
1051This overlay requests a Kerberos TGT and keeps it renewed as long as
1052slapd is running.
5a069025
JR
1053
1054%description overlay-kinit -l pl.UTF-8
7675a18c
JR
1055Ta nakładka pobiera kerberosowy TGT i utrzymuje jego ważność tak
1056długo, jak długo serwer jest uruchomiony.
5a069025
JR
1057
1058%package overlay-lastbind
cf3b1381
JR
1059Summary: Last Bind overlay for OpenLDAP server
1060Summary(pl.UTF-8): Nakładka Last Bind dla serwera OpenLDAP
5a069025
JR
1061Group: Networking/Daemons
1062Requires(post,preun): sed >= 4.0
1063Requires: %{name}-servers = %{version}-%{release}
1064
1065%description overlay-lastbind
cf3b1381
JR
1066The lastbind overlay allows recording the timestamp of the last
1067successful bind to entries in the directory, in the authTimestamp
246346cd
JR
1068attribute. One sample use for this overlay would be to detect unused
1069accounts.
5a069025
JR
1070
1071%description overlay-lastbind -l pl.UTF-8
7675a18c
JR
1072Nakładka lastbind pozwala na zapisywanie czsu ostaniej udanej operacji
1073BIND w atrybucie authTimestamp. Przykładowo można wykorzystać ja do
1074wykrycia nieużywanych kont.
5a069025
JR
1075
1076%package overlay-lastmod
cf3b1381 1077Summary: Last Modification overlay for OpenLDAP server
6f598e89 1078Summary(pl.UTF-8): Nakładka Last Modification dla serwera OpenLDAP
5a069025
JR
1079Group: Networking/Daemons
1080Requires(post,preun): sed >= 4.0
1081Requires: %{name}-servers = %{version}-%{release}
1082
1083%description overlay-lastmod
6f598e89
JR
1084The lastmod overlay creates a service entry rooted at the suffix of
1085the database it's stacked onto, which holds the DN, the modification
1086type, the modifiersName and the modifyTimestamp of the last write
1087operation performed on that database.
5a069025
JR
1088
1089%description overlay-lastmod -l pl.UTF-8
6f598e89
JR
1090Nakładka lastmod tworzy wpis usługi zaczynający się od przyrostka bazy
1091danych, na której jest oparty, trzymający DN, rodzaj modyfikacji,
1092modifiersName i modifyTimestamp dla ostatniej operacji zapisu
1093wykonywanej na tej bazie.
5a069025
JR
1094
1095%package overlay-noopsrch
1096Summary: Noopsrch overlay for OpenLDAP server
1097Summary(pl.UTF-8): Nakładka noopsrch dla serwera OpenLDAP
1098Group: Networking/Daemons
1099Requires(post,preun): sed >= 4.0
1100Requires: %{name}-servers = %{version}-%{release}
1101
1102%description overlay-noopsrch
cf3b1381 1103LDAP Control that counts entries a search would return.
5a069025
JR
1104
1105%description overlay-noopsrch -l pl.UTF-8
7675a18c 1106Noopsrch zlicza pozycje, które zostałyby zwrócone przez wyszukiwanie.
5a069025
JR
1107
1108%package overlay-nops
cf3b1381
JR
1109Summary: Remove Null Operations overlay for OpenLDAP server
1110Summary(pl.UTF-8): Nakładka Remove Null Operations dla serwera OpenLDAP
5a069025
JR
1111Group: Networking/Daemons
1112Requires(post,preun): sed >= 4.0
1113Requires: %{name}-servers = %{version}-%{release}
1114
1115%description overlay-nops
cf3b1381 1116Some broken client tend to implement modifications as replace
246346cd
JR
1117operations where all attributes are replaced, most of the time by the
1118same values they had before. This can cause undesirable load on logs,
1119ACL evaluation, or replication trafic. This overlay detects idempotent
1120replace operations and filters them out.
5a069025
JR
1121
1122%description overlay-nops -l pl.UTF-8
7675a18c 1123Niektórzy, błędni klienci implementują modyfikacje jako operacje
246346cd
JR
1124"replace", w których wszystkie atrybuty ulegają zmianie, przeważnie na
1125takie same wartości jak przed modyfikacją. Może powodować to
1126niepożądane obciążenie logów, obliczenia ACL albo replikacje. Ta
1127nakładka wykrywa i odfiltrowuje idempotentne operacje "replace".
5a069025 1128
edb9ed3d
JR
1129%package overlay-nssov
1130Summary: NSS overlay for OpenLDAP server
1131Summary(pl.UTF-8): Nakładka NSS dla serwera OpenLDAP
1132Group: Networking/Daemons
1133Requires(post,preun): sed >= 4.0
1134Requires: %{name}-servers = %{version}-%{release}
1135Provides: nslcd
1136Conflicts: openldap-schema-pam_ldap
1137
1138%description overlay-nssov
1139The nssov overlay handles NSS lookup requests through a local Unix
1140Domain socket. It uses the same IPC protocol as Arthur de Jong's
1141nss-ldapd.
1142
1143%description overlay-nssov -l pl.UTF-8
1144Nakładka nssov obsługuje żądania wyszukiwania NSS poprzez lokalne
1145gniazdo Unix Domain. Używa tego samego protokołu IPC, co nss-ldapd
1146Arthura de Jong.
1147
5a069025
JR
1148%package overlay-proxyOld
1149Summary: ProxyOld overlay for OpenLDAP server
1150Summary(pl.UTF-8): Nakładka proxyOld dla serwera OpenLDAP
1151Group: Networking/Daemons
1152Requires(post,preun): sed >= 4.0
1153Requires: %{name}-servers = %{version}-%{release}
1154
1155%description overlay-proxyOld
cf3b1381
JR
1156This overlay provides support for the obsolete
1157draft-weltman-ldapb3-proxy-05 revision of the LDAP Proxy Authorization
246346cd
JR
1158control. It is merely intended to provide compatibility in
1159environments where other servers only recognize this old control. New
1160installations should not use this code.
5a069025
JR
1161
1162%description overlay-proxyOld -l pl.UTF-8
7675a18c 1163Ta nakładka udostępnia wsparcie dla przestarzałego draftu
246346cd
JR
1164draft-weltman-ldapb3-proxy-05 Autoryzacji LDAP Proxy. Jest
1165przeznaczona tylko dla kompatybilności ze starymi serwerami, nie
1166powinna byc używana w nowych instalacjach.
5a069025
JR
1167
1168%package overlay-samba4
1169Summary: Samba4 overlays for OpenLDAP server
cf3b1381 1170Summary(pl.UTF-8): Nakładki Samba4 dla serwera OpenLDAP
5a069025
JR
1171Group: Networking/Daemons
1172Requires(post,preun): sed >= 4.0
1173Requires: %{name}-servers = %{version}-%{release}
1174
1175%description overlay-samba4
6b6115e3
ER
1176This package contains overlays specific to samba4 LDAP backend. pguid
1177overlay maintains the operational attribute "parentUUID". It contains
1178the entryUUID of the parent entry. rdnval overlay maintains the
1179operational attribute "rdnValue". It contains the value of the entry's
1180RDN. vernum overlay increments a counter any time an attribute is
1181modified. It is intended to increment the counter
1182'msDS-KeyVersionNumber' when the attribute 'unicodePwd' is modified.
5a069025
JR
1183
1184%description overlay-samba4 -l pl.UTF-8
7675a18c
JR
1185Ten pakiet zawiera nakładki specyficzne dla backendu LDAP samba4.
1186pguid obsługuje atrybut operacyjny "parentUUID", który zawiera
6b6115e3
ER
1187entryUUID nadrzędnej pozycji. rdnval obsługuje atrybut operacyjny
1188"rdnValue", który zawiera wartość RDN danej pozycji. vernum zwiększa
1189licznik za każdym razem gdy jakiś atrybut jest modyfikowany. Jest
1190przeznaczony do zwiększania licznika 'msDS-KeyVersionNumber' gdy
1191modyfikowany jest atrybut 'unicodePwd'.
5a069025 1192
edb9ed3d
JR
1193%package overlay-smbk5pwd
1194Summary: smbk5pwd overlay for OpenLDAP server
1195Summary(pl.UTF-8): Nakładka smbk5pwd dla serwera OpenLDAP
1196Group: Networking/Daemons
1197Requires(post,preun): sed >= 4.0
1198Requires: %{name}-servers = %{version}-%{release}
1199
1200%description overlay-smbk5pwd
1201smbk5pwd overlay extends the PasswordModify Extended Operation to
1202update Kerberos keys and Samba password hashes for an LDAP user.
1203
1204%description overlay-smbk5pwd -l pl.UTF-8
1205Nakładka smbk5pwd rozszerza rozszerzoną operację PasswordModify o
1206uaktualnianie kluczy Kerberosa i skrótów haseł Samby dla użytkownika
1207LDAP.
1208
5a069025
JR
1209%package overlay-trace
1210Summary: Trace overlay for OpenLDAP server
cf3b1381 1211Summary(pl.UTF-8): Nakładka Trace dla serwera OpenLDAP
5a069025
JR
1212Group: Networking/Daemons
1213Requires(post,preun): sed >= 4.0
1214Requires: %{name}-servers = %{version}-%{release}
1215
1216%description overlay-trace
cf3b1381 1217Overlay to trace overlay invocation.
5a069025
JR
1218
1219%description overlay-trace -l pl.UTF-8
7675a18c 1220Nakładka śledząca wywołania nakładek.
0513c83b 1221
9ba5699f 1222%prep
52ca5fbf 1223%setup -q -c %{!?with_system_db:-a1}
465066ab 1224%{!?with_system_db:%patch18 -p0}
1be75b6b
ER
1225%{!?with_system_db:mv db-%{db_version} db}
1226mv %{name}-%{version} %{name}
1227cd %{name}
49008fae 1228%patch0 -p1
2ac7ae8e 1229%patch1 -p1
01ccad80 1230%patch2 -p1
98e30587 1231%patch3 -p1
c2b56acf 1232%patch4 -p1
49bb1727 1233%patch5 -p1
1234%patch6 -p1
8162fdf0 1235%patch7 -p1
49bb1727 1236%patch8 -p1
9da90c5b 1237%patch9 -p1
e6c8336f 1238%patch10 -p1
f1a806bb 1239%patch11 -p1
7c24fec1 1240%patch12 -p1
fb3a2277
ER
1241%patch13 -p1
1242%patch14 -p1
7c24fec1 1243%patch15 -p1
abc77317 1244%patch16 -p1
0b661224 1245%patch19 -p1
cd325020 1246%patch20 -p1
465066ab 1247%patch22 -p1
a20af413 1248%patch23 -p1
8a71fe0b 1249%if %{with krb5}
abc77317 1250%patch17 -p1
13336510 1251%endif
0dfd1fe6
JB
1252%if %{with nondist}
1253# disable check for compatible DB package (< 6.0.20)
1254%{__sed} -i -e 's/0x060014/0xFFFFFF/' build/openldap.m4
1255%endif
415f3589
JR
1256cd ..
1257
cacee0b3 1258%if %{without system_db}
1be75b6b 1259install -d db/build-rpm
cacee0b3 1260%endif
415f3589 1261
cacee0b3 1262%if %{with exchange}
415f3589
JR
1263# Set up a build tree for a static version of libldap with the hooks for the
1264# non-standard NTLM bind type which is needed to connect to Win2k GC servers
1265# (Win2k3 supports SASL with DIGEST-MD5, so this shouldn't be needed for those
1266# servers, though as of version 1.4 the exchange doesn't try SASL first).
1be75b6b
ER
1267if ! cp -al %{name} evo-%{name}; then
1268 rm -rf evo-%{name}
1269 cp -a %{name} evo-%{name}
415f3589 1270fi
1be75b6b 1271cd evo-%{name}
415f3589 1272%patch100 -p0
cacee0b3 1273%endif
49bb1727 1274
9ba5699f 1275%build
cacee0b3 1276%if %{without system_db}
7cf60e21 1277dbdir=$(pwd)/db-instroot
1be75b6b 1278cd db/build-rpm
415f3589
JR
1279
1280CC="%{__cc}"
1281CXX="%{__cxx}"
1282CFLAGS="%{rpmcflags}"
1283CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
1284LDFLAGS="%{rpmcflags} %{rpmldflags}"
1285export CC CXX CFLAGS CXXFLAGS LDFLAGS
1286
415f3589 1287../dist/%configure \
7cf60e21 1288 --cache-file=%{?configure_cache_file}%{!?configure_cache_file:configure}-db.cache \
0483dfdb
JR
1289 --disable-compat185 \
1290 --disable-dump185 \
415f3589
JR
1291 --disable-java \
1292 --disable-tcl \
1293 --disable-cxx \
1294 --with-pic \
1295 --disable-static \
1296 --enable-shared \
1297 --with-uniquename=_openldap \
1298 --prefix=${dbdir} \
1299 --exec-prefix=${dbdir} \
1300 --bindir=${dbdir}/bin \
1301 --includedir=${dbdir}/include \
1302 --libdir=${dbdir}/%{_lib}
1303
cacee0b3
JB
1304%{__make} \
1305 libdb_base=libslapd_db \
1306 libso_base=libslapd_db
1307%{__make} install \
1308 libdb_base=libslapd_db \
1309 libso_base=libslapd_db \
1310 strip="false"
415f3589
JR
1311ln -sf libslapd_db.so ${dbdir}/%{_lib}/${subdir}/libdb.so
1312
cacee0b3
JB
1313cd ../..
1314%endif
1315
1be75b6b 1316cd %{name}
415f3589 1317
58bb5ab2 1318CPPFLAGS="%{!?with_system_db:-I${dbdir}/include -D__lock_getlocker=__lock_getlocker_openldap }-I/usr/include/ncurses"
fe63c743 1319CFLAGS="%{rpmcflags} $CPPFLAGS -D_REENTRANT -fPIC -D_GNU_SOURCE"
415f3589 1320CXXFLAGS="%{rpmcflags} $CPPFLAGS -D_REENTRANT -fPIC"
a3616630
JB
1321LDFLAGS="%{rpmcflags} %{rpmldflags}%{!?with_system_db: -L${dbdir}/%{_lib}}"
1322export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
1323%if %{without system_db}
1324export LD_LIBRARY_PATH=${dbdir}/%{_lib}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
1325%endif
415f3589 1326
903d8149 1327%{__libtoolize} --install
8162fdf0
JB
1328%{__aclocal}
1329%{__autoconf}
8162fdf0 1330%configure \
92ef7112 1331 --enable-dynamic \
1c1ecf86 1332 --enable-syslog \
1c1ecf86 1333 --enable-ipv6 \
1334 --enable-local \
92ef7112 1335 --enable-slapd \
7f282e24 1336 --enable-dynacl \
00d6dcb1 1337 --enable-aci \
1c1ecf86 1338 --enable-crypt \
00d6dcb1 1339 --enable-lmpasswd \
92ef7112
JR
1340 --enable-modules \
1341 --enable-rewrite \
1342 --enable-rlookups \
7f282e24 1343 --enable-slapi \
4eeb8a05 1344%if %{with sasl}
1345 --with-cyrus-sasl \
1346 --enable-spasswd \
6c6029ef 1347%else
1348 --without-cyrus-sasl \
4eeb8a05 1349%endif
4eeb8a05 1350%if %{with slp}
1351 --enable-slp \
1352%else
1353 --disable-slp \
1354%endif
1c1ecf86 1355 --enable-wrappers \
0483dfdb
JR
1356 --enable-bdb=mod \
1357 --enable-dnssrv=mod \
1358 --enable-hdb=mod \
1359 --enable-ldap=mod \
fc2298ec 1360 --enable-mdb=mod \
0483dfdb
JR
1361 --enable-meta=mod \
1362 --enable-monitor=mod \
7f282e24
JR
1363%if %{with ndb}
1364 --enable-ndb=mod \
1365%endif
0483dfdb
JR
1366 --enable-null \
1367 --enable-passwd=mod \
1368%if %{with perl}
1369 --enable-perl=mod \
1370%endif
1371 --enable-relay=mod \
1372 --enable-shell=mod \
9be24455 1373 --enable-sock=mod \
4eeb8a05 1374%if %{with odbc}
0483dfdb 1375 --enable-sql=mod \
92ef7112 1376 --with-odbc=unixodbc \
4eeb8a05 1377%endif
0483dfdb 1378 --enable-overlays=mod \
92ef7112
JR
1379 --with-threads \
1380 --with-tls \
1381 --with-yielding-select \
6f4b6ad2 1382 --with-mp=longlong
dac054ba 1383
fb3a2277 1384%{__make} -j1 depend
80857a07 1385%{__make}
8a71fe0b 1386%{__make} -C contrib/slapd-modules
06a6b837 1387
cacee0b3 1388install -d libs
92ef7112 1389for d in liblber libldap libldap_r ; do
cacee0b3
JB
1390 ln -sf ../libraries/$d/.libs/$d.la libs/$d.la
1391 ln -sf ../libraries/$d/.libs/$d.so libs/$d.so
92ef7112
JR
1392done
1393
7cf60e21 1394__topdir=$(pwd)
12962656 1395%if %{with sasl}
92ef7112 1396cd contrib/ldapc++
16d850ae 1397%{__libtoolize}
92ef7112
JR
1398%{__aclocal}
1399%{__automake}
1400%{__autoconf}
1401%configure \
1402 --with-libldap=$__topdir/libs \
1403 --with-ldap-includes=$__topdir/include
1404%{__make}
d53aa8fd 1405%endif
e6c8336f 1406
cacee0b3 1407%if %{with exchange}
415f3589
JR
1408# Build evolution-specific clients just as we would normal clients,
1409# except with a different installation directory in mind
1410# and no shared libraries.
1be75b6b 1411cd ../../../evo-%{name}
415f3589 1412
903d8149 1413%{__libtoolize} --install
415f3589
JR
1414%{__aclocal}
1415%{__autoconf}
1416%configure \
1417 --includedir=%{evolution_exchange_includedir} \
1418 --libdir=%{evolution_exchange_libdir} \
1419 --disable-dynamic \
1420 --disable-slapd \
1421 --disable-shared \
1422 --enable-static \
1423 --enable-syslog \
1424 --enable-ipv6 \
1425 --enable-local \
7f282e24 1426 --enable-dynacl \
415f3589
JR
1427 --enable-aci \
1428 --enable-crypt \
1429 --enable-lmpasswd \
1430 --enable-modules \
1431 --enable-rewrite \
1432 --enable-rlookups \
7f282e24 1433 --enable-slapi \
415f3589
JR
1434%if %{with sasl}
1435 --with-cyrus-sasl \
1436 --enable-spasswd \
1437%else
1438 --without-cyrus-sasl \
1439%endif
1440%if %{with slp}
1441 --enable-slp \
1442%else
1443 --disable-slp \
1444%endif
1445 --enable-wrappers \
9be24455 1446 --enable-backends=no \
0483dfdb 1447 --enable-overlays=no \
415f3589 1448%if %{with odbc}
415f3589 1449 --with-odbc=unixodbc \
415f3589 1450%endif
415f3589
JR
1451 --with-threads \
1452 --with-tls \
1453 --with-yielding-select \
6f4b6ad2 1454 --with-mp=longlong
8884384d 1455# --with-gssapi currently not supported
415f3589
JR
1456
1457%{__make} -j1 depend
1458%{__make}
cacee0b3 1459%endif
415f3589 1460
654a3163 1461%install
9ba5699f 1462rm -rf $RPM_BUILD_ROOT
de61f90b 1463install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},/var/lib/openldap-data} \
5c5f46b8 1464 $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{schemadir}} \
1729bf34 1465 $RPM_BUILD_ROOT/var/run/{slapd,nslcd} \
6b6115e3 1466 $RPM_BUILD_ROOT%{systemdtmpfilesdir}
415f3589 1467
cacee0b3 1468%if %{with exchange}
415f3589 1469# Install evolution hack first and remove everything but devel stuff
1be75b6b 1470%{__make} -C evo-%{name} install \
415f3589 1471 DESTDIR=$RPM_BUILD_ROOT
aed6fee5
JB
1472%{__rm} -r $RPM_BUILD_ROOT{%{_sysconfdir}/openldap,%{_bindir},%{_mandir}}/*
1473%{__rm} $RPM_BUILD_ROOT%{evolution_exchange_libdir}/*.la
7cf60e21 1474cp -p %{SOURCE100} $RPM_BUILD_ROOT%{evolution_exchange_prefix}/README.evolution
cacee0b3 1475%endif
415f3589 1476
cacee0b3 1477%if %{without system_db}
7cf60e21 1478dbdir=$(pwd)/db-instroot
cacee0b3 1479cd db-instroot
7cf60e21 1480install -p %{_lib}/libslapd_db-*.*.so $RPM_BUILD_ROOT%{_libdir}
415f3589
JR
1481cd bin
1482for binary in db_* ; do
7cf60e21 1483 install -p -m755 ${binary} $RPM_BUILD_ROOT%{_sbindir}/slapd_${binary}
415f3589
JR
1484done
1485
cacee0b3
JB
1486cd ../..
1487%endif
1488
1be75b6b 1489cd %{name}
9ba5699f 1490
1c1ecf86 1491%{__make} install \
1492 DESTDIR=$RPM_BUILD_ROOT
dac054ba 1493
8a71fe0b 1494%{__make} -C contrib/slapd-modules install \
de77a786 1495 DESTDIR=$RPM_BUILD_ROOT
06a6b837 1496
aed6fee5
JB
1497%{!?with_ndb:%{__rm} $RPM_BUILD_ROOT%{_mandir}/man5/slapd-ndb.5}
1498
7cf60e21
ER
1499install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/ldap
1500cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/ldap
62af02c0 1501
26b19af9 1502# Config for openldap library
7cf60e21 1503cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/openldap/ldap.conf
d3bbb863
JR
1504echo ".so ldap.conf.5" >$RPM_BUILD_ROOT%{_mandir}/man5/ldaprc.5
1505
26b19af9 1506# Config for nss_ldap and pam_ldap
7cf60e21 1507cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/ldap.conf
6b6115e3
ER
1508cp -p %{SOURCE6} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/slapd.conf
1509cp -p %{SOURCE7} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/nssov.conf
09d199da 1510
7cf60e21 1511%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/openldap/*.{default,example}
00d6dcb1 1512
01ccad80 1513# Standard schemas should not be changed by users
7cf60e21 1514mv $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/* $RPM_BUILD_ROOT%{_datadir}/openldap/schema
a715c6fb 1515
a226741c 1516# create slapd.access.conf
8e75e573 1517echo "# This is a good place to put slapd access-control directives" > \
ea1d098d 1518 $RPM_BUILD_ROOT%{_sysconfdir}/openldap/slapd.access.conf
a226741c 1519
31a3e905 1520# create local.schema
8e75e573 1521echo "# This is a good place to put your schema definitions " > \
ea1d098d 1522 $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/local.schema
a226741c 1523
d6e577e9 1524%if %{with sasl}
cacee0b3 1525%{__make} -C contrib/ldapc++ install \
92ef7112 1526 DESTDIR=$RPM_BUILD_ROOT
d53aa8fd 1527%endif
92ef7112 1528
9be24455 1529%if %{without system_db}
7cf60e21 1530find $RPM_BUILD_ROOT -name '*.la' | xargs sed -i -e "s|-L${dbdir}/%{_lib}||g"
9be24455
JR
1531%endif
1532
d6deed33 1533# files for -headers subpackage
1534install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/ac
7cf60e21
ER
1535cp -p include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1536cp -p include/ac/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/ac
d6deed33 1537
1538# remove headers, that are provided by -devel package
1539for I in $RPM_BUILD_ROOT%{_includedir}/*.h; do
7cf60e21 1540 rm $RPM_BUILD_ROOT%{_includedir}/%{name}/$(basename $I)
d6deed33 1541done
1542
8a71fe0b
JR
1543# check for undefined symbols in slapd modules
1544for i in $RPM_BUILD_ROOT%{_libdir}/openldap/*.so ; do
1545 if LD_PRELOAD=$RPM_BUILD_ROOT%{_libdir}/liblber-2.4.so.2:$RPM_BUILD_ROOT%{_libdir}/libldap_r-2.4.so.2:%{!?with_system_db:$RPM_BUILD_ROOT%{_libdir}/libslapd_db-4.6.so:}$RPM_BUILD_ROOT%{_sbindir}/slapd ldd -r $i 2>&1 | grep "undefined symbol"; then
1546 echo "Undefined symbols found in" $i
1547 exit 1
1548 fi
1549done
1550
6b6115e3
ER
1551# bogus include
1552%{__sed} -i -e '/^\.so \.\.\/Project/d' $RPM_BUILD_ROOT%{_mandir}/man5/slapo-nops.5
1553
4a0640f5
JB
1554%clean
1555rm -rf $RPM_BUILD_ROOT
1556
0513c83b 1557%post libs -p /sbin/ldconfig
f6699879 1558%postun libs -p /sbin/ldconfig
42d889ce 1559
92ef7112
JR
1560%post ldapc++ -p /sbin/ldconfig
1561%postun ldapc++ -p /sbin/ldconfig
1562
01ccad80 1563%pre servers
679e14a3
ER
1564%groupadd -P %{name}-servers -g 93 slapd
1565%useradd -P %{name}-servers -u 93 -s /bin/false -g slapd -c "OpenLDAP server" -d /var/lib/openldap-data slapd
01ccad80 1566
9ba5699f 1567%post servers
707b1df7 1568/sbin/chkconfig --add ldap
5d6d7c44 1569
8ad94e97
ER
1570# minimizing restarts logics. we restart server:
1571#
1572# 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1573# 2. first install of module (post: $1 == 1)
1574# 2. uninstall of module (postun: $1 == 0)
1575#
1576# the strict internal deps between modules and
1577# server package are very important for all this to work.
1578
1579%posttrans servers
1580%service ldap restart "OpenLDAP server"
8162fdf0 1581
a226741c 1582%preun servers
8d0eaa23 1583if [ "$1" = "0" ] ; then
8ad94e97 1584 %service ldap stop
943aad65 1585 /sbin/chkconfig --del ldap || :
707b1df7
JB
1586fi
1587
1588%postun servers
1589if [ "$1" = "0" ]; then
f6699879 1590 %userremove slapd
1591 %groupremove slapd
8d0eaa23 1592fi
dac054ba 1593
fd259dde 1594%define ldap_module_add() \
d212a240 1595%{__sed} -i -e 's/^#[[:blank:]]*moduleload[[:blank:]]\\+%1[[:blank:]]*$/moduleload %1/' %{_sysconfdir}/openldap/slapd.conf \
8ad94e97
ER
1596if [ "$1" = "1" ]; then \
1597 %service ldap restart "OpenLDAP server" \
d212a240
ER
1598fi \
1599%{nil}
fd259dde
ER
1600
1601%define ldap_module_remove() \
8ad94e97 1602if [ "$1" = "0" ]; then \
6f869072 1603 %{__sed} -i -e 's/^[[:blank:]]*moduleload[[:blank:]]\\+%1[[:blank:]]*$/# moduleload %1/' %{_sysconfdir}/openldap/slapd.conf \
8ad94e97 1604 %service ldap restart "OpenLDAP server" \
d212a240
ER
1605fi \
1606%{nil}
00d6dcb1 1607
5a069025
JR
1608%triggerpostun servers -- openldap-servers < 2.1.12
1609if [ "`/usr/bin/getent passwd slapd | cut -d: -f6`" = "/var/lib/openldap-ldbm" ]; then
1610 /usr/sbin/usermod -d /var/lib/openldap-data slapd
1611fi
1612
fd259dde
ER
1613%post backend-bdb
1614%ldap_module_add back_bdb.la
1615
00d6dcb1 1616%preun backend-bdb
8ad94e97 1617%ldap_module_remove back_bdb.la
00d6dcb1
JK
1618
1619%post backend-dnssrv
fd259dde 1620%ldap_module_add back_dnssrv.la
00d6dcb1
JK
1621
1622%preun backend-dnssrv
8ad94e97 1623%ldap_module_remove back_dnssrv.la
00d6dcb1 1624
de61f90b 1625%post backend-hdb
fd259dde 1626%ldap_module_add back_hdb.la
de61f90b
JB
1627
1628%preun backend-hdb
8ad94e97 1629%ldap_module_remove back_hdb.la
de61f90b
JB
1630
1631%post backend-ldap
fd259dde 1632%ldap_module_add back_ldap.la
de61f90b
JB
1633
1634%preun backend-ldap
8ad94e97 1635%ldap_module_remove back_ldap.la
00d6dcb1 1636
fc2298ec
JR
1637%post backend-mdb
1638%ldap_module_add back_mdb.la
1639
1640%preun backend-mdb
1641%ldap_module_remove back_mdb.la
1642
00d6dcb1 1643%post backend-meta
fd259dde 1644%ldap_module_add back_meta.la
00d6dcb1
JK
1645
1646%preun backend-meta
8ad94e97 1647%ldap_module_remove back_meta.la
00d6dcb1
JK
1648
1649%post backend-monitor
fd259dde 1650%ldap_module_add back_monitor.la
00d6dcb1
JK
1651
1652%preun backend-monitor
8ad94e97 1653%ldap_module_remove back_monitor.la
00d6dcb1 1654
7f282e24
JR
1655%post backend-ndb
1656%ldap_module_add back_ndb.la
1657
1658%preun backend-ndb
1659%ldap_module_remove back_ndb.la
1660
00d6dcb1 1661%post backend-passwd
fd259dde 1662%ldap_module_add back_passwd.la
00d6dcb1
JK
1663
1664%preun backend-passwd
8ad94e97 1665%ldap_module_remove back_passwd.la
00d6dcb1
JK
1666
1667%post backend-perl
fd259dde 1668%ldap_module_add back_perl.la
00d6dcb1
JK
1669
1670%preun backend-perl
8ad94e97 1671%ldap_module_remove back_perl.la
00d6dcb1 1672
aecf2144 1673%post backend-relay
fd259dde 1674%ldap_module_add back_relay.la
aecf2144
JB
1675
1676%preun backend-relay
8ad94e97 1677%ldap_module_remove back_relay.la
aecf2144 1678
00d6dcb1 1679%post backend-shell
fd259dde 1680%ldap_module_add back_shell.la
00d6dcb1
JK
1681
1682%preun backend-shell
8ad94e97 1683%ldap_module_remove back_shell.la
00d6dcb1 1684
9be24455
JR
1685%post backend-sock
1686%ldap_module_add back_sock.la
1687
1688%preun backend-sock
1689%ldap_module_remove back_sock.la
1690
00d6dcb1 1691%post backend-sql
d212a240 1692%ldap_module_add back_sql.la
00d6dcb1
JK
1693
1694%preun backend-sql
8ad94e97 1695%ldap_module_remove back_sql.la
00d6dcb1 1696
d95d9d67 1697%post overlay-pcache
fd259dde 1698%ldap_module_add pcache.la
d95d9d67 1699
1700%preun overlay-pcache
8ad94e97 1701%ldap_module_remove pcache.la
d95d9d67 1702
366bb889 1703%post overlay-accesslog
fd259dde 1704%ldap_module_add accesslog.la
366bb889
JR
1705
1706%preun overlay-accesslog
8ad94e97 1707%ldap_module_remove accesslog.la
366bb889 1708
488bd7be
JB
1709%post overlay-auditlog
1710%ldap_module_add auditlog.la
1711
1712%preun overlay-auditlog
1713%ldap_module_remove auditlog.la
1714
d0570307
AM
1715%post overlay-collect
1716%ldap_module_add collect.la
1717
1718%preun overlay-collect
1719%ldap_module_remove collect.la
1720
92ef7112
JR
1721%post overlay-constraint
1722%ldap_module_add constraint.la
1723
1724%preun overlay-constraint
1725%ldap_module_remove constraint.la
1726
1727%post overlay-dds
1728%ldap_module_add dds.la
366bb889 1729
92ef7112
JR
1730%preun overlay-dds
1731%ldap_module_remove dds.la
366bb889 1732
0ba7e105
JB
1733%post overlay-deref
1734%ldap_module_add deref.la
1735
1736%preun overlay-deref
1737%ldap_module_remove deref.la
1738
366bb889 1739%post overlay-dyngroup
fd259dde 1740%ldap_module_add dyngroup.la
366bb889
JR
1741
1742%preun overlay-dyngroup
8ad94e97 1743%ldap_module_remove dyngroup.la
366bb889
JR
1744
1745%post overlay-dynlist
fd259dde 1746%ldap_module_add dynlist.la
366bb889
JR
1747
1748%preun overlay-dynlist
8ad94e97 1749%ldap_module_remove dynlist.la
366bb889 1750
92ef7112
JR
1751%post overlay-memberof
1752%ldap_module_add memberof.la
366bb889 1753
92ef7112
JR
1754%preun overlay-memberof
1755%ldap_module_remove memberof.la
366bb889
JR
1756
1757%post overlay-ppolicy
fd259dde 1758%ldap_module_add ppolicy.la
366bb889
JR
1759
1760%preun overlay-ppolicy
8ad94e97 1761%ldap_module_remove ppolicy.la
366bb889
JR
1762
1763%post overlay-refint
fd259dde 1764%ldap_module_add refint.la
366bb889
JR
1765
1766%preun overlay-refint
8ad94e97 1767%ldap_module_remove refint.la
366bb889
JR
1768
1769%post overlay-retcode
fd259dde 1770%ldap_module_add retcode.la
366bb889
JR
1771
1772%preun overlay-retcode
8ad94e97 1773%ldap_module_remove retcode.la
366bb889
JR
1774
1775%post overlay-rwm
fd259dde 1776%ldap_module_add rwm.la
366bb889
JR
1777
1778%preun overlay-rwm
8ad94e97 1779%ldap_module_remove rwm.la
366bb889 1780
92ef7112
JR
1781%post overlay-seqmod
1782%ldap_module_add seqmod.la
1783
1784%preun overlay-seqmod
1785%ldap_module_remove seqmod.la
1786
de77a786
JR
1787%post overlay-sssvlv
1788%ldap_module_add sssvlv.la
1789
1790%preun overlay-sssvlv
1791%ldap_module_remove sssvlv.la
1792
366bb889 1793%post overlay-syncprov
fd259dde 1794%ldap_module_add syncprov.la
366bb889
JR
1795
1796%preun overlay-syncprov
8ad94e97 1797%ldap_module_remove syncprov.la
366bb889
JR
1798
1799%post overlay-translucent
fd259dde 1800%ldap_module_add translucent.la
366bb889
JR
1801
1802%preun overlay-translucent
8ad94e97 1803%ldap_module_remove translucent.la
366bb889
JR
1804
1805%post overlay-unique
fd259dde 1806%ldap_module_add unique.la
366bb889
JR
1807
1808%preun overlay-unique
8ad94e97 1809%ldap_module_remove unique.la
366bb889
JR
1810
1811%post overlay-valsort
fd259dde 1812%ldap_module_add valsort.la
366bb889
JR
1813
1814%preun overlay-valsort
8ad94e97
ER
1815%ldap_module_remove valsort.la
1816
5a069025
JR
1817# contrib/slapd-modules
1818
1819%post overlay-addpartial
1820%ldap_module_add addpartial-overlay.la
1821
1822%preun overlay-addpartial
1823%ldap_module_remove addpartial-overlay.la
1824
1825%post overlay-allop
1826%ldap_module_add allop.la
1827
1828%preun overlay-allop
1829%ldap_module_remove allop.la
1830
1831%post overlay-allowed
1832%ldap_module_add allowed.la
1833
1834%preun overlay-allowed
1835%ldap_module_remove allowed.la
1836
1837%post overlay-autogroup
1838%ldap_module_add autogroup.la
1839
1840%preun overlay-autogroup
1841%ldap_module_remove autogroup.la
1842
1843%post overlay-cloak
1844%ldap_module_add cloak.la
1845
1846%preun overlay-cloak
1847%ldap_module_remove cloak.la
1848
1849%post overlay-denyop
1850%ldap_module_add denyop.la
1851
1852%preun overlay-denyop
1853%ldap_module_remove denyop.la
1854
1855%post overlay-dsaschema
1856%ldap_module_add dsaschema.la
1857
1858%preun overlay-dsaschema
1859%ldap_module_remove dsaschema.la
1860
1861%post overlay-dupent
1862%ldap_module_add dupent.la
1863
1864%preun overlay-dupent
1865%ldap_module_remove dupent.la
1866
1867%post overlay-kinit
1868%ldap_module_add kinit.la
1869
1870%preun overlay-kinit
1871%ldap_module_remove kinit.la
1872
1873%post overlay-lastbind
1874%ldap_module_add lastbind.la
1875
1876%preun overlay-lastbind
1877%ldap_module_remove lastbind.la
1878
1879%post overlay-lastmod
1880%ldap_module_add lastmod.la
1881
1882%preun overlay-lastmod
1883%ldap_module_remove lastmod.la
1884
1885%post overlay-noopsrch
1886%ldap_module_add noopsrch.la
1887
1888%preun overlay-noopsrch
1889%ldap_module_remove noopsrch.la
1890
1891%post overlay-nops
1892%ldap_module_add nops.la
1893
1894%preun overlay-nops
1895%ldap_module_remove nops.la
1896
1897%post overlay-nssov
1898%ldap_module_add nssov.la
1899%openldap_schema_register %{schemadir}/ldapns.schema
1900%service -q ldap restart
1901
1902%preun overlay-nssov
1903%ldap_module_remove nssov.la
1904
1905%postun overlay-nssov
1906if [ "$1" = "0" ]; then
1907 %openldap_schema_unregister %{schemadir}/ldapns.schema
1908 %service -q ldap restart
c900fa15 1909fi
366bb889 1910
5a069025
JR
1911%post overlay-proxyOld
1912%ldap_module_add proxyOld.la
1913
1914%preun overlay-proxyOld
1915%ldap_module_remove proxyOld.la
1916
1917%post overlay-samba4
1918%ldap_module_add pguid.la
1919%ldap_module_add rdnval.la
1920%ldap_module_add vernum.la
1921
1922%preun overlay-samba4
1923%ldap_module_remove pguid.la
1924%ldap_module_remove rdnval.la
1925%ldap_module_remove vernum.la
1926
1927%post overlay-smbk5pwd
1928%ldap_module_add smbk5pwd.la
1929
1930%preun overlay-smbk5pwd
1931%ldap_module_remove smbk5pwd.la
1932
1933%post overlay-trace
1934%ldap_module_add trace.la
1935
1936%preun overlay-trace
1937%ldap_module_remove trace.la
1938
9ba5699f 1939%files
42d889ce 1940%defattr(644,root,root,755)
1be75b6b
ER
1941%doc %{name}/{ANNOUNCEMENT,CHANGES,COPYRIGHT,README,LICENSE}
1942%doc %{name}/doc/{drafts,rfc}
69faa309 1943%attr(755,root,root) %{_bindir}/ldap*
2ac7ae8e 1944%dir %{_datadir}/openldap
de61f90b 1945%{_mandir}/man1/ldap*.1*
23547c0d 1946%{_mandir}/man5/ldap.conf.5*
d3bbb863 1947%{_mandir}/man5/ldaprc.5*
de61f90b 1948%{_mandir}/man5/ldif.5*
dac054ba 1949
26b19af9
JR
1950%files nss-config
1951%defattr(644,root,root,755)
1952%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ldap.conf
1953
cd2ddb7a
JB
1954%files libs
1955%defattr(644,root,root,755)
7d4c6425
ER
1956%dir %{_sysconfdir}/openldap
1957%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openldap/ldap.conf
92ef7112
JR
1958%attr(755,root,root) %{_libdir}/liblber-2.4.so.*.*.*
1959%attr(755,root,root) %{_libdir}/libldap-2.4.so.*.*.*
1960%attr(755,root,root) %{_libdir}/libldap_r-2.4.so.*.*.*
7f282e24 1961%attr(755,root,root) %{_libdir}/libslapi-2.4.so.*.*.*
92ef7112
JR
1962%attr(755,root,root) %ghost %{_libdir}/liblber-2.4.so.2
1963%attr(755,root,root) %ghost %{_libdir}/libldap-2.4.so.2
1964%attr(755,root,root) %ghost %{_libdir}/libldap_r-2.4.so.2
7f282e24 1965%attr(755,root,root) %ghost %{_libdir}/libslapi-2.4.so.2
92ef7112 1966
9ba5699f 1967%files devel
42d889ce 1968%defattr(644,root,root,755)
044e0ae4
JB
1969%attr(755,root,root) %{_libdir}/liblber.so
1970%attr(755,root,root) %{_libdir}/libldap.so
1971%attr(755,root,root) %{_libdir}/libldap_r.so
7f282e24 1972%attr(755,root,root) %{_libdir}/libslapi.so
044e0ae4
JB
1973%{_libdir}/liblber.la
1974%{_libdir}/libldap.la
1975%{_libdir}/libldap_r.la
7f282e24 1976%{_libdir}/libslapi.la
69faa309
JB
1977%{_includedir}/lber.h
1978%{_includedir}/lber_types.h
1979%{_includedir}/ldap.h
1980%{_includedir}/ldap_*.h
1981%{_includedir}/ldif.h
1982%{_includedir}/slapi-plugin.h
1983%{_mandir}/man3/ber_*.3*
1984%{_mandir}/man3/lber-*.3*
1985%{_mandir}/man3/ld_errno.3*
1986%{_mandir}/man3/ldap.3*
1987%{_mandir}/man3/ldap_*.3*
dac054ba 1988
42d889ce 1989%files static
1990%defattr(644,root,root,755)
044e0ae4
JB
1991%{_libdir}/liblber.a
1992%{_libdir}/libldap.a
1993%{_libdir}/libldap_r.a
7f282e24 1994%{_libdir}/libslapi.a
42d889ce 1995
d6deed33 1996%files headers
1997%defattr(644,root,root,755)
1998%{_includedir}/%{name}
1999
52ca5fbf 2000%if %{with exchange}
415f3589
JR
2001%files evolution-devel
2002%defattr(644,root,root,755)
2003%dir %{evolution_exchange_prefix}
2004%dir %{evolution_exchange_includedir}
2005%dir %{evolution_exchange_libdir}
2006%{evolution_exchange_prefix}/README*
2007%{evolution_exchange_includedir}/*.h
2008%{evolution_exchange_libdir}/*.a
52ca5fbf
JB
2009%endif
2010
56e9c18b 2011%if %{with sasl}
52ca5fbf
JB
2012%files ldapc++
2013%defattr(644,root,root,755)
2014%attr(755,root,root) %{_libdir}/libldapcpp.so.*.*.*
2015%attr(755,root,root) %ghost %{_libdir}/libldapcpp.so.0
2016
2017%files ldapc++-devel
2018%defattr(644,root,root,755)
2019%attr(755,root,root) %{_libdir}/libldapcpp.so
2020%{_libdir}/libldapcpp.la
2021%{_includedir}/ldapc++
2022
2023%files ldapc++-static
2024%defattr(644,root,root,755)
2025%{_libdir}/libldapcpp.a
56e9c18b 2026%endif
415f3589 2027
5a069025
JR
2028%files servers
2029%defattr(644,root,root,755)
2030%if %{without system_db}
fc2298ec 2031# not used by slapd directly, but by three different backends (bdb,hdb,mdb), so include here
1be75b6b 2032%doc db/LICENSE
5a069025
JR
2033%attr(755,root,root) %{_libdir}/libslapd_db-4.6.so
2034%endif
69faa309
JB
2035%attr(755,root,root) %{_sbindir}/slap*
2036%dir %{_libdir}/openldap
5a069025 2037%dir %{_sysconfdir}/openldap/schema
5a069025 2038%attr(640,root,slapd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openldap/slapd.access.conf
04a5781a
JB
2039%attr(640,root,slapd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openldap/slapd.conf
2040%attr(640,root,slapd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openldap/slapd.ldif
5a069025
JR
2041%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openldap/schema/*.schema
2042%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ldap
2043%attr(754,root,root) /etc/rc.d/init.d/ldap
6b6115e3 2044%{systemdtmpfilesdir}/slapd.conf
5a069025
JR
2045%attr(770,root,slapd) %{_var}/run/slapd
2046%dir %attr(770,root,slapd) %{_localstatedir}/openldap-data
2047%attr(660,root,slapd) %{_localstatedir}/openldap-data/*
2048%dir %{schemadir}
7cf60e21 2049%{schemadir}/README
69faa309
JB
2050%{schemadir}/collective.ldif
2051%{schemadir}/collective.schema
2052%{schemadir}/corba.ldif
2053%{schemadir}/corba.schema
2054%{schemadir}/core.ldif
2055%{schemadir}/core.schema
2056%{schemadir}/cosine.ldif
2057%{schemadir}/cosine.schema
2058%{schemadir}/duaconf.ldif
2059%{schemadir}/duaconf.schema
2060%{schemadir}/dyngroup.ldif
2061%{schemadir}/dyngroup.schema
2062%{schemadir}/inetorgperson.ldif
2063%{schemadir}/inetorgperson.schema
2064%{schemadir}/java.ldif
2065%{schemadir}/java.schema
2066%{schemadir}/misc.ldif
2067%{schemadir}/misc.schema
2068%{schemadir}/nis.ldif
2069%{schemadir}/nis.schema
2070%{schemadir}/openldap.ldif
2071%{schemadir}/openldap.schema
2072%{schemadir}/pmi.ldif
2073%{schemadir}/pmi.schema
2074%{schemadir}/ppolicy.ldif
2075%{schemadir}/ppolicy.schema
5a069025
JR
2076%{_mandir}/man5/slapd.*.5*
2077%{_mandir}/man5/slapd-config.5*
2078%{_mandir}/man5/slapd-ldbm.5*
2079%{_mandir}/man5/slapd-ldif.5*
2080%{_mandir}/man5/slapd-null.5*
04a5781a 2081%{_mandir}/man8/slap*.8*
5a069025 2082
00d6dcb1
JK
2083%files backend-bdb
2084%defattr(644,root,root,755)
9da90c5b 2085%attr(755,root,root) %{_libdir}/openldap/back_bdb*.so*
e6771c23 2086%{_libdir}/openldap/back_bdb.la
de61f90b 2087%{_mandir}/man5/slapd-bdb.5*
00d6dcb1
JK
2088
2089%files backend-dnssrv
2090%defattr(644,root,root,755)
9da90c5b 2091%attr(755,root,root) %{_libdir}/openldap/back_dnssrv*.so*
e6771c23 2092%{_libdir}/openldap/back_dnssrv.la
de61f90b 2093%{_mandir}/man5/slapd-dnssrv.5*
00d6dcb1 2094
de61f90b
JB
2095%files backend-hdb
2096%defattr(644,root,root,755)
9da90c5b 2097%attr(755,root,root) %{_libdir}/openldap/back_hdb*.so*
de61f90b 2098%{_libdir}/openldap/back_hdb.la
c7cb7143 2099%{_mandir}/man5/slapd-hdb.5*
de61f90b
JB
2100
2101%files backend-ldap
2102%defattr(644,root,root,755)
1be75b6b 2103%doc %{name}/servers/slapd/back-ldap/TODO.proxy
9da90c5b 2104%attr(755,root,root) %{_libdir}/openldap/back_ldap*.so*
de61f90b
JB
2105%{_libdir}/openldap/back_ldap.la
2106%{_mandir}/man5/slapd-ldap.5*
b0bf66fb 2107%{_mandir}/man5/slapo-chain.5*
37c8aeb1 2108%{_mandir}/man5/slapo-pbind.5*
00d6dcb1 2109
fc2298ec
JR
2110%files backend-mdb
2111%defattr(644,root,root,755)
2112%attr(755,root,root) %{_libdir}/openldap/back_mdb*.so*
2113%{_libdir}/openldap/back_mdb.la
2114%{_mandir}/man5/slapd-mdb.5*
2115
00d6dcb1
JK
2116%files backend-meta
2117%defattr(644,root,root,755)
9da90c5b 2118%attr(755,root,root) %{_libdir}/openldap/back_meta*.so*
e6771c23 2119%{_libdir}/openldap/back_meta.la
de61f90b 2120%{_mandir}/man5/slapd-meta.5*
00d6dcb1
JK
2121
2122%files backend-monitor
2123%defattr(644,root,root,755)
1be75b6b 2124%doc %{name}/servers/slapd/back-monitor/README
9da90c5b 2125%attr(755,root,root) %{_libdir}/openldap/back_monitor*.so*
e6771c23 2126%{_libdir}/openldap/back_monitor.la
de61f90b 2127%{_mandir}/man5/slapd-monitor.5*
00d6dcb1 2128
7f282e24
JR
2129%if %{with ndb}
2130%files backend-ndb
2131%defattr(644,root,root,755)
1be75b6b 2132%doc %{name}/servers/slapd/back-ndb/README
7f282e24
JR
2133%attr(755,root,root) %{_libdir}/openldap/back_ndb*.so*
2134%{_libdir}/openldap/back_ndb.la
2135%{_mandir}/man5/slapd-ndb.5*
2136%endif
2137
00d6dcb1
JK
2138%files backend-passwd
2139%defattr(644,root,root,755)
9da90c5b 2140%attr(755,root,root) %{_libdir}/openldap/back_passwd*.so*
e6771c23 2141%{_libdir}/openldap/back_passwd.la
de61f90b 2142%{_mandir}/man5/slapd-passwd.5*
00d6dcb1 2143
4eeb8a05 2144%if %{with perl}
00d6dcb1
JK
2145%files backend-perl
2146%defattr(644,root,root,755)
1be75b6b
ER
2147%doc %{name}/servers/slapd/back-perl/*.pm
2148%doc %{name}/servers/slapd/back-perl/README
9da90c5b 2149%attr(755,root,root) %{_libdir}/openldap/back_perl*.so*
e6771c23 2150%{_libdir}/openldap/back_perl.la
de61f90b 2151%{_mandir}/man5/slapd-perl.5*
00d6dcb1
JK
2152%endif
2153
aecf2144
JB
2154%files backend-relay
2155%defattr(644,root,root,755)
1be75b6b 2156%doc %{name}/servers/slapd/back-relay/README
aecf2144
JB
2157%attr(755,root,root) %{_libdir}/openldap/back_relay*.so*
2158%{_libdir}/openldap/back_relay.la
2159%{_mandir}/man5/slapd-relay.5*
2160
00d6dcb1
JK
2161%files backend-shell
2162%defattr(644,root,root,755)
9da90c5b 2163%attr(755,root,root) %{_libdir}/openldap/back_shell*.so*
e6771c23 2164%{_libdir}/openldap/back_shell.la
de61f90b 2165%{_mandir}/man5/slapd-shell.5*
00d6dcb1 2166
9be24455
JR
2167%files backend-sock
2168%defattr(644,root,root,755)
2169%attr(755,root,root) %{_libdir}/openldap/back_sock*.so*
2170%{_libdir}/openldap/back_sock.la
2171%{_mandir}/man5/slapd-sock.5*
04a5781a 2172%{_mandir}/man5/slapo-sock.5*
9be24455 2173
4eeb8a05 2174%if %{with odbc}
00d6dcb1
JK
2175%files backend-sql
2176%defattr(644,root,root,755)
1be75b6b
ER
2177%doc %{name}/servers/slapd/back-sql/docs/*
2178%doc %{name}/servers/slapd/back-sql/rdbms_depend
9da90c5b 2179%attr(755,root,root) %{_libdir}/openldap/back_sql*.so*
e6771c23 2180%{_libdir}/openldap/back_sql.la
de61f90b 2181%{_mandir}/man5/slapd-sql.5*
00d6dcb1 2182%endif
0513c83b 2183
0b5bf075 2184%files overlay-accesslog
2185%defattr(644,root,root,755)
2186%attr(755,root,root) %{_libdir}/openldap/accesslog*.so*
2187%{_libdir}/openldap/accesslog.la
2188%{_mandir}/man5/slapo-accesslog.5*
2189
488bd7be
JB
2190%files overlay-auditlog
2191%defattr(644,root,root,755)
2192%attr(755,root,root) %{_libdir}/openldap/auditlog*.so*
2193%{_libdir}/openldap/auditlog.la
2194%{_mandir}/man5/slapo-auditlog.5*
2195
d0570307
AM
2196%files overlay-collect
2197%defattr(644,root,root,755)
2198%attr(755,root,root) %{_libdir}/openldap/collect*.so*
2199%{_libdir}/openldap/collect.la
2200%{_mandir}/man5/slapo-collect.5*
2201
92ef7112
JR
2202%files overlay-constraint
2203%defattr(644,root,root,755)
2204%attr(755,root,root) %{_libdir}/openldap/constraint*.so*
2205%{_libdir}/openldap/constraint.la
2206%{_mandir}/man5/slapo-constraint.5*
2207
2208%files overlay-dds
0b5bf075 2209%defattr(644,root,root,755)
92ef7112
JR
2210%attr(755,root,root) %{_libdir}/openldap/dds*.so*
2211%{_libdir}/openldap/dds.la
2212%{_mandir}/man5/slapo-dds.5*
0b5bf075 2213
0ba7e105
JB
2214%files overlay-deref
2215%defattr(644,root,root,755)
2216%attr(755,root,root) %{_libdir}/openldap/deref*.so*
2217%{_libdir}/openldap/deref.la
2218
0b5bf075 2219%files overlay-dyngroup
2220%defattr(644,root,root,755)
2221%attr(755,root,root) %{_libdir}/openldap/dyngroup*.so*
2222%{_libdir}/openldap/dyngroup.la
92ef7112 2223%{_mandir}/man5/slapo-dyngroup.5*
0b5bf075 2224
2225%files overlay-dynlist
2226%defattr(644,root,root,755)
2227%attr(755,root,root) %{_libdir}/openldap/dynlist*.so*
2228%{_libdir}/openldap/dynlist.la
2229%{_mandir}/man5/slapo-dynlist.5*
2230
92ef7112 2231%files overlay-memberof
0b5bf075 2232%defattr(644,root,root,755)
92ef7112
JR
2233%attr(755,root,root) %{_libdir}/openldap/memberof*.so*
2234%{_libdir}/openldap/memberof.la
2235%{_mandir}/man5/slapo-memberof.5*
0b5bf075 2236
d95d9d67 2237%files overlay-pcache
2238%defattr(644,root,root,755)
2239%attr(755,root,root) %{_libdir}/openldap/pcache*.so*
2240%{_libdir}/openldap/pcache.la
c2b56acf 2241%{_mandir}/man5/slapo-pcache.5*
d95d9d67 2242
0b5bf075 2243%files overlay-ppolicy
2244%defattr(644,root,root,755)
2245%attr(755,root,root) %{_libdir}/openldap/ppolicy*.so*
2246%{_libdir}/openldap/ppolicy.la
2247%{_mandir}/man5/slapo-ppolicy.5*
2248
2249%files overlay-refint
2250%defattr(644,root,root,755)
2251%attr(755,root,root) %{_libdir}/openldap/refint*.so*
2252%{_libdir}/openldap/refint.la
2253%{_mandir}/man5/slapo-refint.5*
2254
1e76a8fb
JB
2255%files overlay-retcode
2256%defattr(644,root,root,755)
2257%attr(755,root,root) %{_libdir}/openldap/retcode*.so*
2258%{_libdir}/openldap/retcode.la
2259%{_mandir}/man5/slapo-retcode.5*
2260
0b5bf075 2261%files overlay-rwm
2262%defattr(644,root,root,755)
2263%attr(755,root,root) %{_libdir}/openldap/rwm*.so*
2264%{_libdir}/openldap/rwm.la
2265%{_mandir}/man5/slapo-rwm.5*
2266
92ef7112
JR
2267%files overlay-seqmod
2268%defattr(644,root,root,755)
2269%attr(755,root,root) %{_libdir}/openldap/seqmod*.so*
2270%{_libdir}/openldap/seqmod.la
2271
de77a786
JR
2272%files overlay-sssvlv
2273%defattr(644,root,root,755)
2274%attr(755,root,root) %{_libdir}/openldap/sssvlv*.so*
2275%{_libdir}/openldap/sssvlv.la
2276%{_mandir}/man5/slapo-sssvlv.5*
2277
0b5bf075 2278%files overlay-syncprov
2279%defattr(644,root,root,755)
2280%attr(755,root,root) %{_libdir}/openldap/syncprov*.so*
2281%{_libdir}/openldap/syncprov.la
2282%{_mandir}/man5/slapo-syncprov.5*
2283
2284%files overlay-translucent
2285%defattr(644,root,root,755)
2286%attr(755,root,root) %{_libdir}/openldap/translucent*.so*
2287%{_libdir}/openldap/translucent.la
2288%{_mandir}/man5/slapo-translucent.5*
2289
2290%files overlay-unique
2291%defattr(644,root,root,755)
2292%attr(755,root,root) %{_libdir}/openldap/unique*.so*
2293%{_libdir}/openldap/unique.la
2294%{_mandir}/man5/slapo-unique.5*
2295
2b5ce79c
JB
2296%files overlay-valsort
2297%defattr(644,root,root,755)
2298%attr(755,root,root) %{_libdir}/openldap/valsort*.so*
2299%{_libdir}/openldap/valsort.la
7d4f8c32 2300%{_mandir}/man5/slapo-valsort.5*
2b5ce79c 2301
5a069025
JR
2302# contrib/slapd-modules
2303
2304%files overlay-addpartial
0513c83b 2305%defattr(644,root,root,755)
1be75b6b 2306%doc %{name}/contrib/slapd-modules/addpartial/README
5a069025
JR
2307%attr(755,root,root) %{_libdir}/openldap/addpartial-overlay*.so*
2308%{_libdir}/openldap/addpartial-overlay.la
2309
2310%files overlay-allop
2311%defattr(644,root,root,755)
1be75b6b 2312%doc %{name}/contrib/slapd-modules/allop/README
5a069025
JR
2313%attr(755,root,root) %{_libdir}/openldap/allop*.so*
2314%{_libdir}/openldap/allop.la
2315%{_mandir}/man5/slapo-allop.5*
2316
2317%files overlay-allowed
2318%defattr(644,root,root,755)
1be75b6b 2319%doc %{name}/contrib/slapd-modules/allowed/README
5a069025
JR
2320%attr(755,root,root) %{_libdir}/openldap/allowed*.so*
2321%{_libdir}/openldap/allowed.la
2322
2323%files overlay-autogroup
2324%defattr(644,root,root,755)
1be75b6b 2325%doc %{name}/contrib/slapd-modules/autogroup/README
5a069025
JR
2326%attr(755,root,root) %{_libdir}/openldap/autogroup*.so*
2327%{_libdir}/openldap/autogroup.la
2328
2329%files overlay-cloak
2330%defattr(644,root,root,755)
2331%attr(755,root,root) %{_libdir}/openldap/cloak*.so*
2332%{_libdir}/openldap/cloak.la
2333%{_mandir}/man5/slapo-cloak.5*
2334
2335%files overlay-denyop
2336%defattr(644,root,root,755)
2337%attr(755,root,root) %{_libdir}/openldap/denyop*.so*
2338%{_libdir}/openldap/denyop.la
2339
2340%files overlay-dsaschema
2341%defattr(644,root,root,755)
1be75b6b 2342%doc %{name}/contrib/slapd-modules/dsaschema/README
5a069025
JR
2343%attr(755,root,root) %{_libdir}/openldap/dsaschema*.so*
2344%{_libdir}/openldap/dsaschema.la
2345
2346%files overlay-dupent
2347%defattr(644,root,root,755)
2348%attr(755,root,root) %{_libdir}/openldap/dupent*.so*
2349%{_libdir}/openldap/dupent.la
2350
2351%if %{with krb5}
2352%files overlay-kinit
2353%defattr(644,root,root,755)
1be75b6b 2354%doc %{name}/contrib/slapd-modules/kinit/README
5a069025
JR
2355%attr(755,root,root) %{_libdir}/openldap/kinit*.so*
2356%{_libdir}/openldap/kinit.la
52ca5fbf 2357%endif
5a069025
JR
2358
2359%files overlay-lastbind
2360%defattr(644,root,root,755)
2361%attr(755,root,root) %{_libdir}/openldap/lastbind*.so*
2362%{_libdir}/openldap/lastbind.la
2363%{_mandir}/man5/slapo-lastbind.5*
2364
2365%files overlay-lastmod
2366%defattr(644,root,root,755)
2367%attr(755,root,root) %{_libdir}/openldap/lastmod*.so*
2368%{_libdir}/openldap/lastmod.la
2369%{_mandir}/man5/slapo-lastmod.5*
2370
2371%files overlay-noopsrch
2372%defattr(644,root,root,755)
2373%attr(755,root,root) %{_libdir}/openldap/noopsrch*.so*
2374%{_libdir}/openldap/noopsrch.la
2375
2376%files overlay-nops
2377%defattr(644,root,root,755)
2378%attr(755,root,root) %{_libdir}/openldap/nops*.so*
2379%{_libdir}/openldap/nops.la
2380%{_mandir}/man5/slapo-nops.5*
2381
2382%files overlay-nssov
2383%defattr(644,root,root,755)
1be75b6b 2384%doc %{name}/contrib/slapd-modules/nssov/README
5a069025
JR
2385%attr(755,root,root) %{_libdir}/openldap/nssov*.so*
2386%{_libdir}/openldap/nssov.la
2387%{schemadir}/ldapns.schema
2388%{_mandir}/man5/slapo-nssov.5*
2389%attr(755,slapd,slapd) %dir /var/run/nslcd
6b6115e3 2390%{systemdtmpfilesdir}/nssov.conf
5a069025
JR
2391
2392%files overlay-proxyOld
2393%defattr(644,root,root,755)
1be75b6b 2394%doc %{name}/contrib/slapd-modules/proxyOld/README
5a069025
JR
2395%attr(755,root,root) %{_libdir}/openldap/proxyOld*.so*
2396%{_libdir}/openldap/proxyOld.la
2397
2398%files overlay-samba4
2399%defattr(644,root,root,755)
1be75b6b 2400%doc %{name}/contrib/slapd-modules/samba4/README
5a069025
JR
2401%attr(755,root,root) %{_libdir}/openldap/pguid*.so*
2402%attr(755,root,root) %{_libdir}/openldap/rdnval*.so*
2403%attr(755,root,root) %{_libdir}/openldap/vernum*.so*
2404%{_libdir}/openldap/pguid.la
2405%{_libdir}/openldap/rdnval.la
2406%{_libdir}/openldap/vernum.la
2407
2408%files overlay-smbk5pwd
2409%defattr(644,root,root,755)
1be75b6b 2410%doc %{name}/contrib/slapd-modules/smbk5pwd/README
5a069025
JR
2411%attr(755,root,root) %{_libdir}/openldap/smbk5pwd*.so*
2412%{_libdir}/openldap/smbk5pwd.la
2413
2414%files overlay-trace
2415%defattr(644,root,root,755)
2416%attr(755,root,root) %{_libdir}/openldap/trace*.so*
2417%{_libdir}/openldap/trace.la
This page took 0.724342 seconds and 4 git commands to generate.