lighttpd: 1.4.75 -> 1.4.76

The release tarball no longer comes with a ./configure script (related
to avoiding CVE-2024-3094 xz supply chain attack), so add autoreconfHook
to keep the build working.

https://www.lighttpd.net/2024/4/12/1.4.76/
This commit is contained in:
Bjørn Forsman 2024-09-10 22:29:54 +02:00
parent 5fb3f1dcf7
commit a65e693ed7

View File

@ -1,4 +1,5 @@
{ lib, stdenv, buildPackages, fetchurl, pkg-config, pcre2, libxml2, zlib, bzip2, which, file
, autoreconfHook
, openssl
, enableDbi ? false, libdbi
, enableMagnet ? false, lua5_1
@ -14,11 +15,11 @@
stdenv.mkDerivation rec {
pname = "lighttpd";
version = "1.4.75";
version = "1.4.76";
src = fetchurl {
url = "https://download.lighttpd.net/lighttpd/releases-${lib.versions.majorMinor version}.x/${pname}-${version}.tar.xz";
sha256 = "sha256-i3IcqTnTEq+qbvMdy9avtRYe04Wsgo5vzNTFt2vhidY=";
sha256 = "sha256-jL9CluNzz9DO3+nZeHYLWwXFj9xASLTivK8KYayPUBE=";
};
separateDebugInfo = true;
@ -29,7 +30,7 @@ stdenv.mkDerivation rec {
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ pcre2 pcre2.dev libxml2 zlib bzip2 which file openssl ]
++ lib.optional enableDbi libdbi
++ lib.optional enableMagnet lua5_1