Bug 255358 - databases/p5-DBD-mysql: new dependencies
Summary: databases/p5-DBD-mysql: new dependencies
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-perl (Nobody)
Depends on:
Reported: 2021-04-24 07:29 UTC by Gert Doering
Modified: 2021-04-24 07:29 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (perl)


Note You need to log in before you can comment on or make changes to this bug.
Description Gert Doering 2021-04-24 07:29:54 UTC

trying to upgrade one of my systems, I see that p5-DBD-mysql got a minor upgrade, which pulls in 10+ new dependencies

New packages to be INSTALLED:
        p5-Authen-NTLM: 1.09_1
        p5-Crypt-SSLeay: 0.72_3
        p5-File-Listing: 6.14
        p5-HTTP-Cookies: 6.10
        p5-HTTP-Negotiate: 6.01_1
        p5-LWP-Protocol-https: 6.10
        p5-Net-HTTP: 6.21
        p5-Try-Tiny: 0.30
        p5-WWW-RobotRules: 6.02_1
        p5-libwww: 6.53

Installed packages to be UPGRADED:
        p5-DBD-mysql: 4.050 -> 4.050_1

which definitely looks unexpected.

Looking a bit closer at the latest commit, I see that the "SSL" option is now default-on - which explains the effect, because there is a dependency on p5-Crypt-SSLeay now active

SSL_RUN_DEPENDS=	p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay

Looking at the DBD::mysql module source, this makes me wonder if this is truly needed.  The moduke does not seem to use Crypt::SSLeay in any way or form - it's not listed in the Makefile.PL prerequisites, nor is it used anywhere.  It needs OpenSSL for the C code.

So - maybe the dependency on p5-Crypt-SSLeay is no longer needed today?