summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-01-15 20:36:36 +0000
committerBjørn Forsman <bjorn.forsman@gmail.com>2022-01-17 00:27:40 +0100
commita0b3813092d6645ee5248f6c931ebd15e92e7293 (patch)
tree9bf8143590ab85af63aea3309ba2fabc5c51256b /pkgs/servers/http
parentd18d62d487a523376369559fa7425f67c958da8b (diff)
downloadnixpkgs-a0b3813092d6645ee5248f6c931ebd15e92e7293.tar
nixpkgs-a0b3813092d6645ee5248f6c931ebd15e92e7293.tar.gz
nixpkgs-a0b3813092d6645ee5248f6c931ebd15e92e7293.tar.bz2
nixpkgs-a0b3813092d6645ee5248f6c931ebd15e92e7293.tar.lz
nixpkgs-a0b3813092d6645ee5248f6c931ebd15e92e7293.tar.xz
nixpkgs-a0b3813092d6645ee5248f6c931ebd15e92e7293.tar.zst
nixpkgs-a0b3813092d6645ee5248f6c931ebd15e92e7293.zip
lighttpd: 1.4.59 -> 1.4.63
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/lighttpd/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/servers/http/lighttpd/default.nix b/pkgs/servers/http/lighttpd/default.nix
index 4f98e3c7dab..c5a5fce515f 100644
--- a/pkgs/servers/http/lighttpd/default.nix
+++ b/pkgs/servers/http/lighttpd/default.nix
@@ -13,17 +13,21 @@
 
 stdenv.mkDerivation rec {
   pname = "lighttpd";
-  version = "1.4.59";
+  version = "1.4.63";
 
   src = fetchurl {
     url = "https://download.lighttpd.net/lighttpd/releases-${lib.versions.majorMinor version}.x/${pname}-${version}.tar.xz";
-    sha256 = "sha256-+5U9snPa7wjttuICVWyuij0H7tYIHJa9mQPblX0QhNU=";
+    sha256 = "1fgasvif13gvzz4rf5mjpy28cbw9fs4ymhx18494mxgb080pzvra";
   };
 
   postPatch = ''
     patchShebangs tests
     # Linux sandbox has an empty hostname and not /etc/hosts, which fails some tests
     sed -ire '/[$]self->{HOSTNAME} *=/i     if(length($name)==0) { $name = "127.0.0.1" }' tests/LightyTest.pm
+    # it's difficult to prevent this test from trying to use /var/tmp (which
+    # the sandbox doesn't have) so until libredirect has support for mkstemp
+    # calls it's easiest to disable it
+    sed -i '/test_mod_ssi/d' src/t/test_mod.c
   '';
 
   depsBuildBuild = [ buildPackages.stdenv.cc ];