portage.git
12 years agoscan all lib subdirs
Mike Frysinger [Mon, 24 Sep 2012 00:07:36 +0000 (20:07 -0400)]
scan all lib subdirs

Rather than hardcoding lib/lib32/lib64, scan all dirs starting with "lib".

URL: https://bugs.gentoo.org/435834
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoAdd _get_feature_flags(eapi_attrs) function.
Zac Medico [Sun, 23 Sep 2012 23:22:35 +0000 (16:22 -0700)]
Add _get_feature_flags(eapi_attrs) function.

This will be useful for adding flags that behave specially in
experimental EAPIs, such as the targetroot/sysroot flag which is
planned for EAPI 5-hdepend.

12 years agoRepoConfig: add find_invalid_path_char method
Zac Medico [Sun, 23 Sep 2012 22:43:04 +0000 (15:43 -0700)]
RepoConfig: add find_invalid_path_char method

This binds filename validation to the RepoConfig, so that eventually
we'll be able to control it via a layout.conf setting as discussed in
bug #435934.

12 years agoUse re.UNICODE for category/package name regexes.
Zac Medico [Sat, 22 Sep 2012 21:52:35 +0000 (14:52 -0700)]
Use re.UNICODE for category/package name regexes.

This only affects r'\w' with Python 2.x, since Python 3 already
defaults to re.UNICODE behavior when compiling unicode str objects
(unless re.ASCII is specified). If a repository wants to ban unicode
categore/package names then we can add a layout.conf setting for that,
as discussed in bug #435934.

12 years agoemerge.1: --depclean-lib-check not time-consuming
Zac Medico [Sat, 22 Sep 2012 17:08:03 +0000 (10:08 -0700)]
emerge.1: --depclean-lib-check not time-consuming

Since commit f393413c3f823ef4a60acfcc41c3920933510fc1, it's optimized
so that it shouldn't take much time.

12 years agoInclude usex in the list of helpers banned in global scope in
Arfrever Frehtes Taifersar Arahesis [Sat, 22 Sep 2012 00:45:57 +0000 (02:45 +0200)]
Include usex in the list of helpers banned in global scope in
documentation of EAPI="5-progress".

12 years agoNEWS: fix --depclean-lib-check sentence v2.2.0_alpha131
Zac Medico [Fri, 21 Sep 2012 22:22:07 +0000 (15:22 -0700)]
NEWS: fix --depclean-lib-check sentence

12 years agodoebuild.py: remove unused f = None
Zac Medico [Fri, 21 Sep 2012 22:17:45 +0000 (15:17 -0700)]
doebuild.py: remove unused f = None

12 years agoDeprecate EAPI 5_pre2.
Zac Medico [Fri, 21 Sep 2012 22:00:08 +0000 (15:00 -0700)]
Deprecate EAPI 5_pre2.

12 years agoNEWS/RELEASE-NOTES: adjust info for package sets
Zac Medico [Fri, 21 Sep 2012 21:53:05 +0000 (14:53 -0700)]
NEWS/RELEASE-NOTES: adjust info for package sets

12 years agoportage.5: document nested package sets
Zac Medico [Fri, 21 Sep 2012 21:50:08 +0000 (14:50 -0700)]
portage.5: document nested package sets

12 years agoAdd preserve-libs for stable branch (not default)
Zac Medico [Fri, 21 Sep 2012 21:19:18 +0000 (14:19 -0700)]
Add preserve-libs for stable branch (not default)

EAPI 5 supports automatic rebuilds via the slot-operator and sub-slots,
which makes preserve-libs much more user-friendly, since it makes
@preserved-rebuild unnecessary (also see bug #364425 for explanation of
@preserved-rebuild shortcomings). Therefore, enable preserve-libs for
the stable branch, but not by default. After EAPI 5 is widely adopted,
we can consider enabling preserve-libs by default.

