summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2012-12-25 05:49:10 +0000
committerEray Aslan <eras@gentoo.org>2012-12-25 05:49:10 +0000
commit7d9abb0b592132f8a0349a91adfb0687c8cd2351 (patch)
tree48e81e856d50b5b27ec5cc49da6131108de3b8d3 /mail-mta/postfix
parentVersion bump. Convert to distutils-r1. (diff)
downloadgentoo-2-7d9abb0b592132f8a0349a91adfb0687c8cd2351.tar.gz
gentoo-2-7d9abb0b592132f8a0349a91adfb0687c8cd2351.tar.bz2
gentoo-2-7d9abb0b592132f8a0349a91adfb0687c8cd2351.zip
Version bump
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'mail-mta/postfix')
-rw-r--r--mail-mta/postfix/ChangeLog8
-rw-r--r--mail-mta/postfix/postfix-2.10_pre20121224.ebuild (renamed from mail-mta/postfix/postfix-2.10_pre20121210.ebuild)6
2 files changed, 10 insertions, 4 deletions
diff --git a/mail-mta/postfix/ChangeLog b/mail-mta/postfix/ChangeLog
index 1320ec542c8f..502991834fb6 100644
--- a/mail-mta/postfix/ChangeLog
+++ b/mail-mta/postfix/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-mta/postfix
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.402 2012/12/13 07:05:49 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.403 2012/12/25 05:49:10 eras Exp $
+
+*postfix-2.10_pre20121224 (25 Dec 2012)
+
+ 25 Dec 2012; Eray Aslan <eras@gentoo.org> +postfix-2.10_pre20121224.ebuild,
+ -postfix-2.10_pre20121210.ebuild:
+ Version bump
*postfix-2.9.5 (13 Dec 2012)
*postfix-2.8.13 (13 Dec 2012)
diff --git a/mail-mta/postfix/postfix-2.10_pre20121210.ebuild b/mail-mta/postfix/postfix-2.10_pre20121224.ebuild
index 57d761b24e91..e00f644647a4 100644
--- a/mail-mta/postfix/postfix-2.10_pre20121210.ebuild
+++ b/mail-mta/postfix/postfix-2.10_pre20121224.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.10_pre20121210.ebuild,v 1.1 2012/12/11 11:04:28 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.10_pre20121224.ebuild,v 1.1 2012/12/25 05:49:10 eras Exp $
EAPI=4
inherit eutils multilib ssl-cert toolchain-funcs flag-o-matic pam user versionator
@@ -283,8 +283,8 @@ pkg_preinst() {
# Safety net for incompatible changes due to the introduction
# of the smtpd_relay_restrictions feature to separate the
# mail relay policy from the spam blocking policy.
- [[ -d ${ROOT}/etc/postfix ]] && {
- if [[ ! -n "$(${D}/usr/sbin/postconf -c ${ROOT}/etc/postfix -n smtpd_relay_restrictions)" ]];
+ [[ -d ${ROOT}/etc/postfix ]] && has_version '<=mail-mta/postfix-2.9.99' && {
+ if [[ -z "$(${D}/usr/sbin/postconf -c ${ROOT}/etc/postfix -n smtpd_relay_restrictions)" ]];
then
local myconf="smtpd_relay_restrictions=permit_mynetworks,permit_sasl_authenticated,defer_unauth_destination"
ewarn "\nCOMPATIBILITY: adding smtpd_relay_restrictions to main.cf"