on Friday 01/19/2007 Norberto Bensa([EMAIL PROTECTED]) wrote
> Hello list,
>
> what does "~" mean here:
> (example from /usr/portage/profiles/package.mask)
>
> ~net-dns/bind-tools-9.3.3
Excerpt from man 5 ebuild
Now to get even fancier, we provide the ability to define
blocking packages and version range matching. Also note
that these extended prefixes/postfixes
may be combined in any way with the atom classes defined
above. Here are
some common examples you may find in the
portage tree:
!app-text/dos2unix
=dev-libs/glib-2*
!=net-fs/samba-2*
~net-libs/libnet-1.0.2a
! means block packages from being
installed at the same time.
* 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...
~ means match any revision of the
base version specified. So in the
above example, we would match versions
'1.0.2a', '1.0.2a-r1', '1.0.2a-r2', etc...
Hope this helps.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
[EMAIL PROTECTED]
--
[email protected] mailing list