Gentoo Archives: gentoo-dev

From: Peter Volkov <pva@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Should "server" be a global use flag?
Date: Tue, 24 May 2011 07:59:52
Message-Id: 1306223879.21239.35.camel@tablet
In Reply to: Re: [gentoo-dev] Should "server" be a global use flag? by "Anthony G. Basile"
1 В Пнд, 23/05/2011 в 13:32 -0400, Anthony G. Basile пишет:
2 > On 05/23/2011 12:37 PM, Michał Górny wrote:
3 > > On Mon, 23 May 2011 16:48:15 +0200
4 > > Ulrich Mueller <ulm@g.o> wrote:
5 > >> From <http://devmanual.gentoo.org/general-concepts/use-flags/>:
6 > >> | If the effect of the USE flag upon pkg-one is substantially
7 > >> | different from the effect it has upon pkg-two, then the flag is not
8 > >> | a suitable candidate for being made a global flag. In particular,
9 > >> | note that if client and server USE flags are ever introduced, they
10 > >> | can not be global USE flags for this reason.
11
12 We need to update this. As with USE ssl - it just enables ssl support
13 with no knowledge in advance how it'll be implemented. Since we are
14 allowed to have both global and local USE flag descriptions, global USE
15 flag now better defines overal sense of USE flag while local may adjust
16 it to make better sense for current package...
17
18 > > With that definition, USE=crypt should definitely not be global.
19 > >
20 > Yep. Eg. USE="crypt" for evolution means dependence on app-crypt/gnupg
21 > and is local while USE="crypt" for thunderbird means dependency on
22 > x11-plugins/enigmail and is global. Both are substantially different
23 > from what USE="crypt" means for util-linux which enables crypto-loop and
24 > is a global.
25
26 It's good idea to open bug and suggest better local USE flag
27 descriptions.
28
29 --
30 Peter.