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