aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/squid.rb12
1 files changed, 9 insertions, 3 deletions
diff --git a/Library/Formula/squid.rb b/Library/Formula/squid.rb
index d65d83a9c..62eaec57b 100644
--- a/Library/Formula/squid.rb
+++ b/Library/Formula/squid.rb
@@ -5,20 +5,26 @@ class NoBdb5 < Requirement
This software can fail to compile when Berkeley-DB 5.x is installed.
You may need to try:
brew unlink berkeley-db
- brew install dsniff
+ brew install squid
brew link berkeley-db
EOS
end
+
def satisfied?
f = Formula.factory("berkeley-db")
not f.installed?
end
+
+ # Not fatal in case Squid starts working with a newer version of BDB.
+ def fatal?
+ false
+ end
end
class Squid < Formula
- url 'http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.9.tar.bz2'
homepage 'http://www.squid-cache.org/'
- md5 '896ace723445ac168986ba8854437ce3'
+ url 'http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.20.tar.bz2'
+ sha1 'caa8e65f5720dfd1bc4160946cdb86d9b23c20ab'
depends_on NoBdb5.new