aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-30 08:57:12 -0700
committerAdam Vandenberg2010-04-30 08:57:12 -0700
commit1697531234ea55bbf7e24cf4e6a580ceaeb5e613 (patch)
tree240a2e15e9a89d6c555fa8b687d0873c15767432 /Library/Formula
parent83589bbfcb701637fde189406536e46328650b33 (diff)
downloadhomebrew-1697531234ea55bbf7e24cf4e6a580ceaeb5e613.tar.bz2
Update nginx
* Update homepage and download links to new domain * Add developmenet version as --HEAD
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'