]>
Commit | Line | Data |
---|---|---|
9db332a8 | 1 | # |
22442fbb | 2 | # Conditional build: |
b2db97da | 3 | %bcond_without pgsql # without PostgreSQL support |
4 | %bcond_without mysql # without MySQL support | |
abe10949 | 5 | %bcond_without sqlite # without sqlite |
b2db97da | 6 | %bcond_without whoson # without whoson support |
ce4633e0 | 7 | %bcond_without sasl # without SASL |
bcbbe38e | 8 | %bcond_without ldap # without LDAP support |
4acd3d45 | 9 | %bcond_without spf # without spf support |
cf3f73d5 | 10 | %bcond_without srs # without srs support |
b56ef289 | 11 | %bcond_without dynamic # dynamic modules |
bcbbe38e | 12 | # |
d6eed07a | 13 | Summary: University of Cambridge Mail Transfer Agent |
9906dddb ER |
14 | Summary(pl.UTF-8): Agent Transferu Poczty Uniwersytetu w Cambridge |
15 | Summary(pt_BR.UTF-8): Servidor de correio eletrônico exim | |
859700c9 | 16 | Name: exim |
c745e0a3 | 17 | Version: 4.77 |
9b205b8b | 18 | Release: 5 |
5e2ead7f | 19 | Epoch: 2 |
b870edc7 | 20 | License: GPL |
e50559d6 | 21 | Group: Networking/Daemons/SMTP |
d3697a6b | 22 | Source0: ftp://ftp.exim.org/pub/exim/exim4/%{name}-%{version}.tar.bz2 |
c745e0a3 | 23 | # Source0-md5: 5d746275f2cc85845567f9d5eb84a57a |
b4106aa6 | 24 | Source1: ftp://ftp.exim.org/pub/exim/exim4/%{name}-html-%{version}.tar.bz2 |
c745e0a3 | 25 | # Source1-md5: 5af01cdfe2f938bbac5d7a65cb3a7290 |
066110a4 | 26 | Source2: %{name}.init |
27 | Source3: %{name}.cron.db | |
88f45d21 | 28 | Source4: %{name}4.conf |
859700c9 | 29 | Source5: analyse-log-errors |
066110a4 | 30 | Source6: %{name}on.desktop |
88f45d21 | 31 | # 20021016: http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/ |
0e6a6f9b | 32 | Source7: %{name}4-man-021016.tar.bz2 |
00108711 | 33 | # Source7-md5: b552704ebf853a401946038a2b7e8e98 |
066110a4 | 34 | Source9: %{name}.aliases |
3a772b92 | 35 | Source10: newaliases |
0e6a6f9b | 36 | Source11: %{name}.logrotate |
0e6a6f9b | 37 | Source12: %{name}.sysconfig |
c72741ba | 38 | Source13: ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/FAQ.txt.bz2 |
9843e1e0 | 39 | # Source13-md5: ff781bd31fb1d574c8b9d33f4bfd34a7 |
c72741ba | 40 | Source14: ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/config.samples.tar.bz2 |
9843e1e0 | 41 | # Source14-md5: 4b93321938a800caa6127c48ad60a42b |
077cda1b | 42 | Source15: %{name}4-smtp.pamd |
ff7ae076 | 43 | Source16: %{name}on.png |
88f45d21 | 44 | Patch0: %{name}4-EDITME.patch |
45 | Patch1: %{name}4-monitor-EDITME.patch | |
ac65266c | 46 | Patch2: %{name}4-cflags.patch |
88f45d21 | 47 | Patch4: %{name}4-Makefile-Default.patch |
6d9e2777 AM |
48 | # http://marc.merlins.org/linux/exim/files/sa-exim-cvs/localscan_dlopen_exim_4.20_or_better.patch |
49 | Patch5: localscan_dlopen_%{name}_4.20_or_better.patch | |
d26bc4fa | 50 | #Patch6: %{name}-bug-1056.patch |
a4a0cfb9 | 51 | # http://sourceforge.net/projects/eximdsn/ |
8b9018e8 | 52 | Patch7: %{name}_463_dsn_1_3.patch |
76e38fe1 | 53 | Patch8: %{name}-spam-timeout.patch |
b6cbc73e | 54 | Patch9: %{name}-dkim.patch |
60791d8d | 55 | Patch10: %{name}-force-sigalrm.patch |
db3fcec6 | 56 | Patch11: %{name}-bug-1057.patch |
066110a4 | 57 | URL: http://www.exim.org/ |
82ad425e ER |
58 | %{?with_sasl:BuildRequires: cyrus-sasl-devel >= 2.1.0} |
59 | BuildRequires: db-devel | |
eaeb5576 AM |
60 | %{?with_spf:BuildRequires: libspf2-devel >= 1.2.5-2} |
61 | %{?with_srs:BuildRequires: libsrs_alt-devel >= 1.0} | |
bcbbe38e | 62 | %{?with_mysql:BuildRequires: mysql-devel} |
1f87c676 | 63 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
a6ad4b14 | 64 | BuildRequires: openssl-devel >= 0.9.7d |
d6eed07a TP |
65 | BuildRequires: pam-devel |
66 | BuildRequires: pcre-devel | |
5b3e22ec | 67 | BuildRequires: perl-devel >= 1:5.6.0 |
82ad425e | 68 | %{?with_pgsql:BuildRequires: postgresql-devel} |
85ea61b0 | 69 | BuildRequires: readline-devel |
1f87c676 | 70 | BuildRequires: rpm >= 4.4.9-56 |
ed878c0a | 71 | BuildRequires: rpmbuild(macros) >= 1.268 |
82ad425e | 72 | %{?with_sqlite:BuildRequires: sqlite3-devel} |
82ad425e | 73 | %{?with_whoson:BuildRequires: whoson-devel} |
1f87c676 | 74 | %if "%{pld_release}" != "ac" |
36ff593d | 75 | BuildRequires: xorg-lib-libX11-devel |
204feb3d | 76 | BuildRequires: xorg-lib-libXaw-devel |
1f87c676 ER |
77 | %else |
78 | BuildRequires: XFree86-devel | |
79 | %endif | |
82ad425e ER |
80 | Requires(post): /bin/hostname |
81 | Requires(post): fileutils | |
82 | Requires(post,preun): /sbin/chkconfig | |
83 | Requires(postun): /usr/sbin/groupdel | |
84 | Requires(postun): /usr/sbin/userdel | |
33a67372 | 85 | Requires(pre): /bin/id |
86 | Requires(pre): /usr/bin/getgid | |
87 | Requires(pre): /usr/sbin/groupadd | |
88 | Requires(pre): /usr/sbin/useradd | |
618734e2 | 89 | Requires: findutils |
f27a18bf | 90 | Requires: pam >= 0.79.0 |
82ad425e | 91 | Requires: rc-scripts |
74d9646b | 92 | Provides: group(exim) |
55d7b250 | 93 | Provides: smtpdaemon |
74d9646b | 94 | Provides: user(exim) |
88f45d21 | 95 | Obsoletes: smtpdaemon |
a4e3a8b8 | 96 | Conflicts: logrotate < 3.8.0 |
b2db97da | 97 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f38f6b11 | 98 | |
99 | %description | |
b870edc7 | 100 | Smail like Mail Transfer Agent with single configuration file. |
101 | Features: flexible retry algorithms, header & envelope rewriting, | |
102 | multiple deliveries down single connection or multiple deliveries in | |
103 | parallel, regular expressions in configuration parameters, file | |
104 | lookups, supports sender and/or reciever verification, selective | |
105 | relaying, supports virtual domains, built-in mail filtering and can be | |
106 | configured to drop root privilleges when possible. | |
f38f6b11 | 107 | |
f46cabaa | 108 | %description -l pl.UTF-8 |
c130e36a | 109 | Agent transferu poczty (MTA) z pojedynczym plikiem konfiguracyjnym. |
f46cabaa JR |
110 | Jego zalety: świetne algorytmy, możliwość przepisywania nagłówków & |
111 | koperty, wielokrotne dostarczanie poczty podczas jednego połączenia | |
112 | lub równoległe dostarczanie poczty, wyrażenia regularne w parametrach | |
b870edc7 | 113 | konfiguracyjnych, weryfikacja nadawcy i/lub odbiorcy, selektywne |
f46cabaa JR |
114 | relayowanie, wsparcie dla wirtualnych domen, wbudowany system filtrów, |
115 | możliwość odrzucania praw roota kiedy jest to możliwe. | |
c130e36a | 116 | |
f46cabaa JR |
117 | %description -l pt_BR.UTF-8 |
118 | O exim é um agente de transporte de correio eletrônico (MTA), | |
d0f0285c | 119 | desenvolvido na Universidade de Cambridge para uso em sistemas Unix |
120 | conectados a Internet. Similar em estilo ao smail 3, suas facilidades | |
f46cabaa JR |
121 | são mais extensivas e em particular ele tem opções para verificação do |
122 | remetente e destinatário, para recusar mensagens de máquinas, redes ou | |
123 | remetentes específicos. | |
d0f0285c | 124 | |
f38f6b11 | 125 | %package X11 |
d0f0285c | 126 | Summary: X11 based Exim administration tool |
9906dddb ER |
127 | Summary(pl.UTF-8): Narzędzia administracyjne exima dla X11 |
128 | Summary(pt_BR.UTF-8): Monitor X11 para o exim | |
066110a4 | 129 | Group: X11/Applications |
859700c9 | 130 | |
f38f6b11 | 131 | %description X11 |
d0f0285c | 132 | X11 based monitor & administration utility for the Exim Mail Transfer |
133 | Agent. | |
f38f6b11 | 134 | |
f46cabaa JR |
135 | %description X11 -l pl.UTF-8 |
136 | Bazujące na X11 narzędzia dla Exima - monitor i program | |
b870edc7 | 137 | administracyjny. |
c130e36a | 138 | |
f46cabaa JR |
139 | %description X11 -l pt_BR.UTF-8 |
140 | O monitor exim é um suplemento opcional ao pacote exim. Ele mostra | |
141 | informações sobre o processamento do exim em uma janela X11. O | |
142 | administrador pode executar uma série de ações de controle a partir | |
d0f0285c | 143 | desta interface. |
144 | ||
6d9e2777 | 145 | %package devel |
0ca73329 | 146 | Summary: Header files for Exim |
9906dddb | 147 | Summary(pl.UTF-8): Pliki nagłówkowe dla Exima |
6d9e2777 AM |
148 | Group: Development/Libraries |
149 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
150 | ||
151 | %description devel | |
0ca73329 JB |
152 | Header files for Exim. |
153 | ||
f46cabaa JR |
154 | %description devel -l pl.UTF-8 |
155 | Pliki nagłówkowe dla Exima. | |
6d9e2777 | 156 | |
a4ef5176 AM |
157 | %global dynamic_type yes |
158 | %{?with_dynamic:%global dynamic_type 2} | |
159 | ||
f38f6b11 | 160 | %prep |
01a20a09 | 161 | %setup -q -a1 -a7 |
489eca58 | 162 | %patch0 -p1 |
163 | %patch1 -p1 | |
ac65266c | 164 | %patch2 -p1 |
22442fbb | 165 | %patch4 -p1 |
6d9e2777 | 166 | %patch5 -p1 |
d26bc4fa | 167 | #%patch6 -p1 |
a4a0cfb9 | 168 | %patch7 -p1 |
76e38fe1 | 169 | %patch8 -p1 |
b4106aa6 | 170 | #%patch9 -p0 |
60791d8d | 171 | %patch10 -p1 |
db3fcec6 | 172 | %patch11 -p1 |
489eca58 | 173 | |
88f45d21 | 174 | install %{SOURCE13} doc/FAQ.txt.bz2 |
175 | install %{SOURCE14} doc/config.samples.tar.bz2 | |
489eca58 | 176 | |
b870edc7 | 177 | install -d Local |
531d4f95 AM |
178 | cat << 'EOF' >> Local/Makefile-Linux |
179 | CC=%{__cc} | |
180 | CUSTOM_CFLAGS=%{rpmcppflags} %{rpmcflags} | |
181 | CFLAGS_DYNAMIC=-shared -rdynamic -fPIC %{rpmldflags} | |
182 | LOOKUP_CDB=yes | |
183 | XLFLAGS=-L%{_prefix}/X11R6/%{_lib} | |
184 | X11_LD_LIB=%{_prefix}/X11R6/%{_lib} | |
6ec5ee33 | 185 | %{?with_dynamic:LOOKUP_MODULE_DIR=%{_libdir}/%{name}/modules} |
531d4f95 AM |
186 | SUPPORT_DSN=yes |
187 | %{?with_spf:EXPERIMENTAL_SPF=yes} | |
188 | %{?with_srs:EXPERIMENTAL_SRS=yes} | |
189 | %if %{with mysql} | |
a4ef5176 AM |
190 | LOOKUP_MYSQL=%{dynamic_type} |
191 | # for dynamic | |
531d4f95 AM |
192 | LOOKUP_MYSQL_INCLUDE=-I%{_includedir}/mysql |
193 | LOOKUP_MYSQL_LIBS=-lmysqlclient | |
a4ef5176 AM |
194 | # for static |
195 | LOOKUP_INCLUDE+=-I%{_includedir}/mysql | |
196 | LOOKUP_LIBS+=-lmysqlclient | |
531d4f95 AM |
197 | %endif |
198 | %if %{with pgsql} | |
a4ef5176 AM |
199 | LOOKUP_PGSQL=%{dynamic_type} |
200 | # for dynamic | |
531d4f95 AM |
201 | LOOKUP_PGSQL_INCLUDE=-I%{_includedir}/pgsql |
202 | LOOKUP_PGSQL_LIBS=-lpq | |
a4ef5176 AM |
203 | # for static |
204 | LOOKUP_INCLUDE+=-I%{_includedir}/pgsql | |
205 | LOOKUP_LIBS+=-lpq | |
531d4f95 AM |
206 | %endif |
207 | %if %{with sqlite} | |
a4ef5176 AM |
208 | LOOKUP_SQLITE=%{dynamic_type} |
209 | # for dynamic | |
531d4f95 | 210 | LOOKUP_SQLITE_LIBS=-lsqlite3 |
a4ef5176 AM |
211 | # for static |
212 | LOOKUP_LIBS+=-lsqlite3 | |
531d4f95 AM |
213 | %endif |
214 | %if %{with whoson} | |
a4ef5176 AM |
215 | LOOKUP_WHOSON=%{dynamic_type} |
216 | # for dynamic | |
531d4f95 | 217 | LOOKUP_WHOSON_LIBS=-lwhoson |
a4ef5176 AM |
218 | # for static |
219 | LOOKUP_LIBS+=-lwhoson | |
531d4f95 AM |
220 | %endif |
221 | %{?with_sasl:AUTH_CYRUS_SASL=yes} | |
222 | %if %{with ldap} | |
a4ef5176 | 223 | LOOKUP_LDAP=%{dynamic_type} |
531d4f95 | 224 | LDAP_LIB_TYPE=OPENLDAP2 |
a4ef5176 AM |
225 | # for dynamic |
226 | LOOKUP_LDAP_LIBS=-lldap -llber | |
227 | # for static | |
228 | LOOKUP_LIBS+=-lldap -llber | |
531d4f95 | 229 | %endif |
a4ef5176 | 230 | LOOKUP_LIBS+=%{?with_spf:-lspf2} %{?with_srs:-lsrs_alt} %{?with_sasl:-lsasl2} |
531d4f95 AM |
231 | EOF |
232 | ||
233 | # have to be after Local/Makefile-Linux creation | |
4bf6fc61 JB |
234 | cp -f src/EDITME Local/Makefile |
235 | cp -f exim_monitor/EDITME Local/eximon.conf | |
f38f6b11 | 236 | |
237 | %build | |
531d4f95 AM |
238 | %{__make} -e -j1 \ |
239 | FULLECHO='' | |
f38f6b11 | 240 | |
241 | %install | |
b870edc7 | 242 | rm -rf $RPM_BUILD_ROOT |
11db3d17 | 243 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/mail |
94a2ea3c | 244 | install -d $RPM_BUILD_ROOT/etc/{cron.{daily,weekly},logrotate.d,rc.d/init.d,sysconfig,pam.d,security} |
6d9e2777 | 245 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man8,%{_prefix}/lib} |
4797292f | 246 | install -d $RPM_BUILD_ROOT%{_var}/{spool/exim/{db,input,msglog},log/{archive,}/exim,mail} |
b4106aa6 | 247 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
531d4f95 | 248 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/modules |
066110a4 | 249 | |
1e7de296 | 250 | install build-Linux-*/exim{,_fixdb,_tidydb,_dbmbuild,on.bin,_dumpdb,_lock} \ |
1e7de296 | 251 | build-Linux-*/exi{cyclog,next,what} %{SOURCE10} \ |
88f45d21 | 252 | build-Linux-*/{exigrep,eximstats,exiqsumm,convert4r4} \ |
253 | util/unknownuser.sh \ | |
066110a4 | 254 | $RPM_BUILD_ROOT%{_bindir} |
9db332a8 JB |
255 | install build-Linux-*/eximon.bin $RPM_BUILD_ROOT%{_bindir} |
256 | install build-Linux-*/eximon $RPM_BUILD_ROOT%{_bindir} | |
a4ef5176 | 257 | %{?with_dynamic:install build-Linux-*/*/*.so $RPM_BUILD_ROOT%{_libdir}/%{name}/modules} |
066110a4 | 258 | |
259 | install %{SOURCE5} . | |
9db332a8 | 260 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.weekly |
3a772b92 | 261 | install %{SOURCE12} $RPM_BUILD_ROOT/etc/sysconfig/%{name} |
066110a4 | 262 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
3a772b92 | 263 | install %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} |
88f45d21 | 264 | install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/mail/exim.conf |
9db332a8 | 265 | install {doc,man}/*.8 $RPM_BUILD_ROOT%{_mandir}/man8 |
066110a4 | 266 | install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mail/aliases |
fa39e47a | 267 | install %{SOURCE15} $RPM_BUILD_ROOT/etc/pam.d/smtp |
187c8c8b | 268 | |
4bf6fc61 | 269 | ln -sf %{_bindir}/exim $RPM_BUILD_ROOT%{_sbindir}/sendmail |
6d9e2777 | 270 | ln -sf %{_bindir}/exim $RPM_BUILD_ROOT%{_prefix}/lib/sendmail |
4bf6fc61 JB |
271 | ln -sf %{_bindir}/exim $RPM_BUILD_ROOT%{_sbindir}/mailq |
272 | ln -sf %{_bindir}/exim $RPM_BUILD_ROOT%{_sbindir}/rsmtp | |
273 | ln -sf %{_bindir}/exim $RPM_BUILD_ROOT%{_sbindir}/rmail | |
274 | ln -sf %{_bindir}/exim $RPM_BUILD_ROOT%{_sbindir}/runq | |
b870edc7 | 275 | |
ff7ae076 | 276 | install %{SOURCE6} $RPM_BUILD_ROOT%{_desktopdir} |
277 | install %{SOURCE16} $RPM_BUILD_ROOT%{_pixmapsdir} | |
187c8c8b | 278 | |
6d9e2777 | 279 | install -d $RPM_BUILD_ROOT%{_includedir}/%{name} |
b71250b4 SZ |
280 | install src/{local_scan,store,mytypes}.h $RPM_BUILD_ROOT%{_includedir}/%{name} |
281 | install build-Linux-*/config.h $RPM_BUILD_ROOT%{_includedir}/%{name} | |
6d9e2777 | 282 | |
489eca58 | 283 | touch $RPM_BUILD_ROOT%{_var}/log/exim/{main,reject,panic,process}.log |
187c8c8b | 284 | |
36310b55 JR |
285 | touch $RPM_BUILD_ROOT/etc/security/blacklist.smtp |
286 | ||
d387c64b JB |
287 | %clean |
288 | rm -rf $RPM_BUILD_ROOT | |
289 | ||
0bbd4a49 | 290 | %pre |
74a274d2 ER |
291 | %groupadd -g 79 exim |
292 | %useradd -u 79 -d /var/spool/exim -s /bin/false -c "Exim pseudo user" -g exim exim | |
0bbd4a49 | 293 | |
859700c9 | 294 | %post |
187c8c8b | 295 | umask 022 |
5f92f1d0 | 296 | /sbin/chkconfig --add %{name} |
ed878c0a | 297 | %service %{name} restart "exim daemon" |
187c8c8b AM |
298 | |
299 | if [ ! -f /etc/mail/mailname ]; then | |
300 | rm -f /etc/mail/mailname && hostname -f > /etc/mail/mailname | |
859700c9 | 301 | fi |
187c8c8b | 302 | newaliases |
859700c9 | 303 | |
304 | %preun | |
5f92f1d0 | 305 | if [ "$1" = "0" ]; then |
ed878c0a | 306 | %service exim stop |
5f92f1d0 | 307 | /sbin/chkconfig --del %{name} |
308 | fi | |
187c8c8b | 309 | |
3fdba252 | 310 | %postun |
0bbd4a49 | 311 | if [ "$1" = "0" ]; then |
74d9646b | 312 | %userremove exim |
313 | %groupremove exim | |
0bbd4a49 | 314 | fi |
3fdba252 | 315 | |
f38f6b11 | 316 | %files |
859700c9 | 317 | %defattr(644,root,root,755) |
00bddbb1 | 318 | %doc README* NOTICE LICENCE analyse-log-errors doc/{ChangeLog,NewStuff,dbm.discuss.txt,filter.txt,spec.txt,Exim*.upgrade,OptionLists.txt,experimental-spec.txt} build-Linux-*/transport-filter.pl |
b4106aa6 | 319 | %doc exim-html-*/doc/html |
5310bdd0 | 320 | %dir %{_sysconfdir}/mail |
9db332a8 | 321 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/exim.conf |
36ff593d ER |
322 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/aliases |
323 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/exim | |
bfa1d1a0 | 324 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/exim |
882e1157 | 325 | %attr(754,root,root) /etc/rc.d/init.d/exim |
187c8c8b | 326 | %attr(4755,root,root) %{_bindir}/exim |
882e1157 JB |
327 | %attr(770,root,exim) %dir %{_var}/spool/exim |
328 | %attr(750,exim,exim) %dir %{_var}/spool/exim/db | |
329 | %attr(700,exim,root) %dir %{_var}/spool/exim/input | |
330 | %attr(750,exim,root) %dir %{_var}/spool/exim/msglog | |
331 | %attr(755,root,root) %{_bindir}/exim_* | |
332 | %attr(755,root,root) %{_bindir}/exinext | |
333 | %attr(755,root,root) %{_bindir}/exiwhat | |
334 | %attr(755,root,root) %{_bindir}/exicyclog | |
335 | %attr(755,root,root) %{_bindir}/exigrep | |
336 | %attr(755,root,root) %{_bindir}/eximstats | |
337 | %attr(755,root,root) %{_bindir}/exiqsumm | |
338 | %attr(755,root,root) %{_bindir}/unknownuser.sh | |
339 | %attr(755,root,root) %{_bindir}/newaliases | |
340 | %attr(755,root,root) %{_bindir}/convert4r4 | |
c9e9e044 | 341 | %attr(755,root,root) %{_sbindir}/mailq |
342 | %attr(755,root,root) %{_sbindir}/rmail | |
343 | %attr(755,root,root) %{_sbindir}/rsmtp | |
344 | %attr(755,root,root) %{_sbindir}/runq | |
345 | %attr(755,root,root) %{_sbindir}/sendmail | |
6d9e2777 | 346 | %attr(755,root,root) %{_prefix}/lib/sendmail |
882e1157 JB |
347 | %attr(754,root,root) /etc/cron.weekly/exim.cron.db |
348 | %attr(750,exim,root) %dir %{_var}/log/exim | |
40f3bcfe | 349 | %attr(750,exim,root) %dir %{_var}/log/archive/exim |
882e1157 | 350 | %attr(640,exim,root) %ghost %{_var}/log/exim/* |
9db332a8 | 351 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/smtp |
36310b55 | 352 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.smtp |
a4ef5176 | 353 | %if %{with dynamic} |
531d4f95 AM |
354 | %dir %{_libdir}/%{name} |
355 | %dir %{_libdir}/%{name}/modules | |
356 | %{?with_mysql:%attr(755,root,root) %{_libdir}/%{name}/modules/mysql.so} | |
357 | %{?with_pgsql:%attr(755,root,root) %{_libdir}/%{name}/modules/pgsql.so} | |
358 | %{?with_sqlite:%attr(755,root,root) %{_libdir}/%{name}/modules/sqlite.so} | |
359 | %{?with_whoson:%attr(755,root,root) %{_libdir}/%{name}/modules/whoson.so} | |
a4ef5176 | 360 | %endif |
8d58ce27 | 361 | %{_mandir}/man8/* |
859700c9 | 362 | |
f38f6b11 | 363 | %files X11 |
b870edc7 | 364 | %defattr(644,root,root,755) |
9db332a8 JB |
365 | %attr(755,root,root) %{_bindir}/eximon |
366 | %attr(755,root,root) %{_bindir}/eximon.bin | |
367 | %{_desktopdir}/eximon.desktop | |
368 | %{_pixmapsdir}/eximon.png | |
6d9e2777 AM |
369 | |
370 | %files devel | |
371 | %defattr(644,root,root,755) | |
372 | %{_includedir}/%{name} |