From 0fd08c2e2e31b1c38fbcd7f1ec635fec7d19df1f Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Tue, 14 Apr 2015 19:45:49 +0100 Subject: 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 --- Library/Formula/h2o.rb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'Library') 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" -- cgit v1.2.3