Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55920 - ufed can't handle local flags for multiple packages
Summary: ufed can't handle local flags for multiple packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Harald van Dijk (RETIRED)
URL:
Whiteboard:
Keywords:
: 119299 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-02 16:53 UTC by Joel Parker
Modified: 2006-01-17 09:26 UTC (History)
2 users (show)

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 Joel Parker 2004-07-02 16:53:22 UTC
The current description for the smartcard USE flag is: "Local Flag: Enables smartcard support (net-misc/strongswan)"

This flag is only used by openssh, and it is only used to trigger --with-opensc. I suggest the following clearer description:

"Local Flag: Allows smartcard authentication with OpenSC (dev-libs/opensc)"

or perhaps just:

"Local Flag: Allows smartcard authentication (dev-libs/opensc)".

Reproducible: Always
Steps to Reproduce:
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-07-02 17:50:01 UTC
Where are you seeing this text?  The smartcard flag is a local use flag
in a few ebuilds:

$ grep smartcard use.local.desc
app-crypt/gnupg:smartcard - Enables smardcard support
net-misc/openssh:smartcard - Enables smardcard support
net-misc/strongswan:smartcard - Enables smardcard support
Comment 2 Joel Parker 2004-07-02 19:42:14 UTC
I got my description from ufed. Probably a bug (or "feature") in ufed, then. Looks like the last local description overwrote the first two.

Either way, "smardcard" is a typo. It sounds like the jist of mine is the same as the current one; I don't guess one is more clear than the other.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-07-02 20:13:55 UTC
Fixed the typo.  moving to tools-portage for the ufed stuff.
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2005-05-29 15:07:41 UTC
ufed 0.40_pre1 shows all different descriptions for flags. Couldn't fix this
before because of limitations of dev-util/dialog, which is now dropped. It's
package.masked, but feel free to give it a try.
Comment 5 Quincy 2005-06-17 05:42:08 UTC
Is teh new version also setting local use flags in the packages.use file or
still in make.conf. I wondered why local flags go there...
Comment 6 Harald van Dijk (RETIRED) gentoo-dev 2005-06-17 06:28:31 UTC
That's a different type of local flags. You may well want flags described in
use.desc to be turned off or on only for one package, and you may well want
flags described in use.local.desc turned off or on globally.

Anyway, I'd like to be able to modify ufed to be able to read and write
package.use at some later time, but right now, that'd be far too hard, sorry.
One reason: there's no easy way of determining which packages use a specific
flag (yet?).
Comment 7 Harald van Dijk (RETIRED) gentoo-dev 2005-11-04 03:47:09 UTC
0.40_rc is in portage, no longer hardmasked, and handles multiple flag descriptions.
Comment 8 Harald van Dijk (RETIRED) gentoo-dev 2006-01-17 09:26:03 UTC
*** Bug 119299 has been marked as a duplicate of this bug. ***