]> git.pld-linux.org Git - packages/cyrus-sasl.git/blob - cyrus-sasl.spec
- updated to 2.1.21, updated nolibs,lt,split-sql patches, removed obsolete db patch
[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.21
23 Release:        1
24 License:        distributable
25 Group:          Libraries
26 Source0:        ftp://ftp.andrew.cmu.edu/pub/cyrus/%{name}-%{version}.tar.gz
27 # Source0-md5:  dde02db234dea892bee298390890502e
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}-split-sql.patch
35 Patch4:         %{name}-opie.patch
36 Patch5:         %{name}-gcc4.patch
37 URL:            http://asg.web.cmu.edu/sasl/
38 BuildRequires:  autoconf >= 2.54
39 BuildRequires:  automake
40 BuildRequires:  db-devel
41 BuildRequires:  ed
42 BuildRequires:  groff
43 %{?with_gssapi:BuildRequires:   heimdal-devel}
44 BuildRequires:  libtool >= 1.4
45 %{?with_mysql:BuildRequires:    mysql-devel}
46 %{?with_pgsql:BuildRequires:    postgresql-devel}
47 %{?with_ldap:BuildRequires:     openldap-devel}
48 %{?with_sqlite:BuildRequires:   sqlite-devel}
49 %{?with_opie:BuildRequires:     opie-devel}
50 BuildRequires:  openssl-devel >= 0.9.7d
51 BuildRequires:  pam-devel
52 Requires:       pam >= 0.79.0
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
418 cd doc
419 echo "cyrus-sasl complies with the following RFCs:" > rfc-compliance
420 ls rfc*.txt >> rfc-compliance
421 rm -f rfc*.txt
422 cd ..
423
424 rm -rf autom4te.cache saslauthd/autom4te.cache
425 # acinclude.m4 contains only old libtool.m4
426 rm -f acinclude.m4 libtool config/libtool.m4 saslauthd/acinclude.m4
427
428 %build
429 %{__libtoolize}
430 %{__aclocal} -I cmulocal -I config
431 %{__autoheader}
432 %{__automake}
433 %{__autoconf}
434
435 cd saslauthd
436 %{__libtoolize}
437 %{__aclocal} -I ../cmulocal -I ../config -I config
438 %{__autoheader}
439 %{__automake}
440 %{__autoconf}
441 cd ..
442
443 %configure \
444         --disable-krb4 \
445         %{!?with_gssapi: --disable-gssapi} \
446         %{?with_gssapi: --enable-gssapi --with-gss_impl=heimdal} \
447         --enable-login \
448         --enable-sql \
449         %{?with_srp: --enable-srp} \
450         --enable-static \
451         --with-plugindir=%{_libdir}/sasl2 \
452         --with-configdir=%{_sysconfdir} \
453         --with-dblib=berkeley \
454         --with-dbpath=/var/lib/sasl2/sasl.db \
455         %{?with_ldap: --with-ldap=%{_prefix}} \
456         %{?with_mysql: --with-mysql=%{_prefix}} \
457         %{?with_pgsql: --with-pgsql=%{_prefix}} \
458         %{?with_sqlite: --with-sqlite=%{_prefix}} \
459         %{?with_opie: --with-opie=%{_prefix}} \
460         --with-pam \
461         %{?with_pwcheck: --with-pwcheck=/var/lib/sasl2} \
462         --with-saslauthd=/var/lib/sasl2
463 %{__make}
464
465 %{__make} -C saslauthd testsaslauthd
466 %{__make} -C saslauthd saslcache
467
468 cd doc
469 RFCLIST=`grep 'rfc.\+\.txt' rfc-compliance`
470 for i in $RFCLIST; do
471         RFCDIR=../RFC/text/`echo $i | sed -e 's:^rfc::' -e 's:..\.txt$::' `00
472         echo -e ',s:'$i':'$RFCDIR/$i'\n,w\nq' | ed index.html
473 done
474
475 %install
476 rm -rf $RPM_BUILD_ROOT
477 install -d $RPM_BUILD_ROOT{/var/lib/sasl2,%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
478                 $RPM_BUILD_ROOT%{_mandir}/man8
479
480 %{__make} install \
481         sasldir=%{_libdir}/sasl2 \
482         DESTDIR=$RPM_BUILD_ROOT
483
484 rm -rf $RPM_BUILD_ROOT%{_mandir}/cat*
485 rm -f $RPM_BUILD_ROOT%{_libdir}/sasl2/*.{la,a}
486
487 install utils/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
488 install saslauthd/saslauthd.mdoc $RPM_BUILD_ROOT%{_mandir}/man8/saslauthd.8
489
490 ln -sf libsasl2.so $RPM_BUILD_ROOT%{_libdir}/libsasl.so
491
492 touch $RPM_BUILD_ROOT/var/lib/sasl2/sasl.db
493
494 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/saslauthd
495 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/saslauthd
496 install %{SOURCE3} ./cyrus.pam
497
498 install saslauthd/{testsaslauthd,saslcache} $RPM_BUILD_ROOT%{_sbindir}
499
500 %clean
501 rm -rf $RPM_BUILD_ROOT
502
503 %post   -p /sbin/ldconfig
504 %postun -p /sbin/ldconfig
505
506 %post saslauthd
507 /sbin/chkconfig --add saslauthd
508 if [ -f /var/lock/subsys/saslauthd ]; then
509         /etc/rc.d/init.d/saslauthd restart 1>&2
510 else
511         echo "Run \"/etc/rc.d/init.d/saslauthd start\" to start saslauthd."
512 fi
513
514 %preun saslauthd
515 if [ "$1" = "0" ]; then
516         if [ -f /var/lock/subsys/saslauthd ]; then
517                 /etc/rc.d/init.d/saslauthd stop 1>&2
518         fi
519         /sbin/chkconfig --del saslauthd
520 fi
521
522 %files
523 %defattr(644,root,root,755)
524 %doc AUTHORS COPYING ChangeLog NEWS README
525 %doc doc/{ONEWS,TODO,*.txt,*.html,*.fig,rfc-compliance}
526 %dir %{_sysconfdir}
527 %dir %{_libdir}/sasl2
528 %dir /var/lib/sasl2
529 %attr(755,root,root) %{_libdir}/lib*.so.*.*
530 %attr(755,root,root) %{_sbindir}/sasldblistusers2
531 %attr(755,root,root) %{_sbindir}/saslpasswd2
532
533 %attr(640,root,mail) %ghost %config(noreplace) %verify(not mtime md5 size) /var/lib/sasl2/sasl.db
534 %{_mandir}/man8/sasldblistusers2.*
535 %{_mandir}/man8/saslpasswd2.*
536
537 %files devel
538 %defattr(644,root,root,755)
539 %{_includedir}/sasl
540 %attr(755,root,root) %{_libdir}/lib*.so
541 %{_libdir}/lib*.la
542 %{_mandir}/man3/*
543
544 %files static
545 %defattr(644,root,root,755)
546 %{_libdir}/lib*.a
547
548 %files anonymous
549 %defattr(644,root,root,755)
550 %attr(755,root,root) %{_libdir}/sasl2/libanonymous.so*
551
552 %if %{with gssapi}
553 %files gssapi
554 %defattr(644,root,root,755)
555 %attr(755,root,root) %{_libdir}/sasl2/libgssapiv2.so*
556 %endif
557
558 %files cram-md5
559 %defattr(644,root,root,755)
560 %attr(755,root,root) %{_libdir}/sasl2/libcrammd5.so*
561
562 %files digest-md5
563 %defattr(644,root,root,755)
564 %attr(755,root,root) %{_libdir}/sasl2/libdigestmd5.so*
565
566 %files login
567 %defattr(644,root,root,755)
568 %attr(755,root,root) %{_libdir}/sasl2/liblogin.so*
569
570 %files otp
571 %defattr(644,root,root,755)
572 %attr(755,root,root) %{_libdir}/sasl2/libotp.so*
573
574 %if %{with opie}
575 %files opie
576 %defattr(644,root,root,755)
577 %attr(755,root,root) %{_libdir}/sasl2/libopie.so*
578 %endif
579
580 %files plain
581 %defattr(644,root,root,755)
582 %attr(755,root,root) %{_libdir}/sasl2/libplain.so*
583
584 %files sasldb
585 %defattr(644,root,root,755)
586 %attr(755,root,root) %{_libdir}/sasl2/libsasldb.so*
587
588 %if %{with mysql}
589 %files mysql
590 %defattr(644,root,root,755)
591 %attr(755,root,root) %{_libdir}/sasl2/libmysql.so*
592 %endif
593
594 %if %{with pgsql}
595 %files pgsql
596 %defattr(644,root,root,755)
597 %attr(755,root,root) %{_libdir}/sasl2/libpgsql.so*
598 %endif
599
600 %if %{with sqlite}
601 %files sqlite
602 %defattr(644,root,root,755)
603 %attr(755,root,root) %{_libdir}/sasl2/libsqlite.so*
604 %endif
605
606 %if %{with srp}
607 %files srp
608 %defattr(644,root,root,755)
609 %attr(755,root,root) %{_libdir}/sasl2/libsrp.so*
610 %endif
611
612 %if %{with x509}
613 %files x509
614 %defattr(644,root,root,755)
615 %attr(755,root,root) %{_libdir}/sasl2/libx509.so*
616 %endif
617
618 %if %{with pwcheck}
619 %files pwcheck
620 %defattr(644,root,root,755)
621 %attr(755,root,root) %{_sbindir}/pwcheck
622 %endif
623
624 %files saslauthd
625 %defattr(644,root,root,755)
626 %doc cyrus.pam
627 %attr(755,root,root) %{_sbindir}/saslauthd
628 %attr(755,root,root) %{_sbindir}/testsaslauthd
629 %attr(755,root,root) %{_sbindir}/saslcache
630 %attr(754,root,root) /etc/rc.d/init.d/saslauthd
631 %config(noreplace) %verify(not mtime md5 size) /etc/sysconfig/saslauthd
632 %{_mandir}/man8/saslauthd.*
This page took 0.103924 seconds and 4 git commands to generate.