[89787] trunk/dports/databases
pixilla at macports.org
pixilla at macports.org
Fri Feb 10 10:45:57 PST 2012
Revision: 89787
http://trac.macports.org/changeset/89787
Author: pixilla at macports.org
Date: 2012-02-10 10:45:55 -0800 (Fri, 10 Feb 2012)
Log Message:
-----------
databases/percona:
- Update to version 5.5.20-rel24.1
- Closes #33209
Modified Paths:
--------------
trunk/dports/databases/percona/Portfile
trunk/dports/databases/percona-server/Portfile
Modified: trunk/dports/databases/percona/Portfile
===================================================================
--- trunk/dports/databases/percona/Portfile 2012-02-10 17:28:41 UTC (rev 89786)
+++ trunk/dports/databases/percona/Portfile 2012-02-10 18:45:55 UTC (rev 89787)
@@ -7,12 +7,11 @@
name percona
conflicts mysql4 mysql5 mysql5-devel mariadb
-set version_mysql 5.5.17
+set version_mysql 5.5.20
set major [join [lrange [split ${version_mysql} .] 0 0] .]
set branch [join [lrange [split ${version_mysql} .] 0 1] .]
-set release 22.1
+set release 24.1
version ${version_mysql}-${release}
-revision 1
homepage http://www.percona.com/
categories databases
platforms darwin
@@ -32,9 +31,9 @@
master_sites \
http://www.percona.com/redir/downloads/Percona-Server-${branch}/Percona-Server-${version}/source/
-checksums md5 77e2ff68ff3ffa60a48a1ee045056f15 \
- sha1 e945653232925f85a4dddaf02647ec80bb03fa07 \
- rmd160 f29d6983bd1685ca4c76e42ab926aefbecc0e4bb
+checksums md5 0f61fde172ed1168a3ca9b7b003a6698 \
+ sha1 19dde017b1c257c9f0aecd2247906f224d6fe147 \
+ rmd160 5fd374a019b38a44b89514aa5c3c6931a863e972
depends_lib-append port:zlib \
port:openssl \
@@ -129,7 +128,7 @@
post-install {
if {![file exists ${prefix}/etc/LaunchDaemons/org.macports.${mysql}/org.macports.${mysql}.plist]} {
ui_msg "The Percona client has been installed."
- ui_msg "If you also want a Percona server, install the percona-server-devel port."
+ ui_msg "If you also want a Percona server, install the percona-server port."
}
}
Modified: trunk/dports/databases/percona-server/Portfile
===================================================================
--- trunk/dports/databases/percona-server/Portfile 2012-02-10 17:28:41 UTC (rev 89786)
+++ trunk/dports/databases/percona-server/Portfile 2012-02-10 18:45:55 UTC (rev 89787)
@@ -4,8 +4,11 @@
PortSystem 1.0
name percona-server
-version 5.5.17-rel22.1
-set branch [regsub rel $version ""]
+version 5.5.20-rel24.1
+set release [regsub rel $version ""]
+set version_base [join [lrange [split ${release} .] 0 1] .]
+set version_mysql [lindex [split ${release} -] 0]
+set version_release [lindex [split ${release} -] 1]
homepage http://www.percona.com/
categories databases
platforms darwin
@@ -21,7 +24,7 @@
with a command syntax very similar to mSQL.
depends_run \
- port:percona
+ path:bin/mysql5:percona
set major_version [strsed ${version} {s/\..*$//}]
set mysql mysql${major_version}
@@ -68,3 +71,8 @@
ui_msg "* if this is a new install"
ui_msg "******************************************************"
}
+
+livecheck.type regex
+livecheck.url http://www.percona.com/downloads/Percona-Server-${version_base}/
+livecheck.version ${version_release}
+livecheck.regex "/downloads/Percona-Server-${version_base}/Percona-Server-${version_mysql}-(\[^/\]+)/"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120210/4d98b7e2/attachment-0001.html>
More information about the macports-changes
mailing list