aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nginx.rb12
1 files changed, 9 insertions, 3 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index 1591885b1..795ebf651 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -1,9 +1,15 @@
require 'formula'
class Nginx < Formula
- url 'http://sysoev.ru/nginx/nginx-0.7.65.tar.gz'
- md5 'abc4f76af450eedeb063158bd963feaa'
- homepage 'http://nginx.net/'
+ url 'http://nginx.org/download/nginx-0.7.65.tar.gz'
+ head 'http://nginx.org/download/nginx-0.8.36.tar.gz'
+ homepage 'http://nginx.org/'
+
+ if ARGV.include? '--HEAD'
+ @md5='171d88e44be3025a0bdac48c4eecd743'
+ else
+ @md5='abc4f76af450eedeb063158bd963feaa'
+ end
depends_on 'pcre'