aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Krupenik2011-03-28 00:18:36 +0300
committerAdam Vandenberg2011-03-27 14:26:20 -0700
commitfba601fa9a44ae99e87a429275caa5cd0a5583a2 (patch)
tree22939383f6f8f75d843b146697f3febaa115982d
parentb8c76f97e2bcd6427a3e6e8d1704fa6c1ec51db7 (diff)
downloadhomebrew-fba601fa9a44ae99e87a429275caa5cd0a5583a2.tar.bz2
nginx: head updated to 0.9.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/nginx.rb14
1 files changed, 9 insertions, 5 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index 7f28292ab..74e85043a 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -2,13 +2,13 @@ require 'formula'
class Nginx < Formula
url 'http://nginx.org/download/nginx-0.8.54.tar.gz'
- head 'http://nginx.org/download/nginx-0.9.5.tar.gz'
+ head 'http://nginx.org/download/nginx-0.9.6.tar.gz'
homepage 'http://nginx.org/'
if ARGV.build_head?
- @md5='955960482bf55b537ad0db5cca8fd61a'
+ md5 'bb2dbacd4e66c4c578e0ac44b2f006b5'
else
- @md5='44df4eb6a22d725021288c570789046f'
+ md5 '44df4eb6a22d725021288c570789046f'
end
depends_on 'pcre'
@@ -42,9 +42,13 @@ class Nginx < Formula
end
def install
- args = ["--prefix=#{prefix}", "--with-http_ssl_module", "--with-pcre",
- "--conf-path=#{etc}/nginx/nginx.conf", "--pid-path=#{var}/run/nginx.pid",
+ args = ["--prefix=#{prefix}",
+ "--with-http_ssl_module",
+ "--with-pcre",
+ "--conf-path=#{etc}/nginx/nginx.conf",
+ "--pid-path=#{var}/run/nginx.pid",
"--lock-path=#{var}/nginx/nginx.lock"]
+
args << passenger_config_args if ARGV.include? '--with-passenger'
args << "--with-http_dav_module" if ARGV.include? '--with-webdav'