]> git.pld-linux.org Git - packages/cyrus-sasl.git/blob - cyrus-sasl.spec
- release 2 to rebuild with new openldap
[packages/cyrus-sasl.git] / cyrus-sasl.spec
1 #
2 # TODO:
3 # - add ldap plugin from openldap sources
4 # - cleaner solution for mysql/pgsql support
5 #
6 # Conditional build:
7 %bcond_without  ldap    # disable LDAP support for saslauthd
8 %bcond_with     gssapi  # enable GSSAPI support for saslauthd and build gssapi plugin
9 %bcond_without  mysql   # don't build mysql pluggin
10 %bcond_with     pgsql   # don't build pgsql pluggin
11 %bcond_with     srp     # build srp pluggin
12 %bcond_with     pwcheck # build pwcheck helper (deprecated)
13 %bcond_with     x509    # build x509 plugin (no sources in package???)
14 #
15 Summary:        The SASL library API for the Cyrus mail system
16 Summary(pl):    Biblioteka Cyrus SASL
17 Summary(pt_BR): Implementação da API SASL
18 Summary(ru):    âÉÂÌÉÏÔÅËÁ Cyrus SASL
19 Summary(uk):    â¦Â̦ÏÔÅËÁ Cyrus SASL
20 Name:           cyrus-sasl
21 Version:        2.1.18
22 Release:        2
23 License:        distributable
24 Group:          Libraries
25 Source0:        ftp://ftp.andrew.cmu.edu/pub/cyrus/%{name}-%{version}.tar.gz
26 # Source0-md5:  1eafae95f0289c10f187d8b2bc4032cf
27 Source1:        saslauthd.init
28 Source2:        saslauthd.sysconfig
29 Source3:        %{name}.pam
30 Patch0:         %{name}-configdir.patch
31 Patch1:         %{name}-nolibs.patch
32 Patch2:         %{name}-lt.patch
33 URL:            http://asg.web.cmu.edu/sasl/
34 BuildRequires:  autoconf >= 2.54
35 BuildRequires:  automake
36 BuildRequires:  db-devel
37 BuildRequires:  ed
38 %{?with_gssapi:BuildRequires:   heimdal-devel}
39 BuildRequires:  libtool >= 1.4
40 %{?with_mysql:BuildRequires:    mysql-devel}
41 %{?with_pgsql:BuildRequires:    postgresql-devel}
42 %{?with_ldap:BuildRequires:     openldap-devel}
43 BuildRequires:  openssl-devel >= 0.9.7d
44 BuildRequires:  pam-devel
45 Requires(post): /sbin/ldconfig
46 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48 %define         _sysconfdir     /etc/sasl
49
50 %description
51 This is an implementation of the SASL API, useful for adding
52 authentication, authorization, and security to network protocols. The
53 SASL protocol itself is documented in rfc2222; the API standard is a
54 work in progress.
55
56 %description -l pl
57 Pakiet cyrus-sasl zawiera implementacjê biblioteki API SASL dla
58 systemu poczty elektronicznej Cyrusa. Biblioteka ta jest przydatna
59 tak¿e do dodawania uwierzytelniania, autoryzacji oraz zwiêkszania
60 bezpieczeñstwa protoko³ów sieciowych. Sam protokó³ SASL jest opisany w
61 RFC 2222; standaryzacja API jest w toku.
62
63 %description -l pt_BR
64 Esta é uma implementação da API SASL, útil para acrescentar
65 autenticação, autorização e seguança (criptografia) para protocolos de
66 rede. O protocolo SASL está documentado na RFC 2222. A API "padrão"
67 ainda está em desenvolvimento.
68
69 %description -l ru
70 ðÁËÅÔ cyrus-sasl ÓÏÄÅÒÖÉÔ ÒÅÁÌÉÚÁÃÉÀ Cyrus SASL. SASL - ÜÔÏ Simple
71 Authentication and Security Layer, ÍÅÔÏÄ ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ ÐÏÄÄÅÒÖËÉ
72 ÁÕÔÅÎÔÉËÁÃÉÉ Ë ÐÒÏÔÏËÏÌÁÍ, ÏÓÎÏ×ÁÎÎÙÍ ÎÁ ÓÏÅÄÉÎÅÎÉÑÈ.
73
74 %description -l uk
75 ðÁËÅÔ cyrus-sasl Í¦ÓÔÉÔØ ÒÅÁ̦ÚÁæÀ Cyrus SASL. SASL - ÃÅ Simple
76 Authentication and Security Layer, ÍÅÔÏÄ ÄÌÑ ÄÏÄÁÎÎѠЦÄÔÒÉÍËÉ
77 ÁÕÔÅÎÔÉËÁ槠ÄÏ ÐÒÏÔÏËÏ̦×, ÂÁÚÏ×ÁÎÉÈ ÎÁ Ú'¤ÄÎÁÎÎÑÈ.
78
79 %package devel
80 Summary:        Header files and documentation for cyrus-sasl
81 Summary(pl):    Pliki nag³ówkowe i dokumentacja dla cyrus-sasl
82 Summary(pt_BR): Exemplos e arquivos para desenvolvimento com SASL
83 Summary(ru):    æÁÊÌÙ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó ÂÉÂÌÉÏÔÅËÏÊ Cyrus SASL
84 Summary(ru):    æÁÊÌÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎѠڠ¦Â̦ÏÔÅËÏÀ Cyrus SASL
85 Group:          Development/Libraries
86 Requires:       %{name} = %{version}-%{release}
87
88 %description devel
89 This includes the header files and documentation needed to develop
90 applications which use SASL.
91
92 %description devel -l pl
93 Pliki nag³ówkowe i dokumentacja dla cyrus-sasl.
94
95 %description devel -l pt_BR
96 Este pacote inclui os arquivos de cabeçalho e documentação necessários
97 para desenvolver aplicativos que usem SASL.
98
99 %description devel -l ru
100 èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÉÌÏÖÅÎÉÊ,
101 ÉÓÐÏÌØÚÕÀÝÉÈ Cyrus SASL.
102
103 %description devel -l uk
104 èÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ
105 ×ÉËÏÒÉÓÔÏ×ÕÀÔØ Cyrus SASL.
106
107 %package static
108 Summary:        Static cyrus-sasl libraries
109 Summary(pl):    Statyczne biblioteki cyrus-sasl
110 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ Cyrus SASL
111 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ Cyrus SASL
112 Group:          Development/Libraries
113 Requires:       %{name}-devel = %{version}-%{release}
114
115 %description static
116 Static cyrus-sasl libraries.
117
118 %description static -l pl
119 Statyczne biblioteki cyrus-sasl.
120
121 %description static -l ru
122 óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÉÌÏÖÅÎÉÊ,
123 ÉÓÐÏÌØÚÕÀÝÉÈ Cyrus SASL.
124
125 %description static -l uk
126 óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ
127 Cyrus SASL.
128
129 %package cram-md5
130 Summary:        Cram-MD5 Cyrus SASL plugin
131 Summary(pl):    Wtyczka Cram-MD5 do Cyrus SASL
132 Summary(pt_BR): Mecanismo SASL CRAM-MD5
133 Group:          Libraries
134 Requires:       %{name} = %{version}-%{release}
135
136 %description cram-md5
137 This plugin implements the SASL CRAM-MD5 mechanism. CRAM-MD5 is the
138 mandatory-to-implement authentication mechanism for a number of
139 protocols; it uses MD5 with a challenge/response system to
140 authenticate the user.
141
142 %description cram-md5 -l pl
143 Wtyczka dodaj±ca obs³ugê mechanizmu CRAM-MD5 do Cyrus SASL. CRAM-MD5
144 jest obowi±zkowym do zaimplementowania mechanizmem uwierzytelniania
145 dla wielu protoko³ów; do uwierzytelnienia u¿ytkownika u¿ywa MD5 wraz z
146 systemem challenge/response.
147
148 %description cram-md5 -l pt_BR
149 Este plugin implementa o mecanismo SASL CRAM-MD5. CRAM-MD5 é o
150 mecanismo de autenticação obrigatório de ser implementado para vários
151 protocolos: ele usa MD5 com um sistema de desafio/resposta para
152 autenticar o usuário.
153
154 %package digest-md5
155 Summary:        Digest-MD5 Cyrus SASL plugin
156 Summary(pl):    Wtyczka Digest-MD5 do Cyrus SASL
157 Summary(pt_BR): Mecanismo SASL DIGEST-MD5
158 Group:          Libraries
159 Requires:       %{name} = %{version}-%{release}
160
161 %description digest-md5
162 This plugin implements the latest draft of the SASL DIGEST-MD5
163 mechanism. Although not yet finalized, this is likely to become the
164 new mandatory-to-implement authentication system in all new protocols.
165 It's based on the digest md5 authentication system designed for HTTP.
166
167 %description digest-md5 -l pl
168 Wtyczka dodaj±ca najnowsz± wersjê mechanizmu DIGEST-MD5 do Cyrus SASL.
169 Pomimo tego, ¿e nie jest jeszcze ukoñczony, najprawdopodobniej stanie
170 siê obowi±zkowym do zaimplementowania systemem uwierzytelniania we
171 wszystkich nowych protoko³ach. Bazuje na systemie uwierzytelniania
172 Digest-MD5 zaprojektowanym dla HTTP.
173
174 %description digest-md5 -l pt_BR
175 Este plugin implementa a última versão da especificação do mecanismo
176 SASL DIGEST-MD5. Embora ainda não esteja finalizado, DIGEST-MD5
177 provavelmente será o novo sistema de autenticação obrigatório para
178 protocolos novos. Ele é baseado na autenticação md5 digest
179 desenvolvida para HTTP.
180
181 %package plain
182 Summary:        Plain Cyrus SASL plugin
183 Summary(pl):    Wtyczka plain do Cyrus SASL
184 Summary(pt_BR): Mecanismo SASL PLAIN
185 Group:          Libraries
186 Requires:       %{name} = %{version}-%{release}
187
188 %description plain
189 This plugin implements the SASL PLAIN mechanism. Although insecure,
190 PLAIN is useful for transitioning to new security mechanisms, as this
191 is the only mechanism which gives the server a copy of the user's
192 password.
193
194 %description plain -l pl
195 Wtyczka dodaj±ca obs³ugê mechanizmu PLAIN do Cyrus SASL. Pomimo tego,
196 ¿e nie jest bezpieczny, PLAIN jest przydatny przy przechodzeniu na
197 nowe mechanizmu bezpieczeñstwa, jako ¿e jest to jedyny mechanizm,
198 który udostêpnia serwerowi kopiê has³a u¿ytkownika.
199
200 %description plain -l pt_BR
201 Este plugin implementa o mecanismo SASL PLAIN. Embora inseguro, este
202 mecanismo é útil durante transições para novos mecanismos de
203 segurança, pois é o único esquema que fornece uma cópia da senha do
204 usuário para o servidor.
205
206 %package anonymous
207 Summary:        Anonymous Cyrus SASL plugin
208 Summary(pl):    Wtyczka anonymous do Cyrus SASL
209 Summary(pt_BR): Mecanismo SASL ANONYMOUS
210 Group:          Libraries
211 Requires:       %{name} = %{version}-%{release}
212
213 %description anonymous
214 This plugin implements the SASL ANONYMOUS mechanism, used for
215 anonymous authentication.
216
217 %description anonymous -l pl
218 Wtyczka dodaj±ca obs³ugê mechanizmu ANONYMOUS do Cyrus SASL. S³u¿y do
219 anonimowego uwierzytelniania.
220
221 %description anonymous -l pt_BR
222 Este plugin implementa o mecanismo SASL ANONYMOUS, usado para
223 autenticação anônima.
224
225 %package gssapi
226 Summary:        GSSAPI Cyrus SASL plugin
227 Summary(pl):    Wtyczka GSSAPI do Cyrus SASL
228 Summary(pt_BR): Mecanismo SASL GSSAPI
229 Group:          Libraries
230 Requires:       %{name} = %{version}-%{release}
231
232 %description gssapi
233 This plugin implements the SASL GSSAPI mechanism, used for
234 GSSAPI/Kerberos5 authentication.
235
236 %description gssapi -l pl
237 Wtyczka dodaj±ca obs³ugê mechanizmu SASL GSSAPI, u¿ywanego do
238 uwierzytelniania z u¿yciem GSSAPI/Kerberos5.
239
240 %description gssapi -l pt_BR
241 Este plugin implementa o mecanismo SASL GSSAPI, usado para
242 autenticação Kerberos/GSSAPI.
243
244 %package login
245 Summary:        Unsupported Login Cyrus SASL plugin
246 Summary(pl):    Nie wspierana wtyczka Login do Cyrus SASL
247 Group:          Libraries
248 Requires:       %{name} = %{version}-%{release}
249
250 %description login
251 Unsupported LOGIN Cyrus SASL plugin.
252
253 %description login -l pl
254 Wtyczka dodaj±ca obs³ugê nie wspieranego mechanizmu LOGIN do Cyrus
255 SASL.
256
257 %package srp
258 Summary:        SRP Cyrus SASL plugin
259 Summary(pl):    Wtyczka SRP do Cyrus SASL
260 Summary(pt_BR): Mecanismo SASL SRP
261 Group:          Libraries
262 Requires:       %{name} = %{version}-%{release}
263
264 %description srp
265 This plugin implements the SASL SRP mechanism, based on the Secure
266 Remote Password protocol. This mechanism performs mutual
267 authentication and can provide a security layer with replay detection,
268 integrity protection and/or condifentiality protection.
269
270 %description srp -l pl
271 Wtyczka dodaj±ca obs³ugê mechanizmu SRP do Cyrus SASL. Bazuje na
272 protokole Secure Remote Password. Ten mechanizm dokonuje wzajemnego
273 uwierzytelnienia i mo¿e dodawaæ warstwê bezpieczeñstwa z wykrywaniem
274 powtarzania, zabezpieczeniem integralno¶ci i/lub poufno¶ci.
275
276 %description srp -l pt_BR
277 Este plugin implementa o mecanismo SASL SRP, baseado no protocolo SRP
278 (Secure Remote Password). Este mecanismo oferece autenticação mútua
279 (do cliente e do servidor) e pode prover uma camada de segurança com
280 detecção de ataques de replay, garantia de integridade e/ou
281 confidencialidade.
282
283 %package otp
284 Summary:        OTP Cyrus SASL plugin
285 Summary(pl):    Wtyczka OTP do Cyrus SASL
286 Summary(pt_BR): Mecanismo SASL OTP
287 Group:          Libraries
288 Requires:       %{name} = %{version}-%{release}
289
290 %description otp
291 This plugin implements the SASL OTP (One Time Password) mechanism.
292
293 %description otp -l pl
294 Wtyczka dodaj±ca obs³ugê mechanizmu OTP (has³a jednorazowe) do Cyrus
295 SASL.
296
297 %package x509
298 Summary:        x509 Cyrus SASL plugin
299 Summary(pl):    Wtyczka x509 do Cyrus SASL
300 Group:          Libraries
301 Requires:       %{name} = %{version}-%{release}
302
303 %description x509
304 x509 Cyrus SASL plugin.
305
306 %description x509 -l pl
307 Wtyczka x509 do Cyrus SASL.
308
309 %package saslauthd
310 Summary:        Cyrus SASL authd
311 Summary(pl):    Demon authd do Cyrus SASL
312 Group:          Daemons
313 Requires(post,postun):  /sbin/chkconfig
314 Requires:       %{name} = %{version}-%{release}
315
316 %description saslauthd
317 Cyrus SASL authd.
318
319 %description saslauthd -l pl
320 Demon authd do Cyrus SASL.
321
322 %package pwcheck
323 Summary:        Cyrus SASL pwcheck helper
324 Summary(pl):    Program pomocniczy pwcheck do Cyrus SASL
325 Group:          Libraries
326 Requires:       %{name} = %{version}-%{release}
327
328 %description pwcheck
329 Cyrus SASL pwcheck helper.
330
331 %description pwcheck -l pl
332 Program pomocniczy pwcheck do Cyrus SASL.
333
334 %package sasldb
335 Summary:        Cyrus SASL sasldb plugin
336 Summary(pl):    Wtyczka sasldb do Cyrus SASL
337 Group:          Libraries
338 Requires:       %{name} = %{version}-%{release}
339
340 %description sasldb
341 Cyrus SASL sasldb plugin.
342
343 %description sasldb -l pl
344 Wtyczka sasldb do Cyrus SASL.
345
346 %package mysql
347 Summary:        Cyrus SASL mysql plugin
348 Summary(pl):    Wtyczka mysql do Cyrus SASL
349 Group:          Libraries
350 Requires:       %{name} = %{version}-%{release}
351
352 %description mysql
353 Cyrus SASL mysql plugin.
354
355 %description mysql -l pl
356 Wtyczka mysql do Cyrus SASL.
357
358 %package pgsql
359 Summary:        Cyrus SASL PostgreSQL plugin
360 Summary(pl):    Wtyczka PostgreSQL do Cyrus SASL
361 Group:          Libraries
362 Requires:       %{name} = %{version}-%{release}
363
364 %description pgsql
365 Cyrus SASL PostgreSQL plugin.
366
367 %description pgsql -l pl
368 Wtyczka PostgreSQL do Cyrus SASL.
369
370 %prep
371 %setup -q
372 %patch0 -p1
373 %patch1 -p1
374 %patch2 -p1
375
376 cd doc
377 echo "cyrus-sasl complies with the following RFCs:" > rfc-compliance
378 ls rfc*.txt >> rfc-compliance
379 rm -f rfc*.txt
380
381 %build
382 # acinclude.m4 contains only old libtool.m4
383 rm -f acinclude.m4 libtool config/libtool.m4
384 %{__libtoolize}
385 %{__aclocal} -I cmulocal -I config
386 %{__autoheader}
387 %{__automake}
388 %{__autoconf}
389
390 cd saslauthd
391         rm -f acinclude.m4
392         %{__libtoolize}
393         %{__aclocal} -I ../cmulocal -I ../config -I config
394         %{__autoheader}
395         %{__automake}
396         %{__autoconf}
397 cd ..
398
399 %configure \
400         --disable-krb4 \
401         %{!?with_gssapi: --disable-gssapi} \
402         %{?with_gssapi: --enable-gssapi --with-gss_impl=heimdal} \
403         --enable-login \
404         --enable-sql \
405         %{?with_srp: --enable-srp} \
406         --enable-static \
407         --with-plugindir=%{_libdir}/sasl2 \
408         --with-configdir=%{_sysconfdir} \
409         --with-dblib=berkeley \
410         --with-dbpath=/var/lib/sasl2/sasl.db \
411         %{?with_ldap: --with-ldap=%{_prefix}} \
412         %{?with_mysql: --with-mysql=%{_prefix}} \
413         %{?with_pgsql: --with-pgsql=%{_prefix}} \
414         --with-pam \
415         %{?with_pwcheck: --with-pwcheck=/var/lib/sasl2} \
416         --with-saslauthd=/var/lib/sasl2
417 %{__make}
418
419 %{__make} -C saslauthd testsaslauthd
420 %{__make} -C saslauthd saslcache
421
422 cd doc
423 RFCLIST=`grep 'rfc.\+\.txt' rfc-compliance`
424 for i in $RFCLIST; do
425         RFCDIR=../RFC/text/`echo $i | sed -e 's:^rfc::' -e 's:..\.txt$::' `00
426         echo -e ',s:'$i':'$RFCDIR/$i'\n,w\nq' | ed index.html
427 done
428
429 %install
430 rm -rf $RPM_BUILD_ROOT
431 install -d $RPM_BUILD_ROOT{/var/lib/sasl2,%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
432                 $RPM_BUILD_ROOT%{_mandir}/man8
433
434 %{__make} install \
435         sasldir=%{_libdir}/sasl2 \
436         DESTDIR=$RPM_BUILD_ROOT
437
438 rm -rf $RPM_BUILD_ROOT%{_mandir}/cat*
439 rm -f $RPM_BUILD_ROOT%{_libdir}/sasl2/*.{la,a}
440
441 install {utils,saslauthd}/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
442
443 ln -sf libsasl2.so $RPM_BUILD_ROOT%{_libdir}/libsasl.so
444
445 touch $RPM_BUILD_ROOT/var/lib/sasl2/sasl.db
446
447 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/saslauthd
448 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/saslauthd
449 install %{SOURCE3} ./cyrus.pam
450
451 install saslauthd/{testsaslauthd,saslcache} $RPM_BUILD_ROOT%{_sbindir}
452
453 %clean
454 rm -rf $RPM_BUILD_ROOT
455
456 %post
457 /sbin/ldconfig
458 echo "Remember to install appropriate plugins, or you won't have any mechs available."
459
460 %postun -p /sbin/ldconfig
461
462 %post saslauthd
463 /sbin/chkconfig --add saslauthd
464 if [ -f /var/lock/subsys/saslauthd ]; then
465         /etc/rc.d/init.d/saslauthd restart 1>&2
466 else
467         echo "Run \"/etc/rc.d/init.d/saslauthd start\" to start saslauthd."
468 fi
469
470 %preun saslauthd
471 if [ "$1" = "0" ]; then
472         if [ -f /var/lock/subsys/saslauthd ]; then
473                 /etc/rc.d/init.d/saslauthd stop 1>&2
474         fi
475         /sbin/chkconfig --del saslauthd
476 fi
477
478 %files
479 %defattr(644,root,root,755)
480 %doc AUTHORS COPYING ChangeLog NEWS README
481 %doc doc/{ONEWS,TODO,*.txt,*.html,*.fig,rfc-compliance}
482 %dir %{_sysconfdir}
483 %dir %{_libdir}/sasl2
484 %dir /var/lib/sasl2
485 %attr(755,root,root) %{_libdir}/lib*.so.*.*
486 %attr(755,root,root) %{_sbindir}/sasldblistusers2
487 %attr(755,root,root) %{_sbindir}/saslpasswd2
488
489 %attr(640,root,mail) %ghost %config(noreplace) %verify(not mtime md5 size) /var/lib/sasl2/sasl.db
490 %{_mandir}/man8/sasldblistusers2.*
491 %{_mandir}/man8/saslpasswd2.*
492
493 %files devel
494 %defattr(644,root,root,755)
495 %{_includedir}/sasl
496 %attr(755,root,root) %{_libdir}/lib*.so
497 %{_libdir}/lib*.la
498 %{_mandir}/man3/*
499
500 %files static
501 %defattr(644,root,root,755)
502 %{_libdir}/lib*.a
503
504 %files anonymous
505 %defattr(644,root,root,755)
506 %attr(755,root,root) %{_libdir}/sasl2/libanonymous.so*
507
508 %if %{with gssapi}
509 %files gssapi
510 %defattr(644,root,root,755)
511 %attr(755,root,root) %{_libdir}/sasl2/libgssapiv2.so*
512 %endif
513
514 %files cram-md5
515 %defattr(644,root,root,755)
516 %attr(755,root,root) %{_libdir}/sasl2/libcrammd5.so*
517
518 %files digest-md5
519 %defattr(644,root,root,755)
520 %attr(755,root,root) %{_libdir}/sasl2/libdigestmd5.so*
521
522 %files login
523 %defattr(644,root,root,755)
524 %attr(755,root,root) %{_libdir}/sasl2/liblogin.so*
525
526 %files otp
527 %defattr(644,root,root,755)
528 %attr(755,root,root) %{_libdir}/sasl2/libotp.so*
529
530 %files plain
531 %defattr(644,root,root,755)
532 %attr(755,root,root) %{_libdir}/sasl2/libplain.so*
533
534 %files sasldb
535 %defattr(644,root,root,755)
536 %attr(755,root,root) %{_libdir}/sasl2/libsasldb.so*
537
538 %if %{with mysql}
539 %files mysql
540 %defattr(644,root,root,755)
541 %attr(755,root,root) %{_libdir}/sasl2/libsql*.so*
542 %endif
543
544 %if %{with pgsql}
545 %files pgsql
546 %defattr(644,root,root,755)
547 %attr(755,root,root) %{_libdir}/sasl2/libsql*.so*
548 %endif
549
550 %if %{with srp}
551 %files srp
552 %defattr(644,root,root,755)
553 %attr(755,root,root) %{_libdir}/sasl2/libsrp.so*
554 %endif
555
556 %if %{with x509}
557 %files x509
558 %defattr(644,root,root,755)
559 %attr(755,root,root) %{_libdir}/sasl2/libx509.so*
560 %endif
561
562 %if %{with pwcheck}
563 %files pwcheck
564 %defattr(644,root,root,755)
565 %attr(755,root,root) %{_sbindir}/pwcheck
566 %endif
567
568 %files saslauthd
569 %defattr(644,root,root,755)
570 %doc cyrus.pam
571 %attr(755,root,root) %{_sbindir}/saslauthd
572 %attr(755,root,root) %{_sbindir}/testsaslauthd
573 %attr(755,root,root) %{_sbindir}/saslcache
574 %attr(754,root,root) /etc/rc.d/init.d/saslauthd
575 %config(noreplace) %verify(not mtime md5 size) /etc/sysconfig/saslauthd
576 %{_mandir}/man8/saslauthd.*
This page took 0.088112 seconds and 4 git commands to generate.