]> git.pld-linux.org Git - packages/courier-imap.git/blob - courier-imap.spec
- cleanups
[packages/courier-imap.git] / courier-imap.spec
1 #
2 # Conditional build:
3 %bcond_without ldap     # without LDAP support
4 %bcond_without mysql    # without MySQL support
5 %bcond_without pgsql    # without PostgreSQL support
6 #
7 Summary:        Courier-IMAP server
8 Summary(pl):    Serwer Courier-IMAP
9 Name:           courier-imap
10 Version:        3.0.6
11 Release:        1
12 License:        GPL
13 Group:          Networking/Daemons
14 Source0:        http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
15 # Source0-md5:  f2d3c0d566ea6789192dc3cd5fd8f8fb
16 Source1:        %{name}.init
17 Source2:        %{name}-pop3.init
18 Source3:        %{name}.pamd
19 Source4:        %{name}-pop3.pamd
20 Patch0:         %{name}-dirs.patch
21 Patch1:         %{name}-certsdir.patch
22 Patch2:         %{name}-maildir.patch
23 URL:            http://www.inter7.com/courierimap/
24 BuildRequires:  autoconf >= 2.54
25 BuildRequires:  automake
26 BuildRequires:  gdbm-devel
27 BuildRequires:  libstdc++-devel
28 %{?with_mysql:BuildRequires:    mysql-devel}
29 %{?with_ldap:BuildRequires:     openldap-devel}
30 BuildRequires:  openssl-devel >= 0.9.7d
31 %{?with_pgsql:BuildRequires:    postgresql-devel}
32 BuildRequires:  procps
33 BuildRequires:  sysconftool
34 %{?with_mysql:BuildRequires:    zlib-devel}
35 PreReq:         %{name}-common = %{version}-%{release}
36 PreReq:         rc-scripts
37 Requires(post,preun):   /sbin/chkconfig
38 Requires:       pam >= 0.77.3
39 Provides:       imapdaemon
40 Obsoletes:      imapdaemon
41 Conflicts:      cyrus-imapd
42 Conflicts:      imap
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %define         _libexecdir     /usr/%{_lib}/courier-imap
46 %define         _sysconfdir     /etc/courier-imap
47 %define         _certsdir       %{_sysconfdir}/certs
48 %define         _localstatedir  /var/spool/courier-imap
49
50 %description
51 Courier-IMAP is an IMAP server for Maildir mailboxes.
52
53 %description -l pl
54 Courier-IMAP jest serwerem IMAP dla skrzynek pocztowych Maildir.
55
56 %package common
57 Summary:        Common files for imap and pop3 daemons
58 Summary(pl):    Pliki wspólne dla serwerów imap i pop3
59 Group:          Networking/Daemons
60 PreReq:         rc-scripts
61 Requires(post,preun):   /sbin/chkconfig
62 Requires:       %{name}-deliverquota    = %{version}-%{release}
63 Requires:       %{name}-maildirmake     = %{version}-%{release}
64 Requires:       %{name}-userdb          = %{version}-%{release}
65 Requires:       procps
66
67 %description common
68 Common files for imap and pop3 daemons.
69
70 %description common -l pl
71 Pliki wspólne dla serwerów imap i pop3.
72
73 %package userdb
74 Summary:        Commands used to create the /etc/userdb.dat
75 Summary(pl):    Polecenia do tworzenia /etc/userdb.dat
76 Group:          Networking/Daemons
77
78 %description userdb
79 Commands used to create the /etc/userdb.dat.
80
81 %description userdb -l pl
82 Polecenia u¿ywane do stworzenia /etc/userdb.dat.
83
84 %package deliverquota
85 Summary:        Deliver to a Maildir with a quota
86 Summary(pl):    Obs³uga quoty przy dostarczaniu poczty do skrzynek Maildir
87 Group:          Networking/Daemons
88
89 %description deliverquota
90 deliverquota is a temporary hack to implement E-mail delivery to a
91 Maildir with a software-imposed quota.
92
93 %description deliverquota -l pl
94 deliverquota jest tymczasowym rozwi±zaniem implementuj±cym
95 dostarczanie e-maili do skrzynek Maildir z programowo narzucon± quot±.
96
97 %package maildirmake
98 Summary:        Tool for making mail folders in Maildir format
99 Summary(pl):    Narzêdzie do tworzenia folderów w formacie Maildir
100 Group:          Networking/Daemons
101 Conflicts:      qmail-maildirmake
102
103 %description maildirmake
104 Maildirmake is a tool for making mail folders in Maildir format.
105
106 %description maildirmake -l pl
107 Maildirmake jest narzêdziem do tworzenia folderów pocztowych w
108 formacie Maildir.
109
110 %package pop3
111 Summary:        Courier-IMAP POP3 Server
112 Summary(pl):    Serwer Courier-IMAP POP3
113 Group:          Networking/Daemons
114 PreReq:         %{name}-common = %{version}-%{release}
115 Requires:       pam >= 0.77.3
116 Provides:       pop3daemon
117 Obsoletes:      pop3daemon
118 Conflicts:      cyrus-imapd
119 Conflicts:      imap-pop3
120 Conflicts:      solid-pop3d
121 Conflicts:      tpop3d
122
123 %description pop3
124 Courier-IMAP POP3 is an POP3 server for Maildir mailboxes.
125
126 %description pop3 -l pl
127 Courier-IMAP POP3 jest serwerem POP3 dla skrzynek pocztowych Maildir.
128
129 %package authldap
130 Summary:        LDAP authentication daemon for Courier IMAP
131 Summary(pl):    Demon autentykacji LDAP do Courier IMAP
132 Group:          Networking/Daemons
133 PreReq:         %{name}-common = %{version}-%{release}
134
135 %description authldap
136 This package provides LDAP authentication for Courier IMAP.
137
138 %description authldap -l pl
139 Ten pakiet pozwala na korzystanie z autentykacji LDAP w Courier IMAP.
140
141 %package authmysql
142 Summary:        MySQL authentication daemon for Courier IMAP
143 Summary(pl):    Demon autentykacji MySQL do Courier IMAP
144 Group:          Networking/Daemons
145 PreReq:         %{name}-common = %{version}-%{release}
146 Requires:       zlib
147
148 %description authmysql
149 This package provides MySQL authentication for Courier IMAP.
150
151 %description authmysql -l pl
152 Ten pakiet pozwala na korzystanie z autentykacji MySQL w Courier IMAP.
153
154 %package authpgsql
155 Summary:        PostgreSQL authentication daemon for Courier IMAP
156 Summary(pl):    Demon autentykacji PostgreSQL do Courier IMAP
157 Group:          Networking/Daemons
158 PreReq:         %{name}-common = %{version}-%{release}
159
160 %description authpgsql
161 This package provides PostgreSQL authentication for Courier IMAP.
162
163 %description authpgsql -l pl
164 Ten pakiet pozwala na korzystanie z autentykacji PostgreSQL w Courier
165 IMAP.
166
167 %prep
168 %setup -q
169 %patch0 -p1
170 %patch1 -p1
171 %patch2 -p1
172
173 install %{SOURCE1} courier-imap.in
174 install %{SOURCE2} courier-pop3.in
175
176 %build
177 cp -f /usr/share/automake/config.sub .
178 cp -f /usr/share/automake/config.sub maildir
179
180 %{__aclocal}
181 %{__automake}
182 %{__autoconf}
183
184 cd authlib
185 %{__aclocal}
186 %{__automake}
187 %{__autoconf}
188 cd ../imap
189 %{__aclocal}
190 %{__automake}
191 %{__autoconf}
192 cd ..
193
194 %configure \
195         --localstatedir=%{_localstatedir} \
196         --libexecdir=%{_libexecdir} \
197         --enable-unicode \
198         --with-authchangepwdir=/var/tmp \
199         --with-authdaemonvar=/var/lib/authdaemon \
200         --with-certsdir=%{_certsdir} \
201         %{?with_mysql:--with-mysql-libs=%{_libdir} --with-mysql-includes=%{_includedir}/mysql} \
202         %{!?with_mysql:--without-authmysql} \
203         %{?with_pgsql:--with-pgsql-libs=%{_libdir} --with-pgsql-includes=%{_includedir}/postgresql} \
204         %{!?with_pgsql:--without-authpgsql} \
205         %{!?with_ldap:--without-authldap}
206
207 %{__make}
208
209 %install
210 rm -rf $RPM_BUILD_ROOT
211 install -d $RPM_BUILD_ROOT{/etc/{pam.d,rc.d/init.d,security},%{_certsdir}}
212
213 %{__make} install \
214         DESTDIR=$RPM_BUILD_ROOT
215
216 install courier-imap $RPM_BUILD_ROOT/etc/rc.d/init.d/courier-imap
217 install courier-pop3 $RPM_BUILD_ROOT/etc/rc.d/init.d/courier-pop3
218 install %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/imap
219 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/pop3
220
221 rm -rf  $RPM_BUILD_ROOT%{_mandir}/man8/{authcram,authpam,authpwd,authshadow,authuserdb,authvchkpw,pw2userdb,vchkpw2userdb,authdaemon,authdaemond,authldap,authmysql}.8 \
222         $RPM_BUILD_ROOT%{_sbindir}/{*db,mk*cert}
223
224 mv -f authlib/README.authmysql.html README.authmysql.html
225 mv -f authlib/README.ldap README.ldap
226 mv -f authlib/README.authmysql.myownquery README.authmysql.myownquery
227 mv -f imap/README README.imap
228 mv -f imap/ChangeLog ChangeLog
229 mv -f maildir/README.maildirquota.txt README.maildirquota
230
231 install authlib/authdaemonrc            $RPM_BUILD_ROOT%{_sysconfdir}
232 install authlib/authldaprc              $RPM_BUILD_ROOT%{_sysconfdir}
233 install authlib/authmysqlrc             $RPM_BUILD_ROOT%{_sysconfdir}
234 install authlib/authpgsqlrc             $RPM_BUILD_ROOT%{_sysconfdir}
235
236 mv -f $RPM_BUILD_ROOT%{_datadir}/*db \
237         $RPM_BUILD_ROOT%{_sbindir}
238 mv -f $RPM_BUILD_ROOT%{_datadir}/mk*cert \
239         $RPM_BUILD_ROOT%{_sbindir}
240
241 mv -f tcpd/couriertls.1 $RPM_BUILD_ROOT%{_mandir}/man8/couriertls.8
242 mv -f imap/courierpop3d.8 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3d.8
243
244 echo ".so man7/authlib.7"       >$RPM_BUILD_ROOT%{_mandir}/man8/authcram.8
245 echo ".so man7/authlib.7"       >$RPM_BUILD_ROOT%{_mandir}/man8/authpam.8
246 echo ".so man7/authlib.7"       >$RPM_BUILD_ROOT%{_mandir}/man8/authpwd.8
247 echo ".so man7/authlib.7"       >$RPM_BUILD_ROOT%{_mandir}/man8/authshadow.8
248 echo ".so man7/authlib.7"       >$RPM_BUILD_ROOT%{_mandir}/man8/authuserdb.8
249 echo ".so man7/authlib.7"       >$RPM_BUILD_ROOT%{_mandir}/man8/authvchkpw.8
250 echo ".so man7/authlib.7"       >$RPM_BUILD_ROOT%{_mandir}/man8/authdaemon.8
251 echo ".so man7/authlib.7"       >$RPM_BUILD_ROOT%{_mandir}/man8/authdaemond.8
252 %{?with_pgsql:echo ".so man7/authlib.7" >$RPM_BUILD_ROOT%{_mandir}/man8/authpgsql.8}
253 %{?with_mysql:echo ".so man7/authlib.7" >$RPM_BUILD_ROOT%{_mandir}/man8/authmysql.8}
254 %{?with_ldap:echo ".so man7/authlib.7"  >$RPM_BUILD_ROOT%{_mandir}/man8/authldap.8}
255 echo ".so makeuserdb.8" >$RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8
256 echo ".so makeuserdb.8" >$RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8
257
258 touch $RPM_BUILD_ROOT/etc/security/blacklist.{pop3,imap}
259
260 # make config files
261 ./sysconftool $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
262
263 # set yes to start imapd and pop3d
264 sed -i 's/^POP3DSTART.*/POP3DSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/pop3d
265 sed -i 's/^IMAPDSTART.*/IMAPDSTART=YES/' $RPM_BUILD_ROOT%{_sysconfdir}/imapd
266
267 # remove unpackaged files
268 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.dist
269
270 %clean
271 rm -rf $RPM_BUILD_ROOT
272
273 %post
274 /sbin/chkconfig --add courier-imap
275
276 if [ -f /var/lock/subsys/courier-imap ]; then
277         /etc/rc.d/init.d/courier-imap restart >&2
278 else
279         echo "Run \"/etc/rc.d/init.d/courier-imap start\" to start courier-imap daemon."
280 fi
281
282 %preun
283 if [ "$1" = "0" ]; then
284         if [ -f /var/lock/subsys/courier-imap ]; then
285                 /etc/rc.d/init.d/courier-imap stop >&2
286         fi
287         /sbin/chkconfig --del courier-imap
288 fi
289
290 %triggerin -- %{name} < 3.0.5
291 if [ -f /var/lib/openssl/certs/imapd.pem ]; then
292     echo
293     echo imapd.pem has been moved automatically to %{_certsdir}
294     echo
295     mv -f /var/lib/openssl/certs/imapd.pem %{_certsdir}
296 fi
297 if [ -f /etc/sysconfig/courier-imap ]; then
298     . /etc/sysconfig/courier-imap
299     for opt in `grep ^[^#] /etc/sysconfig/courier-imap |grep -v TLS_CERTFILE |grep -v MAILDIR |grep -v COURIERTLS |cut -d= -f1`;
300     do
301         eval opt2=\$$opt
302         sed -i s/^$opt=.*/"$opt=\"$opt2\""/ %{_sysconfdir}/imapd
303         sed -i s/^$opt=.*/"$opt=\"$opt2\""/ %{_sysconfdir}/imapd-ssl
304     done
305     sed -i s/^SSLADDRESS=.*/"SSLADDRESS=$ADDRESS_SSL"/ %{_sysconfdir}/imapd-ssl
306     sed -i s/^SSLPORT=.*/"SSLPORT=$PORTS_SSL"/ %{_sysconfdir}/imapd-ssl
307     sed -i s!^MAILDIRPATH=.*!"MAILDIRPATH=\"$MAILDIR\""! %{_sysconfdir}/imapd-ssl
308     sed -i s!^MAILDIRPATH=.*!"MAILDIRPATH=\"$MAILDIR\""! %{_sysconfdir}/imapd
309     echo
310     echo IMAPD config file has been rewriten to %{_sysconfdir}/imapd,imapd-ssl
311     echo please look at them
312     echo
313 fi
314 if [ -f /var/lock/subsys/courier-imap ]; then
315         /etc/rc.d/init.d/courier-imap restart >&2
316 fi
317
318 %triggerin -- %{name} < 3.0.6
319 . %{_sysconfdir}/imapd-ssl
320 if [ $TLS_CACHEFILE = "/var/couriersslcache" ]; then
321     sed -i s/^TLS_CACHEFILE=.*/"TLS_CACHEFILE=\/var\/spool\/courier-imap\/couriersslcache"/ %{_sysconfdir}/imapd-ssl
322 fi
323
324 %triggerin -n %{name}-common -- %{name}-common < 3.0.5
325 /sbin/chkconfig --del authdaemon
326 if [ -f /var/lock/subsys/authdaemon ]; then
327     kill `cat /var/lib/authdaemon/pid`
328     rm -f /var/lock/subsys/authdaemon
329 fi
330 if [ -f /etc/sysconfig/authdaemon ]; then
331     . /etc/sysconfig/authdaemon
332     sed -i s/^version.*/version=authdaemond.$METHOD/ %{_sysconfdir}/authdaemonrc
333 fi
334 echo
335 echo Changes to version 3.0.5 :
336 echo - config files has been splited and moved to %{_sysconfdir}
337 echo - certificates directory has changed to %{_certsdir}
338 echo
339
340 %post pop3
341 /sbin/chkconfig --add courier-pop3
342 /sbin/chkconfig --del courier-imap-pop3 >/dev/null 2>&1 || :
343 if [ -f /var/lock/subsys/courier-imap-pop3 ]; then
344         /etc/rc.d/init.d/courier-imap-pop3 stop >&2
345         /etc/rc.d/init.d/courier-pop3 start >&2
346 elif [ -f /var/lock/subsys/courier-pop3 ]; then
347         /etc/rc.d/init.d/courier-pop3 restart >&2
348 else
349         echo "Run \"/etc/rc.d/init.d/courier-pop3 start\" to start courier-pop3 daemon."
350 fi
351
352 %preun pop3
353 if [ "$1" = "0" ]; then
354         if [ -f /var/lock/subsys/courier-pop3 ]; then
355                 /etc/rc.d/init.d/courier-pop3 stop >&2
356         fi
357         /sbin/chkconfig --del courier-pop3
358 fi
359
360 %triggerin -n %{name}-pop3 -- %{name}-pop3 < 3.0.5
361 if [ -f /var/lib/openssl/certs/pop3d.pem ]; then
362     echo
363     echo pop3d.pem has been moved automatically to %{_certsdir}
364     echo
365     mv -f /var/lib/openssl/certs/pop3d.pem %{_certsdir}
366 fi
367 if [ -f /etc/sysconfig/courier-pop3 ]; then
368     . /etc/sysconfig/courier-pop3
369     for opt in `grep ^[^#] /etc/sysconfig/courier-pop3 |grep -v TLS_CERTFILE |grep -v MAILDIR |grep -v COURIERTLS |cut -d= -f1`;
370     do
371         eval opt2=\$$opt
372         sed -i s/^$opt=.*/"$opt=\"$opt2\""/ %{_sysconfdir}/pop3d
373         sed -i s/^$opt=.*/"$opt=\"$opt2\""/ %{_sysconfdir}/pop3d-ssl
374     done
375     sed -i s!^MAILDIRPATH=.*!"MAILDIRPATH=\"$MAILDIR\""! %{_sysconfdir}/pop3d-ssl
376     sed -i s!^MAILDIRPATH=.*!"MAILDIRPATH=\"$MAILDIR\""! %{_sysconfdir}/pop3d
377     echo
378     echo POP3D config file has been rewriten to %{_sysconfdir}/pop3d,pop3d-ssl
379     echo please look at them
380     echo
381 fi
382 if [ -f /var/lock/subsys/courier-pop3 ]; then
383         /etc/rc.d/init.d/courier-pop3 restart >&2
384 fi
385
386 %triggerin -n %{name}-pop3 -- %{name}-pop3 < 3.0.6
387 . %{_sysconfdir}/pop3d-ssl
388 if [ $TLS_CACHEFILE = "/var/couriersslcache" ]; then
389     sed -i s/^TLS_CACHEFILE=.*/"TLS_CACHEFILE=\/var\/spool\/courier-imap\/couriersslcache"/ %{_sysconfdir}/pop3d-ssl
390 fi
391
392 %post authldap
393 if ps -A |grep -q authdaemond.lda; then
394         %{_libexecdir}/authlib/authdaemond stop
395         %{_libexecdir}/authlib/authdaemond start
396 fi
397
398 %postun authldap
399 if [ -x %{_libexecdir}/authlib/authdaemond ]; then
400         if ps -A |grep -q authdaemond.lda; then
401                 %{_libexecdir}/authlib/authdaemond stop;
402                 %{_libexecdir}/authlib/authdaemond start;
403         fi
404 fi
405
406 %post authmysql
407 if ps -A |grep -q authdaemond.mys; then
408         %{_libexecdir}/authlib/authdaemond stop
409         %{_libexecdir}/authlib/authdaemond start
410 fi
411
412 %postun authmysql
413 if [ -x %{_libexecdir}/authlib/authdaemond ]; then
414         if ps -A |grep -q authdaemond.mys; then
415                 %{_libexecdir}/authlib/authdaemond stop;
416                 %{_libexecdir}/authlib/authdaemond start;
417         fi
418 fi
419
420 %post authpgsql
421 if ps -A |grep -q authdaemond.pgs; then
422         %{_libexecdir}/authlib/authdaemond stop
423         %{_libexecdir}/authlib/authdaemond start
424 fi
425
426 %postun authpgsql
427 if [ -x %{_libexecdir}/authlib/authdaemond ]; then
428         if ps -A |grep -q authdaemond.pgs; then
429                 %{_libexecdir}/authlib/authdaemond stop;
430                 %{_libexecdir}/authlib/authdaemond start;
431         fi
432 fi
433
434 %files
435 %defattr(644,root,root,755)
436 %doc maildir/README.sharedfolders.html
437 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
438 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.imap
439 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd
440 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd-ssl
441 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd.cnf
442 %attr(754,root,root) /etc/rc.d/init.d/courier-imap
443 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared
444 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared.tmp
445 %attr(755,root,root) %{_bindir}/imapd
446 %attr(755,root,root) %{_bindir}/maildiracl
447 %attr(755,root,root) %{_bindir}/maildirkw
448 %attr(755,root,root) %{_sbindir}/authenumerate
449 %attr(755,root,root) %{_sbindir}/imaplogin
450 %attr(755,root,root) %{_sbindir}/mkimapdcert
451 %attr(755,root,root) %{_sbindir}/sharedindexinstall
452 %attr(755,root,root) %{_sbindir}/sharedindexsplit
453 %attr(755,root,root) %{_libexecdir}/imapd.rc
454 %attr(755,root,root) %{_libexecdir}/imapd-ssl.rc
455 %{_mandir}/man8/imapd*
456 %{_mandir}/man1/maildiracl.1*
457 %{_mandir}/man1/maildirkw.1*
458
459 %files common
460 %defattr(644,root,root,755)
461 %doc AUTHORS ChangeLog imap/BUGS INSTALL README*
462 %attr(700,root,root) /var/lib/authdaemon
463 %attr(750,root,root) %dir %{_sysconfdir}
464 %attr(750,root,root) %dir %{_certsdir}
465 %attr(700,daemon,daemon) %dir %{_localstatedir}
466 %dir %{_libexecdir}
467 %dir %{_libexecdir}/authlib
468 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authdaemonrc
469 %{_sysconfdir}/quotawarnmsg.example
470 %attr(755,root,root) %{_bindir}/couriertls
471 %attr(755,root,root) %{_libexecdir}/authlib/authdaemon
472 %attr(755,root,root) %{_libexecdir}/authlib/authdaemond
473 %attr(755,root,root) %{_libexecdir}/authlib/authdaemond.plain
474 %attr(755,root,root) %{_libexecdir}/couriertcpd
475 %attr(755,root,root) %{_libexecdir}/makedatprog
476 %attr(755,root,root) %{_sbindir}/courierlogger
477 %{_mandir}/man8/auth[cdsuv]*
478 %{_mandir}/man8/authp[aw]*
479 %{_mandir}/man7/authlib*
480 %{_mandir}/man1/courierlogger*
481 %{_mandir}/man1/couriert*
482 %{_mandir}/man8/couriert*
483 %{_mandir}/man8/mk*
484
485 %files userdb
486 %defattr(644,root,root,755)
487 %attr(755,root,root) %{_sbindir}/makeuserdb
488 %attr(755,root,root) %{_sbindir}/pw2userdb
489 %attr(755,root,root) %{_sbindir}/userdb
490 %attr(755,root,root) %{_sbindir}/userdbpw
491 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
492 %{_mandir}/man8/makeuserdb*
493 %{_mandir}/man8/userdb*
494 %{_mandir}/man8/*pw2userdb*
495
496 %files deliverquota
497 %defattr(644,root,root,755)
498 %attr(755,root,root) %{_bindir}/deliverquota
499 %{_mandir}/man8/deliverquota*
500
501 %files maildirmake
502 %defattr(644,root,root,755)
503 %attr(755,root,root) %{_bindir}/maildirmake
504 %{_mandir}/man1/maildirmake*
505
506 %files pop3
507 %defattr(644,root,root,755)
508 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
509 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.pop3
510 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d
511 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d-ssl
512 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d.cnf
513 %attr(754,root,root) /etc/rc.d/init.d/courier-pop3
514 %attr(755,root,root) %{_bindir}/pop3d
515 %attr(755,root,root) %{_sbindir}/mkpop3dcert
516 %attr(755,root,root) %{_sbindir}/pop3login
517 %attr(755,root,root) %{_libexecdir}/pop3d.rc
518 %attr(755,root,root) %{_libexecdir}/pop3d-ssl.rc
519 %{_mandir}/man8/courierpop*
520
521 %if %{with ldap}
522 %files authldap
523 %defattr(644,root,root,755)
524 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authldaprc
525 %attr(755,root,root) %{_libexecdir}/authlib/authdaemond.ldap
526 %{_mandir}/man8/authldap*
527 %endif
528
529 %if %{with mysql}
530 %files authmysql
531 %defattr(644,root,root,755)
532 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmysqlrc
533 %attr(755,root,root) %{_libexecdir}/authlib/authdaemond.mysql
534 %{_mandir}/man8/authmysql*
535 %endif
536
537 %if %{with pgsql}
538 %files authpgsql
539 %defattr(644,root,root,755)
540 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authpgsqlrc
541 %attr(755,root,root) %{_libexecdir}/authlib/authdaemond.pgsql
542 %{_mandir}/man8/authpgsql*
543 %endif
This page took 0.073311 seconds and 4 git commands to generate.