From 2e1be8618b4ad2e75ad71dcf161c47b1f4c4acef Mon Sep 17 00:00:00 2001
From: Michael Raskin <7c6f434c@mail.ru>
Date: Tue, 6 May 2008 07:02:33 +0000
Subject: [PATCH] Upgraded Squid. IPv6 does not work fully yet.

svn path=/nixpkgs/trunk/; revision=11756
---
 pkgs/servers/squid/default.nix | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/pkgs/servers/squid/default.nix b/pkgs/servers/squid/default.nix
index 6bf63ae027b3..3ae7053f9294 100644
--- a/pkgs/servers/squid/default.nix
+++ b/pkgs/servers/squid/default.nix
@@ -6,13 +6,15 @@ args:
     }; 
 
     extraAttrs = co : {
-      name = "squid-2.6-stable";
+      name = "squid-3.0-stable5";
 
       src = args.fetchurl {
-        url = http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE16.tar.bz2;
-        sha256 = "1iv21a4cl74bqzrk07l0lbzlq3n9qpd0r31fgsjv2dsabj46qc4y";
+        url = http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE5.tar.bz2;
+        sha256 = "1m4ccpjw30q9vwsycmgg9dmhly0mpznvxrch6f7dxgfzpjp26l7w";
       };
 
+      configureFlags = ["--enable-ipv6"];
+
       meta = { 
         description = "http-proxy";
         homepage = "http://www.squid-cache.org";