pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ap2-fcgid Updated mod_fcgid to 2.3.5.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9670207fb20b
branches: trunk
changeset: 571604:9670207fb20b
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Mon Feb 15 11:38:44 2010 +0000
description:
Updated mod_fcgid to 2.3.5.
This covers the transition to ASF that mod_fcgi was donated to in the course
of 2009. No longer backwards compatible as far as configuration is concerned!
Changes with mod_fcgid 2.3.5
*) Stop using the unsuppressable "notice" log level for debug and
informational messages. PR 48536. [Jeff Trawick]
*) Respect DEFAULT_REL_RUNTIMEDIR for default values of FcgidIPCDir and
FcgidProcessTableFile. [Jeff Trawick]
*) Resolve fatal EDEADLK errors with threaded MPMs on Solaris. [Jeff Trawick]
*) Display information about active processes in the server-status page.
[Ryan Pan]
*) Fix compatibility of httpd.conf-editing logic with non-GNU awk. PR 48067.
[Hans Werner Strube <strube physik3.gwdg.de>]
*) Fix startup errors creating shared memory in constrained systems, such
as OS X in its default configuration. This is a regression since mod_fcgid
2.2. [Jeff Trawick]
*) Recover from most "Resource temporarily unavailable" errors writing the
request to the FastCGI application. These were common with large request
bodies on Mac OS X and intermittent on Solaris. PR 48025. [Jeff Trawick]
*) Fix a bug in fixconf.sed that resulted in a prefix of "FcgidFcgid" on the
updated directives. [Dan Hulme <dhulme gmail.com>]
*) Fix possible corruption or truncation of request bodies which exceed
FcgidMaxRequestInMem. This is a regression since mod_fcgid 2.2, which
effectively ignored FcgidMaxRequestInMem if larger than 8K. PR 48021.
[Jeff Trawick]
*) Fix handling of the request body when a FastCGI access checker/
authenticator/authorizer (AAA) was configured. The body wasn't available
for the request handler. PR 47973.
[Jeff Trawick, Barry Scott <barry.scott onelan.co.uk>]
*) Fix handling of FcgidCmdOptions so that it can apply to wrapper scripts
which were defined with command-line arguments on the FcgidWrapper
directive. [Jeff Trawick]
Changes with mod_fcgid 2.3.4
*) Corrected unix 'make install' target regression in 2.3.3. [Jeff Trawick]
Changes with mod_fcgid 2.3.3
*) Add FcgidCmdOptions directive to associate some of the existing
configuration settings with a specific command. [Jeff Trawick]
*) Allow/respect virtual host settings for the following directives:
FcgidBusyTimeout, FcgidMaxProcessesPerClass, FcgidMinProcessesPerClass,
FcgidIdleTimeout, and FcgidProcessLifetime. [Jeff Trawick]
Changes with mod_fcgid 2.3.2
*) Fix a make install DESTDIR problem handling the reference manual and
potentially other files (specific to 2.3.1).
[Paul Howarth <paul city-fan.org>]
*) Fix a mod_fcgid 2.3.1 failure with <sys/mutex.h> when building for
httpd 2.0.x on some platforms. [Paul Howarth <paul city-fan.org>]
*) Termination of idle processes after inactivity timeout can now be
disabled by setting FcgidIdleTimeout to 0. Termination of idle
processes based on the process lifetime can now be disabled by setting
FcgidProcessLifeTime to 0. FcgidMaxRequestsPerProcess now accepts 0
for unlimited. [Ricardo Cantu <ricardo smartcsc.com>]
*) All directives have been renamed in order to use a common prefix "Fcgid".
Underscores in directive names have been eliminated in favor of
CamelCase. The old directive names will still work but are deprecated.
To fix your configuration you can use the sed script build/fixconf.sed.
The following tables contains old and new directive names.
Old Name New Name
...................................................................
BusyScanInterval FcgidBusyScanInterval
BusyTimeout FcgidBusyTimeout
DefaultInitEnv FcgidInitialEnv
DefaultMaxClassProcessCount FcgidMaxProcessesPerClass
DefaultMinClassProcessCount FcgidMinProcessesPerClass
ErrorScanInterval FcgidErrorScanInterval
FastCgiAccessChecker FcgidAccessChecker
FastCgiAccessCheckerAuthoritative FcgidAccessCheckerAuthoritative
FastCgiAuthenticator FcgidAuthenticator
FastCgiAuthenticatorAuthoritative FcgidAuthenticatorAuthoritative
FastCgiAuthorizer FcgidAuthorizer
FastCgiAuthorizerAuthoritative FcgidAuthorizerAuthoritative
FCGIWrapper FcgidWrapper
IdleScanInterval FcgidIdleScanInterval
IdleTimeout FcgidIdleTimeout
IPCCommTimeout FcgidIOTimeout
IPCConnectTimeout FcgidConnectTimeout
MaxProcessCount FcgidMaxProcesses
MaxRequestInMem FcgidMaxRequestInMem
MaxRequestLen FcgidMaxRequestLen
MaxRequestsPerProcess FcgidMaxRequestsPerProcess
OutputBufferSize FcgidOutputBufferSize
PassHeader FcgidPassHeader
PHP_Fix_Pathinfo_Enable FcgidFixPathinfo
ProcessLifeTime FcgidProcessLifeTime
SharememPath FcgidProcessTableFile
SocketPath FcgidIPCDir
SpawnScore FcgidSpawnScore
SpawnScoreUpLimit FcgidSpawnScoreUpLimit
TerminationScore FcgidTerminationScore
TimeScore FcgidTimeScore
ZombieScanInterval FcgidZombieScanInterval
*) Separate classes by virtual host also on Windows. [Rainer Jung]
*) Log client IP address with many more error log messages. [Jeff Trawick]
*) Fix basic implementation of FcgidMaxRequestInMem and FcgidMaxRequestLen
directives. [Jeff Trawick]
*) Merge per-directory directives so that they can be inherited or
overridden within other containers as expected. Merge server config/
virtual host directives so that they can be inherited or overridden
within a virtual host as expected. [Jeff Trawick]
*) Use the virtual host settings for the request being processed instead
of those of the first FastCGI request handled by this httpd child process.
Affected directives: FcgidBusyTimeout, FcgidIOTimeout,
FcgidConnectTimeout, FcgidMaxRequestsPerProcess, and FcgidOutputBufferSize.
[Jeff Trawick]
*) Directives which previously were ignored in a virtual host context are no
longer allowed. [Jeff Trawick]
*) Add an optional flag "virtual" to FcgidWrapper.
If virtual is set, the URLs passed to the wrapper are not
checked, whether they resolve to a file. [Rainer Jung]
*) Make the second argument (suffix) for FcgidWrapper optional.
A wrapper defined without a suffix applies to all URLs, unless
there is another more specific wrapper with a suffix. [Rainer Jung]
Changes with mod_fcgid 2.3.1
*) Suppress "need AuthType to note auth failure" error-level messages when a
FastCGIAccessChecker fails without any other kind of authentication
(Basic, Digest) configured. [Eric Covener]
*) Complete the unix port to 2.3-dev trunk. [William Rowe]
*) Provide a default, mandatory environment as with mod_cgi (with the
inclusion of LD_LIBRARY_PATH or similar variables on other platforms),
unless overridden by DefaultInitEnv. [William Rowe]
*) Handle DefaultInitEnv for case-insensitive platforms by forcing the env
variable names to uppercase on Win32, OS2 and Netware. [William Rowe]
*) Don't try to set the ownership of the socket directory unless running
as root and the directory was just created. This allows the default
httpd.conf (with some daemon User/Group) to be used by non-root.
[Jeff Trawick]
*) Fix formatting of several messages, including the oft-seen "mod_fcgid:
Can't create shared memory for size %zu byte". [Jeff Trawick]
*) Fix declared names of FastCgiAuthenticator and FastCgiAuthenticator-
Authoritative directives, allowing them to be used. [Ulf Haueisen
<ulf dvlp.de>]
*) Fix vhost-specific DefaultInitEnv settings. Previously, when setting
multiple virtual hosts with the same SuexecUserGroup user and group, the
process manager use the same process pool for both virtual hosts. This
means if one virtual host has a DefaultInitEnv and the other has
different values set, a fastcgi request from any of these virtual host
can go to the same processes, which is inconsistent (a request from
virtualhost a with DefaultInitEnv VAL "a", can go to a process spawned
with virtualhost b with DefaultInitEnv VAL "b" set). [Gabriel Barazer
<gabriel oxeva.fr>]
diffstat:
www/ap2-fcgid/DESCR | 9 +++++----
www/ap2-fcgid/Makefile | 21 +++++++++++----------
www/ap2-fcgid/PLIST | 6 +++++-
www/ap2-fcgid/distinfo | 9 +++++----
www/ap2-fcgid/patches/patch-aa | 15 +++++++++++++++
5 files changed, 41 insertions(+), 19 deletions(-)
diffs (99 lines):
diff -r a073e12ce009 -r 9670207fb20b www/ap2-fcgid/DESCR
--- a/www/ap2-fcgid/DESCR Mon Feb 15 01:04:13 2010 +0000
+++ b/www/ap2-fcgid/DESCR Mon Feb 15 11:38:44 2010 +0000
@@ -1,4 +1,5 @@
-The mod_fcgid Apache module is a binary compatible alternative to
-Apache module mod_fastcgi, but only for apache2 and later.
-FastCGI provides a high-performance alternative to CGI for writing
-webserver applications.
+High performance alternative to mod_cgi or mod_cgid, which starts a sufficient
+number instances of the CGI program to handle concurrent requests, and these
+programs remain running to handle further incoming requests. It is favored by
+the PHP developers, for example, as a preferred alternative to running mod_php
+in-process, delivering very similar performance.
diff -r a073e12ce009 -r 9670207fb20b www/ap2-fcgid/Makefile
--- a/www/ap2-fcgid/Makefile Mon Feb 15 01:04:13 2010 +0000
+++ b/www/ap2-fcgid/Makefile Mon Feb 15 11:38:44 2010 +0000
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.4 2008/06/12 02:14:54 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2010/02/15 11:38:44 fhajny Exp $
-DISTNAME= mod_fcgid.2.2
-PKGNAME= ${APACHE_PKG_PREFIX}-fcgid-2.2
+DISTNAME= mod_fcgid-2.3.5
+PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mod-fcgid/}
+MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/mod_fcgid/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://fastcgi.coremail.cn/
-COMMENT= Binary compatible alternative to Apache module mod_fastcgi
+HOMEPAGE= http://httpd.apache.org/mod_fcgid/
+COMMENT= High performance alternative to mod_cgi or mod_cgid
+LICENSE= apache-2.0
PKG_DESTDIR_SUPPORT= user-destdir
@@ -15,13 +16,13 @@
APACHE_MODULE= YES
USE_LIBTOOL= YES
+CONFIGURE_ENV+= APXS=${APXS:Q}
+
MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q}
MAKE_FLAGS+= INCLUDES="-I${BUILDLINK_PREFIX.apache}/include/httpd"
-SUBST_CLASSES+= ap2
-SUBST_STAGE.ap2= pre-build
-SUBST_FILES.ap2= Makefile
-SUBST_SED.ap2= -e s,/usr/local/apache2,${PREFIX}/share/httpd,
+do-configure:
+ cd ${WRKSRC} && ./configure.apxs
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a073e12ce009 -r 9670207fb20b www/ap2-fcgid/PLIST
--- a/www/ap2-fcgid/PLIST Mon Feb 15 01:04:13 2010 +0000
+++ b/www/ap2-fcgid/PLIST Mon Feb 15 11:38:44 2010 +0000
@@ -1,2 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/25 20:22:54 abs Exp $
+@comment $NetBSD: PLIST,v 1.2 2010/02/15 11:38:44 fhajny Exp $
lib/httpd/mod_fcgid.so
+share/httpd/manual/mod/mod_fcgid.html
+share/httpd/manual/mod/mod_fcgid.html.en
+share/httpd/manual/mod/mod_fcgid.xml
+share/httpd/manual/mod/mod_fcgid.xml.meta
diff -r a073e12ce009 -r 9670207fb20b www/ap2-fcgid/distinfo
--- a/www/ap2-fcgid/distinfo Mon Feb 15 01:04:13 2010 +0000
+++ b/www/ap2-fcgid/distinfo Mon Feb 15 11:38:44 2010 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2008/04/17 18:18:08 abs Exp $
+$NetBSD: distinfo,v 1.3 2010/02/15 11:38:44 fhajny Exp $
-SHA1 (mod_fcgid.2.2.tar.gz) = dc817a20ad6528480a441e4b7ad6920ec11c55e0
-RMD160 (mod_fcgid.2.2.tar.gz) = 9c45c2b25fcf0f4069cee4fb8917493f0a13b338
-Size (mod_fcgid.2.2.tar.gz) = 56954 bytes
+SHA1 (mod_fcgid-2.3.5.tar.gz) = e64d21ee27b8c0327c1c2754a68173def5c80de6
+RMD160 (mod_fcgid-2.3.5.tar.gz) = 9e989b6f91dcffa8a61dd855aa305bfc5c698dab
+Size (mod_fcgid-2.3.5.tar.gz) = 97784 bytes
+SHA1 (patch-aa) = 412ff767f32e569e7cee1940d382ea2d0f4ea235
diff -r a073e12ce009 -r 9670207fb20b www/ap2-fcgid/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-fcgid/patches/patch-aa Mon Feb 15 11:38:44 2010 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2010/02/15 11:38:44 fhajny Exp $
+
+Do not mangle httpd.conf.
+
+--- Makefile.apxs.orig 2009-11-11 15:13:31.000000000 +0000
++++ Makefile.apxs
+@@ -21,7 +21,7 @@ SUBDIRS = modules/fcgid
+ CLEAN_SUBDIRS =
+
+ TARGETS =
+-INSTALL_TARGETS = install-conf install-manual
++INSTALL_TARGETS = install-manual
+ ## no such targets yet; install-include
+ DISTCLEAN_TARGETS = config.apxs.log modules/fcgid/fcgid_config.h
+ EXTRACLEAN_TARGETS =
Home |
Main Index |
Thread Index |
Old Index