diff options
| author | Matt Whiteley | 2012-08-06 07:57:38 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-06 10:12:22 -0700 |
| commit | 2fa9b466cc8e247ddebe9029b270dd96cb9183d3 (patch) | |
| tree | 1e2e3a351ea4cd44e8bc5c274d7a09ac01b87b34 /Library/Formula/squid.rb | |
| parent | 84bf873aae08d72c0da9f49e03ff74202838e356 (diff) | |
| download | homebrew-2fa9b466cc8e247ddebe9029b270dd96cb9183d3.tar.bz2 | |
Squid 3.1.20
Closes #14007.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/squid.rb')
| -rw-r--r-- | Library/Formula/squid.rb | 12 |
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 |
