Merge pull request #6296 from EricFromCanada/audit-openssl

audit: whitelist openssl@1.1 in new formulae
This commit is contained in:
Mike McQuaid 2019-07-16 08:48:50 +01:00 committed by GitHub
commit bf0f1bd304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -391,7 +391,7 @@ module Homebrew
if @new_formula && if @new_formula &&
dep_f.keg_only_reason&.reason == :provided_by_macos && dep_f.keg_only_reason&.reason == :provided_by_macos &&
dep_f.keg_only_reason.valid? && dep_f.keg_only_reason.valid? &&
!%w[apr apr-util openblas openssl].include?(dep.name) !%w[apr apr-util openblas openssl openssl@1.1].include?(dep.name)
new_formula_problem( new_formula_problem(
"Dependency '#{dep.name}' may be unnecessary as it is provided " \ "Dependency '#{dep.name}' may be unnecessary as it is provided " \
"by macOS; try to build this formula without it.", "by macOS; try to build this formula without it.",