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