squid http proxy server/client- compiles / untested
svn path=/nixpkgs/branches/stdenv-updates/; revision=9888
This commit is contained in:
parent
4dd6b835b1
commit
c84b069866
22
pkgs/servers/squid/default.nix
Normal file
22
pkgs/servers/squid/default.nix
Normal 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
|
@ -2784,6 +2784,11 @@ rec {
|
|||||||
inherit stdenv fetchurl readline openldap pam;
|
inherit stdenv fetchurl readline openldap pam;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
squid = import ../servers/squid {
|
||||||
|
inherit fetchurl stdenv mkDerivationByConfiguration perl;
|
||||||
|
lib = lib_unstable;
|
||||||
|
};
|
||||||
|
|
||||||
tomcat5 = import ../servers/http/tomcat {
|
tomcat5 = import ../servers/http/tomcat {
|
||||||
inherit fetchurl stdenv jdk;
|
inherit fetchurl stdenv jdk;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user