svn commit: r303550 - in head: Mk devel/apr1 devel/apr1/files www/apache22 www/apache22-event-mpm www/apache22-itk-mpm www/apache22-peruser-mpm www/apache22-worker-mpm www/apache22/files

Olli Hauer ohauer at
Mon Sep 3 20:24:51 UTC 2012

On 2012-09-03 11:53, Hajimu UMEMOTO wrote:
> Hi,
>>>>>> On Mon, 03 Sep 2012 11:39:41 +0200
>>>>>> olli hauer <ohauer at> said:
> ohauer> On 2012-09-03 11:32, Hajimu UMEMOTO wrote:
>> Hi,
>>>>>>> On Mon, 03 Sep 2012 11:11:59 +0200
>>>>>>> olli hauer <ohauer at> said:
>>> I used to specify WITHOUT_IPV6=YES in my /etc/make.conf.  But, now, it
>>> is no effect.  I tried apache22_SET+=IPV6_V6ONLY and
>>> OPTIONS_SET+=IPV6_V6ONLY without success.
>>> Any idea?
>> ohauer> If you had until now WITHOUT_IPV6 in your make.conf, then you have to specify now
>> ohauer> (Do you really want to build for IPv4 only?)
>> ohauer> apache22_SET+=IPV4_ONLY
>> ohauer> apache22_UNSET+=IPV6
>> ohauer> The dedicated SET and UNSET is needed since I convert the three command args into
>> ohauer> a OPTIONS_MULTI directive.
>> Oops, I mean WITH_IPV6_V6ONLY=YES.  I did copy&paste accidentally. X-(
>> There was the knob.  But, it was not in OPTIONS.
> ohauer> This is more or less the same, just unset IPV6 (which is set per default) and the set IPV6_ONLY
> ohauer> apache22_UNSET+=IPV6
> ohauer> apache22_SET+=IPV6_ONLY
> ohauer> This should work now even on a IPv6 only machine (Kernel build with IPv6 support only) with the help
> ohauer> of the extra-patch-server__config.c patch (provided by Curtis Villamizar)
> ohauer> One correction, the INET binding was converted to an OPTIONS_SINGLE and not MULTI directive.
> No, I don't want to disable IPv4 (IPV6_ONLY) but want to disable use
> of IPv4-mapped IPv6 address (IPV6_V6ONLY).
> I wish to specify the option for the following lines in
> Makefile.modules
> CONFIGURE_ARGS+=	--disable-v4-mapped
> .  else
> CONFIGURE_ARGS+=	--enable-v4-mapped
> .  endif
> BTW, I cannot see ${PORT_OPTIONS:MIPV6_ONLY} nor
> ${PORT_OPTIONS:MIPV4_ONLY} in Makefile*.

Bingo, you found the last remaining APR build option which I have overseen!

The build options "--disable-ipv6" is a APR only parameter and can be removed completely.

I will replace the options IPV6, IPV6_ONLY and IPV4_ONLY with IPV4_MAPPED which reflects the parameter name (only one option)

The fix can be committed without PORTREVISION bump, the default "--enable-v4-mapped" will not change.

Btw. with your hint I found an error in the Apache manuals on the bind.html page

Thanks for your report, and sorry for the delay!


More information about the svn-ports-all mailing list