HomeFreeBSD

lang/php8[01]: Make openssl as DEFAULT

Description

lang/php8[01]: Make openssl as DEFAULT

After the 91fdbed776033fd4b210135429a171ab5fed549b commit fixing the
issue for MySQL80 introduced another problem for the ports that depends
on php8[01]-openssl port couldn't be built as the fix prevented
php8[01]-openssl from being installed as it's already built with
default php installation. As the problem has grown much bigger now and
php80 is currently the DEFAULT php version so we are switching the
behavior of php8[01] ports making the openssl module as default.

  • Remove non-default OPTION MYSQL80 from lang/php8[01]
  • Remove ports security/php8[01]-openssl
  • Remove OPTION OPENSSL from lang/php8[01]-extensions
  • Mark lang/php8[01] to IGNORE with libressl and libressl-devel Although php builds fine with those most of the extensions do not as they have dependency on curl. So mark it early.
  • OPTIONIZE lang/php80
  • Change openssl_DEPENDS to conditional for php74 only as this module is default from php80 with this commit. php74 do not have the issue where it fails to connect to MySQL80 due to new caching_sha2_password
  • Remove hash_DEPENDS from php.mk as it is a default module for all php
  • Change json_DEPENDS to conditional for php74 only as this module is default from php80

PR: 261797 259793 252420
Reported by: sean@rogue-research.com martin@waschbuesch.de
Approved by: tz (private email) ale (private email)
Sponsored by: Bounce Experts

Details

Provenance
bofhAuthored on Feb 12 2022, 3:38 PM
Parents
R11:72923f58ba52: biology/py-dna-features-viewer: Add missing dependency
Branches
Unknown
Tags
Unknown