summaryrefslogtreecommitdiff
path: root/net-www
authorMichael Krelin <hacker@klever.net>2007-02-21 00:07:29 (UTC)
committer Michael Krelin <hacker@klever.net>2007-02-21 00:07:29 (UTC)
commit06eceaf988f966802327a9c13afec67470727c5c (patch) (side-by-side diff)
tree2a02ce03ce052537d5fb486f1350401199fb490a /net-www
parentb79a537f73399ba31ad0f3786160a96283af16d5 (diff)
downloadasylum-06eceaf988f966802327a9c13afec67470727c5c.zip
asylum-06eceaf988f966802327a9c13afec67470727c5c.tar.gz
asylum-06eceaf988f966802327a9c13afec67470727c5c.tar.bz2
mod_fastcgi: added
Diffstat (limited to 'net-www') (more/less context) (ignore whitespace changes)
-rw-r--r--net-www/mod_fastcgi/Manifest16
-rw-r--r--net-www/mod_fastcgi/files/20_mod_fastcgi.conf9
-rw-r--r--net-www/mod_fastcgi/files/digest-mod_fastcgi-2.4.2-r23
-rw-r--r--net-www/mod_fastcgi/files/mod_fastcgi-2.4.2-apache-2.2.patch151
-rw-r--r--net-www/mod_fastcgi/mod_fastcgi-2.4.2-r2.ebuild31
5 files changed, 210 insertions, 0 deletions
diff --git a/net-www/mod_fastcgi/Manifest b/net-www/mod_fastcgi/Manifest
new file mode 100644
index 0000000..19ad37e
--- a/dev/null
+++ b/net-www/mod_fastcgi/Manifest
@@ -0,0 +1,16 @@
+AUX 20_mod_fastcgi.conf 204 RMD160 effa368767d9b160a0d2c0aa4828b6166bec7d3e SHA1 0ef95bac538b400104d67fa9b5320421eebba185 SHA256 6c31850ab2eb495dacdbe6ce20f87503f949a8484c03657423937977b05a0a91
+MD5 709e3f3ccebd28f724dfb31214318287 files/20_mod_fastcgi.conf 204
+RMD160 effa368767d9b160a0d2c0aa4828b6166bec7d3e files/20_mod_fastcgi.conf 204
+SHA256 6c31850ab2eb495dacdbe6ce20f87503f949a8484c03657423937977b05a0a91 files/20_mod_fastcgi.conf 204
+AUX mod_fastcgi-2.4.2-apache-2.2.patch 2923 RMD160 e05a313811a7954aa81c9bcaffa3a62eeeb4c739 SHA1 7500cced68531bcbcd160a131289757c03b21186 SHA256 5f671ae358f9816a6bced78b686c4791417708d54ba1cd04e362846b4a9e1d51
+MD5 5dfb244c52aa7e21afbe7d95e7a8b993 files/mod_fastcgi-2.4.2-apache-2.2.patch 2923
+RMD160 e05a313811a7954aa81c9bcaffa3a62eeeb4c739 files/mod_fastcgi-2.4.2-apache-2.2.patch 2923
+SHA256 5f671ae358f9816a6bced78b686c4791417708d54ba1cd04e362846b4a9e1d51 files/mod_fastcgi-2.4.2-apache-2.2.patch 2923
+DIST mod_fastcgi-2.4.2.tar.gz 98295 RMD160 83c01567bb9a6d39345573137408615260972e1e SHA1 a56be62a3f08262ae187989f5dacb3464a030e2e SHA256 864846fa025741bac88290e204dbb17e5be534990cc6c7218342edac58d13615
+EBUILD mod_fastcgi-2.4.2-r2.ebuild 918 RMD160 b76fb23349a44a3bbb72d7822c7da3c28928464e SHA1 f0eebfa6e7d44c648c138691d5fdb8bd3ca8d6a6 SHA256 9efab497c6b58bc0435a1bf8907226f5b67b67be003633267abbe07e3cee5ab0
+MD5 14ca3d5dec084a1fa8127df83070ec59 mod_fastcgi-2.4.2-r2.ebuild 918
+RMD160 b76fb23349a44a3bbb72d7822c7da3c28928464e mod_fastcgi-2.4.2-r2.ebuild 918
+SHA256 9efab497c6b58bc0435a1bf8907226f5b67b67be003633267abbe07e3cee5ab0 mod_fastcgi-2.4.2-r2.ebuild 918
+MD5 a1c220554dba427eedb48524c9f61404 files/digest-mod_fastcgi-2.4.2-r2 250
+RMD160 5fb7e7e42a73aac5ebd6f9ff83f215f0fab07c9d files/digest-mod_fastcgi-2.4.2-r2 250
+SHA256 f8b1ff31108122b6908129e4efd050ad9a1c6269ab6a1e504f33b8d0840066a1 files/digest-mod_fastcgi-2.4.2-r2 250
diff --git a/net-www/mod_fastcgi/files/20_mod_fastcgi.conf b/net-www/mod_fastcgi/files/20_mod_fastcgi.conf
new file mode 100644
index 0000000..c5568ed
--- a/dev/null
+++ b/net-www/mod_fastcgi/files/20_mod_fastcgi.conf
@@ -0,0 +1,9 @@
+<IfDefine FASTCGI>
+ <IfModule !mod_fastcgi.c>
+ LoadModule fastcgi_module modules/mod_fastcgi.so
+ </IfModule>
+
+ <IfModule mod_fastcgi.c>
+ AddHandler fastcgi-script .fcg .fcgi
+ </IfModule>
+</IfDefine>
diff --git a/net-www/mod_fastcgi/files/digest-mod_fastcgi-2.4.2-r2 b/net-www/mod_fastcgi/files/digest-mod_fastcgi-2.4.2-r2
new file mode 100644
index 0000000..425a3f4
--- a/dev/null
+++ b/net-www/mod_fastcgi/files/digest-mod_fastcgi-2.4.2-r2
@@ -0,0 +1,3 @@
+MD5 e994414304b535cb99e10b7d1cad1d1e mod_fastcgi-2.4.2.tar.gz 98295
+RMD160 83c01567bb9a6d39345573137408615260972e1e mod_fastcgi-2.4.2.tar.gz 98295
+SHA256 864846fa025741bac88290e204dbb17e5be534990cc6c7218342edac58d13615 mod_fastcgi-2.4.2.tar.gz 98295
diff --git a/net-www/mod_fastcgi/files/mod_fastcgi-2.4.2-apache-2.2.patch b/net-www/mod_fastcgi/files/mod_fastcgi-2.4.2-apache-2.2.patch
new file mode 100644
index 0000000..fb77b99
--- a/dev/null
+++ b/net-www/mod_fastcgi/files/mod_fastcgi-2.4.2-apache-2.2.patch
@@ -0,0 +1,151 @@
+diff --git a/apa2compat.h b/apa2compat.h
+new file mode 100644
+index 0000000..0f31e13
+--- /dev/null
++++ b/apa2compat.h
+@@ -0,0 +1,66 @@
++#ifndef ap_register_cleanup
++# define ap_register_cleanup apr_pool_cleanup_register
++#endif
++#ifndef ap_null_cleanup
++# define ap_null_cleanup apr_pool_cleanup_null
++#endif
++#ifndef ap_table_do
++# define ap_table_do apr_table_do
++#endif
++#ifndef ap_table_get
++# define ap_table_get apr_table_get
++#endif
++#ifndef ap_make_array
++# define ap_make_array apr_array_make
++#endif
++#ifndef ap_palloc
++# define ap_palloc apr_palloc
++#endif
++#ifndef ap_destroy_pool
++# define ap_destroy_pool apr_pool_destroy
++#endif
++#ifndef ap_table_setn
++# define ap_table_setn apr_table_setn
++#endif
++#ifndef ap_pstrcat
++# define ap_pstrcat apr_pstrcat
++#endif
++#ifndef ap_table_unset
++# define ap_table_unset apr_table_unset
++#endif
++#ifndef ap_cpystrn
++# define ap_cpystrn apr_cpystrn
++#endif
++#ifndef ap_pcalloc
++# define ap_pcalloc apr_pcalloc
++#endif
++#ifndef ap_pstrdup
++# define ap_pstrdup apr_pstrdup
++#endif
++#ifndef ap_psprintf
++# define ap_psprintf apr_psprintf
++#endif
++#ifndef ap_table_add
++# define ap_table_add apr_table_add
++#endif
++#ifndef ap_push_array
++# define ap_push_array apr_array_push
++#endif
++#ifndef ap_copy_table
++# define ap_copy_table apr_table_copy
++#endif
++#ifndef ap_pstrndup
++# define ap_pstrndup apr_pstrndup
++#endif
++#ifndef ap_isspace
++# define ap_isspace apr_isspace
++#endif
++#ifndef ap_table_set
++# define ap_table_set apr_table_set
++#endif
++#ifndef ap_make_table
++# define ap_make_table apr_table_make
++#endif
++#ifndef ap_snprintf
++# define ap_snprintf apr_snprintf
++#endif
+diff --git a/fcgi_buf.c b/fcgi_buf.c
+index 545e67b..37e36ce 100644
+--- a/fcgi_buf.c
++++ b/fcgi_buf.c
+@@ -9,6 +9,8 @@
+ #else
+ #ifdef APACHE2
+ #include <unistd.h>
++
++#include "apa2compat.h"
+ #endif
+ #endif
+
+diff --git a/fcgi_config.c b/fcgi_config.c
+index 4591478..f63aba1 100644
+--- a/fcgi_config.c
++++ b/fcgi_config.c
+@@ -17,6 +17,8 @@
+ #include "unixd.h"
+ #endif
+
++#include "apa2compat.h"
++
+ #endif
+
+ #ifdef WIN32
+diff --git a/fcgi_pm.c b/fcgi_pm.c
+index f389078..2195cc8 100644
+--- a/fcgi_pm.c
++++ b/fcgi_pm.c
+@@ -10,6 +10,9 @@
+ #include <unistd.h>
+ #include "unixd.h"
+ #include "apr_signal.h"
++
++#include "apa2compat.h"
++
+ #endif
+
+ #ifndef WIN32
+diff --git a/fcgi_protocol.c b/fcgi_protocol.c
+index dc688b7..23fa42f 100644
+--- a/fcgi_protocol.c
++++ b/fcgi_protocol.c
+@@ -7,6 +7,7 @@
+
+ #ifdef APACHE2
+ #include "apr_lib.h"
++#include "apa2compat.h"
+ #endif
+
+ #ifdef WIN32
+diff --git a/fcgi_util.c b/fcgi_util.c
+index 1edcbe8..68d694d 100644
+--- a/fcgi_util.c
++++ b/fcgi_util.c
+@@ -17,6 +17,9 @@
+ #endif
+
+ #include "unixd.h"
++
++#include "apa2compat.h"
++
+ #endif
+
+ uid_t
+diff --git a/mod_fastcgi.c b/mod_fastcgi.c
+index 35b7e88..3a0a872 100644
+--- a/mod_fastcgi.c
++++ b/mod_fastcgi.c
+@@ -83,6 +83,8 @@
+ #include "unixd.h"
+
+ #endif
++
++#include "apa2compat.h"
+ #endif
+
+ #ifndef timersub
diff --git a/net-www/mod_fastcgi/mod_fastcgi-2.4.2-r2.ebuild b/net-www/mod_fastcgi/mod_fastcgi-2.4.2-r2.ebuild
new file mode 100644
index 0000000..815e6cd
--- a/dev/null
+++ b/net-www/mod_fastcgi/mod_fastcgi-2.4.2-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_fastcgi/mod_fastcgi-2.4.2-r1.ebuild,v 1.9 2006/06/05 18:30:57 chtekk Exp $
+
+inherit eutils apache-module
+
+DESCRIPTION="FastCGI is a language independent, scalable, open extension to CGI that provides high performance without the limitations of server specific APIs."
+KEYWORDS="amd64 ppc sparc x86"
+SLOT="0"
+HOMEPAGE="http://fastcgi.com/"
+SRC_URI="http://fastcgi.com/dist/${P}.tar.gz"
+LICENSE="mod_fastcgi"
+
+APXS1_ARGS="-c mod_fastcgi.c fcgi*.c"
+APXS2_ARGS="${APXS1_ARGS}"
+
+APACHE1_MOD_CONF="20_mod_fastcgi"
+APACHE2_MOD_CONF="20_mod_fastcgi"
+
+APACHE1_MOD_DEFINE="FASTCGI"
+APACHE2_MOD_DEFINE="FASTCGI"
+
+DOCFILES="CHANGES README docs/LICENSE.TERMS docs/mod_fastcgi.html"
+
+need_apache
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-apache-2.2.patch
+}