Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2024 01:59:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277922] Mk/bsd.default-versions.mk: Change default version of MySQL to MariaDB 10.11 (mysql=10.11m)
Message-ID:  <bug-277922-7788-ZmGCGddyyh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277922-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277922-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277922

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 para=
llel
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 ran=
ge
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277922-7788-ZmGCGddyyh>