[97295] trunk/dports/databases/mysql51/Portfile
pixilla at macports.org
pixilla at macports.org
Sun Sep 2 16:18:47 PDT 2012
Revision: 97295
https://trac.macports.org/changeset/97295
Author: pixilla at macports.org
Date: 2012-09-02 16:18:45 -0700 (Sun, 02 Sep 2012)
Log Message:
-----------
databases/mysql51:
- Update version to 5.1.65.
- Move homepage outside of subport.
- Add comment about why we deactivate old versions of mysql51-server.
Modified Paths:
--------------
trunk/dports/databases/mysql51/Portfile
Modified: trunk/dports/databases/mysql51/Portfile
===================================================================
--- trunk/dports/databases/mysql51/Portfile 2012-09-02 23:08:18 UTC (rev 97294)
+++ trunk/dports/databases/mysql51/Portfile 2012-09-02 23:18:45 UTC (rev 97295)
@@ -5,14 +5,15 @@
name mysql51
set name_mysql ${name}
-version 5.1.63
+version 5.1.65
# Please set revision_client and revision_server to 0 if you bump version.
-set revision_client 5
-set revision_server 3
+set revision_client 0
+set revision_server 0
categories databases
platforms darwin
license GPL-2
maintainers pixilla openmaintainer
+homepage http://www.mysql.com/
if {"darwin" == ${os.platform} && ${os.major} > 8} {
set mysqluser _mysql
@@ -35,7 +36,6 @@
long_description MySQL is an open-source, multi-threaded SQL database with a command \
syntax very similar to mSQL.
- homepage http://www.mysql.com/
master_sites \
http://mysql.mirrors.pair.com/Downloads/MySQL-${branch}/ \
http://mysql.he.net/Downloads/MySQL-${branch}/ \
@@ -44,7 +44,6 @@
http://mirror.facebook.net/mysql/Downloads/MySQL-${branch}/ \
http://ftp.plusline.de/mysql/Downloads/MySQL-${branch}/
-
distname mysql-${version}
use_parallel_build yes
@@ -52,12 +51,10 @@
patchfiles patch-Makefile.in.diff \
patch-scripts-mysql_secure_installation.sh.diff
- checksums md5 672167c3f03f969febae66c43859d76d \
- rmd160 d5e9afab1d7fdce959400376398593b59fff6814 \
- sha256 29461a3792e224d27d98c5bd7d7f761be196d6c215e73b4440e11505489f1857
+ checksums rmd160 f777be188656bf5ff4c486e2ecf8faf7f9969d99 \
+ sha256 393c2933b27aeb5d80d4da628e2371d85fee8d4d7fa3e08aa181edb7385a4db9
depends_lib port:zlib
-
depends_run port:mysql_select
select.group mysql
@@ -164,6 +161,9 @@
}
pre-activate {
+ # The macports-default.cnf is installed by ${name_mysql}.
+ # Early versions of ${name_mysql}-server installed macports-default.cnf so for a
+ # reasonable period we need to deactivate older versions of the ${name_mysql}-server.
if { [file exists ${prefix}/etc/${name_mysql}/macports-default.cnf]
&& ![catch {set vers [lindex [registry_active ${name_mysql}-server] 0]}]
&& [vercmp [lindex $vers 1] 5.1.63] < 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120902/95906ec7/attachment-0001.html>
More information about the macports-changes
mailing list