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