Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 528068

Summary: >=net-proxy/squid-3.3.13-r1 ignores USE=-ipv6
Product: Gentoo Linux Reporter: and <and>
Component: [OLD] ServerAssignee: Eray Aslan <eras>
Status: RESOLVED OBSOLETE    
Severity: normal CC: net-proxy+disabled
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: squid-3.3.13-r1.ebuild_fix_ipv6_useflag.patch

Description and 2014-11-03 01:55:27 UTC
Currently squid enable ipv6 support by default. 
So negative USE flag -ipv6 is a no-op.

Let's fix it by using --disable-ipv6 if requested.



Reproducible: Always
Comment 1 and 2014-11-03 01:56:02 UTC
Created attachment 388378 [details, diff]
squid-3.3.13-r1.ebuild_fix_ipv6_useflag.patch
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-03 09:04:04 UTC
Comment on attachment 388378 [details, diff]
squid-3.3.13-r1.ebuild_fix_ipv6_useflag.patch

>+		${use_disable_ipv6} \
> 		$(use_with caps libcap) \
>-		$(use_enable ipv6) \

use_enable should already emit "--disable-ipv6" so there ought to be no reason to emulate that.
Comment 3 and 2014-11-04 11:36:33 UTC
You are right.
Sorry for the noise.