Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528068 - >=net-proxy/squid-3.3.13-r1 ignores USE=-ipv6
Summary: >=net-proxy/squid-3.3.13-r1 ignores USE=-ipv6
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-11-03 01:55 UTC by and
Modified: 2014-11-04 11:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
squid-3.3.13-r1.ebuild_fix_ipv6_useflag.patch (squid-3.3.13-r1.ebuild_fix_ipv6_useflag.patch,588 bytes, patch)
2014-11-03 01:56 UTC, and
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.