[Bug 277922] Mk/bsd.default-versions.mk: Change default version of MySQL to MariaDB 10.11 (mysql=10.11m)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 10 Aug 2024 01:59:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277922

Greg <greg-org-freebsd@akua.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greg-org-freebsd@akua.com

--- Comment #30 from Greg <greg-org-freebsd@akua.com> ---
The default version only really matters, imho, because pkg builds with it in
the standard repository and it is thus a dependency for a lot of pkgs.


It would be nicest to keep the pkgs independent where there are not ABI
dependencies and thereby create more user choice outside of ports.

I know in xbps and apt this is done. When installing a package that requires
PHP, if none is installed, the default will be installed. However, if a
compatible version is already installed, it will neither remove it nor parallel
another version, but instead make the new package dependent on that one at
install time.

Example
Any clients of PHP that do not explicitly use PHP ABIs should not be built as
flavor -php82, like mediawiki142-php82. We are creating that explicit
dependency; nothing in the code itself is. Ports allows for the version range
to be specified, this should translate to pkg.

Example 2
Any dependent of MySQL (or even MySQL/PostgreSQL in some cases) should not
explicitly specify the version if not using an ABI.


I'm sure there are more and that it's not a small job, but I would expect
dependencies to be handled via config file or alternative selector or some
such, not explicitly called out by version in the pkg. Default should mean
default, but because of the increasing use of pkg over ports, it is defacto
more than a default.

-- 
You are receiving this mail because:
You are on the CC list for the bug.