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 <mike@mikemcquaid.com>
This commit is contained in:
Filippo Valsorda 2016-10-04 01:32:27 +01:00 committed by Mike McQuaid
parent c2d876c768
commit e9ff4c9143

View file

@ -3,6 +3,7 @@ class Openconnect < Formula
homepage "http://www.infradead.org/openconnect.html" homepage "http://www.infradead.org/openconnect.html"
url "ftp://ftp.infradead.org/pub/openconnect/openconnect-7.07.tar.gz" url "ftp://ftp.infradead.org/pub/openconnect/openconnect-7.07.tar.gz"
sha256 "f3ecfcd487dcd916748db38b4138c1e72c86347d6328b11dfe1d0af2821b8366" sha256 "f3ecfcd487dcd916748db38b4138c1e72c86347d6328b11dfe1d0af2821b8366"
revision 1
bottle do bottle do
sha256 "cbe08c848c2965016b4a01113781f033498e529a3ddbf86ca9c4528f34838cf9" => :sierra sha256 "cbe08c848c2965016b4a01113781f033498e529a3ddbf86ca9c4528f34838cf9" => :sierra
@ -18,12 +19,12 @@ class Openconnect < Formula
depends_on "libtool" => :build depends_on "libtool" => :build
end end
# No longer compiles against OpenSSL 1.0.2 - It chooses the system OpenSSL instead. option "with-gnutls", "Use GnuTLS instead of OpenSSL"
# https://lists.infradead.org/pipermail/openconnect-devel/2015-February/002757.html
depends_on "pkg-config" => :build depends_on "pkg-config" => :build
depends_on "gettext" depends_on "gettext"
depends_on "gnutls" depends_on "openssl" if build.without? "gnutls"
depends_on "gnutls" => :optional
depends_on "oath-toolkit" => :optional depends_on "oath-toolkit" => :optional
depends_on "stoken" => :optional depends_on "stoken" => :optional