Used sane environment defaults in default configuration
Resolves: rhbz#1323775
This commit is contained in:
parent
29fa670e4e
commit
78692d1818
23
exim-4.84.2-environment.patch
Normal file
23
exim-4.84.2-environment.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
diff --git a/src/configure.default b/src/configure.default
|
||||||
|
index d1c94ad..d264c9a 100644
|
||||||
|
--- a/src/configure.default
|
||||||
|
+++ b/src/configure.default
|
||||||
|
@@ -334,6 +334,18 @@ timeout_frozen_after = 7d
|
||||||
|
# accept_8bitmime = false
|
||||||
|
|
||||||
|
|
||||||
|
+# Exim does not make use of environment variables itself. However,
|
||||||
|
+# libraries that Exim uses (e.g. LDAP) depend on specific environment settings.
|
||||||
|
+# There are two lists: keep_environment for the variables we trust, and
|
||||||
|
+# add_environment for variables we want to set to a specific value.
|
||||||
|
+# Note that TZ is handled separateley by the timezone runtime option
|
||||||
|
+# and TIMEZONE_DEFAULT buildtime option.
|
||||||
|
+
|
||||||
|
+keep_environment = ^LDAP
|
||||||
|
+add_environment = PATH=/usr/bin::/bin
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
######################################################################
|
||||||
|
# ACL CONFIGURATION #
|
||||||
|
# Specifies access control lists for incoming SMTP mail #
|
@ -13,7 +13,7 @@
|
|||||||
Summary: The exim mail transfer agent
|
Summary: The exim mail transfer agent
|
||||||
Name: exim
|
Name: exim
|
||||||
Version: 4.84.2
|
Version: 4.84.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Url: http://www.exim.org/
|
Url: http://www.exim.org/
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -57,6 +57,7 @@ Patch22: exim-4.82-greylist-conf.patch
|
|||||||
Patch23: exim-4.82-smarthost-config.patch
|
Patch23: exim-4.82-smarthost-config.patch
|
||||||
Patch25: exim-4.82-dynlookup-config.patch
|
Patch25: exim-4.82-dynlookup-config.patch
|
||||||
Patch26: exim-4.84-mime-fix.patch
|
Patch26: exim-4.84-mime-fix.patch
|
||||||
|
Patch27: exim-4.84.2-environment.patch
|
||||||
|
|
||||||
Requires: /etc/pki/tls/certs /etc/pki/tls/private
|
Requires: /etc/pki/tls/certs /etc/pki/tls/private
|
||||||
Requires: /etc/aliases
|
Requires: /etc/aliases
|
||||||
@ -190,6 +191,7 @@ greylisting unconditional.
|
|||||||
%patch23 -p1 -b .smarthost
|
%patch23 -p1 -b .smarthost
|
||||||
%patch25 -p1 -b .dynconfig
|
%patch25 -p1 -b .dynconfig
|
||||||
%patch26 -p1 -b .mime-fix
|
%patch26 -p1 -b .mime-fix
|
||||||
|
%patch27 -p1 -b .environment
|
||||||
|
|
||||||
cp src/EDITME Local/Makefile
|
cp src/EDITME Local/Makefile
|
||||||
sed -i 's@^# LOOKUP_MODULE_DIR=.*@LOOKUP_MODULE_DIR=%{_libdir}/exim/%{version}-%{release}/lookups@' Local/Makefile
|
sed -i 's@^# LOOKUP_MODULE_DIR=.*@LOOKUP_MODULE_DIR=%{_libdir}/exim/%{version}-%{release}/lookups@' Local/Makefile
|
||||||
@ -517,6 +519,10 @@ test "$1" = 0 || %{_initrddir}/clamd.exim condrestart >/dev/null || :
|
|||||||
%{_sysconfdir}/cron.daily/greylist-tidy.sh
|
%{_sysconfdir}/cron.daily/greylist-tidy.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 18 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 4.84.2-2
|
||||||
|
- Used sane environment defaults in default configuration
|
||||||
|
Resolves: rhbz#1323775
|
||||||
|
|
||||||
* Thu Mar 24 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 4.84.2-1
|
* Thu Mar 24 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 4.84.2-1
|
||||||
- New version
|
- New version
|
||||||
Resolves: rhbz#1314118
|
Resolves: rhbz#1314118
|
||||||
|
Loading…
Reference in New Issue
Block a user