12 years agoSupport EAPI="5-progress".
Arfrever Frehtes Taifersar Arahesis [Fri, 21 Sep 2012 19:03:05 +0000 (21:03 +0200)]
Support EAPI="5-progress".

12 years agoAdd _DEPCLEAN_LIB_CHECK_DEFAULT constant.
Zac Medico [Fri, 21 Sep 2012 18:40:20 +0000 (11:40 -0700)]
Add _DEPCLEAN_LIB_CHECK_DEFAULT constant.

This will allow for the option to be available in the stable branch
without changing the default --depclean behavior.

12 years agoprimaryuri: prefer thirdpartymirrors in SRC_URI
Zac Medico [Fri, 21 Sep 2012 18:00:29 +0000 (11:00 -0700)]
primaryuri: prefer thirdpartymirrors in SRC_URI

This will fix bug #435720.

12 years agoImprove allowing of directories on profile level and repository level in EAPI="4...
Arfrever Frehtes Taifersar Arahesis [Fri, 21 Sep 2012 06:31:13 +0000 (08:31 +0200)]
Improve allowing of directories on profile level and repository level in EAPI="4-python".

12 years agoRead profile EAPI earlier.
Arfrever Frehtes Taifersar Arahesis [Fri, 21 Sep 2012 04:30:12 +0000 (06:30 +0200)]
Read profile EAPI earlier.

12 years agoMove EAPI check for stable USE forcing and masking to portage.eapi module.
Arfrever Frehtes Taifersar Arahesis [Fri, 21 Sep 2012 03:23:47 +0000 (05:23 +0200)]
Move EAPI check for stable USE forcing and masking to portage.eapi module.

12 years agoNEWS: EAPI 5 in 2.1.11.19
Zac Medico [Thu, 20 Sep 2012 19:05:06 +0000 (12:05 -0700)]
NEWS: EAPI 5 in 2.1.11.19

12 years agoEnable official EAPI 5 support. v2.2.0_alpha130
Zac Medico [Thu, 20 Sep 2012 18:01:43 +0000 (11:01 -0700)]
Enable official EAPI 5 support.

The council has officialy approved EAPI 5 in PMS:

http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=99c78a51ff4c9737cdd399620072abdc14f8df11

12 years agoAdd QA_DESKTOP_FILE variable.
Zac Medico [Thu, 20 Sep 2012 17:19:54 +0000 (10:19 -0700)]
Add QA_DESKTOP_FILE variable.

12 years agoupdate.py: cleanup imports
Zac Medico [Thu, 20 Sep 2012 04:17:08 +0000 (21:17 -0700)]
update.py: cleanup imports

12 years agoupdate_dbentry: fix "move" to translate atom[use]
Zac Medico [Thu, 20 Sep 2012 04:08:47 +0000 (21:08 -0700)]
update_dbentry: fix "move" to translate atom[use]

12 years agotest_update_dbentry: test "move" command more
Zac Medico [Thu, 20 Sep 2012 03:59:13 +0000 (20:59 -0700)]
test_update_dbentry: test "move" command more

12 years agodeprecated_profile_check: search more locations
Zac Medico [Thu, 20 Sep 2012 03:37:55 +0000 (20:37 -0700)]
deprecated_profile_check: search more locations

This fixes it to search both /etc/make.profile and
/etc/portage/make.profile, and also makes it traverse parent profiles
when the settings parameter is passed in.

12 years agoconfig: source make.conf only once if samefile
Zac Medico [Thu, 20 Sep 2012 03:13:40 +0000 (20:13 -0700)]
config: source make.conf only once if samefile

Since migration from /etc/make.conf to /etc/portage/make.conf, people
frequently ask if hardlinking or symlinking them is allowed. So, detect
this case and avoid redundant sourcing when appropriate.

12 years agoMAKE_CONF_FILE: refer to /etc/portage/make.conf
Zac Medico [Thu, 20 Sep 2012 02:56:41 +0000 (19:56 -0700)]
MAKE_CONF_FILE: refer to /etc/portage/make.conf

