nixpkgs/pkgs/servers/http/lighttpd/default.nix
Bjørn Forsman c3190ef1d8 lighttpd: bump to version 1.4.32
One important denial of service (in 1.4.31) fix: CVE-2012-5533[1].

NOTE: There are some errors about missing commands during the build, but
I'm pretty sure they were there before. And the result seems to be
working anyway...

 * /usr/bin/file: No such file or directory
 * /bin/sh: line 2: which: command not found
 * /tmp/nix-build-lighttpd-1.4.32.drv-0/lighttpd-1.4.32/libtool: line 1085: ldconfig: command not found

[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5533
2013-04-01 14:12:03 +02:00

18 lines
481 B
Nix

{ stdenv, fetchurl, pcre, libxml2, zlib, attr, bzip2 }:
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 ];
meta = {
description = "Lightweight high-performance web server";
homepage = http://www.lighttpd.net/;
license = "BSD";
};
}