]> git.pld-linux.org Git - packages/courier-imap.git/blob - courier-imap.spec
- reverted
[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  
219 $RPM_BUILD_ROOT%{_mandir}/man8/{authcram,authpam,authpwd,authshadow,authuserdb,authvchkpw,pw2userdb,vchkpw2userdb,authdaemon,authdaemond,authldap,authmysql}.8 
220 \
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 
299 |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 
370 |cut -d= -f1`;
371         do
372                 eval opt2=\$$opt
373                 sed -i s/^$opt=.*/"$opt=\"$opt2\""/ %{_sysconfdir}/pop3d
374                 sed -i s/^$opt=.*/"$opt=\"$opt2\""/ %{_sysconfdir}/pop3d-ssl
375         done
376         sed -i s!^MAILDIRPATH=.*!"MAILDIRPATH=\"$MAILDIR\""! %{_sysconfdir}/pop3d-ssl
377         sed -i s!^MAILDIRPATH=.*!"MAILDIRPATH=\"$MAILDIR\""! %{_sysconfdir}/pop3d
378         echo
379         echo POP3D config file has been rewriten to %{_sysconfdir}/{pop3d,pop3d-ssl}
380         echo please look at them
381         echo
382 fi
383 if [ -f /var/lock/subsys/courier-pop3 ]; then
384         /etc/rc.d/init.d/courier-pop3 restart >&2
385 fi
386
387 %triggerin -n %{name}-pop3 -- %{name}-pop3 < 3.0.6
388 . %{_sysconfdir}/pop3d-ssl
389 if [ $TLS_CACHEFILE = "/var/couriersslcache" ]; then
390         sed -i s/^TLS_CACHEFILE=.*/"TLS_CACHEFILE=\/var\/spool\/courier-imap\/couriersslcache"/ %{_sysconfdir}/pop3d-ssl
391 fi
392
393 %post authldap
394 if ps -A |grep -q authdaemond.lda; then
395         %{_libexecdir}/authlib/authdaemond stop
396         %{_libexecdir}/authlib/authdaemond start
397 fi
398
399 %postun authldap
400 if [ -x %{_libexecdir}/authlib/authdaemond ]; then
401         if ps -A |grep -q authdaemond.lda; then
402                 %{_libexecdir}/authlib/authdaemond stop;
403                 %{_libexecdir}/authlib/authdaemond start;
404         fi
405 fi
406
407 %post authmysql
408 if ps -A |grep -q authdaemond.mys; then
409         %{_libexecdir}/authlib/authdaemond stop
410         %{_libexecdir}/authlib/authdaemond start
411 fi
412
413 %postun authmysql
414 if [ -x %{_libexecdir}/authlib/authdaemond ]; then
415         if ps -A |grep -q authdaemond.mys; then
416                 %{_libexecdir}/authlib/authdaemond stop;
417                 %{_libexecdir}/authlib/authdaemond start;
418         fi
419 fi
420
421 %post authpgsql
422 if ps -A |grep -q authdaemond.pgs; then
423         %{_libexecdir}/authlib/authdaemond stop
424         %{_libexecdir}/authlib/authdaemond start
425 fi
426
427 %postun authpgsql
428 if [ -x %{_libexecdir}/authlib/authdaemond ]; then
429         if ps -A |grep -q authdaemond.pgs; then
430                 %{_libexecdir}/authlib/authdaemond stop;
431                 %{_libexecdir}/authlib/authdaemond start;
432         fi
433 fi
434
435 %files
436 %defattr(644,root,root,755)
437 %doc maildir/README.sharedfolders.html
438 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/imap
439 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.imap
440 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd
441 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd-ssl
442 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/imapd.cnf
443 %attr(754,root,root) /etc/rc.d/init.d/courier-imap
444 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared
445 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared.tmp
446 %attr(755,root,root) %{_bindir}/imapd
447 %attr(755,root,root) %{_bindir}/maildiracl
448 %attr(755,root,root) %{_bindir}/maildirkw
449 %attr(755,root,root) %{_sbindir}/authenumerate
450 %attr(755,root,root) %{_sbindir}/imaplogin
451 %attr(755,root,root) %{_sbindir}/mkimapdcert
452 %attr(755,root,root) %{_sbindir}/sharedindexinstall
453 %attr(755,root,root) %{_sbindir}/sharedindexsplit
454 %attr(755,root,root) %{_libexecdir}/imapd.rc
455 %attr(755,root,root) %{_libexecdir}/imapd-ssl.rc
456 %{_mandir}/man8/imapd*
457 %{_mandir}/man1/maildiracl.1*
458 %{_mandir}/man1/maildirkw.1*
459
460 %files common
461 %defattr(644,root,root,755)
462 %doc AUTHORS ChangeLog imap/BUGS INSTALL README*
463 %attr(770,daemon,daemon) /var/lib/authdaemon
464 %attr(750,root,root) %dir %{_sysconfdir}
465 %attr(750,root,root) %dir %{_certsdir}
466 %attr(770,daemon,daemon) %dir %{_localstatedir}
467 %dir %{_libexecdir}
468 %dir %{_libexecdir}/authlib
469 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authdaemonrc
470 %{_sysconfdir}/quotawarnmsg.example
471 %attr(755,root,root) %{_bindir}/couriertls
472 %attr(755,root,root) %{_libexecdir}/authlib/authdaemon
473 %attr(755,root,root) %{_libexecdir}/authlib/authdaemond
474 %attr(755,root,root) %{_libexecdir}/authlib/authdaemond.plain
475 %attr(755,root,root) %{_libexecdir}/couriertcpd
476 %attr(755,root,root) %{_libexecdir}/makedatprog
477 %attr(755,root,root) %{_sbindir}/courierlogger
478 %{_mandir}/man8/auth[cdsuv]*
479 %{_mandir}/man8/authp[aw]*
480 %{_mandir}/man7/authlib*
481 %{_mandir}/man1/courierlogger*
482 %{_mandir}/man1/couriert*
483 %{_mandir}/man8/couriert*
484 %{_mandir}/man8/mk*
485
486 %files userdb
487 %defattr(644,root,root,755)
488 %attr(755,root,root) %{_sbindir}/makeuserdb
489 %attr(755,root,root) %{_sbindir}/pw2userdb
490 %attr(755,root,root) %{_sbindir}/userdb
491 %attr(755,root,root) %{_sbindir}/userdbpw
492 %attr(755,root,root) %{_sbindir}/vchkpw2userdb
493 %{_mandir}/man8/makeuserdb*
494 %{_mandir}/man8/userdb*
495 %{_mandir}/man8/*pw2userdb*
496
497 %files deliverquota
498 %defattr(644,root,root,755)
499 %attr(755,root,root) %{_bindir}/deliverquota
500 %{_mandir}/man8/deliverquota*
501
502 %files maildirmake
503 %defattr(644,root,root,755)
504 %attr(755,root,root) %{_bindir}/maildirmake
505 %{_mandir}/man1/maildirmake*
506
507 %files pop3
508 %defattr(644,root,root,755)
509 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/pop3
510 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.pop3
511 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d
512 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d-ssl
513 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pop3d.cnf
514 %attr(754,root,root) /etc/rc.d/init.d/courier-pop3
515 %attr(755,root,root) %{_bindir}/pop3d
516 %attr(755,root,root) %{_sbindir}/mkpop3dcert
517 %attr(755,root,root) %{_sbindir}/pop3login
518 %attr(755,root,root) %{_libexecdir}/pop3d.rc
519 %attr(755,root,root) %{_libexecdir}/pop3d-ssl.rc
520 %{_mandir}/man8/courierpop*
521
522 %if %{with ldap}
523 %files authldap
524 %defattr(644,root,root,755)
525 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authldaprc
526 %attr(755,root,root) %{_libexecdir}/authlib/authdaemond.ldap
527 %{_mandir}/man8/authldap*
528 %endif
529
530 %if %{with mysql}
531 %files authmysql
532 %defattr(644,root,root,755)
533 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authmysqlrc
534 %attr(755,root,root) %{_libexecdir}/authlib/authdaemond.mysql
535 %{_mandir}/man8/authmysql*
536 %endif
537
538 %if %{with pgsql}
539 %files authpgsql
540 %defattr(644,root,root,755)
541 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/authpgsqlrc
542 %attr(755,root,root) %{_libexecdir}/authlib/authdaemond.pgsql
543 %{_mandir}/man8/authpgsql*
544 %endif
This page took 0.062251 seconds and 4 git commands to generate.