aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDominyk Tiller2015-04-14 19:45:49 +0100
committerMike McQuaid2015-04-14 13:44:25 -0700
commit0fd08c2e2e31b1c38fbcd7f1ec635fec7d19df1f (patch)
tree69ce01c0144dbe9e32a1b25cb0febfbff2b8bf75 /Library/Formula
parent84b5a1ab0eec0fdc877a646b189d7f6cc60486d7 (diff)
downloadhomebrew-0fd08c2e2e31b1c38fbcd7f1ec635fec7d19df1f.tar.bz2
h2o 1.2.0
Version bump. libyaml is now bundled with no opt-out. LibreSSL becomes an option per upstream. We’re not using upstream’s bundled LibreSSL because in the event of a security problem we’re not waiting on upstream to bump the internal library. No other changes. Closes #38646. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/h2o.rb14
1 files changed, 9 insertions, 5 deletions
diff --git a/Library/Formula/h2o.rb b/Library/Formula/h2o.rb
index e125a4038..4cdc7a4e9 100644
--- a/Library/Formula/h2o.rb
+++ b/Library/Formula/h2o.rb
@@ -1,7 +1,7 @@
class H2o < Formula
homepage "https://github.com/h2o/h2o/"
- url "https://github.com/h2o/h2o/archive/v1.1.0.tar.gz"
- sha256 "01f86bd81c5428c033bbe342c0f8ec43ff111a6aaae7d5c91fb7e619c0c65c07"
+ url "https://github.com/h2o/h2o/archive/v1.2.0.tar.gz"
+ sha256 "09aacd84ea0a53eaffdc8e0c2a2cf1108bea5db81d5859a136221fd67f07833f"
head "https://github.com/h2o/h2o.git"
bottle do
@@ -13,13 +13,17 @@ class H2o < Formula
option "with-libuv", "Build the H2O library in addition to the executable."
depends_on "cmake" => :build
- depends_on "libyaml"
- depends_on "openssl"
+ depends_on "openssl" => :recommended
+ depends_on "libressl" => :optional
depends_on "libuv" => :optional
depends_on "wslay" => :optional
def install
- system "cmake", ".", *std_cmake_args
+ args = std_cmake_args
+ args << "."
+ args << "-DWITH_BUNDLED_SSL=OFF"
+
+ system "cmake", *args
if build.with? "libuv"
system "make", "libh2o"