aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBrett Koonce2015-04-19 09:01:02 -0700
committerBrett Koonce2015-04-19 20:04:01 -0700
commit6efcce80ac73fc2c6fad1ae97f8af2c1dfa223c9 (patch)
tree52a93b9347da6aab76a081156179ec32835dce5f /Library
parent5f37a635e6ca61b1f14909cb35af4dfc0d3c3fae (diff)
downloadhomebrew-6efcce80ac73fc2c6fad1ae97f8af2c1dfa223c9.tar.bz2
openlitespeed 1.3.10, make openssl required, nits
Closes #34726. Closes #38827.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/openlitespeed.rb21
1 files changed, 8 insertions, 13 deletions
diff --git a/Library/Formula/openlitespeed.rb b/Library/Formula/openlitespeed.rb
index 53dddaae4..086cf0a2d 100644
--- a/Library/Formula/openlitespeed.rb
+++ b/Library/Formula/openlitespeed.rb
@@ -1,26 +1,21 @@
-require "formula"
-
class Openlitespeed < Formula
homepage "http://open.litespeedtech.com/mediawiki/"
- url "http://open.litespeedtech.com/packages/openlitespeed-1.2.9.tgz"
- sha1 "dbdfa1337caeabaca6814e2c12266f5570f14dd7"
+ url "http://open.litespeedtech.com/packages/openlitespeed-1.3.10.tgz"
+ sha1 "4a409b65cacc3ee5e2855ab213a5f3e9858a8003"
head "https://github.com/litespeedtech/openlitespeed.git"
- option "with-debug", 'Compile with support for debug log'
- option "with-spdy", 'Compile with support for SPDY module'
+ option "with-debug", "Compile with support for debug log"
+ option "with-spdy", "Compile with support for SPDY module"
depends_on "pcre"
depends_on "geoip"
- # SPDY needs openssl >= 1.0.1 for NPN; see:
- # https://tools.ietf.org/agenda/82/slides/tls-3.pdf
- # http://www.openssl.org/news/changelog.html
- depends_on "openssl" if build.with? 'spdy'
+ depends_on "openssl"
def install
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
- args << "--enable-debug" if build.with? 'debug'
- args << "--enable-spdy" if build.with? 'spdy'
- args << "--with-openssl=#{Formula["openssl"].opt_prefix}" if build.with? 'spdy'
+ args << "--enable-debug" if build.with? "debug"
+ args << "--enable-spdy" if build.with? "spdy"
+ args << "--with-openssl=#{Formula["openssl"].opt_prefix}"
system "./configure", *args
system "make", "install"
end