[107234] trunk/dports/databases
pixilla at macports.org
pixilla at macports.org
Sun Jun 23 17:31:00 PDT 2013
Revision: 107234
https://trac.macports.org/changeset/107234
Author: pixilla at macports.org
Date: 2013-06-23 17:31:00 -0700 (Sun, 23 Jun 2013)
Log Message:
-----------
databases/mysql5:
- Update to version 5.1.70.
- Fix livecheck.
databases/mysql51:
- Update to version 5.1.70.
- Fix livecheck.
Modified Paths:
--------------
trunk/dports/databases/mysql5/Portfile
trunk/dports/databases/mysql51/Portfile
Modified: trunk/dports/databases/mysql5/Portfile
===================================================================
--- trunk/dports/databases/mysql5/Portfile 2013-06-23 22:06:03 UTC (rev 107233)
+++ trunk/dports/databases/mysql5/Portfile 2013-06-24 00:31:00 UTC (rev 107234)
@@ -4,7 +4,7 @@
PortSystem 1.0
name mysql5
-version 5.1.68
+version 5.1.70
# Please set revision_client and revision_server to 0 if you bump version.
set revision_client 0
set revision_server 0
@@ -33,8 +33,8 @@
http://mirror.facebook.net/mysql/Downloads/MySQL-${branch}/ \
http://ftp.plusline.de/mysql/Downloads/MySQL-${branch}/
-checksums rmd160 4e1a4a0c38e3f3c84e3ef014e196b9add864eb82 \
- sha256 25f02868dded24a46aeda7863008bcd9639c08fb5a31a137e19534629c65b517
+checksums rmd160 9a7978aa9370c56ed5c3a0a9f3ca135255f19cd8 \
+ sha256 9e03a343cf1b72b07f9c9bf7be24ffc808aa5c1a9daa590aaf2bc6a7a31f60ed
set major_version [strsed ${version} {s/\..*$//}]
set mysql mysql${major_version}
@@ -197,6 +197,5 @@
}
livecheck.type regex
-livecheck.version [lindex [split ${version} -] 0]
-livecheck.url http://dev.mysql.com/
-livecheck.regex "<a href=\"http://dev.mysql.com/downloads/mysql/\[^\"\]+\">(${branch}(\.\[0-9.\]+)?)\[^<\]*</a>"
+livecheck.url http://dev.mysql.com/downloads/mysql/${branch}.html
+livecheck.regex "<h1>MySQL Community Server (${branch}(\.\[0-9.\]+)?)</h1>"
Modified: trunk/dports/databases/mysql51/Portfile
===================================================================
--- trunk/dports/databases/mysql51/Portfile 2013-06-23 22:06:03 UTC (rev 107233)
+++ trunk/dports/databases/mysql51/Portfile 2013-06-24 00:31:00 UTC (rev 107234)
@@ -5,7 +5,7 @@
name mysql51
set name_mysql ${name}
-version 5.1.68
+version 5.1.70
# Please set revision_client and revision_server to 0 if you bump version.
set revision_client 0
set revision_server 0
@@ -28,21 +28,20 @@
PortGroup archcheck 1.0
PortGroup select 1.0
- set branch [join [lrange [split ${version} .] 0 1] .]
+ set version_branch [join [lrange [split ${version} .] 0 1] .]
revision ${revision_client}
license GPL-2
description Multithreaded SQL database server
- long_description MySQL is an open-source, multi-threaded SQL database with a command \
- syntax very similar to mSQL.
+ long_description MySQL is an open-source, multi-threaded SQL database.
master_sites \
- http://mysql.mirrors.pair.com/Downloads/MySQL-${branch}/ \
- http://mysql.he.net/Downloads/MySQL-${branch}/ \
- http://mirrors.sunsite.dk/mysql/Downloads/MySQL-${branch}/ \
- http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-${branch}/ \
- http://mirror.facebook.net/mysql/Downloads/MySQL-${branch}/ \
- http://ftp.plusline.de/mysql/Downloads/MySQL-${branch}/
+ http://mysql.mirrors.pair.com/Downloads/MySQL-${version_branch}/ \
+ http://mysql.he.net/Downloads/MySQL-${version_branch}/ \
+ http://mirrors.sunsite.dk/mysql/Downloads/MySQL-${version_branch}/ \
+ http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-${version_branch}/ \
+ http://mirror.facebook.net/mysql/Downloads/MySQL-${version_branch}/ \
+ http://ftp.plusline.de/mysql/Downloads/MySQL-${version_branch}/
distname mysql-${version}
use_parallel_build yes
@@ -51,8 +50,8 @@
patchfiles patch-Makefile.in.diff \
patch-scripts-mysql_secure_installation.sh.diff
- checksums rmd160 4e1a4a0c38e3f3c84e3ef014e196b9add864eb82 \
- sha256 25f02868dded24a46aeda7863008bcd9639c08fb5a31a137e19534629c65b517
+ checksums rmd160 9a7978aa9370c56ed5c3a0a9f3ca135255f19cd8 \
+ sha256 9e03a343cf1b72b07f9c9bf7be24ffc808aa5c1a9daa590aaf2bc6a7a31f60ed
depends_lib port:zlib port:tcp_wrappers
depends_run port:mysql_select
@@ -178,17 +177,16 @@
}
}
- variant openssl description {Enable OpenSSL support} {
-
+ variant openssl description {Enable OpenSSL support} {}
+ variant system_readline description {Use system readline instead of bundled readline} {}
+
+ if [variant_isset openssl] {
depends_lib-append port:openssl
configure.args-delete --without-ssl
configure.args-append --with-ssl=${prefix}
archcheck.files-append lib/libssl.dylib
}
-
- variant system_readline description {Use system readline instead of bundled readline} {
-
- # Add readline support.
+ if [variant_isset system_readline] {
# "--without-readline" has the peculiar meaning "do not use the bundled copy
# of readline but use the system's (i.e. MacPorts') copy of readline"
depends_lib-append port:readline
@@ -196,10 +194,9 @@
archcheck.files-append lib/libreadline.dylib
}
- livecheck.type regex
- livecheck.version [lindex [split ${version} -] 0]
- livecheck.url http://dev.mysql.com/
- livecheck.regex "<a href=\"http://dev.mysql.com/downloads/mysql/\[^\"\]+\">(${branch}(\.\[0-9.\]+)?)\[^<\]*</a>"
+ livecheck.type regex
+ livecheck.url http://dev.mysql.com/downloads/mysql/${version_branch}.html
+ livecheck.regex "<h1>MySQL Community Server (${version_branch}(\.\[0-9.\]+)?)</h1>"
}
subport ${name_mysql}-server {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130623/34cdae4d/attachment.html>
More information about the macports-changes
mailing list