Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302827 - net-misc/wget[ipv6] should set proper wgetrc during install time
Summary: net-misc/wget[ipv6] should set proper wgetrc during install time
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-30 05:43 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2010-02-13 22:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-30 05:43:25 UTC
Hello,
It would be a great enhancement to net-misc/wget to prefer ipv6 when installed with USE=ipv6 in wgetrc at install time. Could probably be a simple sed: "sed -i -e 's:#prefer:prefer:' ${D}/etc/wgetrc" or so.

Thanks for your consideration.
Comment 1 SpanKY gentoo-dev 2010-01-30 18:50:58 UTC
this is the point of the wgetrc fragment in FILESDIR.  if you want to tweak that better, feel free.  it only gets added when USE=ipv6.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-02-04 15:19:47 UTC
(In reply to comment #1)
> this is the point of the wgetrc fragment in FILESDIR.  if you want to tweak
> that better, feel free.  it only gets added when USE=ipv6.
> 

Oh. So it would be acceptable to simply change the fragment so that it is not commented by default? I feel like if people have the ipv6 flag enabled, then they would /prefer/ ipv6 routes by default, without changing the config file.
Comment 3 SpanKY gentoo-dev 2010-02-04 16:31:44 UTC
that assumption seems reasonable to me, so feel free to make that change as well as anything else you feel enhances the default USE=ipv6 experience (without breaking ipv4 support).
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-02-13 22:01:59 UTC
(In reply to comment #3)
> that assumption seems reasonable to me, so feel free to make that change as
> well as anything else you feel enhances the default USE=ipv6 experience
> (without breaking ipv4 support).
> 

Nevermind, I tested some more and wget will prefer ipv6 if you system supports it regardless of this setting in wgetrc and does the right thing if you have wget[ipv6] on a ipv4 host with this setting commented out.