[111523] trunk/dports/databases/mysql51/Portfile

pixilla at macports.org pixilla at macports.org
Tue Sep 24 09:27:02 PDT 2013


Revision: 111523
          https://trac.macports.org/changeset/111523
Author:   pixilla at macports.org
Date:     2013-09-24 09:27:01 -0700 (Tue, 24 Sep 2013)
Log Message:
-----------
databases/mysql51:
- Update version to 5.1.72.
- Use mysql mirror group.
- Add notes regarding the default cnf files.

Modified Paths:
--------------
    trunk/dports/databases/mysql51/Portfile

Modified: trunk/dports/databases/mysql51/Portfile
===================================================================
--- trunk/dports/databases/mysql51/Portfile	2013-09-24 16:25:53 UTC (rev 111522)
+++ trunk/dports/databases/mysql51/Portfile	2013-09-24 16:27:01 UTC (rev 111523)
@@ -5,7 +5,7 @@
 
 name                mysql51
 set name_mysql      ${name}
-version             5.1.71
+version             5.1.72
 # Set revision_client and revision_server to 0 if you bump version.
 set revision_client 1
 set revision_server 0
@@ -34,63 +34,8 @@
     description         Multithreaded SQL database server
     long_description    MySQL is an open-source, multi-threaded SQL database.
     
-    master_sites \
-        http://artfiles.org/mysql/Downloads/MySQL-${version_branch}/ \
-        http://ftp.arnes.si/mysql/Downloads/MySQL-${version_branch}/ \
-        http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-${version_branch}/ \
-        http://ftp.heanet.ie/mirrors/www.mysql.com/Downloads/MySQL-${version_branch}/ \
-        http://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-${version_branch}/ \
-        http://ftp.itu.edu.tr/Mirror/Mysql/Downloads/MySQL-${version_branch}/ \
-        http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-${version_branch}/ \
-        http://ftp.ntua.gr/pub/databases/mysql/Downloads/MySQL-${version_branch}/ \
-        http://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-${version_branch}/ \
-        http://gd.tuwien.ac.at/db/mysql/Downloads/MySQL-${version_branch}/ \
-        http://it.mysql.contactlab.it/Downloads/MySQL-${version_branch}/ \
-        http://linorg.usp.br/mysql/Downloads/MySQL-${version_branch}/ \
-        http://mirror.csclub.uwaterloo.ca/mysql/Downloads/MySQL-${version_branch}/ \
-        http://mirror.leaseweb.com/mysql/Downloads/MySQL-${version_branch}/ \
-        http://mirror.switch.ch/ftp/mirror/mysql/Downloads/MySQL-${version_branch}/ \
-        http://mirror.trouble-free.net/mysql_mirror/Downloads/MySQL-${version_branch}/ \
-        http://mirrors.dedipower.com/www.mysql.com/Downloads/MySQL-${version_branch}/ \
-        http://mirrors.dotsrc.org/mysql/Downloads/MySQL-${version_branch}/ \
-        http://mirrors.ircam.fr/pub/mysql/Downloads/MySQL-${version_branch}/ \
-        http://mirrors.ukfast.co.uk/sites/ftp.mysql.com/Downloads/MySQL-${version_branch}/ \
-        http://mirrors.xservers.ro/mysql/Downloads/MySQL-${version_branch}/ \
-        http://mysql.blic.net/Downloads/MySQL-${version_branch}/ \
-        http://mysql.cdpa.nsysu.edu.tw/Downloads/MySQL-${version_branch}/ \
-        http://mysql.cs.pu.edu.tw/Downloads/MySQL-${version_branch}/ \
-        http://mysql.dataphone.se/Downloads/MySQL-${version_branch}/ \
-        http://mysql.easynet.be/Downloads/MySQL-${version_branch}/ \
-        http://mysql.he.net/Downloads/MySQL-${version_branch}/ \
-        http://mysql.infocom.ua/Downloads/MySQL-${version_branch}/ \
-        http://mysql.inspire.net.nz/Downloads/MySQL-${version_branch}/ \
-        http://mysql.linux.cz/Downloads/MySQL-${version_branch}/ \
-        http://mysql.llarian.net/Downloads/MySQL-${version_branch}/ \
-        http://mysql.mirror.iweb.ca/Downloads/MySQL-${version_branch}/ \
-        http://mysql.mirror.rafal.ca/Downloads/MySQL-${version_branch}/ \
-        http://mysql.mirrors.arminco.com/Downloads/MySQL-${version_branch}/ \
-        http://mysql.mirrors.hoobly.com/Downloads/MySQL-${version_branch}/ \
-        http://mysql.mirrors.ilisys.com.au/Downloads/MySQL-${version_branch}/ \
-        http://mysql.mirrors.ovh.net/ftp.mysql.com/Downloads/MySQL-${version_branch}/ \
-        http://mysql.mirrors.pair.com/Downloads/MySQL-${version_branch}/ \
-        http://mysql.nfsi.pt/Downloads/MySQL-${version_branch}/ \
-        http://mysql.ntu.edu.tw/Downloads/MySQL-${version_branch}/ \
-        http://mysql.spd.co.il/Downloads/MySQL-${version_branch}/ \
-        http://na.mirror.garr.it/mirrors/MySQL/Downloads/MySQL-${version_branch}/ \
-        http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-${version_branch}/ \
-        http://www.linorg.usp.br/mysql/Downloads/MySQL-${version_branch}/ \
-        http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/MySQL-${version_branch}/
+    master_sites        mysql:MySQL-${version_branch}
 
