Summary: | Unmask script to merge packages.mask with portdir_overlay version | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Jason Rhinelander <gentoo> |
Component: | Core | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | sbeck |
Priority: | High | ||
Version: | 2.0 | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://forums.gentoo.org/viewtopic.php?t=42845 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Unmask script
Sample PORTDIR_OVERLAY profiles/package.mask file Updated unmask script |
Description
Jason Rhinelander
2003-03-21 14:53:10 UTC
Created attachment 9672 [details]
Unmask script
Created attachment 9673 [details]
Sample PORTDIR_OVERLAY profiles/package.mask file
This is my sample package.mask OVERLAY file. It allows to you specify a ! in
front of the line to indicate versions that should be commented out of the
package.mask file.
As an example, this:
!>=sys-apps/baselayout-1.8.6.0
ends up commenting out 5 lines (=1.8.6.0 through =1.8.6.4) from the
package.mask file, as would be expected.
Created attachment 9745 [details]
Updated unmask script
Updated the unmask script, rearranged a bit of the code, added a few comments,
and made it use '/usr/lib/portage/bin/portageq' instead of 'emerge info'.
I'd like to see this make it into portage or the gentoolkit. It's very useful. add in latest 2.0.48-pre's: /etc/portage/package.unmask If I understand correctly, it only allows you to remove masks, not _add_ them, which is half of what this bug is about. touche add in latest 2.0.48-pre's: /etc/portage/package.mask ;) |