1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

fcgi: 2.4.0 -> 2.4.2

This commit is contained in:
Jörg Thalheim 2020-03-31 08:35:52 +01:00
parent 8ef9611645
commit 35523fbb0d
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -1,24 +1,17 @@
{ stdenv, fetchurl, fetchpatch }:
{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "fcgi";
version = "2.4.0";
version = "2.4.2";
src = fetchurl {
url = "https://launchpad.net/debian/+archive/primary/+files/libfcgi_${version}.orig.tar.gz";
# url = "http://www.fastcgi.com/dist/${name}.tar.gz";
sha256 = "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36";
src = fetchFromGitHub {
owner = "FastCGI-Archives";
repo = "fcgi2";
rev = version;
sha256 = "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1";
};
patches = [
./gcc-4.4.diff
(fetchpatch {
# Fix a stack-smashing bug:
# xhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681591
url = "https://bugs.launchpad.net/ubuntu/+source/libfcgi/+bug/933417/+attachment/2745025/+files/poll.patch";
sha256 = "0v3gw0smjvrxh1bv3zx9xp633gbv5dd5bcn3ipj6ckqjyv4i6i7m";
})
];
nativeBuildInputs = [ autoreconfHook ];
postInstall = "ln -s . $out/include/fastcgi";