Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2010 21:06:44 GMT
From:      Sergey Prikhodko <sergey@network-asp.biz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/143563: [update] www/mod_fcgid to 2.3.5
Message-ID:  <201002042106.o14L6isr039785@www.freebsd.org>
Resent-Message-ID: <201002042110.o14LA158077644@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         143563
>Category:       ports
>Synopsis:       [update] www/mod_fcgid to 2.3.5
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 04 21:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Prikhodko
>Release:        7.2-RELEASE-p4
>Organization:
Network-ASP
>Environment:
FreeBSD travel.office.network-asp.biz 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #5 r198093M: Wed Oct 14 21:31:25 EEST 2009     toor@travel.office.network-asp.biz:/usr/obj/usr/src/sys/FABRICA64  amd64

>Description:
update to 2.3.5

Current version in ports has critical bug with large form uploads.

- supercedes ports/143458 and ports/143435
- added patch from http://svn.apache.org/viewvc?view=revision&revision=905302 (fixes incorrect mutex permissions)

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN mod_fcgid.orig/Makefile mod_fcgid/Makefile
--- mod_fcgid.orig/Makefile	2009-12-26 08:55:18.000000000 +0200
+++ mod_fcgid/Makefile	2010-02-01 14:27:23.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mod_fcgid
-PORTVERSION=	2.3.4
+PORTVERSION=	2.3.5
 CATEGORIES=	www
 MASTER_SITES=		${MASTER_SITE_APACHE_HTTPD}
 MASTER_SITE_SUBDIR=	${PORTNAME}
diff -ruN mod_fcgid.orig/distinfo mod_fcgid/distinfo
--- mod_fcgid.orig/distinfo	2009-12-26 08:55:18.000000000 +0200
+++ mod_fcgid/distinfo	2010-02-01 14:27:27.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (mod_fcgid-2.3.4.tar.gz) = 3778c0710ae4d750d87dddee70990681
-SHA256 (mod_fcgid-2.3.4.tar.gz) = 139cb06f766fac2bb2ad583272b5e786316f4b935e072256b6f45cecd8b6df1b
-SIZE (mod_fcgid-2.3.4.tar.gz) = 94417
+MD5 (mod_fcgid-2.3.5.tar.gz) = 82b5bec1ed1c0fc106d5271075641ef9
+SHA256 (mod_fcgid-2.3.5.tar.gz) = 3280fd287659539d577fc3c77a975739c06bb9d0a9cef48275d4beb13c64ef39
+SIZE (mod_fcgid-2.3.5.tar.gz) = 97784
diff -ruN mod_fcgid.orig/files/patch-modules-fcgid-fcgid_conf.c mod_fcgid/files/patch-modules-fcgid-fcgid_conf.c
--- mod_fcgid.orig/files/patch-modules-fcgid-fcgid_conf.c	2009-12-26 08:55:19.000000000 +0200
+++ mod_fcgid/files/patch-modules-fcgid-fcgid_conf.c	1970-01-01 03:00:00.000000000 +0300
@@ -1,13 +0,0 @@
---- modules/fcgid/fcgid_conf.c.orig	2009-10-07 05:16:08.000000000 +0200
-+++ modules/fcgid/fcgid_conf.c	2009-12-11 16:18:09.000000000 +0100
-@@ -35,8 +35,8 @@
- #define DEFAULT_ERROR_SCAN_INTERVAL 3
- #define DEFAULT_ZOMBIE_SCAN_INTERVAL 3
- #define DEFAULT_PROC_LIFETIME (60*60)
--#define DEFAULT_SOCKET_PREFIX "logs/fcgidsock"
--#define DEFAULT_SHM_PATH "logs/fcgid_shm"
-+#define DEFAULT_SOCKET_PREFIX "/var/run/fcgidsock"
-+#define DEFAULT_SHM_PATH "/var/run/fcgid_shm"
- #define DEFAULT_SPAWNSOCRE_UPLIMIT 10
- #define DEFAULT_SPAWN_SCORE 1
- #define DEFAULT_TERMINATION_SCORE 2
diff -ruN mod_fcgid.orig/files/patch-modules-fcgid-fcgid_mutex_unix.c mod_fcgid/files/patch-modules-fcgid-fcgid_mutex_unix.c
--- mod_fcgid.orig/files/patch-modules-fcgid-fcgid_mutex_unix.c	1970-01-01 03:00:00.000000000 +0300
+++ mod_fcgid/files/patch-modules-fcgid-fcgid_mutex_unix.c	2010-02-04 22:54:43.000000000 +0200
@@ -0,0 +1,17 @@
+Index: modules/fcgid/fcgid_mutex_unix.c
+===================================================================
+--- modules/fcgid/fcgid_mutex_unix.c    (revision 904780)
++++ modules/fcgid/fcgid_mutex_unix.c    (working copy)
+@@ -56,6 +56,10 @@
+
+ #include "ap_mpm.h"
+
++#if MODULE_MAGIC_NUMBER_MAJOR < 20051115
++#define AP_NEED_SET_MUTEX_PERMS 1
++#endif
++
+ #if AP_NEED_SET_MUTEX_PERMS
+ #include "unixd.h"
+ #endif
+
+


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002042106.o14L6isr039785>