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 Apr 6 2024, 11:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 21, 9:12 PM
Unknown Object (File)
Sun, May 19, 1:12 PM
Unknown Object (File)
Apr 26 2024, 4:50 AM
Unknown Object (File)
Apr 24 2024, 1:46 PM
Unknown Object (File)
Apr 16 2024, 5:58 PM
Unknown Object (File)
Apr 15 2024, 7:22 PM
Unknown Object (File)
Apr 15 2024, 7:21 PM
Unknown Object (File)
Apr 15 2024, 7:19 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.Apr 6 2024, 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.Apr 6 2024, 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.Apr 7 2024, 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.