Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/816

Submitted by:   charlie@rubberduck.com (maintainer)

-update to 2.0.14
-add fail-safeness to not overwrite existing config files

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4488 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Jan 6, 2004
1 parent 8216fee commit 4c71453d14c2399b58f2f88e1edd49568a95ae10
Showing with 14 additions and 3 deletions.
  1. +14 −3 mail/postfix/Portfile
@@ -1,8 +1,8 @@
# $Id: Portfile,v 1.15 2003/09/20 16:48:21 fkr Exp $
# $Id: Portfile,v 1.16 2004/01/06 16:35:33 mww Exp $

PortSystem 1.0
name postfix
version 2.0.13
version 2.0.14
categories mail
maintainers charlie@rubberduck.com
description Fast and robust mail transfer agent
@@ -13,7 +13,7 @@ long_description Postfix attempts to be fast, easy to administer, and \
Postfix act as delivery daemon for ezmlm-idx.
homepage http://www.postfix.org/
platforms darwin
checksums md5 f4f2b4b930a7a32b1df475d87143269f
checksums md5 d0f1d1382958f3ce918d4d690be22229
master_sites ftp://ftp.tau.ac.il/pub/unix/mail/postfix/official/ \
http://postfix.problemlos.ch/release/official/ \
ftp://ftp.matrix.com.br/pub/postfix/official/ \
@@ -92,3 +92,14 @@ destroot {
reinplace "s|__PREFIX|${prefix}|g" \
${destroot}${prefix}/etc/rc.d/postfix.sh
}
# This makes sure we don't overwrite user /etc files. This now breaks postfix
# "just working" on fresh installs.
# YOU MUST MOVE THE SAMPLE FILES TO THE CORRECT NAMESPACE.
post-destroot {
file rename ${destroot}${prefix}/etc/postfix/main.cf \
${destroot}${prefix}/etc/postfix/main.cf.sample
file rename ${destroot}${prefix}/etc/postfix/master.cf \
${destroot}${prefix}/etc/postfix/master.cf.sample
file rename ${destroot}${prefix}/etc/postfix/aliases \
${destroot}${prefix}/etc/postfix/aliases.sample
}

0 comments on commit 4c71453

Please sign in to comment.
You can’t perform that action at this time.