diff options
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/postfix/ChangeLog | 9 | ||||
-rw-r--r-- | net-mail/postfix/postfix-2.0.2.ebuild | 15 |
2 files changed, 20 insertions, 4 deletions
diff --git a/net-mail/postfix/ChangeLog b/net-mail/postfix/ChangeLog index efea99e80655..823612dadd11 100644 --- a/net-mail/postfix/ChangeLog +++ b/net-mail/postfix/ChangeLog @@ -1,14 +1,17 @@ # ChangeLog for net-mail/postfix # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/ChangeLog,v 1.47 2003/01/19 23:47:42 raker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/ChangeLog,v 1.48 2003/01/19 23:59:53 raker Exp $ *postfix-2.0.2 (19 Jan 2003) 19 Jan 2003; Nick Hadaway <raker@gentoo.org> postfix-2.0.2.ebuild, files/digest-postfix-2.0.2 : Version bump. Re-incorporated tls functionality. IPV6 is next. - 10 minutes later... ipv6 added. :) and changed so - /var/spool/postfix/tmp is created. + 10 minutes later... ipv6 added. :) Changed so + /var/spool/postfix/tmp is created. Added some sed logic + for the editing of main.cf based on maildir or mbox use variable as + suggested on bug #10356. + *postfix-2.0.0 (23 Dec 2002) diff --git a/net-mail/postfix/postfix-2.0.2.ebuild b/net-mail/postfix/postfix-2.0.2.ebuild index 608eb8c00f8e..e38ce37c7a50 100644 --- a/net-mail/postfix/postfix-2.0.2.ebuild +++ b/net-mail/postfix/postfix-2.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/postfix-2.0.2.ebuild,v 1.3 2003/01/19 23:47:42 raker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/postfix-2.0.2.ebuild,v 1.4 2003/01/19 23:59:53 raker Exp $ TLS_P="pfixtls-0.8.13-2.0.1-0.9.7" IPV6_P="tls+ipv6-1.12-pf-2.0.2" @@ -165,6 +165,19 @@ src_install () { doins ${FILESDIR}/smtpd.conf fi fi + cd ${D}/etc/postfix + if [ "`use maildir`" ]; then + cp main.cf main.cf.premaildir + sed -e "s:#home_mailbox = Maildir/:home_mailbox = .maildir/:" \ + < main.cf.premaildir > main.cf + rm main.cf.premaildir + elif [ "`use mbox`" ]; then + cp main.cf main.cf.prembox + sed -e "s:#mail_spool_directory = /var/spool/mail:mail_spool_directory = /var/spool/mail:" \ + < main.cf.prembox > main.cf + rm main.cf.prembox + fi + cd ${S} } pkg_postinst() { |