Re: Apache1.3 modssl ipv6

Brian Candler <[email protected]> Sat, 26 Nov 2005 10:50:25 +0000
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
On Sun, Nov 20, 2005 at 11:24:41AM +0100, Dirk Meyer wrote:
> this patch seem to make mod_ruby work with IPV6.
> Apache1.3 with modssl and IVP6 running.
> Apache2.x not tested.

Interestingly:

(1) This is exactly the patch which exists in the FreeBSD ports tree, as
/usr/ports/www/mod_ruby/files/patch-connection.c

Even the timestamps are the same. So I'm guessing they come from the same
place; perhaps you could say where?

(2) Would you care to explain how it works? I note that APACHE6 is not
defined anywhere in the Apache or mod_ruby source trees, nor in the ports
collection except when building mod_perl. I cannot see how it would ever be
defined when building mod_ruby.

$ cd /usr/ports
$ find . -type f | xargs grep APACHE6
./www/mod_perl/files/patch-src:modules:perl:Connection.xs:+#ifdef APACHE6
./www/mod_perl/files/patch-src:modules:perl:Connection.xs:+#ifdef APACHE6
./www/mod_perl/Makefile:CFLAGS+=        -DAPACHE6
./www/mod_ruby/files/patch-connection.c:+#ifdef APACHE6
./www/mod_ruby/files/patch-connection.c:+#ifdef APACHE6
./www/mod_ruby/work/mod_ruby-1.2.4/connection.c:#ifdef APACHE6
./www/mod_ruby/work/mod_ruby-1.2.4/connection.c:#ifdef APACHE6
$ 

Regards,

Brian.