2008-12-21 16:36:47 +00:00
|
|
|
args: with args;
|
|
|
|
let edf = composableDerivation.edf; in
|
|
|
|
rec {
|
2009-03-06 23:21:24 +00:00
|
|
|
squid30 = composableDerivation.composableDerivation {} {
|
2011-08-30 07:02:01 +00:00
|
|
|
name = "squid-3.0-stable26";
|
2008-12-21 16:36:47 +00:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
buildInputs = [perl];
|
2008-12-21 16:36:47 +00:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
src = args.fetchurl {
|
2011-08-30 07:02:01 +00:00
|
|
|
url = http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE26.tar.bz2;
|
|
|
|
sha256 = "3e54ae3ad09870203862f0856c7d0cca16a85f62d5012085009003ee3d5467b4";
|
2009-03-06 23:21:24 +00:00
|
|
|
};
|
2008-12-21 16:36:47 +00:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
configureFlags = ["--enable-ipv6"];
|
2008-12-21 16:36:47 +00:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
meta = {
|
|
|
|
description = "http-proxy";
|
|
|
|
homepage = "http://www.squid-cache.org";
|
|
|
|
license = "GPL2";
|
2008-12-21 16:36:47 +00:00
|
|
|
};
|
2009-03-06 23:21:24 +00:00
|
|
|
|
2008-12-21 16:36:47 +00:00
|
|
|
};
|
|
|
|
|
2011-08-30 07:02:01 +00:00
|
|
|
squid31 = squid30.merge {
|
|
|
|
name = "squid-3.1.15";
|
2008-12-21 16:36:47 +00:00
|
|
|
src = args.fetchurl {
|
2011-08-30 07:02:01 +00:00
|
|
|
url = http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.15.tar.bz2;
|
|
|
|
sha256 = "1300f44dd4783697bacc262a7a9b32dbc9f550367fe82b70262864fdff715a35";
|
2008-12-21 16:36:47 +00:00
|
|
|
};
|
|
|
|
configureFlags = ["--enable-ipv6"];
|
|
|
|
};
|
|
|
|
|
2011-08-30 07:02:01 +00:00
|
|
|
squid32Beta = squid30.merge {
|
|
|
|
name = "squid-3.2.0.11";
|
2008-12-21 16:36:47 +00:00
|
|
|
src = args.fetchurl {
|
2011-08-30 07:02:01 +00:00
|
|
|
url = http://www.squid-cache.org/Versions/v3/3.2/squid-3.2.0.11.tar.bz2;
|
|
|
|
sha256 = "aa5b9a85e1a90c4adb591c3e796c3fdfb166d8d2c814165d70692636321f69ae";
|
2008-12-21 16:36:47 +00:00
|
|
|
};
|
2011-08-30 07:02:01 +00:00
|
|
|
configureFlags = ["--enable-ipv6"];
|
|
|
|
buildInputs = [openldap pam db4 cyrus_sasl libcap expat libxml2
|
|
|
|
libtool openssl];
|
2008-12-21 16:36:47 +00:00
|
|
|
};
|
|
|
|
|
2011-08-30 07:02:01 +00:00
|
|
|
latest = squid32Beta;
|
2008-12-21 16:36:47 +00:00
|
|
|
}
|