[packages/exim] - up to 4.88; demime is gone; enable lmdb lookup; enable queuefile and i18n support; fixes CVE-2016-

arekm arekm at pld-linux.org
Sun Dec 25 11:37:04 CET 2016


commit 69cd3d0e704c660e9c627e83bdaf7f9efb417ef3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Dec 25 11:35:36 2016 +0100

    - up to 4.88; demime is gone; enable lmdb lookup; enable queuefile and i18n support; fixes CVE-2016-9963 and Ubuntu bug 1580454

 exim.spec          | 18 ++++++++++++++----
 exim4-EDITME.patch | 12 ++----------
 2 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/exim.spec b/exim.spec
index d8f4a16..f94f0fb 100644
--- a/exim.spec
+++ b/exim.spec
@@ -12,6 +12,7 @@
 %bcond_without	hiredis # without redis
 # opendmarc.spec not ready, so off by default
 %bcond_with	dmarc	# DMARC support
+%bcond_without	lmdb	# LMDB support
 
 %if "%{pld_release}" == "ac"
 # hiredis build segfaults on ac-alpha
@@ -22,15 +23,15 @@ 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.87
-Release:	3
+Version:	4.88
+Release:	1
 Epoch:		2
 License:	GPL
 Group:		Networking/Daemons/SMTP
 Source0:	ftp://ftp.exim.org/pub/exim/exim4/%{name}-%{version}.tar.bz2
-# Source0-md5:	2effc2bd47ad2dc010f655c11a1b1173
+# Source0-md5:	4cc10c910fd18bb9e299e98bc0a32ed2
 Source1:	ftp://ftp.exim.org/pub/exim/exim4/%{name}-html-%{version}.tar.bz2
-# Source1-md5:	f6ee36fd8d024912c053d113970938f5
+# Source1-md5:	8c428933dd52ab8bf12f21c22083d5a3
 Source2:	%{name}.init
 Source3:	%{name}.cron.db
 Source4:	%{name}4.conf
@@ -67,8 +68,10 @@ URL:		http://www.exim.org/
 BuildRequires:	db-devel
 %{?with_dmarc:BuildRequires:	opendmarc-devel}
 %{?with_hiredis:BuildRequires:	hiredis-devel}
+BuildRequires:	libidn-devel
 %{?with_spf:BuildRequires:	libspf2-devel >= 1.2.5-2}
 %{?with_srs:BuildRequires:	libsrs_alt-devel >= 1.0}
+%{?with_lmdb:BuildRequires:	lmdb-devel}
 %{?with_mysql:BuildRequires:	mysql-devel}
 %{?with_ldap:BuildRequires:	openldap-devel >= 2.3.0}
 BuildRequires:	openssl-devel >= 0.9.7d
@@ -200,6 +203,9 @@ EXPERIMENTAL_DANE=yes
 EXPERIMENTAL_DCC=yes
 EXPERIMENTAL_PRDR=yes
 EXPERIMENTAL_DSN_INFO=yes
+EXPERIMENTAL_QUEUEFILE=yes
+SUPPORT_I18N=yes
+LDFLAGS+= -lidn
 SUPPORT_PROXY=yes
 %if %{with dmarc}
 EXPERIMENTAL_DMARC=yes
@@ -261,6 +267,10 @@ LOOKUP_LDAP_LIBS=-lldap -llber
 # for static
 LOOKUP_LIBS+=-lldap -llber
 %endif
+%if %{with lmdb}
+EXPERIMENTAL_LMDB=yes
+LOOKUP_LIBS+=-llmdb
+%endif
 EOF
 
 # have to be after Local/Makefile-Linux creation
diff --git a/exim4-EDITME.patch b/exim4-EDITME.patch
index ee5182d..c0e5270 100644
--- a/exim4-EDITME.patch
+++ b/exim4-EDITME.patch
@@ -79,23 +79,15 @@ diff -urN exim-4.64.org/src/EDITME exim-4.64/src/EDITME
  # LOOKUP_PGSQL=yes
  # LOOKUP_SQLITE=yes
  # LOOKUP_WHOSON=yes
-@@ -330,14 +331,14 @@
+@@ -391,7 +391,7 @@ EXIM_MONITOR=eximon.bin
  # and the MIME ACL. Please read the documentation to learn more about these
  # features.
  
 -# WITH_CONTENT_SCAN=yes
 +WITH_CONTENT_SCAN=yes
  
- # If you want to use the deprecated "demime" condition in the DATA ACL,
- # uncomment the line below. Doing so will also explicitly turn on the
- # WITH_CONTENT_SCAN option. If possible, use the MIME ACL instead of
- # the "demime" condition.
- 
--# WITH_OLD_DEMIME=yes
-+WITH_OLD_DEMIME=yes
- 
  #------------------------------------------------------------------------------
- # Compiling Exim with experimental features. These are documented in
+ # If you're using ClamAV and are backporting fixes to an old version, instead
 @@ -629,15 +630,15 @@ FIXED_NEVER_USERS=root
  # included in the Exim binary. You will then need to set up the run time
  # configuration to make use of the mechanism(s) selected.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/exim.git/commitdiff/69cd3d0e704c660e9c627e83bdaf7f9efb417ef3



More information about the pld-cvs-commit mailing list