From 1d9735fbc1bf1e1ab5a92c271a90f891ce30da1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Fri, 10 Oct 2014 11:18:20 +0200 Subject: [PATCH] Do not override LFLAGS (problem reported by Todd Lyons) --- exim-4.71-dlopen-localscan.patch | 2 +- exim.spec | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/exim-4.71-dlopen-localscan.patch b/exim-4.71-dlopen-localscan.patch index 09ebad8..3c8399f 100644 --- a/exim-4.71-dlopen-localscan.patch +++ b/exim-4.71-dlopen-localscan.patch @@ -243,7 +243,7 @@ +# linker flags. Without it, the loaded .so won't be able to access any +# functions from exim. + -+LFLAGS=-rdynamic -ldl ++LFLAGS=-rdynamic -ldl -pie + +#------------------------------------------------------------------------------ # The default distribution of Exim contains only the plain text form of the diff --git a/exim.spec b/exim.spec index 68f8a30..5cb4d4f 100644 --- a/exim.spec +++ b/exim.spec @@ -12,7 +12,7 @@ Summary: The exim mail transfer agent Name: exim Version: 4.72 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ Url: http://www.exim.org/ Group: System Environment/Daemons @@ -221,7 +221,7 @@ cp exim_monitor/EDITME Local/eximon.conf %else export PIE=-fPIE %endif -make LFLAGS=-pie _lib=%{_lib} FULLECHO= +make _lib=%{_lib} FULLECHO= %if 0%{?buildsa} # build sa-exim @@ -527,6 +527,9 @@ test "$1" = 0 || %{_initrddir}/clamd.exim condrestart >/dev/null || : %{_sysconfdir}/cron.daily/greylist-tidy.sh %changelog +* Fri Oct 10 2014 Jaroslav Škarvada - 4.72-7 +- Do not override LFLAGS (problem reported by Todd Lyons) + * Wed Jul 23 2014 Jaroslav Škarvada - 4.72-6 - Only expand integers for integer math once Resolves: CVE-2014-2972