lighttpd: 1.4.59 -> 1.4.63
This commit is contained in:
parent
d18d62d487
commit
a0b3813092
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user