Ticket #1350: mysql4.diff
File mysql4.diff, 1.1 KB (added by blb@…, 21 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name mysql4 5 version 4.0.1 65 version 4.0.17 6 6 categories databases 7 7 maintainers bchesneau@mac.com 8 8 description Multithreaded SQL database server … … 27 27 distfiles ${filename} 28 28 distname mysql-${version} 29 29 extract.only ${filename} 30 checksums md5 ddc959b9cdc2f5e30dc6a4d3650d3db5 31 patchfiles patch-configure 30 checksums md5 141511e1b7cab3a886fb68bbb507a1ab 32 31 33 32 34 33 … … 71 70 configure.args-append --with-innodb 72 71 } 73 72 73 variant ssl { 74 configure.args-append --with-openssl 75 } 74 76 75 77 variant server { 76 78 depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup … … 81 83 } 82 84 83 85 pre-destroot { 84 86 if { [variant_isset server] } { 85 87 addgroup mysql 86 88 set gid [existsgroup mysql] 87 89 adduser mysql gid=${gid} realname=MySQL\ Server 88 90 89 91 90 91 92 file mkdir ${destroot}${prefix}/var/log/mysql 92 93 system "touch ${destroot}${prefix}/var/log/mysql/.turd" 93 94 system "chown mysql:mysql ${destroot}${prefix}/var/log/mysql" 95 } 94 96 95 97 } 96 98