Summary: | net-misc/wget: define ssl flag as an IUSE default | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | kfm |
Component: | [OLD] Unspecified | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
kfm
2010-02-13 16:09:27 UTC
i dont have a problem with IUSE=+ssl in wget, but you have to justify it first the profile defaults to USE=ssl. if you turn around and add USE=-ssl to your make.conf, then an IUSE default wont matter -- you've already stated your preference that you want ssl disabled by default. so why would IUSE=+ssl make any difference at all to this setup ? That's a fair question. My answer is that, on the basis that I don't like the profile defaults, I do it the right way(tm) and drop "defaults" from USE_ORDER rather than exporting USE="-*" or USE="-foo -bar -baz -ad -nauseum". Specifically, I use: USE_ORDER="env:pkg:conf:pkginternal" Note that the effect of defining USE="-*" has changed at least once in the lifetime of portage [1]; adjusting USE_ORDER has a more predictable effect because it specifically nominates the sources from which USE flag policy is sourced. I've personally encountered a fair few people on IRC in my time who proudly profess to make use of USE="-*" and I always point that out to them that it's effect is not so well-defined or assured in the long term. I've also advised many poor souls in #gentoo-server who are having trouble getting a handle on flag creep to the same ends over the years. I know that people who customise in such a sophisticated manner are considered to be in a minority, but I think that's because we tend not to speak up much about such things through broad-ranging channels. There are more of us than many developers realise. Believe me, I'm very wary of abusing IUSE to fit a particular scenario - indeed, I think it is already used too heavily - and somtimes inappropriately - as it is [2]. I don't know what the policy is on pkginternal stuff, if indeed there is one, but I can't see how anyone would lose from the change I'm requesting. [1] I have a distinct recollection that it impacted upon package.use settings as well at one point although it was quite some time ago - can't recall the details off-hand [2] Was very sad to see profile-based USE defaults being deprecated (e.g. some flags would make more sense as defaults in targets/desktop/package.use rather than being forced upon everyone as pkginternal defaults) Self-correction: "I don't like the profile defaults" --> "I don't like the profile defaults but understand the importance of - and value - the pkginternal defaults" profile package.use might be discouraged, but it doesnt mean it isnt still fully supported for people to leverage however they like at any rate, sounds fine to me http://sources.gentoo.org/net-misc/wget/wget-1.12-r1.ebuild?r1=1.1&r2=1.2 Thank you for your consideration and understanding. |