This is, or will soon soon be the default location of make.conf in
stages:

http://sources.gentoo.org/gitweb/?p=proj/gentoo-news.git;a=blob_plain;f=2012/2012-09-09-make.conf-and-make.profile-move/2012-09-09-make.conf-and-make.profile-move.en.txt

This update is consistent with the PROFILE_PATH update in commit
96b053ac52fa37fdd61cbb76cb44dfb90fb49f86.

12 years agoconfig: _eapi_cache.clear() beginning constructor
Zac Medico [Thu, 20 Sep 2012 02:36:03 +0000 (19:36 -0700)]
config: _eapi_cache.clear() beginning constructor

This is important when config is reloaded after emerge --sync.

12 years agoupdate_dbentry: improve slotmove support
Zac Medico [Wed, 19 Sep 2012 19:48:24 +0000 (12:48 -0700)]
update_dbentry: improve slotmove support

This could be especially useful for "built" slot operator deps, in
order to avoid having a slotmove trigger unnecessary rebuilds.

12 years agoAtom: don't allow :slot* syntax
Zac Medico [Tue, 18 Sep 2012 20:17:34 +0000 (13:17 -0700)]
Atom: don't allow :slot* syntax

This syntax is useless, and PMS doesn't discuss it.

12 years agocache/sqlite.py: fix getitem order assumption
Zac Medico [Tue, 18 Sep 2012 19:01:59 +0000 (12:01 -0700)]
cache/sqlite.py: fix getitem order assumption

The order assumption was incorrect when new columns were added, since
they could be added in any order.

12 years agodoebuild: update environment.bz2 for pre/postinst v2.2.0_alpha129
Zac Medico [Tue, 18 Sep 2012 02:59:23 +0000 (19:59 -0700)]
doebuild: update environment.bz2 for pre/postinst

Also, remove unnecessary __dyn_preinst func.

12 years ago__strip_duplicate_slashes: quote paths
Zac Medico [Mon, 17 Sep 2012 01:36:08 +0000 (18:36 -0700)]
__strip_duplicate_slashes: quote paths

12 years agodoheader: don't count -r as required arg
Zac Medico [Mon, 17 Sep 2012 01:27:32 +0000 (18:27 -0700)]
doheader: don't count -r as required arg

12 years agoFix "unsatisfied" comment typo.
Zac Medico [Sun, 16 Sep 2012 21:16:41 +0000 (14:16 -0700)]
Fix "unsatisfied" comment typo.

12 years agorepoman: unsatsified use-default deps, bug 435242
Zac Medico [Sun, 16 Sep 2012 21:01:29 +0000 (14:01 -0700)]
repoman: unsatsified use-default deps, bug 435242

12 years agorepoman: reject "built" slot-operator atoms
Zac Medico [Sun, 16 Sep 2012 20:02:08 +0000 (13:02 -0700)]
repoman: reject "built" slot-operator atoms

12 years agoportage.5: Add EAPI 5 profile IUSE injection
Zac Medico [Sun, 16 Sep 2012 18:58:48 +0000 (11:58 -0700)]
portage.5: Add EAPI 5 profile IUSE injection

12 years agoportage.5: rename STAGE1_USE to BOOTSTRAP_USE
Zac Medico [Sun, 16 Sep 2012 18:24:21 +0000 (11:24 -0700)]
portage.5: rename STAGE1_USE to BOOTSTRAP_USE

12 years agoportage.5: move USE_EXPAND from make.conf.5
Zac Medico [Sun, 16 Sep 2012 18:13:36 +0000 (11:13 -0700)]
portage.5: move USE_EXPAND from make.conf.5

12 years agoportage.5: add EAPI 5 stable use mask/force
Zac Medico [Sun, 16 Sep 2012 17:47:11 +0000 (10:47 -0700)]
portage.5: add EAPI 5 stable use mask/force

