Merged from trunk 9063:9094
| 9064 | Fixes for logic related to FEATURES=test to USE=test |
| zmedico | mapping: * Add EBUILD_FORCE_TEST to the environment |
| | whitelist and filter it from the saved environment in |
| | save_ebuild_env(). * Tweak logic inside the ebuild command |
| | and config.regenerate() so that EBUILD_FORCE_TEST works even |
| | in odd cases like when USE=test is masked. * Only make |
| | FEATURES=test map to USE=test when "test" is actually in |
| | IUSE. * Remove USE=test from the set of implicit IUSE so |
| | that useq() calls in ebuild.sh properly generate a QA Notice |
| | when "test" is missing from IUSE. |
| 9065 | Show the EBUILD_FORCE_TEST "Forcing test" message even when |
| zmedico | "test" is not in IUSE. |
| 9066 | In action_regen(), use writemsg() to send error messages to |
| zmedico | stderr. |
| 9078 | Just ignore it when the global counter file does not match |
| zmedico | the highest installed COUNTER since it's normal for them to |
| | differ in some cases. For example, the global counter file |
| | will contain a higher value if the user merges a package and |
| | then immediately unmerges it (unmerge does not update the |
| | global counter file, but merge does). |
| 9080 | Make dep_expand() stop relying on having a categories list: |
| zmedico | * Create and use a dbapi.categories property that is |
| | automatically generated from dbapi.cp_all(). * Make mutable |
| | dbapi instances delete the invalidate the cached categories |
| | when they need to be regenerated. |
| 9081 | Make key_expand() use dbapi.categories. |
| zmedico | |
| 9083 | Make the FEATURES=sfperms loops safe for whitespace in paths |
| zmedico | by using find -print0 | while read -d $'\0'. |
| 9085 | Bug #202697 - Add / to the default initial SANDBOX_READ in |
| zmedico | order to avoid a situation where attempts to read arbitrary |
| | files trigger sandbox violations. |
| 9087 | Bug #121584 - Make the automatic USERLAND detection code |
| zmedico | recognize GNU/kFreeBSD. |
| 9089 | Make the ARCH and USERLAND sanity check use the autodetected |
| zmedico | USERLAND from the portage.data module if necessary. |
| 9090 | Make doebuild() check XARGS together with ARCH and USERLAND. |
| zmedico | |
| 9092 | * Initialize dbapi._categories = None so that we can compare |
| zmedico | with None instead of using hasattr. * Remove unwanted |
| | self._categories initialization from the portdbapi |
| | constructor. |
| 9094 | Add support for showing binary package file sizes in emerge |
| zmedico | --search output. |
svn path=/main/branches/prefix/; revision=9123