
Creates a new requirement that dictates packages are unable to install due to requiring a signed kext to function. Closes Homebrew/homebrew#33404. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
17 lines
431 B
Ruby
17 lines
431 B
Ruby
require 'requirement'
|
|
|
|
class UnsignedKextRequirement < Requirement
|
|
fatal true
|
|
|
|
satisfy { MacOS.version < :yosemite }
|
|
|
|
def message
|
|
<<-EOS.undent
|
|
OS X Mavericks or older is required for this package.
|
|
OS X Yosemite introduced a strict unsigned kext ban which breaks this package.
|
|
You should remove this package from your system and attempt to find upstream
|
|
binaries to use instead.
|
|
EOS
|
|
end
|
|
end
|