Tuesday 27th March 2012
Fedora Project
Updated mod_fcgid for httpd 2.4 in Rawhide
Updated perl-IO-Socket-SSL to 1.61 in F-17 and Rawhide:
Call CTX_set_session_id_context so that server's session caching works with client certificates too (CPAN RT#76053)
Local Packages
Updated fetchyahoo to 2.14.6:
Case-insensitive check for text/plain
Check for existence of content-type to prevent uninitialized variable error
Updated mod_fastcgi for httpd 2.4 in Rawhide; this turned out to be non-trivial as the last upstream release (2.4.6) fails to compile:
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -pthread -I/usr/include/libxml2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c mod_fastcgi.c && touch mod_fastcgi.slo mod_fastcgi.c: In function 'send_to_pm': mod_fastcgi.c:175:37: warning: initialization from incompatible pointer type [enabled by default] mod_fastcgi.c:175:9: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast [enabled by default] In file included from fcgi.h:28:0, from mod_fastcgi.c:72: /usr/include/httpd/http_log.h:372:6: note: expected 'apr_status_t' but argument is of type 'struct server_rec *' mod_fastcgi.c:236:37: warning: initialization from incompatible pointer type [enabled by default] mod_fastcgi.c:236:474: error: expected expression before ')' token mod_fastcgi.c:236:474: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast [enabled by default] In file included from fcgi.h:28:0, from mod_fastcgi.c:72: /usr/include/httpd/http_log.h:372:6: note: expected 'apr_status_t' but argument is of type 'struct server_rec *' mod_fastcgi.c: In function 'init_module': mod_fastcgi.c:297:37: warning: initialization from incompatible pointer type [enabled by default] mod_fastcgi.c:297:9: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast [enabled by default] In file included from fcgi.h:28:0, from mod_fastcgi.c:72: /usr/include/httpd/http_log.h:372:6: note: expected 'apr_status_t' but argument is of type 'struct server_rec *' mod_fastcgi.c:301:37: warning: initialization from incompatible pointer type [enabled by default] mod_fastcgi.c:301:9: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast [enabled by default] In file included from fcgi.h:28:0, from mod_fastcgi.c:72: /usr/include/httpd/http_log.h:372:6: note: expected 'apr_status_t' but argument is of type 'struct server_rec *' mod_fastcgi.c:329:37: warning: initialization from incompatible pointer type [enabled by default] mod_fastcgi.c:329:400: error: expected expression before ')' token mod_fastcgi.c:329:400: warning: passing argument 5 of 'ap_log_error_' makes integer from pointer without a cast [enabled by default] In file included from fcgi.h:28:0, from mod_fastcgi.c:72: /usr/include/httpd/http_log.h:372:6: note: expected 'apr_status_t' but argument is of type 'struct server_rec *' ... much more of the same ...
After some googling around I found references in multiple places to an upstream snapshot from 2009, despite upstream git not apparently having any commits since 2007, so I'm not sure where that came from. However, the changes looked sane so I incorporated them, though it didn't fix the compile problem with httpd 2.4. I then found some patches from Byte Internet on GitHub, which did fix the build
Updated mod_fcgid as per the Fedora version
Updated perl-IO-Socket-SSL to 1.61 as per the Fedora version