2010-10-21 16:39:48 +01:00
|
|
|
{ stdenv, fetchurl, apacheHttpd }:
|
|
|
|
|
2014-11-07 10:36:30 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-10-21 16:39:48 +01:00
|
|
|
name = "mod_fastcgi-2.4.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-11-07 10:36:30 +00:00
|
|
|
url = "http://www.fastcgi.com/dist/${name}.tar.gz";
|
2010-10-21 16:39:48 +01:00
|
|
|
sha256 = "12g6vcfl9jl8rqf8lzrkdxg2ngca310d3d6an563xqcgrkp8ga55";
|
|
|
|
};
|
|
|
|
|
2014-11-07 10:36:30 +00:00
|
|
|
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";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2010-10-21 16:39:48 +01:00
|
|
|
buildInputs = [ apacheHttpd ];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
cp Makefile.AP2 Makefile
|
2016-04-16 17:40:36 +01:00
|
|
|
makeFlags="top_dir=${apacheHttpd.dev}/share prefix=$out"
|
2010-10-21 16:39:48 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.fastcgi.com/;
|
2010-10-21 16:39:48 +01:00
|
|
|
description = "Provide support for the FastCGI protocol";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
mod_fastcgi is a module for the Apache web server that enables
|
|
|
|
FastCGI - a standards based protocol for communicating with
|
|
|
|
applications that generate dynamic content for web pages. FastCGI
|
|
|
|
provides a superset of CGI functionality, but a subset of the
|
|
|
|
functionality of programming for a particular web server API.
|
|
|
|
Nonetheless, the feature set is rich enough for programming
|
|
|
|
virtually any type of web application, but the result is generally
|
|
|
|
more scalable.
|
|
|
|
'';
|
2010-10-25 14:13:03 +01:00
|
|
|
|
2011-07-14 22:54:58 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-05-16 21:30:20 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.peti ];
|
2010-10-21 16:39:48 +01:00
|
|
|
};
|
|
|
|
}
|