mysql57: update to 5.7.25

Closes: https://trac.macports.org/ticket/55487
Closes: https://trac.macports.org/ticket/57942
This commit is contained in:
Marius Schamschula
2019-02-17 10:06:06 -06:00
parent 446f1577ee
commit 38aa1a0ec8
+13 -9
View File
@@ -4,7 +4,7 @@ PortSystem 1.0
name mysql57
set name_mysql ${name}
version 5.7.17
version 5.7.25
set boost_version 1.59.0
# Set revision_client and revision_server to 0 on version bump.
set revision_client 0
@@ -38,11 +38,13 @@ if {$subport eq $name} {
${boost_distname}${extract.suffix}:boost
checksums ${distname}${extract.suffix} \
rmd160 acd8714fe1bda26466c4490b9e71d510677ac9a5 \
sha256 cebf23e858aee11e354c57d30de7a079754bdc2ef85eb684782458332a4b9651 \
rmd160 080484d0d40999aa91a84cfa12069530cb79fb10 \
sha256 53751c6243806103114567c1a8b6a3ec27f23c0e132f377a13ce1eb56c63723f \
size 52063298 \
${boost_distname}${extract.suffix} \
rmd160 a7974be69a426e8a56b880a412d6c418e4cd751c \
sha256 47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac
sha256 47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac \
size 83709983
depends_lib-append port:zlib
depends_run-append port:mysql_select
@@ -85,8 +87,10 @@ if {$subport eq $name} {
-DDEFAULT_CHARSET:STRING=utf8 \
-DDEFAULT_COLLATION:STRING=utf8_general_ci \
-DWITH_EMBEDDED_SERVER:BOOL=ON \
-DWITH_EDITLINE=system \
-DWITH_ZLIB:STRING=system \
-DWITH_UNIT_TESTS:BOOL=ON \
-DWITH_UNIT_TESTS:BOOL=OFF \
-DINSTALL_MYSQLTESTDIR=0 \
-DENABLE_DOWNLOADS:BOOL=OFF \
-DENABLE_GCOV:BOOL=OFF \
-DENABLE_DTRACE:BOOL=OFF \
@@ -117,10 +121,10 @@ if {$subport eq $name} {
system "$gzip -9vf ${manpage}"
}
foreach samp_conffile [glob -type f ${destroot}${prefix}/share/${name_mysql}/support-files/my-*.cnf] {
# Fix paths in sample configuration files
reinplace -q "s|/etc/my.cnf|${prefix}/etc/${name_mysql}/my.cnf|g" ${samp_conffile}
}
# foreach samp_conffile [glob -type f ${destroot}${prefix}/share/${name_mysql}/support-files/my-*.cnf] {
# # Fix paths in sample configuration files
# reinplace -q "s|/etc/my.cnf|${prefix}/etc/${name_mysql}/my.cnf|g" ${samp_conffile}
# }
xinstall -m 755 -o root -d \
${destroot}${prefix}/etc/${name_mysql}
copy ${cmake.build_dir}/macports/macports-default.cnf \