openssl 1.0.2h

Remove patches which are upstreamed

Closes #803.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Alex Gaynor 2016-05-03 10:05:55 -04:00 committed by Dominyk Tiller
parent 6d9e58ee5c
commit 7539b7d1b4

View file

@ -1,10 +1,10 @@
class Openssl < Formula
desc "SSL/TLS cryptography library"
homepage "https://openssl.org/"
url "https://www.openssl.org/source/openssl-1.0.2g.tar.gz"
mirror "https://dl.bintray.com/homebrew/mirror/openssl-1.0.2g.tar.gz"
mirror "https://www.mirrorservice.org/sites/ftp.openssl.org/source/openssl-1.0.2g.tar.gz"
sha256 "b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33"
url "https://www.openssl.org/source/openssl-1.0.2h.tar.gz"
mirror "https://dl.bintray.com/homebrew/mirror/openssl-1.0.2h.tar.gz"
mirror "https://www.mirrorservice.org/sites/ftp.openssl.org/source/openssl-1.0.2h.tar.gz"
sha256 "1d4007e53aad94a5b2002fe045ee7bb0b3d98f1a47f8b2bc851dcd1c74332919"
bottle do
sha256 "b1de0682c7a838a75da3a06ddad2b9700d208b2faaaa1b51c0889ba403c7dd22" => :el_capitan
@ -22,19 +22,6 @@ class Openssl < Formula
depends_on "makedepend" => :build
# Replace with upstream url if they merge the more robust fix
# https://github.com/openssl/openssl/pull/597
if MacOS.version <= :snow_leopard
patch do
url "https://raw.githubusercontent.com/Homebrew/patches/3f1dc8ea145a70543aded8101a0c725abf82fc45/openssl/revert-pass-pure-constants-verbatim.patch"
sha256 "e38f84181a56e70028ade8408ad70aaffaea386b7e1b35de55728ae878d544aa"
end
patch do
url "https://raw.githubusercontent.com/Homebrew/patches/3f1dc8ea145a70543aded8101a0c725abf82fc45/openssl/tshort-asm.patch"
sha256 "f161e2fc1395efcb53d785004d67d4962d28aa8ce282a91020f12809c03b2afd"
end
end
def arch_args
{
:x86_64 => %w[darwin64-x86_64-cc enable-ec_nistp_64_gcc_128],