Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
cyassl 3.4.0
Browse files Browse the repository at this point in the history
Another SSL/TLS toolkit has gone through a rebranding. Cyassl > WolfSSL
this time.

Closes #37435.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
DomT4 authored and jacknagel committed Mar 7, 2015
1 parent 1e8615d commit 1f96591
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions Library/Aliases/wolfssl
16 changes: 10 additions & 6 deletions Library/Formula/cyassl.rb
@@ -1,9 +1,8 @@
class Cyassl < Formula
homepage "http://yassl.com/yaSSL/Products-cyassl.html"
url "https://github.com/cyassl/cyassl/archive/v3.3.0.tar.gz"
sha256 "585ca95b23a44da2d0e042bd0aef95ce770cd541028b76dc45f29ab62ad3ad4a"

head "https://github.com/cyassl/cyassl.git"
homepage "http://www.wolfssl.com/yaSSL/Home.html"
url "https://github.com/wolfSSL/wolfssl/archive/v3.4.0.tar.gz"
sha256 "e23b7939c04bf18efa353ff9abfeaba3bcf454e47c9ced45e2aadab6660245f0"
head "https://github.com/wolfSSL/wolfssl.git"

bottle do
cellar :any
Expand All @@ -19,6 +18,8 @@ class Cyassl < Formula
depends_on "libtool" => :build

def install
# At some point it'd be nice to be able to "--disable-md5" but:
# https://github.com/wolfSSL/wolfssl/issues/26
args = %W[
--disable-silent-rules
--disable-dependency-tracking
Expand All @@ -27,6 +28,7 @@ def install
--prefix=#{prefix}
--sysconfdir=#{etc}
--disable-bump
--disable-examples
--disable-fortress
--disable-sniffer
--disable-webserver
Expand All @@ -40,8 +42,10 @@ def install
--enable-crl
--enable-crl-monitor
--enable-dtls
--enable-dh
--enable-ecc
--enable-eccencrypt
--enable-ecc25519
--enable-filesystem
--enable-hc128
--enable-hkdf
Expand Down Expand Up @@ -82,6 +86,6 @@ def install
end

test do
system bin/"cyassl-config", "--cflags", "--libs", "--prefix"
system bin/"wolfssl-config", "--cflags", "--libs", "--prefix"
end
end

0 comments on commit 1f96591

Please sign in to comment.