2015-09-15 06:27:19 +02:00
|
|
|
args @ { fetchurl, stdenv, perl, lib, composableDerivation
|
|
|
|
, openldap, pam, db, cyrus_sasl, kerberos, libcap, expat, libxml2, libtool
|
|
|
|
, openssl, ... }: with args;
|
2008-12-21 17:36:47 +01:00
|
|
|
let edf = composableDerivation.edf; in
|
|
|
|
rec {
|
2009-03-07 00:21:24 +01:00
|
|
|
squid30 = composableDerivation.composableDerivation {} {
|
2011-08-30 09:02:01 +02:00
|
|
|
name = "squid-3.0-stable26";
|
2008-12-21 17:36:47 +01:00
|
|
|
|
2009-03-07 00:21:24 +01:00
|
|
|
buildInputs = [perl];
|
2008-12-21 17:36:47 +01:00
|
|
|
|
2009-03-07 00:21:24 +01:00
|
|
|
src = args.fetchurl {
|
2011-08-30 09:02:01 +02:00
|
|
|
url = http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE26.tar.bz2;
|
|
|
|
sha256 = "3e54ae3ad09870203862f0856c7d0cca16a85f62d5012085009003ee3d5467b4";
|
2009-03-07 00:21:24 +01:00
|
|
|
};
|
2008-12-21 17:36:47 +01:00
|
|
|
|
2015-05-13 11:37:14 +02:00
|
|
|
configureFlags = ["--enable-ipv6" "--disable-strict-error-checking" "--disable-arch-native"];
|
2008-12-21 17:36:47 +01:00
|
|
|
|
2009-03-07 00:21:24 +01:00
|
|
|
meta = {
|
|
|
|
description = "http-proxy";
|
|
|
|
homepage = "http://www.squid-cache.org";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2008-12-21 17:36:47 +01:00
|
|
|
};
|
2009-03-07 00:21:24 +01:00
|
|
|
|
2008-12-21 17:36:47 +01:00
|
|
|
};
|
|
|
|
|
2011-08-30 09:02:01 +02:00
|
|
|
squid31 = squid30.merge {
|
2013-12-04 04:00:42 +01:00
|
|
|
name = "squid-3.1.23";
|
2008-12-21 17:36:47 +01:00
|
|
|
src = args.fetchurl {
|
2013-12-04 04:00:42 +01:00
|
|
|
url = http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.23.tar.bz2;
|
|
|
|
sha256 = "13g4y0gg48xnlzrvpymb08gh25xi50y383faapkxws7i7v94305s";
|
2008-12-21 17:36:47 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-10-17 14:44:26 +02:00
|
|
|
squid32 = squid30.merge rec {
|
2013-12-23 04:18:34 +01:00
|
|
|
name = "squid-3.2.13";
|
2008-12-21 17:36:47 +01:00
|
|
|
src = args.fetchurl {
|
2012-03-30 07:21:56 +02:00
|
|
|
url = "http://www.squid-cache.org/Versions/v3/3.2/${name}.tar.bz2";
|
2013-12-23 04:18:34 +01:00
|
|
|
sha256 = "0dafqv00dr3nyrm9k47d6r7gv2r3f9hjd1ykl3kkvjca11r4n54j";
|
2008-12-21 17:36:47 +01:00
|
|
|
};
|
2014-01-31 21:05:37 +01:00
|
|
|
buildInputs = [openldap pam db cyrus_sasl libcap expat libxml2
|
2011-08-30 09:02:01 +02:00
|
|
|
libtool openssl];
|
2008-12-21 17:36:47 +01:00
|
|
|
};
|
|
|
|
|
2014-06-13 15:41:34 +02:00
|
|
|
squid34 = squid30.merge rec {
|
2015-01-15 00:54:26 +01:00
|
|
|
name = "squid-3.4.11";
|
2014-06-13 15:41:34 +02:00
|
|
|
src = args.fetchurl {
|
|
|
|
url = "http://www.squid-cache.org/Versions/v3/3.4/${name}.tar.bz2";
|
2015-01-15 00:54:26 +01:00
|
|
|
sha256 = "0p9dbsz541cpcc88albwpgq15jgpczv12j9b9g5xw6d3i977qm1h";
|
2014-06-13 15:41:34 +02:00
|
|
|
};
|
|
|
|
buildInputs = [openldap pam db cyrus_sasl libcap expat libxml2
|
|
|
|
libtool openssl];
|
|
|
|
configureFlags = ["--enable-ssl" "--enable-ssl-crtd"];
|
|
|
|
};
|
|
|
|
|
2015-01-17 23:53:27 +01:00
|
|
|
squid35 = squid30.merge rec {
|
|
|
|
name = "squid-3.5.1";
|
|
|
|
src = args.fetchurl {
|
|
|
|
url = "http://www.squid-cache.org/Versions/v3/3.5/${name}.tar.bz2";
|
|
|
|
sha256 = "0rfv1v5vkk7l08v4j16l0lz2grrzd8qf2n25i73qd7c8rgwd6a3x";
|
|
|
|
};
|
|
|
|
buildInputs = [openldap pam db cyrus_sasl libcap expat libxml2
|
|
|
|
libtool openssl];
|
|
|
|
configureFlags = ["--with-openssl" "--enable-ssl-crtd"];
|
|
|
|
};
|
|
|
|
|
|
|
|
latest = squid35;
|
2008-12-21 17:36:47 +01:00
|
|
|
}
|