Do not override LFLAGS (problem reported by Todd Lyons)

This commit is contained in:
Jaroslav Škarvada 2014-10-10 11:18:20 +02:00
parent fd0d5ab510
commit 1d9735fbc1
2 changed files with 6 additions and 3 deletions

View File

@ -243,7 +243,7 @@
+# linker flags. Without it, the loaded .so won't be able to access any +# linker flags. Without it, the loaded .so won't be able to access any
+# functions from exim. +# functions from exim.
+ +
+LFLAGS=-rdynamic -ldl +LFLAGS=-rdynamic -ldl -pie
+ +
+#------------------------------------------------------------------------------ +#------------------------------------------------------------------------------
# The default distribution of Exim contains only the plain text form of the # The default distribution of Exim contains only the plain text form of the

View File

@ -12,7 +12,7 @@
Summary: The exim mail transfer agent Summary: The exim mail transfer agent
Name: exim Name: exim
Version: 4.72 Version: 4.72
Release: 6%{?dist} Release: 7%{?dist}
License: GPLv2+ License: GPLv2+
Url: http://www.exim.org/ Url: http://www.exim.org/
Group: System Environment/Daemons Group: System Environment/Daemons
@ -221,7 +221,7 @@ cp exim_monitor/EDITME Local/eximon.conf
%else %else
export PIE=-fPIE export PIE=-fPIE
%endif %endif
make LFLAGS=-pie _lib=%{_lib} FULLECHO= make _lib=%{_lib} FULLECHO=
%if 0%{?buildsa} %if 0%{?buildsa}
# build sa-exim # build sa-exim
@ -527,6 +527,9 @@ test "$1" = 0 || %{_initrddir}/clamd.exim condrestart >/dev/null || :
%{_sysconfdir}/cron.daily/greylist-tidy.sh %{_sysconfdir}/cron.daily/greylist-tidy.sh
%changelog %changelog
* Fri Oct 10 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 4.72-7
- Do not override LFLAGS (problem reported by Todd Lyons)
* Wed Jul 23 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 4.72-6 * Wed Jul 23 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 4.72-6
- Only expand integers for integer math once - Only expand integers for integer math once
Resolves: CVE-2014-2972 Resolves: CVE-2014-2972