Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340675 - Allow package.mask repository atoms to work with wildcards
Summary: Allow package.mask repository atoms to work with wildcards
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 185377
Blocks: 240187
  Show dependency tree
 
Reported: 2010-10-12 12:18 UTC by Alessandro Guido
Modified: 2011-06-09 22:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Guido 2010-10-12 12:18:08 UTC
Use case:
On my system I use overlay A to have GNOME 2.32 ebuilds and overlay B to have media-sound/gpodder.
The problem comes when overlay B contains some GNOME 2.32 ebuilds too.

I think it could be useful to be able to do something like this in package.mask:

gnome-base/nautilus@B
gnome-base/gdm@B
...

or even better:

package.mask: */*@B 

package.unmask: media-sound/gpodder@B


Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2010-10-12 12:59:28 UTC

*** This bug has been marked as a duplicate of bug 185377 ***
Comment 2 Zac Medico gentoo-dev 2010-10-12 13:01:40 UTC
(In reply to comment #0)
> I think it could be useful to be able to do something like this in
> package.mask:
> 
> gnome-base/nautilus@B
> gnome-base/gdm@B
> ...
> 
> or even better:
> 
> package.mask: */*@B 
> 
> package.unmask: media-sound/gpodder@B

You can do all that with >=portage-2.2_rc90, but it's :: rather than @.
Comment 3 Alessandro Guido 2010-10-12 13:56:17 UTC
(In reply to comment #2)
> You can do all that with >=portage-2.2_rc90, but it's :: rather than @.

Ah, I see, thanks! Sorry for the noise.

However the "*/*" wildcard seems to not work:
--- Invalid atom in /etc/portage/package.mask: */*::keruspe

Comment 4 Zac Medico gentoo-dev 2010-10-12 14:03:06 UTC
(In reply to comment #3)
> However the "*/*" wildcard seems to not work:
> --- Invalid atom in /etc/portage/package.mask: */*::keruspe

Hmm, this seems like a bug. I'll reopen this bug for this issue, and change the description.
Comment 6 Zac Medico gentoo-dev 2010-10-13 17:29:33 UTC
This is fixed in 2.2_rc95.