12 years agoebuild.5: EAPI 5 best/has_version --host-root
Zac Medico [Sat, 15 Sep 2012 20:54:40 +0000 (13:54 -0700)]
ebuild.5: EAPI 5 best/has_version --host-root

12 years agoebuild.5: EAPI 5 new* commands can read stdin
Zac Medico [Sat, 15 Sep 2012 20:42:50 +0000 (13:42 -0700)]
ebuild.5: EAPI 5 new* commands can read stdin

12 years agoebuild.5: add EAPI 5 doheader helper
Zac Medico [Sat, 15 Sep 2012 20:26:20 +0000 (13:26 -0700)]
ebuild.5: add EAPI 5 doheader helper

As noted in bug #21310, comment #5, PMS currently does not document
the -r option.

12 years agoebuild.5: EAPI 5 econf add --disable-silent-rules
Zac Medico [Sat, 15 Sep 2012 19:58:44 +0000 (12:58 -0700)]
ebuild.5: EAPI 5 econf add --disable-silent-rules

12 years agoebuild.5: add EAPI 5 usex helper
Zac Medico [Sat, 15 Sep 2012 19:53:02 +0000 (12:53 -0700)]
ebuild.5: add EAPI 5 usex helper

12 years agoebuild.5: EAPI 5 default_src_test parallel
Zac Medico [Sat, 15 Sep 2012 19:39:05 +0000 (12:39 -0700)]
ebuild.5: EAPI 5 default_src_test parallel

12 years agoebuild.5: add EAPI 5 EBUILD_PHASE_FUNC variable
Zac Medico [Sat, 15 Sep 2012 19:26:46 +0000 (12:26 -0700)]
ebuild.5: add EAPI 5 EBUILD_PHASE_FUNC variable

12 years agoebuild.5: add EAPI 5 REQUIRED_USE ?? operator
Zac Medico [Sat, 15 Sep 2012 19:11:57 +0000 (12:11 -0700)]
ebuild.5: add EAPI 5 REQUIRED_USE ?? operator

12 years agoebuild.5: document EAPI 5 slot operator, sub-slot
Zac Medico [Sat, 15 Sep 2012 19:08:45 +0000 (12:08 -0700)]
ebuild.5: document EAPI 5 slot operator, sub-slot

12 years agoegencache: skip auxdb write if not metadata-trans
Zac Medico [Sat, 15 Sep 2012 16:53:42 +0000 (09:53 -0700)]
egencache: skip auxdb write if not metadata-trans

12 years agoportage.5: remove {un,}set_unless_changed docs
Zac Medico [Fri, 14 Sep 2012 18:10:40 +0000 (11:10 -0700)]
portage.5: remove {un,}set_unless_changed docs

These functions were removed in commit
25a5296f29bc7153fa29e2dfe8de9d08d40d9944.

12 years agoUse __ prefix for _hasg, _hasgq, and _unpack_tar.
Zac Medico [Fri, 14 Sep 2012 17:17:22 +0000 (10:17 -0700)]
Use __ prefix for _hasg, _hasgq, and _unpack_tar.

12 years agosave-ebuild-env: fix for __dyn* renames
Zac Medico [Fri, 14 Sep 2012 17:09:08 +0000 (10:09 -0700)]
save-ebuild-env: fix for __dyn* renames

12 years agoemerge-delta-webrsync: fix vecho breakage
Zac Medico [Fri, 14 Sep 2012 07:25:57 +0000 (00:25 -0700)]
emerge-delta-webrsync: fix vecho breakage

Broken since commit 9b19ac5696c487dab58d7c10990fe07fd7f1f731.

12 years agoConvert funcs of ebuild.sh to __ prefixed namespace.
Brian Harring [Fri, 14 Sep 2012 06:29:44 +0000 (23:29 -0700)]
Convert funcs of ebuild.sh to __ prefixed namespace.

12 years agoConvert funcs of save-ebuild-env.sh to __ prefixed namespace.
Brian Harring [Fri, 14 Sep 2012 06:08:00 +0000 (23:08 -0700)]
Convert funcs of save-ebuild-env.sh to __ prefixed namespace.

