Gentoo Archives: gentoo-user

From: Etaoin Shrdlu <shrdlu@×××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Portage wants KDE4, I don't
Date: Tue, 25 Nov 2008 15:05:56
Message-Id: 200811251611.16139.shrdlu@unlimitedmail.org
In Reply to: [gentoo-user] Re: Portage wants KDE4, I don't by Nikos Chantziaras
1 On Tuesday 25 November 2008, 15:54, Nikos Chantziaras wrote:
2 > Zsitvai János wrote:
3 > > On Tue, Nov 25, 2008 at 3:18 PM, Nikos Chantziaras <realnc@×××××.de>
4 wrote:
5 > >> So you're saying I must spend 1 hour to mask all the stuff? (Not
6 > >> joking, the list is big, I have to do "emerge -av world" each time
7 > >> and see the package, mask it, emerge again, mask it, emerge again,
8 > >> mask it, ad infinitum. This is not funny :P)
9 > >
10 > > eix -C kde-|grep "\[[IU]\]"|awk -F" " '{print $2 ":4.1"}' >
11 > > /etc/portage/package.mask/kde4
12 >
13 > package.mask is a file here, not a directory.
14
15 It can also be a directory. See man portage for the details.
16
17 /etc/portage/
18 Any file in this directory that begins with "package." can
19 be more than just a flat file. If it is a directory, then all the files
20 in that directory will be summed together as if it were a single file.
21
22 (and, btw, adapting the above to the case where package.mask is a single
23 file is very easy)