aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-06 17:45:45 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-06 17:45:45 -0700
commit2b1eceaf79ac667eecdf1ef9585592a235c8d93f (patch)
treec42675960707a4467db98e83e41ca48acbeffa52 /man/ebuild.5
parentUse ResolverPlayground for it's config instance, so that we don't (diff)
downloadportage-2b1eceaf79ac667eecdf1ef9585592a235c8d93f.tar.gz
portage-2b1eceaf79ac667eecdf1ef9585592a235c8d93f.tar.bz2
portage-2b1eceaf79ac667eecdf1ef9585592a235c8d93f.zip
Bug #331413 - Clarify the behavior of the =$CATEGORY/$PN-$VERSION* atom
operator some more. Thanks to Dennis Schridde <devurandom@gmx.net>.
Diffstat (limited to 'man/ebuild.5')
-rw-r--r--man/ebuild.59
1 files changed, 6 insertions, 3 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5
index e39366535..94f49d700 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -286,9 +286,12 @@ and explicitly disallow them from being temporarily installed
simultaneously during a series of upgrades. This syntax is supported
beginning with \fBEAPI 2\fR.
.br
-\fI*\fR means match any version of the package so long as the specified base
-is matched. So with a version of '2*', we can match '2.1', '2.2', '2.2.1',
-etc... and not match version '1.0', '3.0', '4.1', etc... The version part
+\fI*\fR means match any version of the package so long
+as the specified string prefix is matched. So with a
+version of '2*', we can match '2.1', '2.2', '2.2.1',
+etc... and not match version '1.0', '3.0', '4.1', etc...
+Beware that, due to the string matching nature, '20'
+will also be matched by '2*'. The version part
that comes before the '*' must be a valid version in the absence of the '*'.
For example, '2' is a valid version and '2.' is not. Therefore, '2*' is
allowed and '2.*' is not.