Changeset 4488 for trunk/dports


Ignore:
Timestamp:
Jan 6, 2004, 4:35:33 PM (20 years ago)
Author:
mww
Message:

Bug: #816
Submitted by: charlie@… (maintainer)

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/postfix/Portfile

    r3477 r4488  
    1 # $Id: Portfile,v 1.15 2003/09/20 16:48:21 fkr Exp $
     1# $Id: Portfile,v 1.16 2004/01/06 16:35:33 mww Exp $
    22
    33PortSystem      1.0
    44name            postfix
    5 version         2.0.13
     5version         2.0.14
    66categories      mail
    77maintainers     charlie@rubberduck.com 
     
    1414homepage        http://www.postfix.org/
    1515platforms       darwin
    16 checksums       md5 f4f2b4b930a7a32b1df475d87143269f
     16checksums       md5 d0f1d1382958f3ce918d4d690be22229
    1717master_sites    ftp://ftp.tau.ac.il/pub/unix/mail/postfix/official/ \
    1818                http://postfix.problemlos.ch/release/official/ \
     
    9393                ${destroot}${prefix}/etc/rc.d/postfix.sh
    9494}
     95# This makes sure we don't overwrite user /etc files. This now breaks postfix
     96# "just working" on fresh installs.
     97# YOU MUST MOVE THE SAMPLE FILES TO THE CORRECT NAMESPACE.
     98post-destroot {
     99        file rename ${destroot}${prefix}/etc/postfix/main.cf \
     100                ${destroot}${prefix}/etc/postfix/main.cf.sample
     101        file rename ${destroot}${prefix}/etc/postfix/master.cf \
     102                ${destroot}${prefix}/etc/postfix/master.cf.sample
     103        file rename ${destroot}${prefix}/etc/postfix/aliases \
     104                ${destroot}${prefix}/etc/postfix/aliases.sample
     105}
Note: See TracChangeset for help on using the changeset viewer.