diff options
author | Peter Simons <simons@cryp.to> | 2019-03-05 12:06:40 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2019-03-05 12:08:20 +0100 |
commit | 0356c1b87d2d523bfd69b59cfc129dda77c77bec (patch) | |
tree | 6d3d090e3b8726ea687bf895ed1d5ab517d50ee2 | |
parent | 2c75686985dda7a47c442830c1704b1f5010c1b8 (diff) | |
download | nixlib-0356c1b87d2d523bfd69b59cfc129dda77c77bec.tar nixlib-0356c1b87d2d523bfd69b59cfc129dda77c77bec.tar.gz nixlib-0356c1b87d2d523bfd69b59cfc129dda77c77bec.tar.bz2 nixlib-0356c1b87d2d523bfd69b59cfc129dda77c77bec.tar.lz nixlib-0356c1b87d2d523bfd69b59cfc129dda77c77bec.tar.xz nixlib-0356c1b87d2d523bfd69b59cfc129dda77c77bec.tar.zst nixlib-0356c1b87d2d523bfd69b59cfc129dda77c77bec.zip |
mod_fastcgi: update to version 2.4.7.1
-rw-r--r-- | pkgs/servers/http/apache-modules/mod_fastcgi/default.nix | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix b/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix index 647589621029..ff767d9ad437 100644 --- a/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix +++ b/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix @@ -1,20 +1,23 @@ { stdenv, fetchurl, apacheHttpd }: -stdenv.mkDerivation rec { - name = "mod_fastcgi-2.4.6"; +let + version = "2.4.7.1"; + + apache-24-patch = fetchurl { + name = "compile-against-apache24.diff"; + url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/compile-against-apache24.diff?h=packages/mod_fastcgi&id=81c7cb99d15682df3bdb1edcaeea5259e9e43a42"; + sha256 = "000qvrf5jb979i37rimrdivcgjijcffgrpkx38c0rn62z9jz61g4"; + }; +in +stdenv.mkDerivation { + name = "mod_fastcgi-${version}"; src = fetchurl { - url = "http://www.fastcgi.com/dist/${name}.tar.gz"; + url = "https://github.com/FastCGI-Archives/mod_fastcgi/archive/${version}.tar.gz"; sha256 = "12g6vcfl9jl8rqf8lzrkdxg2ngca310d3d6an563xqcgrkp8ga55"; }; - patches = - [ (fetchurl { - name = "compile-against-apache24.diff"; - url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/compile-against-apache24.diff?h=packages/mod_fastcgi&id=81c7cb99d15682df3bdb1edcaeea5259e9e43a42"; - sha256 = "000qvrf5jb979i37rimrdivcgjijcffgrpkx38c0rn62z9jz61g4"; - }) - ]; + patches = [ apache-24-patch ]; buildInputs = [ apacheHttpd ]; @@ -24,7 +27,7 @@ stdenv.mkDerivation rec { ''; meta = { - homepage = http://www.fastcgi.com/; + homepage = https://github.com/FastCGI-Archives/mod_fastcgi; description = "Provide support for the FastCGI protocol"; longDescription = '' |