Update to 2.3.7

- New upstream release 2.3.7
  - Introduce FcgidWin32PreventOrphans directive on Windows to use OS Job
    Control Objects to terminate all running fcgi's when the worker process
    has been abruptly terminated (PR: 51078)
  - Periodically clean out the brigades that are pulling in the request body
    for handoff to the fcgid child (PR: 51749)
  - Resolve crash during graceful restarts (PR: 50309)
  - Solve latency/congestion of resolving effective user file access rights
    when no such info is desired, for config-related filename stats (PR: 51020)
  - Fix regression in 2.3.6 that broke process controls when using
    vhost-specific configuration
  - Account for first process in class in the spawn score
- Drop patch for CVE-2012-1181, now included in upstream release
This commit is contained in:
Paul Howarth 2012-04-23 12:34:22 +01:00
parent 62b43fb3b1
commit fa7284a27f
4 changed files with 19 additions and 25 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/mod_fcgid-2.3.6.tar.bz2 /mod_fcgid-[0-9.]*.tar.bz2

View File

@ -1,16 +0,0 @@
This is an upstream patch for Apache Issue 49902, Fedora BZ#783742
Fix regression in 2.3.6 which broke process controls when using vhost-
specific configuration.
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c 2010/11/22 14:08:25 1037726
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c 2010/11/22 14:08:29 1037727
@@ -178,7 +178,7 @@
if (current_node->inode == command->inode
&& current_node->deviceid == command->deviceid
&& !strcmp(current_node->cmdline, command->cmdline)
- && current_node->vhost_id == sconf->vhost_id
+ && current_node->vhost_id == command->vhost_id
&& current_node->uid == command->uid
&& current_node->gid == command->gid)
break;

View File

@ -30,8 +30,8 @@
%endif %endif
Name: mod_fcgid Name: mod_fcgid
Version: 2.3.6 Version: 2.3.7
Release: 6%{?dist} Release: 1%{?dist}
Summary: FastCGI interface module for Apache 2 Summary: FastCGI interface module for Apache 2
Group: System Environment/Daemons Group: System Environment/Daemons
License: ASL 2.0 License: ASL 2.0
@ -46,7 +46,6 @@ Source10: fastcgi.te
Source11: fastcgi-2.5.te Source11: fastcgi-2.5.te
Source12: fastcgi.fc Source12: fastcgi.fc
Patch0: mod_fcgid-2.3.4-fixconf-shellbang.patch Patch0: mod_fcgid-2.3.4-fixconf-shellbang.patch
Patch1: mod_fcgid-2.3.6-bz783742.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: httpd-devel >= 2.0, pkgconfig BuildRequires: httpd-devel >= 2.0, pkgconfig
Requires: httpd-mmn = %{_httpd_mmn} Requires: httpd-mmn = %{_httpd_mmn}
@ -117,10 +116,6 @@ cp -p %{SOURCE12} fastcgi.fc
# Fix shellbang in fixconf script for our location of sed # Fix shellbang in fixconf script for our location of sed
%patch0 -p1 %patch0 -p1
# Fix regression in 2.3.6 that broke process controls when
# using vhost-specific configuration (upstream fix)
%patch1 -p3
%build %build
APXS=%{_httpd_apxs} ./configure.apxs APXS=%{_httpd_apxs} ./configure.apxs
make make
@ -225,6 +220,21 @@ exit 0
%endif %endif
%changelog %changelog
* Mon Apr 23 2012 Paul Howarth <paul@city-fan.org> 2.3.7-1
- Update to 2.3.7
- Introduce FcgidWin32PreventOrphans directive on Windows to use OS Job
Control Objects to terminate all running fcgi's when the worker process
has been abruptly terminated (PR: 51078)
- Periodically clean out the brigades that are pulling in the request body
for handoff to the fcgid child (PR: 51749)
- Resolve crash during graceful restarts (PR: 50309)
- Solve latency/congestion of resolving effective user file access rights
when no such info is desired, for config-related filename stats (PR: 51020)
- Fix regression in 2.3.6 that broke process controls when using
vhost-specific configuration
- Account for first process in class in the spawn score
- Drop patch for CVE-2012-1181, now included in upstream release
* Tue Mar 27 2012 Paul Howarth <paul@city-fan.org> 2.3.6-6 * Tue Mar 27 2012 Paul Howarth <paul@city-fan.org> 2.3.6-6
- Fix compatibility with httpd 2.4 in F-18/RHEL-7 onwards - Fix compatibility with httpd 2.4 in F-18/RHEL-7 onwards
- Use /run rather than /var/run from F-15/RHEL-7 onwards - Use /run rather than /var/run from F-15/RHEL-7 onwards

View File

@ -1 +1 @@
30ee138f3f0eb1c55303400748f128a2 mod_fcgid-2.3.6.tar.bz2 5952c93dc16b42264a4bf2a54757fc08 mod_fcgid-2.3.7.tar.bz2