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