Gentoo Archives: gentoo-amd64

From: David Klaftenegger <davidweb@××××××××××××.de>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: ~amd64 vs portage.unmask
Date: Wed, 28 Jan 2009 08:34:34
Message-Id: 49801894.8000105@klaftenegger.de
In Reply to: [gentoo-amd64] Re: ~amd64 vs portage.unmask by Nikos Chantziaras
1 Nikos Chantziaras wrote:
2 > To only have 2.18.1 you use this:
3 >
4 > <dev-libs/glib-2.18.2
5 >
6 > That means "only versions lower than 2.18.2". That way, portage will
7 > never update to 2.18.2 or higher if it's not marked stable. Valid
8 > "operators" are: =, <, >, <= and >=.
9 >
10 > Normally, one would think that it's better to use this:
11 >
12 > <=dev-libs/glib-2.18.1
13 >
14 > to achieve the same result. However, it's usually good to get revision
15 > bumps (for example 2.18.1-r1) since they're meant to fix bugs. With
16 > "<dev-libs/glib-2.18.2" you'll never get 2.18.2 if it's not marked
17 > stable, but you'll still get 2.18.1-rN revision bumps which should be a
18 > good thing.
19 >
20
21 If you just want a single version and its revision bumps the ~ operator
22 might be a better choice, as in
23
24 ~dev-libs/glib-2.18.1
25
26 this matches dev-libs/glib-2.18.1-r42 but does not match
27 dev-libs/glib-2.18.1.1 (which <dev-libs/glib-2.18.2 would match as well)