Portage 2.0.51 released
The Gentoo Portage team has traveled an interesting road on the way to releasing Portage 2.0.51. Myths about the changes and new features have been told in numerous circles, so allow us to mute the discussions and provide you with a list of changes and new features.
Rebuilding on USE flag changes
Portage now supports automated emerging (and reemerging) of packages affected by a USE flag change. To use it, run emerge with the --newuse option:
Initial GPG verification support
Each Gentoo package has a Manifest file that contains the checksum and filesize of the files in Portage pertaining to that package (not to be mistaken with the digest-* files which does the same for the downloaded sources of that package).
Portage now supports verification of the GPG signatures included in the more recent Manifest files. This means that a hacker who's been able to tamper with the rsync mirror you used can hardly do any damage on your system if you do strict GPG checking of the Manifest files. This is of course due to the fact that the hacker cannot change the GPG signature without invalidating it.
This is all handled transparently if you have gpg in your FEATURES variable. Depending on the other features Portage will handle it with minimal trust (no additional feature), marginal trust (strict) or fully trusted (severe) which requires that the GPG keys are signed as well.
This new Portage release introduces some file relocations:
Thanks to the relocation of the world-file and dynamic checking of the virtuals, Portage is now FHS-compliant. For instance, data within /var/cache can be removed at will - it is actually cache data now.
Successful Package Compilation Verification
New ebuilds can define certain tests to be ran after an emerge to verify if the compile process has finished successfully. This allows ebuilds to verify certain aspects of the compilation process.
Improved handling of injected packages
The use of --inject is deprecated for the time being. Injecting packages should now be done by adding the package to /etc/portage/profile/package.provided using the full name (<category>/<name>-<version>) instead.
A frequently heard complaint is that Portage is slow. Well, yes, but work is being put in this area :) Dependency calculations are already about 33% of that of 2.0.50!
Improved support for embedded systems
Through the autoconfig feature Portage will now automatically handle the building of uclibc-based systems by automatically updating the gnuconfig-provided files. This is no feature that will automatically configure applications for you!
Portage now uses lockfiles for many aspects of it's software management. This allows for correct parallel working (including parallel fetching and merging).
When you activate the "candy" feature you'll notice that Portage uses a brand new, cooler spinner:
You also don't want to miss moo. And that's all we have to say about it!
|Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.|