Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Gratuitous useflaggery (doc and examples)
Date: Sat, 04 Mar 2006 16:41:36
Message-Id: pan.2006.03.04.16.37.06.48405@cox.net
In Reply to: Re: [gentoo-dev] Gratuitous useflaggery (doc and examples) by Stuart Herbert
1 Stuart Herbert posted
2 <b38c6f4c0603040715r2455faedy36e4dca4c06fb8c2@××××××××××.com>, excerpted
3 below, on Sat, 04 Mar 2006 15:15:30 +0000:
4
5 > On 3/4/06, Ciaran McCreesh <ciaranm@g.o> wrote:
6 >> Explanation: a USE flag for trivial stuff that isn't in /etc, doesn't
7 >> slow anything down, doesn't introduce any dep bloat and generally
8 >> doesn't change anything noticeable isn't a USE flag that's giving the
9 >> user any meaningful choice or making things easier for arch teams. You
10 >> do not get bonus points for using more USE flags.
11 >
12 > Another point of view are servers, where there's simply no need to
13 > have docs installed on each and every box in a rack. There's no need
14 > to install what a user doesn't need, and having doc and example USE
15 > flags more widely supported means that Gentoo does a better job of
16 > respecting the choice of users.
17
18 You are correct -- a server doesn't need all that stuff, and indeed,
19 shouldn't have it, particularly examples, as that's just more stuff
20 that might be exploitable in some way. However, the standard answer there
21 is that users should use INSTALL_MASK for docs and examples and the like
22 on servers. That's more dependable than a USE flag that may or may not be
23 there, and leaves the USE flags for the egregious cases, as Ciaran
24 suggested, thus effectively giving the user a tri-state control instead of
25 forcing a binary-state control where it doesn't really fit. (Note that
26 INSTALL_MASK files are still created, so someone INSTALL_MASKING will want
27 to negate the appropriate USE flags as well, to avoid the non-trivial
28 merge-time processing case.)
29
30 --
31 Duncan - List replies preferred. No HTML msgs.
32 "Every nonfree program has a lord, a master --
33 and if you use the program, he is your master." Richard Stallman in
34 http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
35
36
37 --
38 gentoo-dev@g.o mailing list