%bcond_without ldap # without LDAP support
%bcond_without spf # without spf support
%bcond_without srs # without srs support
-%bcond_without dynamic # dynamic modules
+%bcond_with dynamic # dynamic modules
%bcond_without hiredis # without redis
# opendmarc.spec not ready, so off by default
%bcond_with dmarc # DMARC support
%undefine with_hiredis
%endif
-%include /usr/lib/rpm/macros.perl
Summary: University of Cambridge Mail Transfer Agent
Summary(pl.UTF-8): Agent Transferu Poczty Uniwersytetu w Cambridge
Summary(pt_BR.UTF-8): Servidor de correio eletrônico exim
Name: exim
-Version: 4.91
-Release: 9
+Version: 4.94
+Release: 10
Epoch: 2
License: GPL
Group: Networking/Daemons/SMTP
Source0: ftp://ftp.exim.org/pub/exim/exim4/%{name}-%{version}.tar.bz2
-# Source0-md5: e4db1e9013227539acfd662c3cf816d9
+# Source0-md5: 5773e8a0379bd621d57bc66c36ffff17
Source1: ftp://ftp.exim.org/pub/exim/exim4/%{name}-html-%{version}.tar.bz2
-# Source1-md5: 587e1e9018b593f5c0a19a8205235db9
+# Source1-md5: e840b2f90c08bdaa8c7a356c5cab79dd
Source2: %{name}.init
Source3: %{name}.cron.db
Source4: %{name}4.conf
Source16: %{name}on.png
# sh branch.sh
Patch100: %{name}-git.patch
-# Patch100-md5: 053f9b974638af278701409c0e99a632
+# Patch100-md5: c1230b5b9e34fdafd71dd310bf53e461
Patch0: %{name}4-EDITME.patch
Patch1: %{name}4-monitor-EDITME.patch
Patch2: %{name}4-cflags.patch
%prep
%setup -q -a1 -a7
%patch100 -p2
-
%patch0 -p1
%patch1 -p1
%patch2 -p1
EXPERIMENTAL_PRDR=yes
EXPERIMENTAL_DSN_INFO=yes
EXPERIMENTAL_QUEUEFILE=yes
+EXPERIMENTAL_QUEUE_RAMP=yes
SUPPORT_DANE=yes
SUPPORT_I18N=yes
SUPPORT_I18N_2008=yes
LDFLAGS+= -lidn -lidn2
SUPPORT_PROXY=yes
%if %{with dmarc}
-EXPERIMENTAL_DMARC=yes
+SUPPORT_DMARC=yes
LOOKUP_LIBS+=-lopendmarc
%endif
%if %{with spf}
EXPERIMENTAL_LMDB=yes
LOOKUP_LIBS+=-llmdb
%endif
+DLOPEN_LOCAL_SCAN=yes
EOF
# have to be after Local/Makefile-Linux creation
cp -f exim_monitor/EDITME Local/eximon.conf
%build
-%{__make} -e -j1 \
+%{__make} -e \
FULLECHO=''
%install
%files
%defattr(644,root,root,755)
%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
-%doc exim-html-*/doc/html
+%doc exim-html-*/exim-html-*/doc/html
%dir %{_sysconfdir}/mail
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/exim.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/aliases