Gentoo Archives: gentoo-dev

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Should "server" be a global use flag?
Date: Mon, 23 May 2011 17:33:40
Message-Id: 4DDA9A48.3060207@gentoo.org
In Reply to: Re: [gentoo-dev] Should "server" be a global use flag? by "Michał Górny"
1 On 05/23/2011 12:37 PM, Michał Górny wrote:
2 > On Mon, 23 May 2011 16:48:15 +0200
3 > Ulrich Mueller <ulm@g.o> wrote:
4 >
5 >>>>>>> On Mon, 23 May 2011, Anthony G Basile wrote:
6 >>> I was looking at use.desc/use.local.desc to see if the "server"
7 >>> flag is global or not. I was surprised to see that it is not.
8 >>> There are 26 packages that use a local "server" flag and they all
9 >>> say something to the effect "Enable ${PN} server support".
10 >> From <http://devmanual.gentoo.org/general-concepts/use-flags/>:
11 >>
12 >> | If the effect of the USE flag upon pkg-one is substantially
13 >> | different from the effect it has upon pkg-two, then the flag is not
14 >> | a suitable candidate for being made a global flag. In particular,
15 >> | note that if client and server USE flags are ever introduced, they
16 >> | can not be global USE flags for this reason.
17 > With that definition, USE=crypt should definitely not be global.
18 >
19 Yep. Eg. USE="crypt" for evolution means dependence on app-crypt/gnupg
20 and is local while USE="crypt" for thunderbird means dependency on
21 x11-plugins/enigmail and is global. Both are substantially different
22 from what USE="crypt" means for util-linux which enables crypto-loop and
23 is a global.
24
25 Ouch!
26
27 --
28 Anthony G. Basile, Ph.D.
29 Gentoo Linux Developer [Hardened]
30 E-Mail : blueness@g.o
31 GnuPG FP : 8040 5A4D 8709 21B1 1A88 33CE 979C AF40 D045 5535
32 GnuPG ID : D0455535

Replies

Subject Author
Re: [gentoo-dev] Should "server" be a global use flag? Peter Volkov <pva@g.o>