[52021] trunk/dports/databases/mysql5-devel/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Jun 8 01:45:51 PDT 2009
Revision: 52021
http://trac.macports.org/changeset/52021
Author: ryandesign at macports.org
Date: 2009-06-08 01:45:51 -0700 (Mon, 08 Jun 2009)
Log Message:
-----------
mysql5-devel:
* update to 5.1.35
* make +server variant obsolete; use the mysql5-server-devel port instead (see #12313)
Modified Paths:
--------------
trunk/dports/databases/mysql5-devel/Portfile
Modified: trunk/dports/databases/mysql5-devel/Portfile
===================================================================
--- trunk/dports/databases/mysql5-devel/Portfile 2009-06-08 08:43:39 UTC (rev 52020)
+++ trunk/dports/databases/mysql5-devel/Portfile 2009-06-08 08:45:51 UTC (rev 52021)
@@ -3,7 +3,7 @@
PortSystem 1.0
name mysql5-devel
-version 5.1.34
+version 5.1.35
set branch [join [lrange [split ${version} .] 0 1] .]
homepage http://www.mysql.com/
categories databases
@@ -34,9 +34,9 @@
checksums \
${distname}${extract.suffix} \
- md5 42493187729677cf8f77faeeebd5b3c2 \
- sha1 b11fc18d323c79dca20c0c0e844f9156cb865b06 \
- rmd160 df54e5140e90c8de71acdbf909a017b04e4d4b81
+ md5 327bffc7a2a5fd4471fbbaab125275cd \
+ sha1 6695a18bc01411a0bacf8593a62cf54c165bb1c2 \
+ rmd160 cef5d3615539ec17c587e5caf25cc06b726fe271
depends_lib \
port:zlib \
@@ -100,11 +100,10 @@
}
}
-variant server description {add a startup item} {
- # Create a startupitem to start/stop the server
- startupitem.create yes
- startupitem.start "${prefix}/share/${mysql}/mysql/mysql.server start"
- startupitem.stop "${prefix}/share/${mysql}/mysql/mysql.server stop"
+variant server description "Obsolete; install ${name}-server port instead" {
+ pre-configure {
+ ui_msg "The +server variant is obsolete. Please install the ${name}-server port instead."
+ }
}
set plugin_version 1.0.3
@@ -135,28 +134,8 @@
destroot.violate_mtree yes
pre-destroot {
- # Some directories we must have in all cases
xinstall -m 755 -d ${destroot}${sysconfdir}
destroot.keepdirs-append ${destroot}${sysconfdir}
-
- # Setup only for server
- if { [variant_isset server] } {
- addgroup ${mysqluser}
- set gid [existsgroup ${mysqluser}]
- adduser ${mysqluser} gid=${gid} realname=MySQL\ Server
-
- # Some directories we must have only if we're running as a server
- xinstall -m 755 -o root -d ${destroot}${prefix}/var/run
-
- xinstall -m 755 -o ${mysqluser} -g ${mysqluser} -d \
- ${destroot}${dbdir} \
- ${destroot}${prefix}/var/log/${mysql} \
- ${destroot}${prefix}/var/run/${mysql}
- destroot.keepdirs-append \
- ${destroot}${dbdir} \
- ${destroot}${prefix}/var/log/${mysql} \
- ${destroot}${prefix}/var/run/${mysql}
- }
}
post-destroot {
@@ -176,16 +155,6 @@
}
}
-post-install {
- if { [variant_isset server] } {
- ui_msg "******************************************************"
- ui_msg "* In order to setup the database, you might want to run"
- ui_msg "* sudo -u ${mysqluser} mysql_install_db5"
- ui_msg "* if this is a new install"
- ui_msg "******************************************************"
- }
-}
-
livecheck.check regex
livecheck.url http://dev.mysql.com/
livecheck.regex "(5\\.1\\.\[0-9\.\]+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090608/c6c4bffe/attachment.html>
More information about the macports-changes
mailing list