squid http proxy server/client- compiles / untested

svn path=/nixpkgs/branches/stdenv-updates/; revision=9888
This commit is contained in:
Yury G. Kudryashov 2007-12-08 01:09:23 +00:00
parent 4dd6b835b1
commit c84b069866
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,22 @@
args:
( args.mkDerivationByConfiguration {
flagConfig = {
mandatory = { buildInputs = [ "perl" ]; };
# many options I don't know wether they should be default ..
};
extraAttrs = co : {
name = "squid-2.6-stable";
src = args.fetchurl {
url = http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE16.tar.bz2;
sha256 = "1iv21a4cl74bqzrk07l0lbzlq3n9qpd0r31fgsjv2dsabj46qc4y";
};
meta = {
description = "http-proxy";
homepage = "http://www.squid-cache.org";
license = "GPL2";
};
};
} ) args

View File

@ -2784,6 +2784,11 @@ rec {
inherit stdenv fetchurl readline openldap pam;
};
squid = import ../servers/squid {
inherit fetchurl stdenv mkDerivationByConfiguration perl;
lib = lib_unstable;
};
tomcat5 = import ../servers/http/tomcat {
inherit fetchurl stdenv jdk;
};