Ticket #14022: Portfile-vpopmail.diff
File Portfile-vpopmail.diff, 4.0 KB (added by compconsultant@…, 17 years ago) |
---|
-
Portfile
old new 1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 5 name vpopmail 5 6 version 5.4.25 6 7 categories mail 7 8 maintainers yahoo.com:compconsultant 8 9 platforms darwin 9 10 10 description Manage multiple virtual domains with Qmail 11 description Manage multiple virtual domains with Qmail 11 12 12 13 long_description Vpopmail is a set of programs for creating and managing multiple virtual domains on a qmail server, with full support for many POP/IMAP servers. 13 14 … … 73 74 sha1 ce62415fbd338b80f1962a477d94276f622756d0 \ 74 75 rmd160 57142cca0617bd95ef2e5f4aa74ab5fa0844d6df 75 76 76 patchfiles patch-configure 77 patchfiles patch-configure.diff 77 78 78 79 configure.args --enable-qmaildir=${prefix}/var/qmail \ 79 80 --enable-tcprules-prog=${prefix}/bin/tcprules \ 80 --enable-qmail-ext 81 82 configure.cflags -O2 81 --enable-qmail-ext \ 82 --prefix=/opt/local \ 83 --exec-prefix=/opt/local 83 84 84 build.target 85 build.target 85 86 86 87 destroot.target install-strip 87 88 destroot.keepdirs ${destroot}${prefix}/var/vpopmail/domains … … 95 96 96 97 post-destroot { 97 98 if {[variant_isset roaming]} { 98 system "echo \"127.:allow,RELAYCLIENT=''\" > ${destroot}${prefix}/var/vpopmail/etc/tcp.smtp "99 system "echo \"localhost|0|user|password|database\" >${destroot}${prefix}/var/vpopmail/etc/tcp.smtp "100 system "chown vpopmail:vchkpw ${destroot}${prefix}/var/vpopmail/etc/tcp.smtp "101 file copy ${worksrcpath}/README.roamingusers ${destroot}${prefix}/var/vpopmail/doc99 system "echo \"127.:allow,RELAYCLIENT=''\" > ${destroot}${prefix}/var/vpopmail/etc/tcp.smtp.sample" 100 system "echo \"localhost|0|user|password|database\" >${destroot}${prefix}/var/vpopmail/etc/tcp.smtp.sample" 101 system "chown vpopmail:vchkpw ${destroot}${prefix}/var/vpopmail/etc/tcp.smtp.sample" 102 xinstall -m 644 -W ${worksrcpath} README.roamingusers ${destroot}${prefix}/var/vpopmail/doc 102 103 } 103 104 if {[variant_isset mysql5]} { 104 system "echo \"localhost|0|user|password|database\" >${destroot}${prefix}/var/vpopmail/etc/vpopmail.mysql" 105 system "chown vpopmail:vchkpw ${destroot}${prefix}/var/vpopmail/etc/vpopmail.mysql" 106 file copy ${worksrcpath}/README.mysql ${destroot}${prefix}/var/vpopmail/doc 105 system "echo \"localhost|0|user|password|database\" >${destroot}${prefix}/var/vpopmail/etc/vpopmail.mysql.sample" 106 system "chown vpopmail:vchkpw ${destroot}${prefix}/var/vpopmail/etc/vpopmail.mysql.sample" 107 system "chmod 640 ${destroot}${prefix}/var/vpopmail/etc/vpopmail.mysql.sample" 108 xinstall -m 644 -W ${worksrcpath} README.mysql ${destroot}${prefix}/var/vpopmail/doc 107 109 } 108 110 if {[variant_isset maildrop]} { 109 file copy ${worksrcpath}/README.maildrop ${destroot}${prefix}/var/vpopmail/doc111 xinstall -m 644 -W ${worksrcpath} README.maildrop ${destroot}${prefix}/var/vpopmail/doc 110 112 } 111 113 if {[variant_isset onchange]} { 112 file copy ${worksrcpath}/README.onchange ${destroot}${prefix}/var/vpopmail/doc114 xinstall -m 644 -W ${worksrcpath} README.onchange ${destroot}${prefix}/var/vpopmail/doc 113 115 } 114 116 if {[variant_isset spamassassin]} { 115 file copy ${worksrcpath}/README.spamassassin ${destroot}${prefix}/var/vpopmail/doc117 xinstall -m 644 -W ${worksrcpath} README.spamassassin ${destroot}${prefix}/var/vpopmail/doc 116 118 } 117 119 } 118 120 … … 120 122 if {[variant_isset roaming]} { 121 123 ui_msg " 122 124 Because you used the roaming variant, you must set up the tcpserver file 123 ${prefix}/var/vpopmail/etc/tcp.smtp, a sample has been placed there. 125 ${prefix}/var/vpopmail/etc/tcp.smtp, please copy the sample file from 126 ${prefix}/var/vpopmail/etc/tcp.smtp.sample 124 127 " 125 128 } 126 129 if {[variant_isset onchange]} { … … 133 136 ui_msg " 134 137 Because you used the MySQL5 variant, you must set up a file called 135 138 ${prefix}/var/vpopmail/etc/vpopmail.mysql so that it points to your database. 139 A sample has been created for you at ${prefix}/var/vpopmail/etc/vpopmail.mysql.sample 136 140 " 137 } 141 } 138 142 ui_msg "Please review the doc in ${prefix}/var/vpopmail/doc\n" 139 143 }