Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2021 21:20:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252420] 'caching_sha2_password' support missing in PHP port, limits MySQL 8 compatibility
Message-ID:  <bug-252420-7788-PFRsnE0aFy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252420-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252420-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=3D252420

Chris Hutchinson <portmaster@bsdforge.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |portmaster@bsdforge.com

--- Comment #37 from Chris Hutchinson <portmaster@bsdforge.com> ---
(In reply to Jeffery Telford from comment #33)
> According to Freshports there are only 2 packages that depend on LibreSSL
> so I'm not sure what is going to break if you build PHP with OpenSSL.
Indeed. But there are well more than that that _permit_ the use of other
than OpenSSL. And leave us not forget that only 2 ports does not determine
the total number of installs/uses. :-)

> This resistance to build PHP so it supports MySQL 8.0 out of the box is
> just another reason why FreeBSD will continue be a niche product and
> Linux will continue to dominant.
This has zero to do with your understanding/evaluation except in
your mind. :-)
* * BUT * *
I feel your frustration/anxiety. As a Maintainer of some 160 ports.
I'm well familiar with the hurdles && pitfalls encountered along
the way. :-)

> MySQL obviously made a decision to support these newer more secure
> protocols and FreeBSD shouldn't require you to disable them in order
> to function.=20
>=20
> It's also frustrating that I cannot install multiple versions of PHP
> on the same server.
You only have PHP to thank for that. :-) Waaay back in the day, I
managed to cobble a lib for Apache that permitted 2 different versions
of PHP to co-exist. But then that niche product FreeBSD came out with
this thing called a jail(8), and I never looked back. I think Linux
dominated that with chroot(8). But I found jail(8) to be far superior.

> I've done this for years on Linux using PHP-FPM and
> all I need to do is to repoint the webserver to a different socket and
> I'm using a different version of PHP. It's a great feature for PHP
> developers as they can easily test their PHP apps on different versions.
See jail(8) above. ;-)

Look. I *do* get your frustration, and because I *love* puzzles. I decided
to chime in, and either solve this puzzle, or further complicate it. ;-)
Seriously. Tho this thread is quite long. I *think* I have all the pieces
together. Wouldn't it be enough to create a separate option against
mysql-8 that provided a conditional to require (some)SSL.lib? Does MySQL8
really *require* OPENssl to accomplish your needs. Or just SSL? It does
appear that your password extension/option does. If that's the case.
Then just ticking the sub_option (your password stuff) could slurp in
OpenSSL, and provide a "conflicts" resolution. It's all just an
IF THEN ELSE dance.

You have anything proposed? I don't see any attachments to this pr(1).

Chris out...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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