Merge pull request #8033 from SeekingMeaning/allow-libressl
dev-cmd/audit: add libressl to uses_from_macos allow list
This commit is contained in:
commit
2e5d79a64a
@ -320,9 +320,10 @@ module Homebrew
|
|||||||
problem "Formula name conflicts with existing core formula."
|
problem "Formula name conflicts with existing core formula."
|
||||||
end
|
end
|
||||||
|
|
||||||
USES_FROM_MACOS_ALLOWLIST = %w[
|
PROVIDED_BY_MACOS_DEPENDS_ON_ALLOWLIST = %w[
|
||||||
apr
|
apr
|
||||||
apr-util
|
apr-util
|
||||||
|
libressl
|
||||||
openblas
|
openblas
|
||||||
openssl@1.1
|
openssl@1.1
|
||||||
].freeze
|
].freeze
|
||||||
@ -383,7 +384,7 @@ module Homebrew
|
|||||||
dep_f.keg_only? &&
|
dep_f.keg_only? &&
|
||||||
dep_f.keg_only_reason.provided_by_macos? &&
|
dep_f.keg_only_reason.provided_by_macos? &&
|
||||||
dep_f.keg_only_reason.applicable? &&
|
dep_f.keg_only_reason.applicable? &&
|
||||||
!USES_FROM_MACOS_ALLOWLIST.include?(dep.name)
|
!PROVIDED_BY_MACOS_DEPENDS_ON_ALLOWLIST.include?(dep.name)
|
||||||
new_formula_problem(
|
new_formula_problem(
|
||||||
"Dependency '#{dep.name}' is provided by macOS; " \
|
"Dependency '#{dep.name}' is provided by macOS; " \
|
||||||
"please replace 'depends_on' with 'uses_from_macos'.",
|
"please replace 'depends_on' with 'uses_from_macos'.",
|
||||||
|
@ -569,7 +569,7 @@ module Homebrew
|
|||||||
|
|
||||||
include_examples "formulae exist", described_class::VERSIONED_KEG_ONLY_ALLOWLIST
|
include_examples "formulae exist", described_class::VERSIONED_KEG_ONLY_ALLOWLIST
|
||||||
include_examples "formulae exist", described_class::VERSIONED_HEAD_SPEC_ALLOWLIST
|
include_examples "formulae exist", described_class::VERSIONED_HEAD_SPEC_ALLOWLIST
|
||||||
include_examples "formulae exist", described_class::USES_FROM_MACOS_ALLOWLIST
|
include_examples "formulae exist", described_class::PROVIDED_BY_MACOS_DEPENDS_ON_ALLOWLIST
|
||||||
include_examples "formulae exist", described_class::THROTTLED_FORMULAE.keys
|
include_examples "formulae exist", described_class::THROTTLED_FORMULAE.keys
|
||||||
include_examples "formulae exist", described_class::UNSTABLE_ALLOWLIST.keys
|
include_examples "formulae exist", described_class::UNSTABLE_ALLOWLIST.keys
|
||||||
include_examples "formulae exist", described_class::GNOME_DEVEL_ALLOWLIST.keys
|
include_examples "formulae exist", described_class::GNOME_DEVEL_ALLOWLIST.keys
|
||||||
|
Loading…
x
Reference in New Issue
Block a user