Opened 10 years ago

Last modified 5 months ago

#43431 new enhancement

Ports with a mysql5 variants and/or dependencies should switch to using mysql56 or possibly mariadb. — at Version 16

Reported by: pixilla (Bradley Giesbrecht) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: aeh@…, blair@…, brian@…, c_dantonio@…, compconsultant@…, davidnichols@…, devans@…, dluke@…, dweber@…, g.lorenz@…, hum@…, jberry@…, jeff@…, jmr@…, jwa@…, kayos@…, landonf@…, mbclark@…, michaelld@…, mta@…, mww@…, nicos@…, roberto@…, rwilcox@…, ryandesign@…, seanasy@…, yattenator@…, ctreleaven@…, egall@…, mk@…
Port: amarok-devel apr-util bugzilla dovecot dovecot2 drupal5 drupal6 dspam exim flow-tools freeradius hydra libdbi-drivers libgda libgda4 libgda5 lighttpd lighttpd-devel mediatomb mnogosearch mysql-connector-odbc mysql5 mysql55-connector-cpp mysql55-lib_mysqludf_json mysqlxx nagios-plugins neko ocaml-mysql p5-dbd-mysql pennmush php php4 php5-mysql php52 proftpd pure-ftpd py-oursql qore-mysql-module qt3-mac qt4-mac-mysql55-plugin radlib rb-mysql rb19-mysql redland restund snort soci sphinx vpopmail vtk-devel wikkawiki zabbix zabbix2

Description (last modified by mf2k (Frank Schima))

The following ports have variants and/or dependencies on mysql5:

==== Ports which require maintainer approval ====
 - apr-util (geeklair.net:dluke):
 - drupal5 (acm.org:c_dantonio):
 - drupal6 (acm.org:c_dantonio):
 - libdbi-drivers (umich.edu:mta):
 - libgda (landonf):
 - lighttpd (ryandesign):
 - lighttpd-devel (ryandesign):
 - mediatomb (gmail.com:yattenator):
 - mysql-connector-odbc (pixilla):
 - mysql5 (ryandesign,pixilla):
 - mysql55-lib_mysqludf_json (pixilla):
 - mysqlxx (genetikayos.com:kayos):
 - php (ryandesign):
 - php4 (ryandesign):
 - php52 (ryandesign):
 - proftpd (stariontech.com:jeff):
 - qore-mysql-module (davidnichols):
 - radlib (mbclark):
 - rb-mysql (freebsd.org:roberto):
 - restund (db.org:aeh):
 - vpopmail (yahoo.com:compconsultant):
 - wikkawiki (wikkawiki.org:brian):

==== Ports with openmaintainer ====
 - dovecot (jberry,openmaintainer):
 - dovecot2 (pixilla,openmaintainer):
 - dspam (pixilla,openmaintainer):
 - libgda4 (devans,openmaintainer):
 - libgda5 (jwa,devans,openmaintainer):
 - mnogosearch (gmail.com:dbraband,openmaintainer):
 - mysql55-connector-cpp (pixilla,openmaintainer):
 - neko (ryandesign,openmaintainer):
 - ocaml-mysql (mww,openmaintainer):
 - pficommon (hum,openmaintainer):
 - postfix (jmr,openmaintainer):
 - pure-ftpd (pixilla,openmaintainer):
 - qt3-mac (blair,openmaintainer):
 - qt4-mac-mysql55-plugin (michaelld,pixilla,openmaintainer):
 - redland (pixilla,openmaintainer):
 - soci (rmh.de:g.lorenz,openmaintainer):
 - zabbix2 (eborisch,openmaintainer):

==== Ports with nomaintainer ====
 - amarok-devel (nomaintainer):
 - bugzilla (nomaintainer):
 - exim (nomaintainer):
 - flow-tools (nomaintainer):
 - freeradius (nomaintainer):
 - gdal (nomaintainer):
 - grass (nomaintainer):
 - hydra (nomaintainer):
 - nagios-plugins (nomaintainer):
 - p5-dbd-mysql (nomaintainer):
 - pennmush (nomaintainer):
 - php5-mysql (nomaintainer):
 - py-oursql (nomaintainer):
 - rb19-mysql (nomaintainer):
 - snort (nomaintainer):
 - sphinx (nomaintainer):
 - vtk-devel (nomaintainer):
 - zabbix (nomaintainer):

Ports where mysql5 has been removed:

