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