Page MenuHomeFreeBSD

p5-DBD-mysql make consumers aware of p5-DBD-mysql4 and choose correct version based on MYSQL_FLAVOUR
ClosedPublic

Authored by flo on Sat, Apr 6, 11:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 4:50 AM
Unknown Object (File)
Wed, Apr 24, 1:46 PM
Unknown Object (File)
Tue, Apr 16, 5:58 PM
Unknown Object (File)
Mon, Apr 15, 7:22 PM
Unknown Object (File)
Mon, Apr 15, 7:21 PM
Unknown Object (File)
Mon, Apr 15, 7:19 PM
Unknown Object (File)
Thu, Apr 11, 4:54 AM
Unknown Object (File)
Tue, Apr 9, 10:40 PM
Subscribers
None

Details

Summary

D44524 added databases/p5-DBD-mysql4 to the tree that can still be used with MariaDB.
Make all p5-DBD-mysql consumers aware of both versions and choose the correct one to install based on MYSQL_FLAVOUR

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

flo requested review of this revision.Sat, Apr 6, 11:33 PM
flo created this revision.
flo retitled this revision from D44524 added databases/p5-DBD-mysql4 to the tree that can still be used with MariaDB. Make all p5-DBD-mysql consumers aware of both versions and choose the correct one to install based on MYSQL_FLAVOUR to p5-DBD-mysql make consumers aware of p5-DBD-mysql4 and choose correct version based on MYSQL_FLAVOUR.Sat, Apr 6, 11:42 PM
flo edited the summary of this revision. (Show Details)
flo added reviewers: vvd, mat.

I read all patch and it look good for me: PORTREVISION++, *_DEPENDS=${DBD_MYSQL}, *USES+=mysql.
If you want me to test the build in poudriere, I need more time.

In D44662#1018235, @vvd wrote:

If you want me to test the build in poudriere, I need more time.

I tested the build of all changed ports with the default mysql version and with DEFAULT_VERSIONS+=mysql=10.11m. Everything builds fine except net/radiator because I don't have the restricted distfile and net-mgmt/netdot which is broken because it still uses @unexec.

This revision is now accepted and ready to land.Sun, Apr 7, 7:31 AM
This revision was automatically updated to reflect the committed changes.

Maybe add record to UPDATING?

20240407:
  AFFECTS: users of databases/p5-DBD-mysql if use databases/mariadb10{5,6,11}-client
  AUTHOR: flo@FreeBSD.org

  Upstream removed support of the MariaDB from branch 5.0. Branch 4.0 is still supported.

  pkg users:
        pkg set -o databases/p5-DBD-mysql:databases/p5-DBD-mysql4
        pkg upgrade

  Portmaster users:
        portmaster -o databases/p5-DBD-mysql4 databases/p5-DBD-mysql
        portmaster -a

  Portupgrade users:
        portupgrade -o databases/p5-DBD-mysql4 -f databases/p5-DBD-mysql
        portupgrade -a

My english is poor - the message require fix or even add more details.