1 Summary: Courier authentication library
2 Summary(pl.UTF-8): Biblioteka uwierzytelniania Couriera
7 Group: Networking/Daemons
8 Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
9 # Source0-md5: 55a1cd01664aa8943b3639fe4963bfaa
11 Patch0: %{name}-md5sum-passwords.patch
12 Patch1: %{name}-authdaemonrc.patch
13 Patch2: %{name}-nostatic.patch
14 Patch3: %{name}-ltdl.patch
15 URL: http://www.courier-mta.org/authlib/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: db-devel
20 BuildRequires: libltdl-devel
21 BuildRequires: libtool
22 BuildRequires: mysql-devel
23 BuildRequires: openldap-devel >= 2.3.0
24 BuildRequires: pam-devel
25 BuildRequires: postgresql-devel
26 BuildRequires: rpmbuild(macros) >= 1.304
27 BuildRequires: sysconftool
28 BuildRequires: zlib-devel
29 Requires(post,postun): /sbin/ldconfig
30 Requires(post,preun): /sbin/chkconfig
31 Requires: %{name}-libs = %{version}-%{release}
32 Requires: /sbin/chkconfig
34 Obsoletes: sqwebmail-auth-cram
35 Obsoletes: sqwebmail-auth-pam
36 Obsoletes: sqwebmail-auth-pwd
37 Obsoletes: sqwebmail-auth-shadow
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 %define schemadir /usr/share/openldap/schema
43 The Courier authentication library provides authentication services
44 for other Courier applications.
46 %description -l pl.UTF-8
47 Biblioteka uwierzytelniania Couriera dostarcza usługi uwierzytelniania
48 dla innych aplikacji Couriera.
51 Summary: Courier authentication library
52 Summary(pl.UTF-8): Biblioteka uwierzytelniania Couriera
54 Requires(post,postun): /sbin/ldconfig
57 The Courier authentication library provides authentication services
58 for other Courier applications.
60 This package contains libcourierauth.so which client programs link
63 %description libs -l pl.UTF-8
64 Biblioteka uwierzytelniania Couriera dostarcza usługi uwierzytelniania
65 dla innych aplikacji Couriera.
68 Summary: Development files for the Courier authentication library
69 Summary(pl.UTF-8): Pliki programistyczne dla biblioteki uwierzytelniania Couriera
70 Group: Development/Libraries
71 Requires: %{name} = %{version}-%{release}
72 Requires: %{name}-authldap = %{version}-%{release}
73 Requires: %{name}-authmysql = %{version}-%{release}
74 Requires: %{name}-authpgsql = %{version}-%{release}
75 Requires: %{name}-authuserdb = %{version}-%{release}
76 Requires: %{name}-authpipe = %{version}-%{release}
79 This package contains the development files needed to compile Courier
80 packages that use this authentication library. Install this package in
81 order to build the rest of the Courier packages. After they are built
82 and installed this package can be removed. Files in this package are
83 not needed at runtime.
85 %description devel -l pl.UTF-8
86 Ten pakiet zawiera pliki programistyczne potrzebne do kompilacji
87 pakietów Couriera używających biblioteki uwierzytelniania. Należy go
88 zainstalować aby zbudować resztę pakietów Couriera. Po ich zbudowaniu
89 i zainstalowaniu ten pakiet można usunąć. Pliki z tego pakietu nie są
90 potrzebne w czasie działania programów.
93 Summary: LDAP support for the Courier authentication library
94 Summary(pl.UTF-8): Obsługa LDAP dla biblioteki uwierzytelniania Couriera
95 Group: Networking/Daemons
96 Requires(pre,postun): sed >= 4.0
97 Requires: %{name} = %{version}-%{release}
98 Obsoletes: courier-authldap
99 Obsoletes: courier-imap-authldap
100 Obsoletes: sqwebmail-auth-ldap
102 %description authldap
103 This package installs LDAP support for the Courier authentication
104 library. Install this package in order to be able to authenticate
107 %description authldap -l pl.UTF-8
108 Ten pakiet dodaje obsługę LDAP do biblioteki uwierzytelniania
109 Couriera. Należy go zainstalować aby móc uwierzytelniać się z użyciem
113 Summary: MySQL support for the Courier authentication library
114 Summary(pl.UTF-8): Obsługa MySQL dla biblioteki uwierzytelniania Couriera
115 Group: Networking/Daemons
116 Requires(pre,postun): sed >= 4.0
117 Requires: %{name} = %{version}-%{release}
118 Obsoletes: courier-authmysql
119 Obsoletes: courier-imap-authmysql
120 Obsoletes: sqwebmail-auth-mysql
122 %description authmysql
123 This package installs MySQL support for the Courier authentication
124 library. Install this package in order to be able to authenticate
127 %description authmysql -l pl.UTF-8
128 Ten pakiet dodaje obsługę MySQL do biblioteki uwierzytelniania
129 Couriera. Należy go zainstalować aby móc uwierzytelniać się z użyciem
133 Summary: PostgreSQL support for the Courier authentication library
134 Summary(pl.UTF-8): Obsługa PostgreSQL dla biblioteki uwierzytelniania Couriera
135 Group: Networking/Daemons
136 Requires(pre,postun): sed >= 4.0
137 Requires: %{name} = %{version}-%{release}
138 Obsoletes: courier-authpgsql
139 Obsoletes: courier-imap-authpgsql
140 Obsoletes: sqwebmail-auth-pgsql
142 %description authpgsql
143 This package installs PostgreSQL support for the Courier
144 authentication library. Install this package in order to be able to
145 authenticate using PostgreSQL.
147 %description authpgsql -l pl.UTF-8
148 Ten pakiet dodaje obsługę PostgreSQL do biblioteki uwierzytelniania
149 Couriera. Należy go zainstalować aby móc uwierzytelniać się z użyciem
153 Summary: Userdb support for the Courier authentication library
154 Summary(pl.UTF-8): Obsługa userdb dla biblioteki uwierzytelniania Couriera
155 Group: Networking/Daemons
156 Requires(pre,postun): sed >= 4.0
157 Requires: %{name} = %{version}-%{release}
158 Obsoletes: courier-authlib-userdb
159 Obsoletes: courier-imap-userdb
160 Obsoletes: sqwebmail-auth-userdb
162 %description authuserdb
163 This package installs the userdb support for the Courier
164 authentication library. Userdb is a simple way to manage virtual mail
165 accounts using a GDBM-based database file.
167 Install this package in order to be able to authenticate with userdb.
169 %description authuserdb -l pl.UTF-8
170 Ten pakiet dodaje obsługę userdb do biblioteki uwierzytelniania
171 Couriera. Userdb to prosty sposób zarządzania wirtualnymi kontami
172 pocztowymi przy użyciu pliku bazy danych opartej na GDBM.
174 Należy go zainstalować aby móc uwierzytelniać się z użyciem userdb.
177 Summary: External authentication module that communicates via pipes
178 Summary(pl.UTF-8): Zewnętrzny moduł uwierzytelniający komunikujący się przez potoki
179 Group: Networking/Daemons
180 Requires(pre,postun): sed >= 4.0
181 Requires: %{name} = %{version}-%{release}
182 Obsoletes: courier-authlib-authpipe
184 %description authpipe
185 This package installs the authpipe module, which is a generic plugin
186 that enables authentication requests to be serviced by an external
187 program, then communicates through messages on stdin and stdout.
189 %description authpipe -l pl.UTF-8
190 Pakiet ten instaluje moduł authpipe, który jest ogólną wtyczką
191 umożliwiającą obsługę żądań uwierzytelnienia przez zewnętrzny program
192 komunikujący się poprzez wiadomości wysyłane na stdin i stdout.
194 %package -n openldap-schema-courier
195 Summary: Courier LDAP schema
196 Summary(pl.UTF-8): Schemat LDAP Couriera
197 Group: Networking/Daemons
198 Requires(post,postun): sed >= 4.0
199 Requires: openldap-servers
202 %description -n openldap-schema-courier
203 This package contains Courier authldap.schema for openldap.
205 %description -n openldap-schema-courier -l pl.UTF-8
206 Ten pakiet zawiera schemat Couriera authldap.schema dla openldapa.
218 for d in . gdbmobj bdbobj md5 sha1 libhmac numlib makedat userdb rfc822 random128 liblock liblog; do
229 --with-mailuser=daemon \
230 --with-mailgroup=daemon
233 LDFLAGS="%{rpmldflags} -lcrypt"
236 rm -rf $RPM_BUILD_ROOT
239 DESTDIR=$RPM_BUILD_ROOT
241 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}/authlib/userdb,%{schemadir},%{_bindir}}
243 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/courier-authlib
244 install authldap.schema $RPM_BUILD_ROOT%{schemadir}/courier.schema
245 install makedat/makedat $RPM_BUILD_ROOT%{_bindir}/makedat
248 ./sysconftool $RPM_BUILD_ROOT%{_sysconfdir}/authlib/*.dist
249 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/authlib/*.dist
251 touch $RPM_BUILD_ROOT%{_localstatedir}/spool/authdaemon/socket
253 # remove static library - for now
254 rm $RPM_BUILD_ROOT%{_libdir}/courier-authlib/*.a
257 rm -rf $RPM_BUILD_ROOT
260 /sbin/ldconfig %{_libexecdir}/courier-authlib
261 /sbin/chkconfig --add courier-authlib
263 %service courier-authlib restart "authlib daemon"
266 if [ "$1" = "0" ]; then
267 /sbin/chkconfig --del courier-authlib
268 %service courier-authlib stop
272 /sbin/ldconfig %{_libexecdir}/courier-authlib
275 /sbin/ldconfig %{_libexecdir}/courier-authlib
278 /sbin/ldconfig %{_libexecdir}/courier-authlib
281 if [ "$1" = 1 ]; then
282 # add to authmodulelist list if package is first installed
283 %{__sed} -i -e '/^authmodulelist=/{/\bauthldap\b/!s/"$/ authldap"/}' /etc/authlib/authdaemonrc
285 /sbin/ldconfig %{_libexecdir}/courier-authlib
286 %service -q courier-authlib restart
289 if [ "$1" = 0 ]; then
290 # remove from authmodulelist if package is removed
291 %{__sed} -i -e '/^authmodulelist=/{s/ \?\bauthldap\b \?//}' /etc/authlib/authdaemonrc
293 /sbin/ldconfig %{_libexecdir}/courier-authlib
294 %service -q courier-authlib restart
297 if [ "$1" = 1 ]; then
298 # add to authmodulelist list if package is first installed
299 %{__sed} -i -e '/^authmodulelist=/{/\bauthmysql\b/!s/"$/ authmysql"/}' /etc/authlib/authdaemonrc
301 /sbin/ldconfig %{_libexecdir}/courier-authlib
302 %service -q courier-authlib restart
305 if [ "$1" = 0 ]; then
306 # remove from authmodulelist if package is removed
307 %{__sed} -i -e '/^authmodulelist=/{s/ \?\bauthmysql\b \?//}' /etc/authlib/authdaemonrc
309 /sbin/ldconfig %{_libexecdir}/courier-authlib
310 %service -q courier-authlib restart
313 if [ "$1" = 1 ]; then
314 # add to authmodulelist list if package is first installed
315 %{__sed} -i -e '/^authmodulelist=/{/\bauthpgsql\b/!s/"$/ authpgsql"/}' /etc/authlib/authdaemonrc
317 /sbin/ldconfig %{_libexecdir}/courier-authlib
318 %service -q courier-authlib restart
321 if [ "$1" = 0 ]; then
322 # remove from authmodulelist if package is removed
323 %{__sed} -i -e '/^authmodulelist=/{s/ \?\bauthpgsql\b \?//}' /etc/authlib/authdaemonrc
325 /sbin/ldconfig %{_libexecdir}/courier-authlib
326 %service -q courier-authlib restart
329 if [ "$1" = 1 ]; then
330 # add to authmodulelist list if package is first installed
331 %{__sed} -i -e '/^authmodulelist=/{/\buserdb\b/!s/"$/ userdb"/}' /etc/authlib/authdaemonrc
333 /sbin/ldconfig %{_libexecdir}/courier-authlib
334 %service -q courier-authlib restart
337 if [ "$1" = 0 ]; then
338 # remove from authmodulelist if package is removed
339 %{__sed} -i -e '/^authmodulelist=/{s/ \?\buserdb\b \?//}' /etc/authlib/authdaemonrc
341 /sbin/ldconfig %{_libexecdir}/courier-authlib
342 %service -q courier-authlib restart
345 if [ "$1" = 1 ]; then
346 # add to authmodulelist list if package is first installed
347 %{__sed} -i -e '/^authmodulelist=/{/\bpipe\b/!s/"$/ pipe"/}' /etc/authlib/authdaemonrc
349 /sbin/ldconfig %{_libexecdir}/courier-authlib
350 %service -q courier-authlib restart
353 if [ "$1" = 0 ]; then
354 # remove from authmodulelist if package is removed
355 %{__sed} -i -e '/^authmodulelist=/{s/ \?\bpipe\b \?//}' /etc/authlib/authdaemonrc
357 /sbin/ldconfig %{_libexecdir}/courier-authlib
358 %service -q courier-authlib restart
360 %post -n openldap-schema-courier
361 %openldap_schema_register %{schemadir}/courier.schema -d nis,cosine
362 %service -q ldap restart
364 %postun -n openldap-schema-courier
365 if [ "$1" = "0" ]; then
366 %openldap_schema_unregister %{schemadir}/courier.schema
367 %service -q ldap restart
370 %triggerin -- courier < 0.48
371 if [ -f /etc/courier/authdaemonrc ]; then
372 . /etc/courier/authdaemonrc
374 %{__sed} -i s/^authmodulelist=.*/"authmodulelist=\"`echo $authmodulelist \
375 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
376 %{__sed} -i s/^authmodulelistorig=.*/"authmodulelistorig=\"`echo $authmodulelistorig\
377 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
378 %{__sed} -i s/^daemons=.*/"daemons=$daemons"/ /etc/authlib/authdaemonrc
380 if [ -f /var/lock/subsys/courier ]; then
381 if [ -f /var/spool/courier/authdaemon/pid ]; then
382 kill `cat /var/spool/courier/authdaemon/pid`
383 rm -f /var/spool/courier/authdaemon/*
384 /sbin/service courier-authlib start
388 %triggerin -- courier-imap-common < 4.0.0
389 if [ -f /etc/courier-imap/authdaemonrc ]; then
390 . /etc/courier-imap/authdaemonrc
392 %{__sed} -i s/^authmodulelist=.*/"authmodulelist=\"`echo $authmodulelist \
393 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
394 %{__sed} -i s/^authmodulelistorig=.*/"authmodulelistorig=\"`echo $authmodulelistorig\
395 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
396 %{__sed} -i s/^daemons=.*/"daemons=$daemons"/ /etc/authlib/authdaemonrc
398 if [ -f /var/lock/subsys/courier-imap ]; then
399 if [ -f /var/lib/authdaemon/pid ]; then
400 kill `cat /var/lib/authdaemon/pid`
401 rm -f /var/lib/authdaemon/*
402 /sbin/service courier-authlib start
406 %triggerin -- sqwebmail < 5.0.0
407 if [ -f /etc/sqwebmail/authdaemonrc ]; then
408 . /etc/sqwebmail/authdaemonrc
410 %{__sed} -i s/^authmodulelist=.*/"authmodulelist=\"`echo $authmodulelist \
411 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
412 %{__sed} -i s/^authmodulelistorig=.*/"authmodulelistorig=\"`echo $authmodulelistorig\
413 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
414 %{__sed} -i s/^daemons=.*/"daemons=$daemons"/ /etc/authlib/authdaemonrc
416 if [ -f /var/lock/subsys/sqwebmail ]; then
417 if [ -f /var/spool/sqwebmail/authdaemon/pid ]; then
418 kill `cat /var/spool/sqwebmail/authdaemon/pid`
419 rm -f /var/spool/sqwebmail/authdaemon/*
420 /sbin/service courier-authlib start
424 %triggerin -n %{name}-authldap -- courier-authldap < 0.48
425 if [ -f /etc/courier/authldaprc ]; then
426 mv -f /etc/authlib/authldaprc /etc/authlib/authldaprc.new
427 cp -f /etc/courier/authldaprc /etc/authlib/authldaprc
428 %service -q courier-authlib restart
431 %triggerin -n %{name}-authldap -- courier-imap-authldap < 4.0.0
432 if [ -f /etc/courier-imap/authldaprc ]; then
433 mv -f /etc/authlib/authldaprc /etc/authlib/authldaprc.new
434 cp -f /etc/courier-imap/authldaprc /etc/authlib/authldaprc
435 %service -q courier-authlib restart
438 %triggerin -n %{name}-authldap -- sqwebmail-auth-ldap < 5.0.0
439 if [ -f /etc/sqwebmail/authldaprc ]; then
440 mv -f /etc/authlib/authldaprc /etc/authlib/authldaprc.new
441 cp -f /etc/sqwebmail/authldaprc /etc/authlib/authldaprc
442 %service -q courier-authlib restart
445 %triggerin -n %{name}-authmysql -- courier-authmysql < 0.48
446 if [ -f /etc/courier/authmysqlrc ]; then
447 mv -f /etc/authlib/authmysqlrc /etc/authlib/authmysqlrc.new
448 cp -f /etc/courier/authmysqlrc /etc/authlib/authmysqlrc
449 %service -q courier-authlib restart
452 %triggerin -n %{name}-authmysql -- courier-imap-authmysql < 4.0.0
453 if [ -f /etc/courier-imap/authmysqlrc ]; then
454 mv -f /etc/authlib/authmysqlrc /etc/authlib/authmysqlrc.new
455 cp -f /etc/courier-imap/authmysqlrc /etc/authlib/authmysqlrc
456 %service -q courier-authlib restart
459 %triggerin -n %{name}-authmysql -- sqwebmail-auth-mysql < 5.0.0
460 if [ -f /etc/sqwebmail/authmysqlrc ]; then
461 mv -f /etc/authlib/authmysqlrc /etc/authlib/authmysqlrc.new
462 cp -f /etc/sqwebmail/authmysqlrc /etc/authlib/authmysqlrc
463 %service -q courier-authlib restart
466 %triggerin -n %{name}-authpgsql -- courier-authpgsql < 0.48
467 if [ -f /etc/courier/authpgsqlrc ]; then
468 mv -f /etc/authlib/authpgsqlrc /etc/authlib/authpgsqlrc.new
469 cp -f /etc/courier/authpgsqlrc /etc/authlib/authpgsqlrc
470 %service -q courier-authlib restart
473 %triggerin -n %{name}-authpgsql -- courier-imap-authpgsql < 4.0.0
474 if [ -f /etc/courier-imap/authpgsqlrc ]; then
475 mv -f /etc/authlib/authpgsqlrc /etc/authlib/authpgsqlrc.new
476 cp -f /etc/courier-imap/authpgsqlrc /etc/authlib/authpgsqlrc
477 %service -q courier-authlib restart
480 %triggerin -n %{name}-authpgsql -- sqwebmail-auth-pgsql < 5.0.0
481 if [ -f /etc/sqwebmail/authpgsqlrc ]; then
482 mv -f /etc/authlib/authpgsqlrc /etc/authlib/authpgsqlrc.new
483 cp -f /etc/sqwebmail/authpgsqlrc /etc/authlib/authpgsqlrc
484 %service -q courier-authlib restart
487 %triggerin -n %{name}-authuserdb -- courier < 0.48
488 if [ -d /etc/courier/userdb ]; then
489 mv -f /etc/courier/userdb/* /etc/authlib/userdb
492 if [ -f /etc/courier/userdb ]; then
493 mv -f /etc/courier/userdb /etc/authlib/userdb
497 %triggerin -n %{name}-authuserdb -- courier-imap-userdb < 4.0.0
498 if [ -d /etc/courier-imap/userdb ]; then
499 mv -f /etc/courier-imap/userdb/* /etc/authlib/userdb
502 if [ -f /etc/courier-imap/userdb ]; then
503 mv -f /etc/courier-imap/userdb /etc/authlib/userdb
507 %triggerin -n %{name}-authuserdb -- sqwebmail-auth-userdb < 5.0.0
508 if [ -d /etc/sqwebmail/userdb ]; then
509 mv -f /etc/sqwebmail/userdb/* /etc/authlib/userdb
512 if [ -f /etc/sqwebmail/userdb ]; then
513 mv -f /etc/sqwebmail/userdb /etc/authlib/userdb
518 %defattr(644,root,root,755)
519 # COPYING contains only note
520 %doc AUTHORS COPYING ChangeLog NEWS README README*html README.authmysql.myownquery authldap.schema
521 %attr(755,root,root) %{_bindir}/makedat
522 %dir %{_sysconfdir}/authlib
523 %attr(754,root,root) /etc/rc.d/init.d/courier-authlib
524 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/authlib/authdaemonrc
525 %attr(755,root,root) %{_libexecdir}/courier-authlib/authdaemond
526 %attr(755,root,root) %{_libexecdir}/courier-authlib/authsystem.passwd
527 %attr(755,root,root) %{_libexecdir}/courier-authlib/makedatprog
528 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthcustom.so.*.*.*
529 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthcustom.so.0
530 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthpam.so.*.*.*
531 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthpam.so.0
532 %attr(755,root,root) %{_libexecdir}/courier-authlib/libcourierauthcommon.so.*.*.*
533 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libcourierauthcommon.so.0
534 %attr(755,root,root) %{_libexecdir}/courier-authlib/libcourierauthsasl.so.*.*.*
535 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libcourierauthsasl.so.0
536 %attr(755,root,root) %{_libexecdir}/courier-authlib/libcourierauthsaslclient.so.*.*.*
537 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libcourierauthsaslclient.so.0
538 %{_libexecdir}/courier-authlib/libauthcustom.la
539 %{_libexecdir}/courier-authlib/libauthpam.la
540 %{_libexecdir}/courier-authlib/libcourierauth.la
541 %{_libexecdir}/courier-authlib/libcourierauthcommon.la
542 %{_libexecdir}/courier-authlib/libcourierauthsasl.la
543 %{_libexecdir}/courier-authlib/libcourierauthsaslclient.la
544 %attr(770,root,daemon) %dir %{_localstatedir}/spool/authdaemon
545 %attr(777,root,root) %ghost %{_localstatedir}/spool/authdaemon/socket
546 %attr(755,root,root) %{_sbindir}/authdaemond
547 %attr(755,root,root) %{_sbindir}/authenumerate
548 %attr(755,root,root) %{_sbindir}/authpasswd
549 %attr(755,root,root) %{_sbindir}/authtest
550 %attr(755,root,root) %{_sbindir}/courierlogger
554 %defattr(644,root,root,755)
555 %dir %{_libexecdir}/courier-authlib
556 %attr(755,root,root) %{_libexecdir}/courier-authlib/libcourierauth.so.*.*.*
557 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libcourierauth.so.0
560 %defattr(644,root,root,755)
561 %doc authlib.html auth_*.html
562 %attr(755,root,root) %{_bindir}/courierauthconfig
565 %attr(755,root,root) %{_libexecdir}/courier-authlib/*.so
568 %defattr(644,root,root,755)
569 %doc authldap.schema README.ldap
570 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/authlib/authldaprc
571 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthldap.so.*.*.*
572 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthldap.so.0
573 %{_libexecdir}/courier-authlib/libauthldap.la
576 %defattr(644,root,root,755)
577 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/authlib/authmysqlrc
578 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthmysql.so.*.*.*
579 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthmysql.so.0
580 %{_libexecdir}/courier-authlib/libauthmysql.la
583 %defattr(644,root,root,755)
584 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/authlib/authpgsqlrc
585 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthpgsql.so.*.*.*
586 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthpgsql.so.0
587 %{_libexecdir}/courier-authlib/libauthpgsql.la
590 %defattr(644,root,root,755)
591 %attr(700,root,root) %dir %{_sysconfdir}/authlib/userdb
592 %attr(755,root,root) %{_sbindir}/makeuserdb
593 %attr(755,root,root) %{_sbindir}/pw2userdb
594 %attr(755,root,root) %{_sbindir}/userdb
595 %attr(755,root,root) %{_sbindir}/userdb-test-cram-md5
596 %attr(755,root,root) %{_sbindir}/userdbpw
597 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthuserdb.so.*.*.*
598 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthuserdb.so.0
599 %{_libexecdir}/courier-authlib/libauthuserdb.la
600 %{_mandir}/man8/*userdb*
603 %defattr(644,root,root,755)
604 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthpipe.so.*.*.*
605 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthpipe.so.0
606 %{_libexecdir}/courier-authlib/libauthpipe.la
608 %files -n openldap-schema-courier
609 %defattr(644,root,root,755)
610 %{schemadir}/*.schema