12 years agoConvert funcs of phase*.sh to __ prefixed namespace.
Brian Harring [Fri, 14 Sep 2012 06:00:10 +0000 (23:00 -0700)]
Convert funcs of phase*.sh to __ prefixed namespace.

12 years agoConvert funcs of isolated-functions.sh to __ prefixed namespace.
Brian Harring [Fri, 14 Sep 2012 05:14:01 +0000 (22:14 -0700)]
Convert funcs of isolated-functions.sh to __ prefixed namespace.

12 years agoConvert funcs of bashrc-functions.sh to __ prefixed namespace.
Brian Harring [Fri, 14 Sep 2012 04:41:04 +0000 (21:41 -0700)]
Convert funcs of bashrc-functions.sh to __ prefixed namespace.

12 years agodrop dead functions
Brian Harring [Fri, 14 Sep 2012 04:40:41 +0000 (21:40 -0700)]
drop dead functions

Specifically, esyslog, {un,}set_unless_changed, and remove_path_entry.

12 years agoDrop diefunc protection.
Brian Harring [Fri, 14 Sep 2012 04:56:10 +0000 (21:56 -0700)]
Drop diefunc protection.

The last usage of it was added 67e88b82726a93eda^, 01/20/08; 4.5 years
later, the compatibility measure is no longer needed.

12 years agodep_check: cleanup repoman use.force/mask code
Zac Medico [Fri, 14 Sep 2012 06:00:16 +0000 (23:00 -0700)]
dep_check: cleanup repoman use.force/mask code

12 years agoRefactor FEATURES=test USE logic. v2.2.0_alpha128
Zac Medico [Fri, 14 Sep 2012 02:24:04 +0000 (19:24 -0700)]
Refactor FEATURES=test USE logic.

12 years agoDisplay: simplify _blockers
Zac Medico [Fri, 14 Sep 2012 02:08:23 +0000 (19:08 -0700)]
Display: simplify _blockers

The fetch_symbol variable was always just a space, and no return value
was really needed.

12 years agoDeprecate EAPI 5_pre1.
Zac Medico [Fri, 14 Sep 2012 01:51:31 +0000 (18:51 -0700)]
Deprecate EAPI 5_pre1.

12 years agomerge list: distinguish reinstall with red "r"
Zac Medico [Fri, 14 Sep 2012 01:37:19 +0000 (18:37 -0700)]
merge list: distinguish reinstall with red "r"

This is for reinstall due to slot or sub-slot change of a dependency
when the := slot operator is used.

12 years agoRefactor merge list attribute display.
Zac Medico [Fri, 14 Sep 2012 01:03:54 +0000 (18:03 -0700)]
Refactor merge list attribute display.

This should not change the behavior at all, but it makes the display
much easier to modify or extend.

12 years agoBind FEATURES=-test to USE=-test for bug #373209.
Zac Medico [Thu, 13 Sep 2012 22:47:13 +0000 (15:47 -0700)]
Bind FEATURES=-test to USE=-test for bug #373209.

Also, make options like emerge --newuse ignore the state of USE=test,
since users typically don't want to trigger a bunch of rebuilds when
they enable or disable FEATURES=test.

12 years agorepoman: test package.use.stable.mask
Zac Medico [Thu, 13 Sep 2012 19:37:28 +0000 (12:37 -0700)]
repoman: test package.use.stable.mask

12 years agofind_updated_config_files: x var name collision
Zac Medico [Thu, 13 Sep 2012 18:40:22 +0000 (11:40 -0700)]
find_updated_config_files: x var name collision

This broke in commit 09de8dc47ec48af2276dfa098dd5e1d3d09ddbdd.

12 years agoFEATURES=test: test flag respect IUSE_FFECTIVE
Zac Medico [Thu, 13 Sep 2012 18:24:54 +0000 (11:24 -0700)]
FEATURES=test: test flag respect IUSE_FFECTIVE

