diff options
| -rw-r--r-- | Library/Homebrew/compat/sha1.rb | 25 | ||||
| -rw-r--r-- | Library/Homebrew/diagnostic.rb | 9 |
2 files changed, 18 insertions, 16 deletions
diff --git a/Library/Homebrew/compat/sha1.rb b/Library/Homebrew/compat/sha1.rb index ed931f634..adf11bdd5 100644 --- a/Library/Homebrew/compat/sha1.rb +++ b/Library/Homebrew/compat/sha1.rb @@ -1,36 +1,29 @@ class Formula - def self.sha1(val) - odeprecated "Formula.sha1", "Formula.sha256" - stable.sha1(val) + def self.sha1(_val) + odisabled "Formula.sha1", "Formula.sha256" end end class SoftwareSpec - def sha1(val) - odeprecated "SoftwareSpec#sha1", "SoftwareSpec#sha256" - @resource.sha1(val) + def sha1(_val) + odisabled "SoftwareSpec#sha1", "SoftwareSpec#sha256" end end class Resource - def sha1(val) - odeprecated "Resource#sha1", "Resource#sha256" - @checksum = Checksum.new(:sha1, val) + def sha1(_val) + odisabled "Resource#sha1", "Resource#sha256" end end class BottleSpecification - def sha1(val) - odeprecated "BottleSpecification#sha1", "BottleSpecification#sha256" - digest, tag = val.shift - collector[tag] = Checksum.new(:sha1, digest) + def sha1(_val) + odisabled "BottleSpecification#sha1", "BottleSpecification#sha256" end end class Pathname def sha1 - require "digest/sha1" - odeprecated "Pathname#sha1", "Pathname#sha256" - incremental_hash(Digest::SHA1) + odisabled "Pathname#sha1", "Pathname#sha256" end end diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 63ac008f0..e499c4d3b 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -175,6 +175,8 @@ module Homebrew "libublio.*.dylib", # NTFS-3G "libUFSDNTFS.dylib", # Paragon NTFS "libUFSDExtFS.dylib", # Paragon ExtFS + "libecomlodr.dylib", # Symantec Endpoint Protection + "libsymsea.*.dylib", # Symantec Endpoint Protection "sentinel.dylib", # SentinelOne ] @@ -196,6 +198,13 @@ module Homebrew "libntfs-3g.a", # NTFS-3G "libntfs.a", # NTFS-3G "libublio.a", # NTFS-3G + "libappfirewall.a", # Symantec Endpoint Protection + "libautoblock.a", # Symantec Endpoint Protection + "libautosetup.a", # Symantec Endpoint Protection + "libconnectionsclient.a", # Symantec Endpoint Protection + "liblocationawareness.a", # Symantec Endpoint Protection + "libpersonalfirewall.a", # Symantec Endpoint Protection + "libtrustedcomponents.a", # Symantec Endpoint Protection ] __check_stray_files "/usr/local/lib", "*.a", white_list, <<-EOS.undent |
