From 2fa9b466cc8e247ddebe9029b270dd96cb9183d3 Mon Sep 17 00:00:00 2001 From: Matt Whiteley Date: Mon, 6 Aug 2012 07:57:38 -0700 Subject: Squid 3.1.20 Closes #14007. Signed-off-by: Adam Vandenberg --- Library/Formula/squid.rb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3