summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2013-03-23 18:00:38 +0000
committerFabian Groffen <grobian@gentoo.org>2013-03-23 18:00:38 +0000
commit18c5eacb21232dcbd1b7e51c323a88a145032e0e (patch)
tree62f1b8e7ae42cb11ed1f5819f7d0ecd02c88bded /mail-mta
parentVersion bump. (diff)
downloadgentoo-2-18c5eacb21232dcbd1b7e51c323a88a145032e0e.tar.gz
gentoo-2-18c5eacb21232dcbd1b7e51c323a88a145032e0e.tar.bz2
gentoo-2-18c5eacb21232dcbd1b7e51c323a88a145032e0e.zip
Set sensible default for relay_from_hosts when IPv6 is enabled, bug #448314
(Portage version: 2.2.01.21688-prefix/cvs/Darwin i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/exim/ChangeLog5
-rw-r--r--mail-mta/exim/exim-4.80.1.ebuild9
2 files changed, 12 insertions, 2 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog
index 8dd2eeb90fb0..fad7a2815f8a 100644
--- a/mail-mta/exim/ChangeLog
+++ b/mail-mta/exim/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-mta/exim
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.243 2013/03/23 17:35:15 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.244 2013/03/23 18:00:38 grobian Exp $
+
+ 23 Mar 2013; Fabian Groffen <grobian@gentoo.org> exim-4.80.1.ebuild:
+ Set sensible default for relay_from_hosts when IPv6 is enabled, bug #448314
23 Mar 2013; Fabian Groffen <grobian@gentoo.org> exim-4.80.1.ebuild:
Fix tidydb url in postinst, by Vladimir Varlamov, bug #462280
diff --git a/mail-mta/exim/exim-4.80.1.ebuild b/mail-mta/exim/exim-4.80.1.ebuild
index a4844bcb122e..1e261a4b07dc 100644
--- a/mail-mta/exim/exim-4.80.1.ebuild
+++ b/mail-mta/exim/exim-4.80.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.80.1.ebuild,v 1.12 2013/03/23 17:35:15 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.80.1.ebuild,v 1.13 2013/03/23 18:00:38 grobian Exp $
EAPI="3"
@@ -95,6 +95,13 @@ src_prepare() {
epatch exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch
fi
+ if use ipv6 ; then
+ # set a sensible default, bug #448314
+ sed -i \
+ -e '/^hostlist\s\+relay_from_hosts/s/\(127.0.0.1\)/\1 : ::::1/' \
+ src/configure.default || die
+ fi
+
# user Exim believes it should be
MAILUSER=mail
MAILGROUP=mail