3 %bcond_without cryptedpw # if you keep crypted passwords in your *sql
4 %bcond_without ldap # disable LDAP support for saslauthd
5 %bcond_without gssapi # do not enable GSSAPI support for saslauthd and build gssapi plugin
6 %bcond_without mysql # don't build MySQL plugin
7 %bcond_without ntlm # do not build NTLM plugin
8 %bcond_without pgsql # do not build PostgreSQL plugin
9 %bcond_without sqlite # do not enable sqlite 2 plugin
10 %bcond_without sqlite3 # do not enable sqlite 3 plugin
11 %bcond_with authlib # enable courier-authlib (i wasn't able to test it)
12 %bcond_with opie # OTP plugin using opie library instead of internal code
13 %bcond_with srp # build srp plugin
14 %bcond_with pwcheck # build pwcheck helper (deprecated)
16 %if %{without mysql} && %{without pgsql}
17 %undefine with_cryptedpw
20 Summary: The SASL library API for the Cyrus mail system
21 Summary(pl.UTF-8): Biblioteka Cyrus SASL
22 Summary(pt_BR.UTF-8): Implementação da API SASL
23 Summary(ru.UTF-8): Библиотека Cyrus SASL
24 Summary(uk.UTF-8): Бібліотека Cyrus SASL
28 License: distributable
30 #Source0Download: https://github.com/cyrusimap/cyrus-sasl/releases
31 Source0: https://github.com/cyrusimap/cyrus-sasl/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
32 # Source0-md5: a33820c66e0622222c5aefafa1581083
33 Source1: saslauthd.init
34 Source2: saslauthd.sysconfig
36 Source4: check_saslauthd.cfg
37 Patch0: %{name}-nolibs.patch
38 Patch1: %{name}-lt.patch
39 Patch2: %{name}-split-sql.patch
40 Patch3: %{name}-opie.patch
41 # Adapted from http://frost.ath.cx/software/cyrus-sasl-patches/dist/2.1.19/cyrus-sasl-2.1.19-checkpw.c+sql.c.patch
42 Patch5: %{name}-cryptedpw.patch
43 Patch6: %{name}-md5sum-passwords.patch
44 Patch7: %{name}-db.patch
45 Patch9: %{name}-sizes.patch
46 Patch10: %{name}-nagios-plugin.patch
47 Patch12: %{name}-gssapi-detect.patch
48 Patch13: %{name}-saslauthd-httpform-urlescape.patch
49 Patch14: %{name}-ac-libs.patch
50 Patch20: %{name}-auxprop.patch
51 Patch21: 0030-dont_use_la_files_for_opening_plugins.patch
52 URL: https://www.cyrusimap.org/sasl/
53 BuildRequires: autoconf >= 2.63
54 BuildRequires: automake >= 1:1.11
55 %{?with_authlib:BuildRequires: courier-authlib-devel}
56 BuildRequires: db-devel
59 %{?with_gssapi:BuildRequires: heimdal-devel}
60 BuildRequires: libtool >= 1.4
61 %{?with_mysql:BuildRequires: mysql-devel}
62 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
63 BuildRequires: openssl-devel >= 0.9.7d
64 %{?with_opie:BuildRequires: opie-devel}
65 BuildRequires: pam-devel
66 %{?with_pgsql:BuildRequires: postgresql-devel}
67 BuildRequires: rpmbuild(macros) >= 1.268
68 %{?with_sqlite:BuildRequires: sqlite-devel}
69 %{?with_sqlite3:BuildRequires: sqlite3-devel >= 3}
70 Requires: pam >= 0.79.0
71 Requires: %{name}-libs = %{version}-%{release}
72 Obsoletes: cyrus-sasl-x509 < %{version}
73 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
75 %define _sysconfdir /etc/sasl
77 %define specflags -fno-strict-aliasing
80 This is an implementation of the SASL API, useful for adding
81 authentication, authorization, and security to network protocols. The
82 SASL protocol itself is documented in rfc2222; the API standard is a
85 Note: remember to install appropriate plugins, or you won't have any
86 authentication mechanisms available.
88 %description -l pl.UTF-8
89 Pakiet cyrus-sasl zawiera implementację biblioteki API SASL dla
90 systemu poczty elektronicznej Cyrusa. Biblioteka ta jest przydatna
91 także do dodawania uwierzytelniania, autoryzacji oraz zwiększania
92 bezpieczeństwa protokołów sieciowych. Sam protokół SASL jest opisany w
93 RFC 2222; standaryzacja API jest w toku.
95 Uwaga: aby były dostępne jakiekolwiek mechanizmy autoryzacji, należy
96 doinstalować odpowiednie wtyczki.
98 %description -l pt_BR.UTF-8
99 Esta é uma implementação da API SASL, útil para acrescentar
100 autenticação, autorização e seguança (criptografia) para protocolos de
101 rede. O protocolo SASL está documentado na RFC 2222. A API "padrão"
102 ainda está em desenvolvimento.
104 %description -l ru.UTF-8
105 Пакет cyrus-sasl содержит реализацию Cyrus SASL. SASL - это Simple
106 Authentication and Security Layer, метод для добавления поддержки
107 аутентикации к протоколам, основанным на соединениях.
109 %description -l uk.UTF-8
110 Пакет cyrus-sasl містить реалізацію Cyrus SASL. SASL - це Simple
111 Authentication and Security Layer, метод для додання підтримки
112 аутентикації до протоколів, базованих на з'єднаннях.
115 Summary: cyrus-sasl library itself
116 Summary(pl.UTF-8): Sama biblioteka cyrus-sasl
118 Requires(post,postun): /sbin/ldconfig
119 Conflicts: cyrus-sasl < 2.1.23-8
122 cyrus-sasl library itself.
124 %description libs -l pl.UTF-8
125 Sama biblioteka cyrus-sasl.
128 Summary: Header files and documentation for cyrus-sasl
129 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja dla cyrus-sasl
130 Summary(pt_BR.UTF-8): Exemplos e arquivos para desenvolvimento com SASL
131 Summary(ru.UTF-8): Файлы для программирования с библиотекой Cyrus SASL
132 Summary(uk.UTF-8): Файли для програмування з бібліотекою Cyrus SASL
133 Group: Development/Libraries
134 Requires: %{name} = %{version}-%{release}
137 This includes the header files and documentation needed to develop
138 applications which use SASL.
140 %description devel -l pl.UTF-8
141 Pliki nagłówkowe i dokumentacja dla cyrus-sasl.
143 %description devel -l pt_BR.UTF-8
144 Este pacote inclui os arquivos de cabeçalho e documentação necessários
145 para desenvolver aplicativos que usem SASL.
147 %description devel -l ru.UTF-8
148 Хедеры и библиотеки, необходимые для разработки приложений,
149 использующих Cyrus SASL.
151 %description devel -l uk.UTF-8
152 Хедери та бібліотеки, необхідні для розробки програм, що
153 використовують Cyrus SASL.
156 Summary: Static cyrus-sasl libraries
157 Summary(pl.UTF-8): Statyczne biblioteki cyrus-sasl
158 Summary(ru.UTF-8): Статические библиотеки Cyrus SASL
159 Summary(uk.UTF-8): Статичні бібліотеки Cyrus SASL
160 Group: Development/Libraries
161 Requires: %{name}-devel = %{version}-%{release}
164 Static cyrus-sasl libraries.
166 %description static -l pl.UTF-8
167 Statyczne biblioteki cyrus-sasl.
169 %description static -l ru.UTF-8
170 Статические библиотеки, необходимые для разработки приложений,
171 использующих Cyrus SASL.
173 %description static -l uk.UTF-8
174 Статичні бібліотеки, необхідні для розробки програм, що використовують
178 Summary: Anonymous Cyrus SASL plugin
179 Summary(pl.UTF-8): Wtyczka anonymous do Cyrus SASL
180 Summary(pt_BR.UTF-8): Mecanismo SASL ANONYMOUS
182 Requires: %{name} = %{version}-%{release}
184 %description anonymous
185 This plugin implements the SASL ANONYMOUS mechanism, used for
186 anonymous authentication.
188 %description anonymous -l pl.UTF-8
189 Wtyczka dodająca obsługę mechanizmu ANONYMOUS do Cyrus SASL. Służy do
190 anonimowego uwierzytelniania.
192 %description anonymous -l pt_BR.UTF-8
193 Este plugin implementa o mecanismo SASL ANONYMOUS, usado para
194 autenticação anônima.
197 Summary: Cram-MD5 Cyrus SASL plugin
198 Summary(pl.UTF-8): Wtyczka Cram-MD5 do Cyrus SASL
199 Summary(pt_BR.UTF-8): Mecanismo SASL CRAM-MD5
201 Requires: %{name} = %{version}-%{release}
203 %description cram-md5
204 This plugin implements the SASL CRAM-MD5 mechanism. CRAM-MD5 is the
205 mandatory-to-implement authentication mechanism for a number of
206 protocols; it uses MD5 with a challenge/response system to
207 authenticate the user.
209 %description cram-md5 -l pl.UTF-8
210 Wtyczka dodająca obsługę mechanizmu CRAM-MD5 do Cyrus SASL. CRAM-MD5
211 jest obowiązkowym do zaimplementowania mechanizmem uwierzytelniania
212 dla wielu protokołów; do uwierzytelnienia użytkownika używa MD5 wraz z
213 systemem challenge/response.
215 %description cram-md5 -l pt_BR.UTF-8
216 Este plugin implementa o mecanismo SASL CRAM-MD5. CRAM-MD5 é o
217 mecanismo de autenticação obrigatório de ser implementado para vários
218 protocolos: ele usa MD5 com um sistema de desafio/resposta para
219 autenticar o usuário.
222 Summary: Digest-MD5 Cyrus SASL plugin
223 Summary(pl.UTF-8): Wtyczka Digest-MD5 do Cyrus SASL
224 Summary(pt_BR.UTF-8): Mecanismo SASL DIGEST-MD5
226 Requires: %{name} = %{version}-%{release}
228 %description digest-md5
229 This plugin implements the latest draft of the SASL DIGEST-MD5
230 mechanism. Although not yet finalized, this is likely to become the
231 new mandatory-to-implement authentication system in all new protocols.
232 It's based on the digest md5 authentication system designed for HTTP.
234 %description digest-md5 -l pl.UTF-8
235 Wtyczka dodająca najnowszą wersję mechanizmu DIGEST-MD5 do Cyrus SASL.
236 Pomimo tego, że nie jest jeszcze ukończony, najprawdopodobniej stanie
237 się obowiązkowym do zaimplementowania systemem uwierzytelniania we
238 wszystkich nowych protokołach. Bazuje na systemie uwierzytelniania
239 Digest-MD5 zaprojektowanym dla HTTP.
241 %description digest-md5 -l pt_BR.UTF-8
242 Este plugin implementa a última versão da especificação do mecanismo
243 SASL DIGEST-MD5. Embora ainda não esteja finalizado, DIGEST-MD5
244 provavelmente será o novo sistema de autenticação obrigatório para
245 protocolos novos. Ele é baseado na autenticação md5 digest
246 desenvolvida para HTTP.
249 Summary: GSSAPI Cyrus SASL plugin
250 Summary(pl.UTF-8): Wtyczka GSSAPI do Cyrus SASL
251 Summary(pt_BR.UTF-8): Mecanismo SASL GSSAPI
253 Requires: %{name} = %{version}-%{release}
256 This plugin implements the SASL GSSAPI mechanism, used for
257 GSSAPI/Kerberos5 authentication.
259 %description gssapi -l pl.UTF-8
260 Wtyczka dodająca obsługę mechanizmu SASL GSSAPI, używanego do
261 uwierzytelniania z użyciem GSSAPI/Kerberos5.
263 %description gssapi -l pt_BR.UTF-8
264 Este plugin implementa o mecanismo SASL GSSAPI, usado para
265 autenticação Kerberos/GSSAPI.
268 Summary: Unsupported Login Cyrus SASL plugin
269 Summary(pl.UTF-8): Nie wspierana wtyczka Login do Cyrus SASL
271 Requires: %{name} = %{version}-%{release}
274 Unsupported LOGIN Cyrus SASL plugin.
276 %description login -l pl.UTF-8
277 Wtyczka dodająca obsługę nie wspieranego mechanizmu LOGIN do Cyrus
281 Summary: Cyrus SASL MySQL plugin
282 Summary(pl.UTF-8): Wtyczka MySQL do Cyrus SASL
284 Requires: %{name} = %{version}-%{release}
287 Cyrus SASL MySQL plugin.
289 %description mysql -l pl.UTF-8
290 Wtyczka MySQL do Cyrus SASL.
293 Summary: Cyrus SASL NTLM plugin
294 Summary(pl.UTF-8): Wtyczka NTLM do Cyrus SASL
296 Requires: %{name} = %{version}-%{release}
299 Cyrus SASL NTLM plugin.
301 %description ntlm -l pl.UTF-8
302 Wtyczka NTLM do Cyrus SASL.
305 Summary: OTP Cyrus SASL plugin
306 Summary(pl.UTF-8): Wtyczka OTP do Cyrus SASL
307 Summary(pt_BR.UTF-8): Mecanismo SASL OTP
309 Requires: %{name} = %{version}-%{release}
310 Obsoletes: cyrus-sasl-opie < %{version}
313 This plugin implements the SASL OTP (One Time Password) mechanism.
315 %description otp -l pl.UTF-8
316 Wtyczka dodająca obsługę mechanizmu OTP (hasła jednorazowe) do Cyrus
320 Summary: Cyrus SASL PostgreSQL plugin
321 Summary(pl.UTF-8): Wtyczka PostgreSQL do Cyrus SASL
323 Requires: %{name} = %{version}-%{release}
326 Cyrus SASL PostgreSQL plugin.
328 %description pgsql -l pl.UTF-8
329 Wtyczka PostgreSQL do Cyrus SASL.
332 Summary: Plain Cyrus SASL plugin
333 Summary(pl.UTF-8): Wtyczka plain do Cyrus SASL
334 Summary(pt_BR.UTF-8): Mecanismo SASL PLAIN
336 Requires: %{name} = %{version}-%{release}
339 This plugin implements the SASL PLAIN mechanism. Although insecure,
340 PLAIN is useful for transitioning to new security mechanisms, as this
341 is the only mechanism which gives the server a copy of the user's
344 %description plain -l pl.UTF-8
345 Wtyczka dodająca obsługę mechanizmu PLAIN do Cyrus SASL. Pomimo tego,
346 że nie jest bezpieczny, PLAIN jest przydatny przy przechodzeniu na
347 nowe mechanizmu bezpieczeństwa, jako że jest to jedyny mechanizm,
348 który udostępnia serwerowi kopię hasła użytkownika.
350 %description plain -l pt_BR.UTF-8
351 Este plugin implementa o mecanismo SASL PLAIN. Embora inseguro, este
352 mecanismo é útil durante transições para novos mecanismos de
353 segurança, pois é o único esquema que fornece uma cópia da senha do
354 usuário para o servidor.
357 Summary: Cyrus SASL sasldb plugin
358 Summary(pl.UTF-8): Wtyczka sasldb do Cyrus SASL
360 Requires: %{name} = %{version}-%{release}
363 Cyrus SASL sasldb plugin.
365 %description sasldb -l pl.UTF-8
366 Wtyczka sasldb do Cyrus SASL.
369 Summary: Cyrus SASL LDAPDB plugin
370 Summary(pl.UTF-8): Wtyczka LDAPDB do Cyrus SASL
372 Requires: %{name} = %{version}-%{release}
375 Cyrus SASL ldapdb plugin.
377 %description ldapdb -l pl.UTF-8
378 Wtyczka ldapdb do Cyrus SASL.
381 Summary: PASSDSS Cyrus SASL plugin
382 Summary(pl.UTF-8): Wtyczka PASSDSS do Cyrus SASL
383 Summary(pt_BR.UTF-8): Mecanismo SASL PASSDSS
385 Requires: %{name} = %{version}-%{release}
388 This plugin implements the PASSDSS 3DES mechanism.
390 %description passdss -l pl.UTF-8
391 Wtyczka dodająca obsługę mechanizmu PASSDSS 3DES do Cyrus SASL.
393 %description passdss -l pt_BR.UTF-8
394 Este plugin implementa o mecanismo SASL PASSDSS 3DES.
397 Summary: SCRAM Cyrus SASL plugin
398 Summary(pl.UTF-8): Wtyczka SCRAM do Cyrus SASL
399 Summary(pt_BR.UTF-8): Mecanismo SASL SCRAM
401 Requires: %{name} = %{version}-%{release}
404 This plugin implements the SASL SCRAM-MD5 mechanism.
406 %description scram -l pl.UTF-8
407 Wtyczka dodająca obsługę mechanizmu SCRAM do Cyrus SASL.
409 %description scram -l pt_BR.UTF-8
410 Este plugin implementa o mecanismo SASL SCRAM.
413 Summary: Cyrus SQLite 2 PostgreSQL plugin
414 Summary(pl.UTF-8): Wtyczka SQLite 2 do Cyrus SASL
416 Requires: %{name} = %{version}-%{release}
419 Cyrus SASL SQLite 2 plugin.
421 %description sqlite -l pl.UTF-8
422 Wtyczka SQLite 2 do Cyrus SASL.
425 Summary: Cyrus SQLite 3 PostgreSQL plugin
426 Summary(pl.UTF-8): Wtyczka SQLite 3 do Cyrus SASL
428 Requires: %{name} = %{version}-%{release}
431 Cyrus SASL SQLite 3 plugin.
433 %description sqlite3 -l pl.UTF-8
434 Wtyczka SQLite 3 do Cyrus SASL.
437 Summary: SRP Cyrus SASL plugin
438 Summary(pl.UTF-8): Wtyczka SRP do Cyrus SASL
439 Summary(pt_BR.UTF-8): Mecanismo SASL SRP
441 Requires: %{name} = %{version}-%{release}
444 This plugin implements the SASL SRP mechanism, based on the Secure
445 Remote Password protocol. This mechanism performs mutual
446 authentication and can provide a security layer with replay detection,
447 integrity protection and/or condifentiality protection.
449 %description srp -l pl.UTF-8
450 Wtyczka dodająca obsługę mechanizmu SRP do Cyrus SASL. Bazuje na
451 protokole Secure Remote Password. Ten mechanizm dokonuje wzajemnego
452 uwierzytelnienia i może dodawać warstwę bezpieczeństwa z wykrywaniem
453 powtarzania, zabezpieczeniem integralności i/lub poufności.
455 %description srp -l pt_BR.UTF-8
456 Este plugin implementa o mecanismo SASL SRP, baseado no protocolo SRP
457 (Secure Remote Password). Este mecanismo oferece autenticação mútua
458 (do cliente e do servidor) e pode prover uma camada de segurança com
459 detecção de ataques de replay, garantia de integridade e/ou
463 Summary: Cyrus SASL pwcheck helper
464 Summary(pl.UTF-8): Program pomocniczy pwcheck do Cyrus SASL
466 Requires: %{name} = %{version}-%{release}
469 Cyrus SASL pwcheck helper.
471 %description pwcheck -l pl.UTF-8
472 Program pomocniczy pwcheck do Cyrus SASL.
475 Summary: Cyrus SASL authd
476 Summary(pl.UTF-8): Demon authd do Cyrus SASL
478 Requires(post,preun): /sbin/chkconfig
479 Requires: %{name} = %{version}-%{release}
480 Requires: /sbin/chkconfig
483 %description saslauthd
486 %description saslauthd -l pl.UTF-8
487 Demon authd do Cyrus SASL.
489 %package -n nagios-plugin-check_saslauthd
490 Summary: Nagios plugin to check health of saslauthd
491 Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania działania saslauthd
493 Requires: nagios-core
495 %description -n nagios-plugin-check_saslauthd
496 Nagios plugin to check health of saslauthd.
498 %description -n nagios-plugin-check_saslauthd -l pl.UTF-8
499 Wtyczka Nagiosa do sprawdzania działania saslauthd.
507 %if %{with cryptedpw}
520 # update to our paths
522 s,/usr/local/etc/saslauthd.conf,%{_sysconfdir}/saslauthd.conf,g
523 s,/etc/saslauthd.conf,%{_sysconfdir}/saslauthd.conf,g
524 s,/var/run/saslauthd/mux,/var/lib/sasl2/mux,g
525 s,/var/state/saslauthd,/var/lib/sasl2,g
526 ' saslauthd/saslauthd.8 saslauthd/saslauthd.mdoc saslauthd/LDAP_SASLAUTHD doc/legacy/sysadmin.html
535 %{?with_cryptedpw: LDFLAGS=-lcrypt} \
536 %{!?with_gssapi:--disable-gssapi} \
537 %{?with_gssapi:--enable-gssapi --with-gss_impl=heimdal} \
540 %{?with_ldap:--enable-ldapdb} \
545 %{?with_srp:--enable-srp} \
547 %{?with_authlib:--with-authdaemond=/var/spool/authdaemon/socket} \
548 --with-configdir=%{_sysconfdir} \
549 --with-dblib=berkeley \
550 --with-dbpath=/var/lib/sasl2/sasl.db \
551 %{?with_ldap:--with-ldap} \
552 %{?with_mysql:--with-mysql=%{_prefix}} \
553 %{?with_ntlm:--enable-ntlm} \
554 %{?with_opie:--with-opie=%{_prefix}} \
556 %{?with_pgsql:--with-pgsql=%{_prefix}} \
557 --with-plugindir=%{_libdir}/sasl2 \
558 %{?with_pwcheck:--with-pwcheck=/var/lib/sasl2} \
559 --with-saslauthd=/var/lib/sasl2 \
560 %{?with_sqlite:--with-sqlite=%{_prefix}} \
561 %{?with_sqlite3:--with-sqlite3=%{_prefix}}
565 %{__make} -C saslauthd testsaslauthd
566 %{__make} -C saslauthd saslcache
567 %{__make} -C sample sample-client sample-server
569 %{__rm} -rf doc/html/{_sources,objects.inv,.buildinfo}
572 rm -rf $RPM_BUILD_ROOT
573 install -d $RPM_BUILD_ROOT{%{_bindir},/var/lib/sasl2,%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
574 $RPM_BUILD_ROOT%{_mandir}/man8
577 sasldir=%{_libdir}/sasl2 \
578 DESTDIR=$RPM_BUILD_ROOT
580 %{__rm} $RPM_BUILD_ROOT%{_libdir}/sasl2/*.{la,a}
582 cp -a utils/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
583 cp -a saslauthd/saslauthd.mdoc $RPM_BUILD_ROOT%{_mandir}/man8/saslauthd.8
585 ln -sf libsasl2.so $RPM_BUILD_ROOT%{_libdir}/libsasl.so
587 touch $RPM_BUILD_ROOT/var/lib/sasl2/sasl.db
589 # create empty config
590 touch $RPM_BUILD_ROOT%{_sysconfdir}/saslauthd.conf
591 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/saslauthd
592 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/saslauthd
593 cp -a %{SOURCE3} cyrus.pam
595 install -p saslauthd/{testsaslauthd,saslcache} $RPM_BUILD_ROOT%{_sbindir}
597 # sample programs for testing sasl
598 libtool --mode=install cp sample/sample-client $RPM_BUILD_ROOT%{_bindir}/sasl-sample-client
599 libtool --mode=install cp sample/sample-server $RPM_BUILD_ROOT%{_bindir}/sasl-sample-server
602 touch $RPM_BUILD_ROOT/var/lib/sasl2/{cache.flock,cache.mmap,mux,mux.accept,saslauthd.pid}
604 install -d $RPM_BUILD_ROOT/etc/nagios/plugins
605 %{__sed} -e 's,@plugindir@,%{_libdir}/nagios/plugins,' %{SOURCE4} > $RPM_BUILD_ROOT/etc/nagios/plugins/check_saslauthd.cfg
608 rm -rf $RPM_BUILD_ROOT
610 %post libs -p /sbin/ldconfig
611 %postun libs -p /sbin/ldconfig
614 /sbin/chkconfig --add saslauthd
615 %service saslauthd restart
618 if [ "$1" = "0" ]; then
619 %service saslauthd stop
620 /sbin/chkconfig --del saslauthd
623 %triggerin saslauthd -- pam
624 # restart saslauthd if pam is upgraded
625 # (saslauth is linked with old libpam but tries to open modules linked with new libpam)
626 if [ "$2" != 1 ]; then
627 %service -q saslauthd restart
631 %defattr(644,root,root,755)
632 %doc AUTHORS COPYING ChangeLog README doc/legacy/{TODO,*.html,*.fig} doc/html
634 %dir %{_libdir}/sasl2
635 # sample programs to subpackage instead?
636 %attr(755,root,root) %{_bindir}/sasl-sample-client
637 %attr(755,root,root) %{_bindir}/sasl-sample-server
638 %attr(755,root,root) %{_sbindir}/pluginviewer
639 %attr(755,root,root) %{_sbindir}/sasldblistusers2
640 %attr(755,root,root) %{_sbindir}/saslpasswd2
642 %attr(640,root,mail) %ghost %config(noreplace) %verify(not md5 mtime size) /var/lib/sasl2/sasl.db
643 %{_mandir}/man8/pluginviewer.8*
644 %{_mandir}/man8/sasldblistusers2.8*
645 %{_mandir}/man8/saslpasswd2.8*
648 %defattr(644,root,root,755)
649 %attr(755,root,root) %{_libdir}/libsasl2.so.*.*.*
650 %attr(755,root,root) %ghost %{_libdir}/libsasl2.so.3
653 %defattr(644,root,root,755)
654 %attr(755,root,root) %{_libdir}/libsasl2.so
655 %attr(755,root,root) %{_libdir}/libsasl.so
656 %{_libdir}/libsasl2.la
658 %{_pkgconfigdir}/libsasl2.pc
659 %{_mandir}/man3/sasl*.3*
662 %defattr(644,root,root,755)
663 %{_libdir}/libsasl2.a
666 %defattr(644,root,root,755)
667 %attr(755,root,root) %{_libdir}/sasl2/libanonymous.so*
671 %defattr(644,root,root,755)
672 %attr(755,root,root) %{_libdir}/sasl2/libgs2.so*
673 %attr(755,root,root) %{_libdir}/sasl2/libgssapiv2.so*
677 %defattr(644,root,root,755)
678 %attr(755,root,root) %{_libdir}/sasl2/libcrammd5.so*
681 %defattr(644,root,root,755)
682 %attr(755,root,root) %{_libdir}/sasl2/libdigestmd5.so*
685 %defattr(644,root,root,755)
686 %attr(755,root,root) %{_libdir}/sasl2/liblogin.so*
690 %defattr(644,root,root,755)
691 %attr(755,root,root) %{_libdir}/sasl2/libmysql.so*
696 %defattr(644,root,root,755)
697 %attr(755,root,root) %{_libdir}/sasl2/libntlm.so*
701 %defattr(644,root,root,755)
702 %attr(755,root,root) %{_libdir}/sasl2/libotp.so*
706 %defattr(644,root,root,755)
707 %attr(755,root,root) %{_libdir}/sasl2/libpgsql.so*
711 %defattr(644,root,root,755)
712 %attr(755,root,root) %{_libdir}/sasl2/libplain.so*
715 %defattr(644,root,root,755)
716 %attr(755,root,root) %{_libdir}/sasl2/libsasldb.so*
720 %defattr(644,root,root,755)
721 %attr(755,root,root) %{_libdir}/sasl2/libldapdb.so*
725 %defattr(644,root,root,755)
726 %attr(755,root,root) %{_libdir}/sasl2/libpassdss.so*
729 %defattr(644,root,root,755)
730 %attr(755,root,root) %{_libdir}/sasl2/libscram.so*
734 %defattr(644,root,root,755)
735 %attr(755,root,root) %{_libdir}/sasl2/libsqlite.so*
740 %defattr(644,root,root,755)
741 %attr(755,root,root) %{_libdir}/sasl2/libsqlite3.so*
746 %defattr(644,root,root,755)
747 %attr(755,root,root) %{_libdir}/sasl2/libsrp.so*
752 %defattr(644,root,root,755)
753 %attr(755,root,root) %{_sbindir}/pwcheck
757 %defattr(644,root,root,755)
758 %doc cyrus.pam saslauthd/{COPYING,LDAP_SASLAUTHD}
759 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/saslauthd.conf
760 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/saslauthd
761 %attr(755,root,root) %{_sbindir}/saslauthd
762 %attr(755,root,root) %{_sbindir}/testsaslauthd
763 %attr(755,root,root) %{_sbindir}/saslcache
764 %attr(754,root,root) /etc/rc.d/init.d/saslauthd
765 %ghost /var/lib/sasl2/cache.flock
766 %ghost /var/lib/sasl2/cache.mmap
767 %ghost /var/lib/sasl2/mux
768 %ghost /var/lib/sasl2/mux.accept
769 %ghost /var/lib/sasl2/saslauthd.pid
770 %{_mandir}/man8/saslauthd.8*
772 %files -n nagios-plugin-check_saslauthd
773 %defattr(644,root,root,755)
774 %config(noreplace) %verify(not md5 mtime size) /etc/nagios/plugins/check_saslauthd.cfg
775 %attr(755,root,root) %{_libdir}/nagios/plugins/check_saslauthd