gnutls 3.6.9

Closes #42779.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Caleb Xu 2019-07-25 20:58:02 -04:00 committed by Chongyu Zhu
parent c56ba14f25
commit 422de553cc
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -1,9 +1,9 @@
class Gnutls < Formula
desc "GNU Transport Layer Security (TLS) Library"
homepage "https://gnutls.org/"
url "https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.8.tar.xz"
mirror "https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnutls/v3.6/gnutls-3.6.8.tar.xz"
sha256 "aa81944e5635de981171772857e72be231a7e0f559ae0292d2737de475383e83"
url "https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.9.tar.xz"
mirror "https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnutls/v3.6/gnutls-3.6.9.tar.xz"
sha256 "4331fca55817ecdd74450b908a6c29b4f05bb24dd13144c6284aa34d872e1fcb"
bottle do
sha256 "6679cf795332813d1e41778272f3e8283dc13435c637a1f3b94c98956b490c93" => :mojave
@ -11,14 +11,28 @@ class Gnutls < Formula
sha256 "895d26abcb5e3d8ba7d48c7d4ccef936a7f1c570802f26f90303bbeed1c16bfc" => :sierra
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "pkg-config" => :build
depends_on "gmp"
depends_on "libidn2"
depends_on "libtasn1"
depends_on "libunistring"
depends_on "nettle"
depends_on "p11-kit"
depends_on "unbound"
# Patch for build error on Sierra:
# Undefined symbols for architecture x86_64:
# "___get_cpuid_count", referenced from:
# _register_x86_crypto in libaccelerated.a(x86-common.o)
#
# This patch has been merged upstream and this issue should be fixed in the 3.6.10 release.
patch do
url "https://gitlab.com/gnutls/gnutls/commit/ef80617d1e17e0878a909baad62a75ba265c0e00.patch"
sha256 "3b1634fa348c0f0064e43f3fb673e30a5e46f2b51cd6cd0d4a0cbf326e71c90e"
end
def install
args = %W[
--disable-dependency-tracking