Gentoo Archives: gentoo-amd64

From: J'raxis 270145 <gentoo@××××××.org>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] recommended USE flags
Date: Sat, 12 Aug 2006 20:21:28
Message-Id: 13372+72889!jraxis@iraxia64.local.jraxis.com
In Reply to: Re: [gentoo-amd64] recommended USE flags by Richard Fish
1 At 2006-08-12T00:05:48+0000, <bigfish@××××××××××.org> wrote:
2
3 > Date: Fri, 11 Aug 2006 17:05:48 -0700
4 > From: Richard Fish <bigfish@××××××××××.org>
5 > Reply-to: gentoo-amd64@l.g.o
6 > Subject: Re: [gentoo-amd64] recommended USE flags
7 > To: gentoo-amd64@l.g.o
8 > Message-ID: <7573e9640608111705o35864357v8283ee9d0557efa3@××××××××××.com>
9 >
10 > On 8/11/06, Rafael Barrera Oro <rafael@××××××××××××××××.ar> wrote:
11 > >Hello people, i installed a Gentoo 2006.0 with a LiveCD and i noticed
12 > >make.conf is full of USE flags (a lot of em really) which every now and
13 > >then cause emerges to merge a lot of packages that i dont need, so i
14 > >wanted to ask if there is an advisable minimum set of flags that i could
15 > >use.
16 >
17 > I would recommend putting very few flags in make.conf, and making
18 > heavy use of /etc/portage/package.use. In many cases, we add a flag
19 > to make.conf because we want functionality for a single package, and
20 > it ends up affecting other packages as well. Those flags that do go
21 > in make.conf should truly have some global sense.
22 >
23 > A good plan for trimming: for each flag in make.conf, do "USE=-flag
24 > emerge -DNvp world". If only one or two installed packages use that
25 > flag, move it it package.use. You also get a chance to possibly
26 > rebuild some things without those flags to eliminate some
27 > dependancies.
28
29 You can also use equery to determine this, for example:
30
31 # equery hasuse ldap
32
33 [ Searching for USE flag ldap in all categories among: ]
34 * installed packages
35 [I--] [ ] app-admin/sudo-1.6.8_p9-r2 (0)
36 [I--] [ ] net-proxy/squid-2.5.12-r1 (0)
37 [I--] [ ] dev-libs/cyrus-sasl-2.1.21-r2 (2)
38 [I--] [ ] dev-libs/apr-util-0.9.12 (0)
39 [I--] [ ] net-fs/samba-3.0.22-r3 (0)
40 [I--] [ ] net-dns/bind-9.3.2 (0)
41 [I--] [ ] net-misc/openssh-4.3_p2-r1 (0)
42 [I--] [ ] net-misc/curl-7.15.1-r1 (0)
43
44 (equery is part of app-portage/gentoolkit.)
45
46 --
47 J'raxis 270145
48 http://www.jraxis.com/
49 --
50 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] recommended USE flags Peter Humphrey <prh@××××××××××.uk>