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
228 --enable-ltdl-install=no \
230 --with-mailuser=daemon \
231 --with-mailgroup=daemon
234 LDFLAGS="%{rpmldflags} -lcrypt"
237 rm -rf $RPM_BUILD_ROOT
240 DESTDIR=$RPM_BUILD_ROOT
242 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}/authlib/userdb,%{schemadir},%{_bindir}}
244 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/courier-authlib
245 install authldap.schema $RPM_BUILD_ROOT%{schemadir}/courier.schema
246 install makedat/makedat $RPM_BUILD_ROOT%{_bindir}/makedat
249 ./sysconftool $RPM_BUILD_ROOT%{_sysconfdir}/authlib/*.dist
250 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/authlib/*.dist
252 touch $RPM_BUILD_ROOT%{_localstatedir}/spool/authdaemon/socket
254 # remove static library - for now
255 rm $RPM_BUILD_ROOT%{_libdir}/courier-authlib/*.a
258 rm -rf $RPM_BUILD_ROOT
261 /sbin/ldconfig %{_libexecdir}/courier-authlib
262 /sbin/chkconfig --add courier-authlib
264 %service courier-authlib restart "authlib daemon"
267 if [ "$1" = "0" ]; then
268 /sbin/chkconfig --del courier-authlib
269 %service courier-authlib stop
273 /sbin/ldconfig %{_libexecdir}/courier-authlib
276 /sbin/ldconfig %{_libexecdir}/courier-authlib
279 /sbin/ldconfig %{_libexecdir}/courier-authlib
282 if [ "$1" = 1 ]; then
283 # add to authmodulelist list if package is first installed
284 %{__sed} -i -e '/^authmodulelist=/{/\bauthldap\b/!s/"$/ authldap"/}' /etc/authlib/authdaemonrc
286 /sbin/ldconfig %{_libexecdir}/courier-authlib
287 %service -q courier-authlib restart
290 if [ "$1" = 0 ]; then
291 # remove from authmodulelist if package is removed
292 %{__sed} -i -e '/^authmodulelist=/{s/ \?\bauthldap\b \?//}' /etc/authlib/authdaemonrc
294 /sbin/ldconfig %{_libexecdir}/courier-authlib
295 %service -q courier-authlib restart
298 if [ "$1" = 1 ]; then
299 # add to authmodulelist list if package is first installed
300 %{__sed} -i -e '/^authmodulelist=/{/\bauthmysql\b/!s/"$/ authmysql"/}' /etc/authlib/authdaemonrc
302 /sbin/ldconfig %{_libexecdir}/courier-authlib
303 %service -q courier-authlib restart
306 if [ "$1" = 0 ]; then
307 # remove from authmodulelist if package is removed
308 %{__sed} -i -e '/^authmodulelist=/{s/ \?\bauthmysql\b \?//}' /etc/authlib/authdaemonrc
310 /sbin/ldconfig %{_libexecdir}/courier-authlib
311 %service -q courier-authlib restart
314 if [ "$1" = 1 ]; then
315 # add to authmodulelist list if package is first installed
316 %{__sed} -i -e '/^authmodulelist=/{/\bauthpgsql\b/!s/"$/ authpgsql"/}' /etc/authlib/authdaemonrc
318 /sbin/ldconfig %{_libexecdir}/courier-authlib
319 %service -q courier-authlib restart
322 if [ "$1" = 0 ]; then
323 # remove from authmodulelist if package is removed
324 %{__sed} -i -e '/^authmodulelist=/{s/ \?\bauthpgsql\b \?//}' /etc/authlib/authdaemonrc
326 /sbin/ldconfig %{_libexecdir}/courier-authlib
327 %service -q courier-authlib restart
330 if [ "$1" = 1 ]; then
331 # add to authmodulelist list if package is first installed
332 %{__sed} -i -e '/^authmodulelist=/{/\buserdb\b/!s/"$/ userdb"/}' /etc/authlib/authdaemonrc
334 /sbin/ldconfig %{_libexecdir}/courier-authlib
335 %service -q courier-authlib restart
338 if [ "$1" = 0 ]; then
339 # remove from authmodulelist if package is removed
340 %{__sed} -i -e '/^authmodulelist=/{s/ \?\buserdb\b \?//}' /etc/authlib/authdaemonrc
342 /sbin/ldconfig %{_libexecdir}/courier-authlib
343 %service -q courier-authlib restart
346 if [ "$1" = 1 ]; then
347 # add to authmodulelist list if package is first installed
348 %{__sed} -i -e '/^authmodulelist=/{/\bpipe\b/!s/"$/ pipe"/}' /etc/authlib/authdaemonrc
350 /sbin/ldconfig %{_libexecdir}/courier-authlib
351 %service -q courier-authlib restart
354 if [ "$1" = 0 ]; then
355 # remove from authmodulelist if package is removed
356 %{__sed} -i -e '/^authmodulelist=/{s/ \?\bpipe\b \?//}' /etc/authlib/authdaemonrc
358 /sbin/ldconfig %{_libexecdir}/courier-authlib
359 %service -q courier-authlib restart
361 %post -n openldap-schema-courier
362 %openldap_schema_register %{schemadir}/courier.schema -d nis,cosine
363 %service -q ldap restart
365 %postun -n openldap-schema-courier
366 if [ "$1" = "0" ]; then
367 %openldap_schema_unregister %{schemadir}/courier.schema
368 %service -q ldap restart
371 %triggerin -- courier < 0.48
372 if [ -f /etc/courier/authdaemonrc ]; then
373 . /etc/courier/authdaemonrc
375 %{__sed} -i s/^authmodulelist=.*/"authmodulelist=\"`echo $authmodulelist \
376 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
377 %{__sed} -i s/^authmodulelistorig=.*/"authmodulelistorig=\"`echo $authmodulelistorig\
378 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
379 %{__sed} -i s/^daemons=.*/"daemons=$daemons"/ /etc/authlib/authdaemonrc
381 if [ -f /var/lock/subsys/courier ]; then
382 if [ -f /var/spool/courier/authdaemon/pid ]; then
383 kill `cat /var/spool/courier/authdaemon/pid`
384 rm -f /var/spool/courier/authdaemon/*
385 /sbin/service courier-authlib start
389 %triggerin -- courier-imap-common < 4.0.0
390 if [ -f /etc/courier-imap/authdaemonrc ]; then
391 . /etc/courier-imap/authdaemonrc
393 %{__sed} -i s/^authmodulelist=.*/"authmodulelist=\"`echo $authmodulelist \
394 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
395 %{__sed} -i s/^authmodulelistorig=.*/"authmodulelistorig=\"`echo $authmodulelistorig\
396 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
397 %{__sed} -i s/^daemons=.*/"daemons=$daemons"/ /etc/authlib/authdaemonrc
399 if [ -f /var/lock/subsys/courier-imap ]; then
400 if [ -f /var/lib/authdaemon/pid ]; then
401 kill `cat /var/lib/authdaemon/pid`
402 rm -f /var/lib/authdaemon/*
403 /sbin/service courier-authlib start
407 %triggerin -- sqwebmail < 5.0.0
408 if [ -f /etc/sqwebmail/authdaemonrc ]; then
409 . /etc/sqwebmail/authdaemonrc
411 %{__sed} -i s/^authmodulelist=.*/"authmodulelist=\"`echo $authmodulelist \
412 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
413 %{__sed} -i s/^authmodulelistorig=.*/"authmodulelistorig=\"`echo $authmodulelistorig\
414 | sed s/'authcram'/''/ | sed s/' '/' '/`\""/ /etc/authlib/authdaemonrc
415 %{__sed} -i s/^daemons=.*/"daemons=$daemons"/ /etc/authlib/authdaemonrc
417 if [ -f /var/lock/subsys/sqwebmail ]; then
418 if [ -f /var/spool/sqwebmail/authdaemon/pid ]; then
419 kill `cat /var/spool/sqwebmail/authdaemon/pid`
420 rm -f /var/spool/sqwebmail/authdaemon/*
421 /sbin/service courier-authlib start
425 %triggerin -n %{name}-authldap -- courier-authldap < 0.48
426 if [ -f /etc/courier/authldaprc ]; then
427 mv -f /etc/authlib/authldaprc /etc/authlib/authldaprc.new
428 cp -f /etc/courier/authldaprc /etc/authlib/authldaprc
429 %service -q courier-authlib restart
432 %triggerin -n %{name}-authldap -- courier-imap-authldap < 4.0.0
433 if [ -f /etc/courier-imap/authldaprc ]; then
434 mv -f /etc/authlib/authldaprc /etc/authlib/authldaprc.new
435 cp -f /etc/courier-imap/authldaprc /etc/authlib/authldaprc
436 %service -q courier-authlib restart
439 %triggerin -n %{name}-authldap -- sqwebmail-auth-ldap < 5.0.0
440 if [ -f /etc/sqwebmail/authldaprc ]; then
441 mv -f /etc/authlib/authldaprc /etc/authlib/authldaprc.new
442 cp -f /etc/sqwebmail/authldaprc /etc/authlib/authldaprc
443 %service -q courier-authlib restart
446 %triggerin -n %{name}-authmysql -- courier-authmysql < 0.48
447 if [ -f /etc/courier/authmysqlrc ]; then
448 mv -f /etc/authlib/authmysqlrc /etc/authlib/authmysqlrc.new
449 cp -f /etc/courier/authmysqlrc /etc/authlib/authmysqlrc
450 %service -q courier-authlib restart
453 %triggerin -n %{name}-authmysql -- courier-imap-authmysql < 4.0.0
454 if [ -f /etc/courier-imap/authmysqlrc ]; then
455 mv -f /etc/authlib/authmysqlrc /etc/authlib/authmysqlrc.new
456 cp -f /etc/courier-imap/authmysqlrc /etc/authlib/authmysqlrc
457 %service -q courier-authlib restart
460 %triggerin -n %{name}-authmysql -- sqwebmail-auth-mysql < 5.0.0
461 if [ -f /etc/sqwebmail/authmysqlrc ]; then
462 mv -f /etc/authlib/authmysqlrc /etc/authlib/authmysqlrc.new
463 cp -f /etc/sqwebmail/authmysqlrc /etc/authlib/authmysqlrc
464 %service -q courier-authlib restart
467 %triggerin -n %{name}-authpgsql -- courier-authpgsql < 0.48
468 if [ -f /etc/courier/authpgsqlrc ]; then
469 mv -f /etc/authlib/authpgsqlrc /etc/authlib/authpgsqlrc.new
470 cp -f /etc/courier/authpgsqlrc /etc/authlib/authpgsqlrc
471 %service -q courier-authlib restart
474 %triggerin -n %{name}-authpgsql -- courier-imap-authpgsql < 4.0.0
475 if [ -f /etc/courier-imap/authpgsqlrc ]; then
476 mv -f /etc/authlib/authpgsqlrc /etc/authlib/authpgsqlrc.new
477 cp -f /etc/courier-imap/authpgsqlrc /etc/authlib/authpgsqlrc
478 %service -q courier-authlib restart
481 %triggerin -n %{name}-authpgsql -- sqwebmail-auth-pgsql < 5.0.0
482 if [ -f /etc/sqwebmail/authpgsqlrc ]; then
483 mv -f /etc/authlib/authpgsqlrc /etc/authlib/authpgsqlrc.new
484 cp -f /etc/sqwebmail/authpgsqlrc /etc/authlib/authpgsqlrc
485 %service -q courier-authlib restart
488 %triggerin -n %{name}-authuserdb -- courier < 0.48
489 if [ -d /etc/courier/userdb ]; then
490 mv -f /etc/courier/userdb/* /etc/authlib/userdb
493 if [ -f /etc/courier/userdb ]; then
494 mv -f /etc/courier/userdb /etc/authlib/userdb
498 %triggerin -n %{name}-authuserdb -- courier-imap-userdb < 4.0.0
499 if [ -d /etc/courier-imap/userdb ]; then
500 mv -f /etc/courier-imap/userdb/* /etc/authlib/userdb
503 if [ -f /etc/courier-imap/userdb ]; then
504 mv -f /etc/courier-imap/userdb /etc/authlib/userdb
508 %triggerin -n %{name}-authuserdb -- sqwebmail-auth-userdb < 5.0.0
509 if [ -d /etc/sqwebmail/userdb ]; then
510 mv -f /etc/sqwebmail/userdb/* /etc/authlib/userdb
513 if [ -f /etc/sqwebmail/userdb ]; then
514 mv -f /etc/sqwebmail/userdb /etc/authlib/userdb
519 %defattr(644,root,root,755)
520 # COPYING contains only note
521 %doc AUTHORS COPYING ChangeLog NEWS README README*html README.authmysql.myownquery authldap.schema
522 %attr(755,root,root) %{_bindir}/makedat
523 %dir %{_sysconfdir}/authlib
524 %attr(754,root,root) /etc/rc.d/init.d/courier-authlib
525 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/authlib/authdaemonrc
526 %attr(755,root,root) %{_libexecdir}/courier-authlib/authdaemond
527 %attr(755,root,root) %{_libexecdir}/courier-authlib/authsystem.passwd
528 %attr(755,root,root) %{_libexecdir}/courier-authlib/makedatprog
529 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthcustom.so.*.*.*
530 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthcustom.so.0
531 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthpam.so.*.*.*
532 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthpam.so.0
533 %attr(755,root,root) %{_libexecdir}/courier-authlib/libcourierauthcommon.so.*.*.*
534 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libcourierauthcommon.so.0
535 %attr(755,root,root) %{_libexecdir}/courier-authlib/libcourierauthsasl.so.*.*.*
536 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libcourierauthsasl.so.0
537 %attr(755,root,root) %{_libexecdir}/courier-authlib/libcourierauthsaslclient.so.*.*.*
538 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libcourierauthsaslclient.so.0
539 %{_libexecdir}/courier-authlib/libauthcustom.la
540 %{_libexecdir}/courier-authlib/libauthpam.la
541 %{_libexecdir}/courier-authlib/libcourierauth.la
542 %{_libexecdir}/courier-authlib/libcourierauthcommon.la
543 %{_libexecdir}/courier-authlib/libcourierauthsasl.la
544 %{_libexecdir}/courier-authlib/libcourierauthsaslclient.la
545 %attr(770,root,daemon) %dir %{_localstatedir}/spool/authdaemon
546 %attr(777,root,root) %ghost %{_localstatedir}/spool/authdaemon/socket
547 %attr(755,root,root) %{_sbindir}/authdaemond
548 %attr(755,root,root) %{_sbindir}/authenumerate
549 %attr(755,root,root) %{_sbindir}/authpasswd
550 %attr(755,root,root) %{_sbindir}/authtest
551 %attr(755,root,root) %{_sbindir}/courierlogger
555 %defattr(644,root,root,755)
556 %dir %{_libexecdir}/courier-authlib
557 %attr(755,root,root) %{_libexecdir}/courier-authlib/libcourierauth.so.*.*.*
558 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libcourierauth.so.0
561 %defattr(644,root,root,755)
562 %doc authlib.html auth_*.html
563 %attr(755,root,root) %{_bindir}/courierauthconfig
566 %attr(755,root,root) %{_libexecdir}/courier-authlib/*.so
569 %defattr(644,root,root,755)
570 %doc authldap.schema README.ldap
571 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/authlib/authldaprc
572 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthldap.so.*.*.*
573 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthldap.so.0
574 %{_libexecdir}/courier-authlib/libauthldap.la
577 %defattr(644,root,root,755)
578 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/authlib/authmysqlrc
579 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthmysql.so.*.*.*
580 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthmysql.so.0
581 %{_libexecdir}/courier-authlib/libauthmysql.la
584 %defattr(644,root,root,755)
585 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/authlib/authpgsqlrc
586 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthpgsql.so.*.*.*
587 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthpgsql.so.0
588 %{_libexecdir}/courier-authlib/libauthpgsql.la
591 %defattr(644,root,root,755)
592 %attr(700,root,root) %dir %{_sysconfdir}/authlib/userdb
593 %attr(755,root,root) %{_sbindir}/makeuserdb
594 %attr(755,root,root) %{_sbindir}/pw2userdb
595 %attr(755,root,root) %{_sbindir}/userdb
596 %attr(755,root,root) %{_sbindir}/userdb-test-cram-md5
597 %attr(755,root,root) %{_sbindir}/userdbpw
598 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthuserdb.so.*.*.*
599 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthuserdb.so.0
600 %{_libexecdir}/courier-authlib/libauthuserdb.la
601 %{_mandir}/man8/*userdb*
604 %defattr(644,root,root,755)
605 %attr(755,root,root) %{_libexecdir}/courier-authlib/libauthpipe.so.*.*.*
606 %attr(755,root,root) %ghost %{_libexecdir}/courier-authlib/libauthpipe.so.0
607 %{_libexecdir}/courier-authlib/libauthpipe.la
609 %files -n openldap-schema-courier
610 %defattr(644,root,root,755)
611 %{schemadir}/*.schema