Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unmasker 0.4 - another tool for unmasking packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
developer
n00b
n00b


Joined: 23 May 2007
Posts: 20
Location: Russia

PostPosted: Tue Sep 23, 2008 6:49 am    Post subject: unmasker 0.4 - another tool for unmasking packages Reply with quote

Unmasker it is flexible tool for unmasking Gentoo packages.

All setting can be specified in /etc/unmasker.conf

Tool is supported following options:

# Possible values are: category, package
naming_mode=package

# Generate file with postfix name, for example xorg-x11_by_umasker
use_postfix=1

# Postfix value for generated file
postfix='_by_umasker'

# File used when 'world' is target of unmasker
other_file_name='other'

# Enable debug or disable
debug=0

Version 0.3 changelog:

1. Automatic convertion of /etc/portage/package.{keywords,unmask} files to folders if requared. This mean - if you have only /etc/portage/package.{keywords,unmask} files (not folders) they are will be moved into folder with same name, to make config files more understandable.
Example of generated files by unmasker:
Code:
island package.keywords # ls -l *unmasker | awk '{print $8}'
kdebase-meta_by_unmasker
kde-meta_by_unmasker
linux-docs_by_unmasker
nvidia-settings_by_unmasker
tuxonice-sources_by_unmasker
x11-apps_by_unmasker
x11-libs_by_unmasker
x11-misc_by_unmasker
xen-sources_by_unmasker


Where xen-sources_by_unmasker, nvidia-settings_by_unmasker are generated using package name based naming policy, and x11-apps_by_unmasker, x11-libs_by_unmasker using package category policy.

2. Following properties are added into config file: unmask_mode, prefer_slotted, use_postfix, postfix.
unmask_mode - unmasking mode, values are: 'greater', 'equal'. Allow unmask not only requared versions, but with ">=" modifier too
prefer_slotted - unmask slot instead simple package version, if slot available
use_postfix - enable or disable postfix for generated files
postfix - allow to set postfix for generated files.
3. Many new command line options are added, you can see it using "unmasker -h" command (examples of usage avaliable too).

Note:

eix tool dependency is added. Please be sure what your eix database is not out of date (prefer_slotted - can don't work correctly).

Usage examples:

Unmask 3.5.10 version of kde-meta
Code:
# unmasker =kde-base/kde-meta-3.5.10

Unmask 3.5.10 version of kde-meta using only required versions and try to use slot instead of version
Code:
# unmasker --prefer-slotted 1 --unmask-mode equal =kde-base/kde-meta-3.5.10

Unmask kde-svn slot of kde-meta package
Code:
# unmasker kde-meta:kde-svn

Umask kde-svn slot of kde-meta package and name generated files with specifyed prefix
Code:
# unmasker --postfix '_generated' kde-meta:kde-svn


Note:

eix tool dependency is added. Please be sure what your eix database is not out of date (prefer_slotted - can don't work correctly).

Version 0.4 changelog::

* Following new options are added:
without-version - don't use version information at all
unmask-highest - always try to unmask highest version of package
suppress-svn - suppress svn packages versions (usually *9999)
list-versions - print all available versions of specified package
version - print version of this program

* Output of unsuccessfully resolved dependency is added;
* New feature - 'sets' from portage portage-2.2_rc11 is supported now!
* Few bugfixes;

Use "unmasker -h" to see all options description and usage examples! And don't forget keep up your EIX database fresh.

Ebuild is available here.

Developer's blog - http://devel0per-soft.blogspot.com/
Back to top
View user's profile Send private message
developer
n00b
n00b


Joined: 23 May 2007
Posts: 20
Location: Russia

PostPosted: Sun Oct 12, 2008 7:11 am    Post subject: Version Update 0.4 Reply with quote

More info in the head of post.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum