[99830] branches/pixilla-mysqls-55/dports/databases/mysql55/Portfile
pixilla at macports.org
pixilla at macports.org
Sun Nov 18 11:57:18 PST 2012
Revision: 99830
https://trac.macports.org/changeset/99830
Author: pixilla at macports.org
Date: 2012-11-18 11:57:18 -0800 (Sun, 18 Nov 2012)
Log Message:
-----------
databases/mysql4:
databases/mysql55:
- Unify mysql4 and mysql55.
- Replace mysql4 with mysql55.
Modified Paths:
--------------
branches/pixilla-mysqls-55/dports/databases/mysql55/Portfile
Modified: branches/pixilla-mysqls-55/dports/databases/mysql55/Portfile
===================================================================
--- branches/pixilla-mysqls-55/dports/databases/mysql55/Portfile 2012-11-18 19:46:36 UTC (rev 99829)
+++ branches/pixilla-mysqls-55/dports/databases/mysql55/Portfile 2012-11-18 19:57:18 UTC (rev 99830)
@@ -144,7 +144,7 @@
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.5.25] < 0 } {
-
+
set deactivate_proc registry_deactivate_composite
if {[info commands registry_deactivate_composite] == {}} {
set deactivate_proc registry_deactivate
@@ -169,7 +169,7 @@
}
variant system_readline description {Use system readline instead of bundled readline} {
-
+
# Add readline support.
# "-DWITH_READLINE:BOOL=OFF" has the peculiar meaning "do not use the bundled copy
# of readline but use the system's (i.e. MacPorts') copy of readline"
@@ -239,8 +239,6 @@
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}.
@@ -297,3 +295,36 @@
version ${ver_mysql_old}
revision ${rev_mysql_old}
}
+
+set name_mysql_old mysql4
+set ver_mysql_old 4.1.22
+set rev_mysql_old 2
+
+subport ${name_mysql_old} {
+
+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}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121118/dbb3a4b5/attachment.html>
More information about the macports-changes
mailing list