12 years agochflags: fixed empty opts argument v2.2.0_alpha127
Zac Medico [Wed, 12 Sep 2012 08:12:05 +0000 (01:12 -0700)]
chflags: fixed empty opts argument

This broke in commit 09de8dc47ec48af2276dfa098dd5e1d3d09ddbdd.

12 years agoPrefer /etc/portage/make.profile. v2.2.0_alpha126
Zac Medico [Wed, 12 Sep 2012 07:28:51 +0000 (00:28 -0700)]
Prefer /etc/portage/make.profile.

This is the default location used by current versions of eselect
profile, and will soon be the default location in stages. Since
eselect profile generates a warning if both /etc/make.profile and
/etc/portage/make.profile exist, the new default should be fairly
safe (although eselect profile currently prefers /etc/make.profile
when both exist).

12 years agoEbuildPhase: fix WORKDIR owner after unpack
Zac Medico [Mon, 10 Sep 2012 00:30:19 +0000 (17:30 -0700)]
EbuildPhase: fix WORKDIR owner after unpack

See bug #332217, comment #24.

12 years agochflags: fixed octal flags format breakage
Zac Medico [Wed, 12 Sep 2012 06:38:52 +0000 (23:38 -0700)]
chflags: fixed octal flags format breakage

This broke in commit 09de8dc47ec48af2276dfa098dd5e1d3d09ddbdd.

12 years agosave-ebuild-env: don't filter apply_user_patches
Zac Medico [Wed, 12 Sep 2012 06:33:26 +0000 (23:33 -0700)]
save-ebuild-env: don't filter apply_user_patches

Except for EAPI 5_pre1.

12 years agoReplace getstatusoutput with unicode safe Popen.
Zac Medico [Wed, 12 Sep 2012 06:24:44 +0000 (23:24 -0700)]
Replace getstatusoutput with unicode safe Popen.

This fixes potential issues similar to those reported in bug #310789.

12 years agomake_herd_base: encode unicode file paths safely
Zac Medico [Wed, 12 Sep 2012 04:56:39 +0000 (21:56 -0700)]
make_herd_base: encode unicode file paths safely

This will fix cases similar to the one fixed in commit
f01d7a8ca158ec60df76a3e8ae5b80ac3f62429e for bug #310789.

12 years agoegencache: encode unicode file paths safely
Zac Medico [Wed, 12 Sep 2012 04:52:33 +0000 (21:52 -0700)]
egencache: encode unicode file paths safely

This will fix cases similar to the one fixed in commit
f01d7a8ca158ec60df76a3e8ae5b80ac3f62429e for bug #310789.

12 years agoMetaDataXML: encode unicode file paths safely
Zac Medico [Wed, 12 Sep 2012 04:46:43 +0000 (21:46 -0700)]
MetaDataXML: encode unicode file paths safely

This will fix cases similar to the one fixed in commit
f01d7a8ca158ec60df76a3e8ae5b80ac3f62429e for bug #310789.

12 years agoAdd EAPI 5_pre2 with features approved by council
Zac Medico [Wed, 12 Sep 2012 04:26:49 +0000 (21:26 -0700)]
Add EAPI 5_pre2 with features approved by council

In the 9/11 council meeting, they approved everything in EAPI 5_pre1
except user patches. So, add EAPI 5_pre2 which is identical to EAPI
5_pre1 but with user patches (apply_user_patches) support removed.

12 years agoOnly validate .desktop files that are installed into XDG-compliant locations.
Michael Palimaka [Tue, 11 Sep 2012 17:22:05 +0000 (03:22 +1000)]
Only validate .desktop files that are installed into XDG-compliant locations.

This replaces the existing error blacklist, and therefore removes the repoman check.

12 years agorepoman: fix Unicode unequal comparison warning
Zac Medico [Mon, 10 Sep 2012 21:06:52 +0000 (14:06 -0700)]
repoman: fix Unicode unequal comparison warning

