2008-12-21 19:36:47 +03:00
|
|
|
args: with args;
|
|
|
|
let edf = composableDerivation.edf; in
|
|
|
|
rec {
|
2009-03-07 02:21:24 +03:00
|
|
|
squid30 = composableDerivation.composableDerivation {} {
|
2011-08-30 11:02:01 +04:00
|
|
|
name = "squid-3.0-stable26";
|
2008-12-21 19:36:47 +03:00
|
|
|
|
2009-03-07 02:21:24 +03:00
|
|
|
buildInputs = [perl];
|
2008-12-21 19:36:47 +03:00
|
|
|
|
2009-03-07 02:21:24 +03:00
|
|
|
src = args.fetchurl {
|
2011-08-30 11:02:01 +04:00
|
|
|
url = http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE26.tar.bz2;
|
|
|
|
sha256 = "3e54ae3ad09870203862f0856c7d0cca16a85f62d5012085009003ee3d5467b4";
|
2009-03-07 02:21:24 +03:00
|
|
|
};
|
2008-12-21 19:36:47 +03:00
|
|
|
|
2013-04-06 14:40:06 +04:00
|
|
|
configureFlags = ["--enable-ipv6" "--disable-strict-error-checking"];
|
2008-12-21 19:36:47 +03:00
|
|
|
|
2009-03-07 02:21:24 +03:00
|
|
|
meta = {
|
|
|
|
description = "http-proxy";
|
|
|
|
homepage = "http://www.squid-cache.org";
|
|
|
|
license = "GPL2";
|
2008-12-21 19:36:47 +03:00
|
|
|
};
|
2009-03-07 02:21:24 +03:00
|
|
|
|
2008-12-21 19:36:47 +03:00
|
|
|
};
|
|
|
|
|
2011-08-30 11:02:01 +04:00
|
|
|
squid31 = squid30.merge {
|
2013-12-04 07:00:42 +04:00
|
|
|
name = "squid-3.1.23";
|
2008-12-21 19:36:47 +03:00
|
|
|
src = args.fetchurl {
|
2013-12-04 07:00:42 +04:00
|
|
|
url = http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.23.tar.bz2;
|
|
|
|
sha256 = "13g4y0gg48xnlzrvpymb08gh25xi50y383faapkxws7i7v94305s";
|
2008-12-21 19:36:47 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-10-17 16:44:26 +04:00
|
|
|
squid32 = squid30.merge rec {
|
2013-12-23 07:18:34 +04:00
|
|
|
name = "squid-3.2.13";
|
2008-12-21 19:36:47 +03:00
|
|
|
src = args.fetchurl {
|
2012-03-30 09:21:56 +04:00
|
|
|
url = "http://www.squid-cache.org/Versions/v3/3.2/${name}.tar.bz2";
|
2013-12-23 07:18:34 +04:00
|
|
|
sha256 = "0dafqv00dr3nyrm9k47d6r7gv2r3f9hjd1ykl3kkvjca11r4n54j";
|
2008-12-21 19:36:47 +03:00
|
|
|
};
|
2014-02-01 00:05:37 +04:00
|
|
|
buildInputs = [openldap pam db cyrus_sasl libcap expat libxml2
|
2011-08-30 11:02:01 +04:00
|
|
|
libtool openssl];
|
2008-12-21 19:36:47 +03:00
|
|
|
};
|
|
|
|
|
2012-10-17 16:44:26 +04:00
|
|
|
latest = squid32;
|
2008-12-21 19:36:47 +03:00
|
|
|
}
|