diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-03-31 14:35:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 14:35:56 +0100 |
commit | 3d6b05766c7277de4203d8f64c32d5e8fc2ae1c3 (patch) | |
tree | 6ac02ae84c27bed3406d98e1a58f9341f3a9ce6a /pkgs | |
parent | e141fe2e5243412c6d32f7ffdf9a312c27ce87e7 (diff) | |
parent | 35523fbb0d8a1df4a6e2cd31a97a5f8063b1901d (diff) |
Merge pull request #83857 from Mic92/fcgi
fcgi: 2.4.0 -> 2.4.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/fcgi/default.nix | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/pkgs/development/libraries/fcgi/default.nix b/pkgs/development/libraries/fcgi/default.nix index 5eb7e3866ce6..0f580e3cd2b4 100644 --- a/pkgs/development/libraries/fcgi/default.nix +++ b/pkgs/development/libraries/fcgi/default.nix @@ -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"; |