12 years agorepoman: fix os.system() unicode, bug #310789
Zac Medico [Mon, 10 Sep 2012 20:45:23 +0000 (13:45 -0700)]
repoman: fix os.system() unicode, bug #310789

12 years agorepoman: ElementTree.parse: encode unicode path
Zac Medico [Mon, 10 Sep 2012 20:33:35 +0000 (13:33 -0700)]
repoman: ElementTree.parse: encode unicode path

This fixes another issue like bug #310789.

12 years agouse(): use set -f and handle IFS
Zac Medico [Mon, 10 Sep 2012 19:46:50 +0000 (12:46 -0700)]
use(): use set -f and handle IFS

12 years agoImprove ignored binpkg display for bug #434540.
Zac Medico [Mon, 10 Sep 2012 16:40:22 +0000 (09:40 -0700)]
Improve ignored binpkg display for bug #434540.

12 years agorepoman: fix getstatusoutput more, bug #310789
Zac Medico [Mon, 10 Sep 2012 05:45:54 +0000 (22:45 -0700)]
repoman: fix getstatusoutput more, bug #310789

12 years agorepoman: fix getstatusoutput unicode, bug #310789
Zac Medico [Mon, 10 Sep 2012 01:26:19 +0000 (18:26 -0700)]
repoman: fix getstatusoutput unicode, bug #310789

12 years agorepoman: fix popen unicode handling, bug #310789
Zac Medico [Mon, 10 Sep 2012 00:53:22 +0000 (17:53 -0700)]
repoman: fix popen unicode handling, bug #310789

12 years agoObjectProxy: implement __enter__ and __exit__
Zac Medico [Mon, 10 Sep 2012 00:07:18 +0000 (17:07 -0700)]
ObjectProxy: implement __enter__ and __exit__

12 years agoDEVELOPING: fix errors for bug #313413
Joachim Bartosik [Sun, 9 Sep 2012 04:16:36 +0000 (21:16 -0700)]
DEVELOPING: fix errors for bug #313413

12 years agoEbuildPhase: simplify utime args
Zac Medico [Sun, 9 Sep 2012 01:07:16 +0000 (18:07 -0700)]
EbuildPhase: simplify utime args

12 years agoEbuildPhase: bump WORKDIR timestamp after unpack
Zac Medico [Sun, 9 Sep 2012 00:54:10 +0000 (17:54 -0700)]
EbuildPhase: bump WORKDIR timestamp after unpack

This will fix bug #332217.

12 years agoegencache: tweak metadata-transfer logic v2.2.0_alpha125
Zac Medico [Sat, 8 Sep 2012 20:31:50 +0000 (13:31 -0700)]
egencache: tweak metadata-transfer logic

Now is won't force metadata-transfer unless it's absolutely necessary.

12 years agoegencache: skip metadata-transfer more often
Zac Medico [Sat, 8 Sep 2012 16:50:19 +0000 (09:50 -0700)]
egencache: skip metadata-transfer more often

12 years agobest/has_version: --host-root first arg only
Zac Medico [Sat, 8 Sep 2012 16:15:39 +0000 (09:15 -0700)]
best/has_version: --host-root first arg only

12 years agoegencache: skip metadata-transfer if possible
Zac Medico [Sat, 8 Sep 2012 05:35:03 +0000 (22:35 -0700)]
egencache: skip metadata-transfer if possible

If there is an existing metadata/md5-cache directory, then it's not
necessary to forcibly enable metadata-transfer.

12 years agoDetect md5-cache when no cache-formats specified.
Zac Medico [Sat, 8 Sep 2012 04:32:03 +0000 (21:32 -0700)]
Detect md5-cache when no cache-formats specified.

Auto-detect cache-formats from the corresponding directories when
cache-formats is not specifed in layout.conf, and prefer md5-dict if
available. After this behavior is deployed in stable portage, the
default egencache format can be changed to md5-dict.