-# Mirrors with bad distfiles
-# http://mysql.azc.uam.mx/Downloads/MySQL-${version_branch}/ \
-# http://mysql.isu.edu.tw/Downloads/MySQL-${version_branch}/ \
-# http://mysql.mirror.ac.za/Downloads/MySQL-${version_branch}/ \
-# http://mysql.mirror.kangaroot.net/Downloads/MySQL-${version_branch}/ \
-# http://mysql.mirrors.crysys.hit.bme.hu/Downloads/MySQL-${version_branch}/ \
-# http://mysql.mivzakim.net/Downloads/MySQL-${version_branch}/ \
-# http://mysql.sh.cvut.cz/Downloads/MySQL-${version_branch}/ \
-# http://opensource.become.com/mysql/Downloads/MySQL-${version_branch}/ \
-
     distname            mysql-${version}
     use_parallel_build  yes
     
@@ -98,8 +43,8 @@
     patchfiles          patch-Makefile.in.diff \
                         patch-scripts-mysql_secure_installation.sh.diff
 
-    checksums           rmd160  4077b4aab7297a48b5dc180acf35c9a94bce366c \
-                        sha256  5365a5598f4d06c72fbcf61a437bf55e2d815a851e6ef972250e9c71b87360d3
+    checksums           rmd160  a5ba8bedf4027af90a4612a1a7f3a848999cfbf5 \
+                        sha256  c414a64722ffa89d315152a030661d34764894e293e33792809cea61c8a5303e
     
     depends_lib         port:zlib port:tcp_wrappers
     depends_run         port:mysql_select
@@ -241,6 +186,26 @@
         archcheck.files-append  lib/libreadline.dylib
     }
 
+    notes "
+On activation if no ${prefix}/etc/${name_mysql}/my.cnf file exists one
+will be created which loads
+${prefix}/etc/${name_mysql}/macports-default.cnf.
+
+If a ${prefix}/etc/${name_mysql}/my.cnf file exists MacPorts does not
+touch it and any changes you make to ${prefix}/etc/${name_mysql}/my.cnf
+will be preserved (e.g., during port upgrades, deactivations or
+activations). ${prefix}/etc/${name_mysql}/my.cnf is a good place to
+customize your ${name_mysql} installation.
+
+Any changes made to ${prefix}/etc/${name_mysql}/macports-default.cnf
+will be lost during port upgrades, deactivations or activations so you
+are advised to not make changes here. Currently
+${prefix}/etc/${name_mysql}/macports-default.cnf contains only one
+directive; to disable networking. With disabled networking it is
+possible to install and have running all the MacPorts mysql ports
+simultaneously.
+"
+
     livecheck.type          regex
     livecheck.url           http://dev.mysql.com/downloads/mysql/${version_branch}.html
     livecheck.regex         "<h1>MySQL Community Server (${version_branch}(\.\[0-9.\]+)?)</h1>"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130924/cf4eca3a/attachment.html>


More information about the macports-changes mailing list