[99821] branches/pixilla-mysqls-55/dports/databases
pixilla at macports.org
pixilla at macports.org
Sun Nov 18 03:09:57 PST 2012
Revision: 99821
https://trac.macports.org/changeset/99821
Author: pixilla at macports.org
Date: 2012-11-18 03:09:57 -0800 (Sun, 18 Nov 2012)
Log Message:
-----------
databases/mysql5:
databases/mysql55:
- Unify mysql5 and mysql55.
- Obsolete mysql5 replaced by mysql55.
Modified Paths:
--------------
branches/pixilla-mysqls-55/dports/databases/mysql55/Portfile
Removed Paths:
-------------
branches/pixilla-mysqls-55/dports/databases/mysql5/
Modified: branches/pixilla-mysqls-55/dports/databases/mysql55/Portfile
===================================================================
--- branches/pixilla-mysqls-55/dports/databases/mysql55/Portfile 2012-11-18 10:43:14 UTC (rev 99820)
+++ branches/pixilla-mysqls-55/dports/databases/mysql55/Portfile 2012-11-18 11:09:57 UTC (rev 99821)
@@ -232,3 +232,68 @@
livecheck.type none
}
+
+set name_mysql_old mysql5
+set ver_mysql_old 5.1.66
+set rev_mysql_old 2
+
+subport ${name_mysql_old} {
+
+ set name_mysql_old [lindex [split ${subport} -] 0]
+
+notes "
+
+This port is in the process of being replaced by ${name_mysql}.
+Please install the ${name_mysql} instead.
+
+Steps to move from ${name_mysql_old} to ${name_mysql}:
+1. Unload ${name_mysql_old}-server:
+ \$ sudo port unload ${name_mysql_old}-server
+2. Uninstall ${name_mysql_old} and ${name_mysql_old}-server.
+ \$ sudo port uninstall ${name_mysql_old}-server ${name_mysql_old}
+3. Install ${name_mysql} and ${name_mysql}-server.
+ \$ sudo port install ${name_mysql} ${name_mysql}-server
+4. Move your db files from ${prefix}/var/db/${name_mysql_old} to ${prefix}/var/db/${name_mysql}.
+ \$ sudo mv ${prefix}/var/db/${name_mysql_old}/* ${prefix}/var/db/${name_mysql}/
+5. Load ${name_mysql}-server and verify your databases are available.
+ \$ sudo port load ${name_mysql}-server
+
+"
+
+ replaced_by ${name_mysql}
+ set obsolete.action readme
+ PortGroup obsolete 1.0
+
+ version ${ver_mysql_old}
+ revision ${rev_mysql_old}
+}
+
+subport ${name_mysql_old}-server {
+
+
+notes "
+
+This port is in the process of being replaced by ${name_mysql}.
+Please install the ${name_mysql} instead.
+
+Steps to move from ${name_mysql_old} to ${name_mysql}:
+1. Unload ${name_mysql_old}-server:
+ \$ sudo port unload ${name_mysql_old}-server
+2. Uninstall ${name_mysql_old} and ${name_mysql_old}-server.
+ \$ sudo port uninstall ${name_mysql_old}-server ${name_mysql_old}
+3. Install ${name_mysql} and ${name_mysql}-server.
+ \$ sudo port install ${name_mysql} ${name_mysql}-server
+4. Move your db files from ${prefix}/var/db/${name_mysql_old} to ${prefix}/var/db/${name_mysql}.
+ \$ sudo mv ${prefix}/var/db/${name_mysql_old}/* ${prefix}/var/db/${name_mysql}/
+5. Load ${name_mysql}-server and verify your databases are available.
+ \$ sudo port load ${name_mysql}-server
+
+"
+
+ replaced_by ${name_mysql}-server
+ set obsolete.action readme
+ PortGroup obsolete 1.0
+
+ version ${ver_mysql_old}
+ revision ${rev_mysql_old}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121118/bacf35a9/attachment.html>
More information about the macports-changes
mailing list