1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 2.4.6

PR:		ports/118000
Submitted by:	Yar <yarodin@gmail.com>
This commit is contained in:
Pav Lucistnik 2007-12-16 12:25:04 +00:00
parent 5f39429685
commit f7e8dff4a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203846
4 changed files with 5 additions and 52 deletions

View File

@ -6,11 +6,9 @@
#
PORTNAME= mod_fastcgi
PORTVERSION= 2.4.2
PORTREVISION= 1
PORTVERSION= 2.4.6
CATEGORIES= www
MASTER_SITES= ftp://ftp.holywar.net/pub/FreeBSD/ \
http://www.fastcgi.com/dist/
MASTER_SITES= http://www.fastcgi.com/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= A fast-cgi module for Apache

View File

@ -1,3 +1,3 @@
MD5 (mod_fastcgi-2.4.2.tar.gz) = e994414304b535cb99e10b7d1cad1d1e
SHA256 (mod_fastcgi-2.4.2.tar.gz) = 864846fa025741bac88290e204dbb17e5be534990cc6c7218342edac58d13615
SIZE (mod_fastcgi-2.4.2.tar.gz) = 98295
MD5 (mod_fastcgi-2.4.6.tar.gz) = a21a613dd5dacf4c8ad88c8550294fed
SHA256 (mod_fastcgi-2.4.6.tar.gz) = a5a887eecc8fe13e4cb1cab4d140188a3d2b5e6f337f8a1cce88ca441ddbe689
SIZE (mod_fastcgi-2.4.6.tar.gz) = 100230

View File

@ -1,43 +0,0 @@
Originally from
http://fastcgi.com/archives/fastcgi-developers/2005-December/004060.html
diff -ruN mod_fastcgi-2.4.2/fcgi.h mod_fastcgi-2.4.2-ap22/fcgi.h
--- fcgi.h 2003-02-04 00:07:37.000000000 +0100
+++ fcgi.h 2005-12-07 21:05:55.000000000 +0100
@@ -73,6 +73,36 @@
#define ap_reset_timeout(a)
#define ap_unblock_alarms()
+/* starting with apache 2.2 the backward-compatibility defines for
+ * 1.3 APIs are not available anymore. Define them ourselves here.
+ */
+#ifndef ap_copy_table
+
+#define ap_copy_table apr_table_copy
+#define ap_cpystrn apr_cpystrn
+#define ap_destroy_pool apr_pool_destroy
+#define ap_isspace apr_isspace
+#define ap_make_array apr_array_make
+#define ap_make_table apr_table_make
+#define ap_null_cleanup apr_pool_cleanup_null
+#define ap_palloc apr_palloc
+#define ap_pcalloc apr_pcalloc
+#define ap_psprintf apr_psprintf
+#define ap_pstrcat apr_pstrcat
+#define ap_pstrdup apr_pstrdup
+#define ap_pstrndup apr_pstrndup
+#define ap_push_array apr_array_push
+#define ap_register_cleanup apr_pool_cleanup_register
+#define ap_snprintf apr_snprintf
+#define ap_table_add apr_table_add
+#define ap_table_do apr_table_do
+#define ap_table_get apr_table_get
+#define ap_table_set apr_table_set
+#define ap_table_setn apr_table_setn
+#define ap_table_unset apr_table_unset
+
+#endif /* defined(ap_copy_table) */
+
#if (defined(HAVE_WRITEV) && !HAVE_WRITEV && !defined(NO_WRITEV)) || defined WIN32
#define NO_WRITEV
#endif

View File

@ -4,6 +4,4 @@ FastCGI is a language independent, scalable, open extension to CGI that
provides high performance without the limitations of server specific APIs.
See the docs for more details.
--
Ports by JunSeon Oh <hollywar@mail.holywar.net>
WWW: http://www.fastcgi.com/