summaryrefslogtreecommitdiff
path: root/www-apache
Unidiff
Diffstat (limited to 'www-apache') (more/less context) (ignore whitespace changes)
-rw-r--r--www-apache/mod_fastcgi/Manifest16
-rw-r--r--www-apache/mod_fastcgi/files/20_mod_fastcgi.conf9
-rw-r--r--www-apache/mod_fastcgi/files/digest-mod_fastcgi-2.4.2-r23
-rw-r--r--www-apache/mod_fastcgi/files/mod_fastcgi-2.4.2-apache-2.2.patch151
-rw-r--r--www-apache/mod_fastcgi/mod_fastcgi-2.4.2-r2.ebuild31
5 files changed, 210 insertions, 0 deletions
diff --git a/www-apache/mod_fastcgi/Manifest b/www-apache/mod_fastcgi/Manifest
new file mode 100644
index 0000000..1673a14
--- a/dev/null
+++ b/www-apache/mod_fastcgi/Manifest
@@ -0,0 +1,16 @@
1AUX 20_mod_fastcgi.conf 204 RMD160 effa368767d9b160a0d2c0aa4828b6166bec7d3e SHA1 0ef95bac538b400104d67fa9b5320421eebba185 SHA256 6c31850ab2eb495dacdbe6ce20f87503f949a8484c03657423937977b05a0a91
2MD5 709e3f3ccebd28f724dfb31214318287 files/20_mod_fastcgi.conf 204
3RMD160 effa368767d9b160a0d2c0aa4828b6166bec7d3e files/20_mod_fastcgi.conf 204
4SHA256 6c31850ab2eb495dacdbe6ce20f87503f949a8484c03657423937977b05a0a91 files/20_mod_fastcgi.conf 204
5AUX mod_fastcgi-2.4.2-apache-2.2.patch 2923 RMD160 e05a313811a7954aa81c9bcaffa3a62eeeb4c739 SHA1 7500cced68531bcbcd160a131289757c03b21186 SHA256 5f671ae358f9816a6bced78b686c4791417708d54ba1cd04e362846b4a9e1d51
6MD5 5dfb244c52aa7e21afbe7d95e7a8b993 files/mod_fastcgi-2.4.2-apache-2.2.patch 2923
7RMD160 e05a313811a7954aa81c9bcaffa3a62eeeb4c739 files/mod_fastcgi-2.4.2-apache-2.2.patch 2923
8SHA256 5f671ae358f9816a6bced78b686c4791417708d54ba1cd04e362846b4a9e1d51 files/mod_fastcgi-2.4.2-apache-2.2.patch 2923
9DIST mod_fastcgi-2.4.2.tar.gz 98295 RMD160 83c01567bb9a6d39345573137408615260972e1e SHA1 a56be62a3f08262ae187989f5dacb3464a030e2e SHA256 864846fa025741bac88290e204dbb17e5be534990cc6c7218342edac58d13615
10EBUILD mod_fastcgi-2.4.2-r2.ebuild 809 RMD160 becfd0861b997fb0d458bcc38940e9e0f697aea2 SHA1 7a6569f27363a9e04d9ae3905a63f2bfd872d0f3 SHA256 22cd8e703436a752b2d9394af76c78884f4fd9836c57fa8347098378ab616d14
11MD5 adb138d33a0951ec57f9434a8f42c600 mod_fastcgi-2.4.2-r2.ebuild 809
12RMD160 becfd0861b997fb0d458bcc38940e9e0f697aea2 mod_fastcgi-2.4.2-r2.ebuild 809
13SHA256 22cd8e703436a752b2d9394af76c78884f4fd9836c57fa8347098378ab616d14 mod_fastcgi-2.4.2-r2.ebuild 809
14MD5 a1c220554dba427eedb48524c9f61404 files/digest-mod_fastcgi-2.4.2-r2 250
15RMD160 5fb7e7e42a73aac5ebd6f9ff83f215f0fab07c9d files/digest-mod_fastcgi-2.4.2-r2 250
16SHA256 f8b1ff31108122b6908129e4efd050ad9a1c6269ab6a1e504f33b8d0840066a1 files/digest-mod_fastcgi-2.4.2-r2 250
diff --git a/www-apache/mod_fastcgi/files/20_mod_fastcgi.conf b/www-apache/mod_fastcgi/files/20_mod_fastcgi.conf
new file mode 100644
index 0000000..c5568ed
--- a/dev/null
+++ b/www-apache/mod_fastcgi/files/20_mod_fastcgi.conf
@@ -0,0 +1,9 @@
1<IfDefine FASTCGI>
2 <IfModule !mod_fastcgi.c>
3 LoadModule fastcgi_module modules/mod_fastcgi.so
4 </IfModule>
5
6 <IfModule mod_fastcgi.c>
7 AddHandler fastcgi-script .fcg .fcgi
8 </IfModule>
9</IfDefine>
diff --git a/www-apache/mod_fastcgi/files/digest-mod_fastcgi-2.4.2-r2 b/www-apache/mod_fastcgi/files/digest-mod_fastcgi-2.4.2-r2
new file mode 100644
index 0000000..425a3f4
--- a/dev/null
+++ b/www-apache/mod_fastcgi/files/digest-mod_fastcgi-2.4.2-r2
@@ -0,0 +1,3 @@
1MD5 e994414304b535cb99e10b7d1cad1d1e mod_fastcgi-2.4.2.tar.gz 98295
2RMD160 83c01567bb9a6d39345573137408615260972e1e mod_fastcgi-2.4.2.tar.gz 98295
3SHA256 864846fa025741bac88290e204dbb17e5be534990cc6c7218342edac58d13615 mod_fastcgi-2.4.2.tar.gz 98295
diff --git a/www-apache/mod_fastcgi/files/mod_fastcgi-2.4.2-apache-2.2.patch b/www-apache/mod_fastcgi/files/mod_fastcgi-2.4.2-apache-2.2.patch
new file mode 100644
index 0000000..fb77b99
--- a/dev/null
+++ b/www-apache/mod_fastcgi/files/mod_fastcgi-2.4.2-apache-2.2.patch
@@ -0,0 +1,151 @@
1diff --git a/apa2compat.h b/apa2compat.h
2new file mode 100644
3index 0000000..0f31e13
4--- /dev/null
5+++ b/apa2compat.h
6@@ -0,0 +1,66 @@
7+#ifndef ap_register_cleanup
8+# define ap_register_cleanup apr_pool_cleanup_register
9+#endif
10+#ifndef ap_null_cleanup
11+# define ap_null_cleanup apr_pool_cleanup_null
12+#endif
13+#ifndef ap_table_do
14+# define ap_table_do apr_table_do
15+#endif
16+#ifndef ap_table_get
17+# define ap_table_get apr_table_get
18+#endif
19+#ifndef ap_make_array
20+# define ap_make_array apr_array_make
21+#endif
22+#ifndef ap_palloc
23+# define ap_palloc apr_palloc
24+#endif
25+#ifndef ap_destroy_pool
26+# define ap_destroy_pool apr_pool_destroy
27+#endif
28+#ifndef ap_table_setn
29+# define ap_table_setn apr_table_setn
30+#endif
31+#ifndef ap_pstrcat
32+# define ap_pstrcat apr_pstrcat
33+#endif
34+#ifndef ap_table_unset
35+# define ap_table_unset apr_table_unset
36+#endif
37+#ifndef ap_cpystrn
38+# define ap_cpystrn apr_cpystrn
39+#endif
40+#ifndef ap_pcalloc
41+# define ap_pcalloc apr_pcalloc
42+#endif
43+#ifndef ap_pstrdup
44+# define ap_pstrdup apr_pstrdup
45+#endif
46+#ifndef ap_psprintf
47+# define ap_psprintf apr_psprintf
48+#endif
49+#ifndef ap_table_add
50+# define ap_table_add apr_table_add
51+#endif
52+#ifndef ap_push_array
53+# define ap_push_array apr_array_push
54+#endif
55+#ifndef ap_copy_table
56+# define ap_copy_table apr_table_copy
57+#endif
58+#ifndef ap_pstrndup
59+# define ap_pstrndup apr_pstrndup
60+#endif
61+#ifndef ap_isspace
62+# define ap_isspace apr_isspace
63+#endif
64+#ifndef ap_table_set
65+# define ap_table_set apr_table_set
66+#endif
67+#ifndef ap_make_table
68+# define ap_make_table apr_table_make
69+#endif
70+#ifndef ap_snprintf
71+# define ap_snprintf apr_snprintf
72+#endif
73diff --git a/fcgi_buf.c b/fcgi_buf.c
74index 545e67b..37e36ce 100644
75--- a/fcgi_buf.c
76+++ b/fcgi_buf.c
77@@ -9,6 +9,8 @@
78 #else
79 #ifdef APACHE2
80 #include <unistd.h>
81+
82+#include "apa2compat.h"
83 #endif
84 #endif
85
86diff --git a/fcgi_config.c b/fcgi_config.c
87index 4591478..f63aba1 100644
88--- a/fcgi_config.c
89+++ b/fcgi_config.c
90@@ -17,6 +17,8 @@
91 #include "unixd.h"
92 #endif
93
94+#include "apa2compat.h"
95+
96 #endif
97
98 #ifdef WIN32
99diff --git a/fcgi_pm.c b/fcgi_pm.c
100index f389078..2195cc8 100644
101--- a/fcgi_pm.c
102+++ b/fcgi_pm.c
103@@ -10,6 +10,9 @@
104 #include <unistd.h>
105 #include "unixd.h"
106 #include "apr_signal.h"
107+
108+#include "apa2compat.h"
109+
110 #endif
111
112 #ifndef WIN32
113diff --git a/fcgi_protocol.c b/fcgi_protocol.c
114index dc688b7..23fa42f 100644
115--- a/fcgi_protocol.c
116+++ b/fcgi_protocol.c
117@@ -7,6 +7,7 @@
118
119 #ifdef APACHE2
120 #include "apr_lib.h"
121+#include "apa2compat.h"
122 #endif
123
124 #ifdef WIN32
125diff --git a/fcgi_util.c b/fcgi_util.c
126index 1edcbe8..68d694d 100644
127--- a/fcgi_util.c
128+++ b/fcgi_util.c
129@@ -17,6 +17,9 @@
130 #endif
131
132 #include "unixd.h"
133+
134+#include "apa2compat.h"
135+
136 #endif
137
138 uid_t
139diff --git a/mod_fastcgi.c b/mod_fastcgi.c
140index 35b7e88..3a0a872 100644
141--- a/mod_fastcgi.c
142+++ b/mod_fastcgi.c
143@@ -83,6 +83,8 @@
144 #include "unixd.h"
145
146 #endif
147+
148+#include "apa2compat.h"
149 #endif
150
151 #ifndef timersub
diff --git a/www-apache/mod_fastcgi/mod_fastcgi-2.4.2-r2.ebuild b/www-apache/mod_fastcgi/mod_fastcgi-2.4.2-r2.ebuild
new file mode 100644
index 0000000..e6fee7a
--- a/dev/null
+++ b/www-apache/mod_fastcgi/mod_fastcgi-2.4.2-r2.ebuild
@@ -0,0 +1,31 @@
1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: $
4
5inherit eutils apache-module
6
7DESCRIPTION="FastCGI is a language independent, scalable, open extension to CGI that provides high performance without the limitations of server specific APIs."
8KEYWORDS="amd64 ppc sparc x86"
9SLOT="0"
10HOMEPAGE="http://fastcgi.com/"
11SRC_URI="http://fastcgi.com/dist/${P}.tar.gz"
12LICENSE="mod_fastcgi"
13
14APXS1_ARGS="-c mod_fastcgi.c fcgi*.c"
15APXS2_ARGS="${APXS1_ARGS}"
16
17APACHE1_MOD_CONF="20_mod_fastcgi"
18APACHE2_MOD_CONF="20_mod_fastcgi"
19
20APACHE1_MOD_DEFINE="FASTCGI"
21APACHE2_MOD_DEFINE="FASTCGI"
22
23DOCFILES="CHANGES README docs/LICENSE.TERMS docs/mod_fastcgi.html"
24
25need_apache
26
27src_unpack() {
28 unpack ${A}
29 cd ${S}
30 epatch ${FILESDIR}/${P}-apache-2.2.patch
31}