2006-02-28 04:01:39 -08:00
|
|
|
{ stdenv, fetchurl, openssl, db4, expat, perl, zlib
|
2003-11-05 04:17:48 -08:00
|
|
|
, sslSupport, db4Support
|
|
|
|
}:
|
2003-12-21 13:25:38 -08:00
|
|
|
|
2004-03-27 07:47:48 -08:00
|
|
|
assert sslSupport -> openssl != null;
|
|
|
|
assert db4Support -> db4 != null;
|
|
|
|
assert expat != null && perl != null;
|
2003-12-21 13:25:38 -08:00
|
|
|
|
2004-03-29 09:23:01 -08:00
|
|
|
stdenv.mkDerivation {
|
2007-09-10 02:52:29 -07:00
|
|
|
name = "apache-httpd-2.2.6";
|
2003-11-05 04:17:48 -08:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2007-09-10 02:52:29 -07:00
|
|
|
url = http://archive.apache.org/dist/httpd/httpd-2.2.6.tar.bz2;
|
|
|
|
md5 = "203bea91715064f0c787f6499d33a377";
|
2003-11-05 08:28:26 -08:00
|
|
|
};
|
2003-11-05 04:17:48 -08:00
|
|
|
|
2004-03-27 07:47:48 -08:00
|
|
|
inherit sslSupport db4Support;
|
2003-12-21 13:25:38 -08:00
|
|
|
|
2006-02-28 04:01:39 -08:00
|
|
|
inherit perl expat zlib;
|
2004-03-27 07:47:48 -08:00
|
|
|
openssl = if sslSupport then openssl else null;
|
|
|
|
db4 = if db4Support then db4 else null;
|
2006-10-11 09:45:55 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Apache HTTPD, the world's most popular web server";
|
|
|
|
};
|
2003-11-05 04:17:48 -08:00
|
|
|
}
|