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