Bug 255358

Summary: databases/p5-DBD-mysql: new dependencies
Product: Ports & Packages Reporter: Gert Doering <gert>
Component: Individual Port(s)Assignee: freebsd-perl (Nobody) <perl>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (perl)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Gert Doering 2021-04-24 07:29:54 UTC
Hi,

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?