apache2 httpd 2.4.2

Bjarne D Mathiesen macintosh at mathiesen.info
Wed May 23 13:23:53 PDT 2012


Daniel J. Luke wrote:
> [removed -users]
> 
> On May 23, 2012, at 3:32 PM, Daniel J. Luke wrote:
>> On May 23, 2012, at 3:19 PM, Bjarne D Mathiesen wrote:
>>> I can't find anything -
>>> neither on the main page of the developers, nor anywhere else
>>
>> That's fairly normal for the upstream developers... IIRC it required patching for a considerable amount of time to build/work with apache2.2 before there was a release with support in it.
>>
>> I did find a patch here (I didn't review it for quality or functionality):
>>
>> https://github.com/ByteInternet/libapache-mod-fastcgi
> 
> I did just try the patch there (which is actually at https://github.com/ByteInternet/libapache-mod-fastcgi/blob/byte/debian/patches/byte-compile-against-apache24.diff) and it built fine and a simple test shows it working with apache2.4 (both apache and mod_fastcgi built outside of macports).
> 

I've just done almost the same ... but within macports ...

DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: patch phase started at Wed May 23 22:14:49 CEST 2012
DEBUG: Executing org.macports.patch (mod_fastcgi)
--->  Applying patches to mod_fastcgi
--->  Applying byte-compile-against-apache24.diff
DEBUG: Environment: CPATH='/macports/include'
CC_PRINT_OPTIONS_FILE='/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_fastcgi/mod_fastcgi/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/macports/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.7'
DEBUG: Assembled command: 'cd
"/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_fastcgi/mod_fastcgi/work/mod_fastcgi-2.4.6"
&& /usr/bin/patch -p1'
DEBUG: Executing command line:  cd
"/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_fastcgi/mod_fastcgi/work/mod_fastcgi-2.4.6"
&& /usr/bin/patch -p1 <
'/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/mod_fastcgi/files/byte-compile-against-apache24.diff'
patching file fcgi.h
Hunk #3 succeeded at 362 (offset -13 lines).
patching file mod_fastcgi.c
Hunk #2 succeeded at 2971 (offset -47 lines).
pro17:MacPorts root# port install mod_fastcgi
--->  Computing dependencies for mod_fastcgi
--->  Configuring mod_fastcgi
--->  Building mod_fastcgi
--->  Staging mod_fastcgi into destroot
Warning: mod_fastcgi installs files outside the common directory structure.
--->  Installing mod_fastcgi @2.4.6_0
--->  Activating mod_fastcgi @2.4.6_0

To enable mod_fastcgi in Apache, add
LoadModule fastcgi_module modules/mod_fastcgi.so
to /macports/apache2/conf/httpd.conf

For further configuration information please visit
http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html

--->  Cleaning mod_fastcgi
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

I'll just have to fix some line numbers in the patch and then everyting
ought to be kosher :-) As well as revbumping the port ...

So with our combined testing, I think we can assume that we've got a fix
for mod_fastcgi too :-D

:-)
-- 
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3


More information about the macports-dev mailing list