databases/dbslayer
databases/libzdb-mysql55
devel/akonadi
python/py-mysql

Change History (16)

comment:1 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Description: modified (diff)

comment:2 Changed 10 years ago by danielluke (Daniel J. Luke)

apr-util has other mysql variants - are we removing mysql5 variants now? Is there a standard way we're deprecating them?

comment:3 in reply to:  2 ; Changed 10 years ago by pixilla (Bradley Giesbrecht)

Replying to dluke@…:

apr-util has other mysql variants - are we removing mysql5 variants now? Is there a standard way we're deprecating them?

One goal should be to have mysql5 replaced_by mysql51 so for ports that cannot use a more modern mysql they would have their dependencies changed from mysql5 to mysql51.

That said, mysql51 is the same version (5.1.72) as mysql5 and pretty ancient. I believe we should settle on a MacPorts "default" mysql port and encourage subports and/or variants when other mysql versions are desired. I appears to me that many distros are choosing mariadb as their default. If we choose mariadb as our default perhaps we should rename mariadb to mariadb55 before we modify all these mysql5 dependent ports. I would am fine with and might prefer mariadb (the founder of mysql is behind mariadb) as the "default" MacPorts mysql port.

A standard way for variants might be:

# Removing mysql5 variant
# variant mysql5 {}
variant mysql51 {...}
variant mysql55 {...}
variant mysql56 {...}
variant mariadb55 {...}
variant percona56 {...}
if {[variant_isset mysql5]} {

    default_variants.append    mariadb55
}

comment:4 in reply to:  2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to dluke@…:

apr-util has other mysql variants - are we removing mysql5 variants now? Is there a standard way we're deprecating them?

  • mysql56 variants should be added where missing.
  • mariadb and percona ports and variants should be renamed to be versioned.
  • mysql5 variants should be auto-upgraded to mysql51 variants ("variant mysql5 requires mysql51 description {Legacy compatibility variant} {}"), this way users using mysql5 databases only need to move their database to a different directory to be able to continue using mysql51 (or, if just checking if the variant is set, without defining the variant, correctly upgrades users in that manner, then that's fine)
  • mysql56 (or mariadb (or mariadb55 if we rename it)) should be the default variant (which would apply for new installations, not upgrades)
    • Alternately we could auto-upgrade mysql5 to mysql56 or mariadb (or mariadb55 if we rename it), but then the user might have to do additional steps other than just moving the files (e.g. running upgrade scripts). The whole reason why we have versioned MySQL (and PostgreSQL and BerkeleyDB) ports is so that users can decide when to upgrade to newer versions that require such extra steps.

comment:5 in reply to:  3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to pixilla@…:

I appears to me that many distros are choosing mariadb as their default.

MariaDB (whatever the variant for the latest version thereof is called) would be my first choice for default.

comment:6 Changed 10 years ago by dbraband@…

Cc: dbraband@… removed

Cc Me!

comment:7 Changed 10 years ago by dbraband@…

Cc: dbraband@… added

Cc Me!

comment:8 Changed 10 years ago by dbraband@…

Cc: dbraband@… removed

Cc Me!

comment:9 Changed 10 years ago by NicosPavlov

Description: modified (diff)

comment:10 Changed 10 years ago by NicosPavlov

akonadi done in r119433.

comment:11 Changed 10 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven@… added

Cc Me!

comment:12 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:13 Changed 10 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:14 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Description: modified (diff)

comment:15 Changed 10 years ago by mf2k (Frank Schima)

Cc: markd@… removed
Version: 2.2.1

comment:16 Changed 10 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: amarok-devel apr-util bugzilla dovecot dovecot2 drupal5 drupal6 dspam exim flow-tools freeradius gdal grass hydra libdbi-drivers libgda libgda4 libgda5 lighttpd lighttpd-devel mediatomb mnogosearch mysql-connector-odbc mysql5 mysql55-connector-cpp mysql55-lib_mysqludf_json mysqlxx nagios-plugins neko ocaml-mysql p5-dbd-mysql pennmush pficommon php php4 php5-mysql php52 postfix proftpd pure-ftpd py-oursql qore-mysql-module qt3-mac qt4-mac-mysql55-plugin radlib rb-mysql rb19-mysql redland restund snort soci sphinx vpopmail vtk-devel wikkawiki zabbix zabbix2 added
Note: See TracTickets for help on using tickets.