From e9ff4c914317ef4fb94b9630c58e79e7b8edc64a Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Tue, 4 Oct 2016 01:32:27 +0100 Subject: [PATCH] openconnect: build against OpenSSL by default Bug #36641 has been fixed upstream and development seems to have followed the OpenSSL integration better. Closes #5559. Signed-off-by: Mike McQuaid --- Formula/openconnect.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Formula/openconnect.rb b/Formula/openconnect.rb index 6f62bb5a4a..07477a3085 100644 --- a/Formula/openconnect.rb +++ b/Formula/openconnect.rb @@ -3,6 +3,7 @@ class Openconnect < Formula homepage "http://www.infradead.org/openconnect.html" url "ftp://ftp.infradead.org/pub/openconnect/openconnect-7.07.tar.gz" sha256 "f3ecfcd487dcd916748db38b4138c1e72c86347d6328b11dfe1d0af2821b8366" + revision 1 bottle do sha256 "cbe08c848c2965016b4a01113781f033498e529a3ddbf86ca9c4528f34838cf9" => :sierra @@ -18,12 +19,12 @@ class Openconnect < Formula depends_on "libtool" => :build end - # No longer compiles against OpenSSL 1.0.2 - It chooses the system OpenSSL instead. - # https://lists.infradead.org/pipermail/openconnect-devel/2015-February/002757.html + option "with-gnutls", "Use GnuTLS instead of OpenSSL" depends_on "pkg-config" => :build depends_on "gettext" - depends_on "gnutls" + depends_on "openssl" if build.without? "gnutls" + depends_on "gnutls" => :optional depends_on "oath-toolkit" => :optional depends_on "stoken" => :optional