b6e7d86525
With this patch support for SSL is compiled into lighttpd. IMO encryption is in most use cases important, therefore SSL support should be build in. This would simplify the setup of a standard web application a lot. SSL support of lighttpd is documented at http://redmine.lighttpd.net/projects/1/wiki/Docs_SSL
24 lines
676 B
Nix
24 lines
676 B
Nix
{ stdenv, fetchurl, pcre, libxml2, zlib, attr, bzip2, which, file, openssl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "lighttpd-1.4.32";
|
|
|
|
src = fetchurl {
|
|
url = http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.32.tar.xz;
|
|
sha256 = "1hgd9bi4mrak732h57na89lqg58b1kkchnddij9gawffd40ghs0k";
|
|
};
|
|
|
|
buildInputs = [ pcre libxml2 zlib attr bzip2 which file openssl ];
|
|
|
|
configureFlags = "--with-openssl --with-openssl-libs=${openssl}";
|
|
|
|
preConfigure = ''
|
|
sed -i "s:/usr/bin/file:${file}/bin/file:g" configure
|
|
'';
|
|
|
|
meta = {
|
|
description = "Lightweight high-performance web server";
|
|
homepage = http://www.lighttpd.net/;
|
|
license = "BSD";
|
|
};
|
|
}
|