Ticket #816: postfix.patch
File postfix.patch, 1.3 KB (added by charlie@…, 21 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name postfix 5 version 2.0.1 35 version 2.0.14 6 6 categories mail 7 7 maintainers charlie@rubberduck.com 8 8 description Fast and robust mail transfer agent … … 13 13 Postfix act as delivery daemon for ezmlm-idx. 14 14 homepage http://www.postfix.org/ 15 15 platforms darwin 16 checksums md5 f4f2b4b930a7a32b1df475d87143269f16 checksums md5 d0f1d1382958f3ce918d4d690be22229 17 17 master_sites ftp://ftp.tau.ac.il/pub/unix/mail/postfix/official/ \ 18 18 http://postfix.problemlos.ch/release/official/ \ 19 19 ftp://ftp.matrix.com.br/pub/postfix/official/ \ … … 85 85 reinplace "s|__PREFIX|${prefix}|g" \ 86 86 ${destroot}${prefix}/etc/rc.d/postfix.sh 87 87 } 88 89 # This makes sure we don't overwrite user /etc files. This now breaks postfix 90 # "just working" on fresh installs. 91 # YOU MUST MOVE THE SAMPLE FILES TO THE CORRECT NAMESPACE. 92 post-destroot { 93 system "mv ${destroot}${prefix}/etc/postfix/main.cf \ 94 ${destroot}${prefix}/etc/postfix/main.cf.sample" 95 system "mv ${destroot}${prefix}/etc/postfix/master.cf \ 96 ${destroot}${prefix}/etc/postfix/master.cf.sample" 97 system "mv ${destroot}${prefix}/etc/postfix/aliases \ 98 ${destroot}${prefix}/etc/postfix/aliases.sample" 99 }