portage.git
15 years agoFix config._lazy_vars._accept_license() to exclude irrelevant licenses.
Zac Medico [Mon, 22 Jun 2009 21:40:34 +0000 (21:40 -0000)]
Fix config._lazy_vars._accept_license() to exclude irrelevant licenses.

svn path=/main/trunk/; revision=13671

15 years agoChange ACCEPT_LICENSE evaluation so that things like ACCEPT_LICENSE="* -@EULA"
Zac Medico [Mon, 22 Jun 2009 21:31:44 +0000 (21:31 -0000)]
Change ACCEPT_LICENSE evaluation so that things like ACCEPT_LICENSE="* -@EULA"
will work as expected. The ACCEPT_LICENSE variable is now treated as a lazily
evaluated incremental, so that * can be used to match all licenses without
every having to explicitly expand it to all licenses. It should now behave
as approved by the council in response to the "RFC: ACCEPT_LICENSE default
value (GLEP 23)" discussion:

  http://archives.gentoo.org/gentoo-dev/msg_d5c1e7285399ebc27a74bdd02cb4d037.xml

svn path=/main/trunk/; revision=13670

15 years agoBug #275047 - Split _emerge/__init__.py into smaller pieces (part 4).
Zac Medico [Mon, 22 Jun 2009 20:02:48 +0000 (20:02 -0000)]
Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 4).
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.

svn path=/main/trunk/; revision=13669

15 years agoBug #275047 - Split _emerge/__init__.py into smaller pieces (part 3).
Zac Medico [Mon, 22 Jun 2009 18:47:26 +0000 (18:47 -0000)]
Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 3).
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.

svn path=/main/trunk/; revision=13668

15 years agoBug #275047 - Split _emerge/__init__.py into smaller pieces (part 2).
Zac Medico [Mon, 22 Jun 2009 18:21:56 +0000 (18:21 -0000)]
Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 2).
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.

svn path=/main/trunk/; revision=13667

15 years agoRevert lazy imports from r13665 for now, since pyflakes doesn't understand
Zac Medico [Mon, 22 Jun 2009 18:12:37 +0000 (18:12 -0000)]
Revert lazy imports from r13665 for now, since pyflakes doesn't understand
them, and pyflakes helps check stuff while we're splitting this file up.

svn path=/main/trunk/; revision=13666

15 years agoUse lazy imports for submodules where possible.
Zac Medico [Mon, 22 Jun 2009 17:28:19 +0000 (17:28 -0000)]
Use lazy imports for submodules where possible.

svn path=/main/trunk/; revision=13665

15 years agoFix imports broken by splitting of _emerge/__init__.py.
Zac Medico [Mon, 22 Jun 2009 17:03:37 +0000 (17:03 -0000)]
Fix imports broken by splitting of _emerge/__init__.py.

svn path=/main/trunk/; revision=13664

15 years agoBug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks to
Zac Medico [Mon, 22 Jun 2009 16:43:52 +0000 (16:43 -0000)]
Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks to
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.

svn path=/main/trunk/; revision=13663

15 years agoUse portage.util.apply_permissions() inside _ensure_access().
Zac Medico [Mon, 22 Jun 2009 05:07:45 +0000 (05:07 -0000)]
Use portage.util.apply_permissions() inside _ensure_access().

svn path=/main/trunk/; revision=13662

15 years agoReorganize $KV logic in doebuild_environment.
Zac Medico [Mon, 22 Jun 2009 04:12:26 +0000 (04:12 -0000)]
Reorganize $KV logic in doebuild_environment.

svn path=/main/trunk/; revision=13661

15 years agoTweak depcache permission handling so egencache can be run by a user who's
Zac Medico [Sun, 21 Jun 2009 22:01:50 +0000 (22:01 -0000)]
Tweak depcache permission handling so egencache can be run by a user who's
not in the portage group, allowing for better privilege isolation.

svn path=/main/trunk/; revision=13660

15 years agoBug #274742 - Exempt $dir from quoting checks since it's a likely candidate
Zac Medico [Sun, 21 Jun 2009 01:51:42 +0000 (01:51 -0000)]
Bug #274742 - Exempt $dir from quoting checks since it's a likely candidate
for false positives.

svn path=/main/trunk/; revision=13659

15 years agoIn doebuild_environment, ensure that cached $KV from the backupenv does not
Zac Medico [Sat, 20 Jun 2009 23:42:31 +0000 (23:42 -0000)]
In doebuild_environment, ensure that cached $KV from the backupenv does not
leak into the environment for EAPI >= 3.

svn path=/main/trunk/; revision=13658

15 years agoFactor duplicate code out of depgraph._add_pkg and _pop_disjunction.
Zac Medico [Sat, 20 Jun 2009 19:16:51 +0000 (19:16 -0000)]
Factor duplicate code out of depgraph._add_pkg and _pop_disjunction.

svn path=/main/trunk/; revision=13657

15 years agoDon't set KV for EAPI >=3.
Arfrever Frehtes Taifersar Arahesis [Sat, 20 Jun 2009 18:53:01 +0000 (18:53 -0000)]
Don't set KV for EAPI >=3.

svn path=/main/trunk/; revision=13656

15 years agoBug #264434 - Delay evaluation of all disjunctive (virtual and ||)
Zac Medico [Fri, 19 Jun 2009 20:19:30 +0000 (20:19 -0000)]
Bug #264434 - Delay evaluation of all disjunctive (virtual and ||)
dependencies. Evaluting disjuctions as late as possible allows better
decisions since the graph is more complete when the decisions are made.
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial
patch.

svn path=/main/trunk/; revision=13655

15 years agoAdd a EMERGE_LOG_DIR variable to control the location of emerge.log and
Zac Medico [Thu, 18 Jun 2009 19:55:17 +0000 (19:55 -0000)]
Add a EMERGE_LOG_DIR variable to control the location of emerge.log and
emerge-fetch.log. This was requested by Eitan Mosenkis <eitan@mosenkis.net>
for use in his 'online image builder' soc project.

svn path=/main/trunk/; revision=13652

15 years agoAllow missing ChangeLog when using git. We don't use ChangeLogs in
Zac Medico [Wed, 17 Jun 2009 22:04:43 +0000 (22:04 -0000)]
Allow missing ChangeLog when using git. We don't use ChangeLogs in
distributed SCMs. It will be generated on server side from scm log,
before package moves to the rsync server. This is needed because we
try to avoid merge collisions. Thanks to Tomas Chvatal
<scarabeus@gentoo.org> for this patch.

svn path=/main/trunk/; revision=13651

15 years agoWhen --pretend overrides --ask, don't show any output.
Zac Medico [Wed, 17 Jun 2009 20:50:05 +0000 (20:50 -0000)]
When --pretend overrides --ask, don't show any output.

svn path=/main/trunk/; revision=13650

15 years agoAdd NOCOLOR to the environment whitelist. This fixes inappropriate colors
Zac Medico [Wed, 17 Jun 2009 20:05:03 +0000 (20:05 -0000)]
Add NOCOLOR to the environment whitelist. This fixes inappropriate colors
produced by elog functions. Thanks to Luis F. Araujo <araujo@gentoo.org>
for reporting.

svn path=/main/trunk/; revision=13649

15 years agoRename color_codes back to codes.
Zac Medico [Wed, 17 Jun 2009 19:31:57 +0000 (19:31 -0000)]
Rename color_codes back to codes.

svn path=/main/trunk/; revision=13648

15 years agoRename codes to _styles.
Zac Medico [Wed, 17 Jun 2009 19:27:20 +0000 (19:27 -0000)]
Rename codes to _styles.

svn path=/main/trunk/; revision=13647

15 years agoRename map_code_to_color_code() to style_to_ansi_code().
Zac Medico [Wed, 17 Jun 2009 18:59:14 +0000 (18:59 -0000)]
Rename map_code_to_color_code() to style_to_ansi_code().

svn path=/main/trunk/; revision=13646

15 years agoAdd epydoc docstrings fro codes and color_codes variables.
Zac Medico [Wed, 17 Jun 2009 18:34:43 +0000 (18:34 -0000)]
Add epydoc docstrings fro codes and color_codes variables.

svn path=/main/trunk/; revision=13645

15 years agoUse map_code_to_color_code() where appropriate inside ConsoleStyleFile.write().
Zac Medico [Wed, 17 Jun 2009 04:04:46 +0000 (04:04 -0000)]
Use map_code_to_color_code() where appropriate inside ConsoleStyleFile.write().

svn path=/main/trunk/; revision=13644

15 years agoBug #274279 - Add color.map support for mapping a color to a different color
Zac Medico [Tue, 16 Jun 2009 21:53:17 +0000 (21:53 -0000)]
Bug #274279 - Add color.map support for mapping a color to a different color
(rather than just mapping a class/style to a different color). Thanks to
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.

svn path=/main/trunk/; revision=13643

15 years agoEscape hyphens from previous commit.
Zac Medico [Tue, 16 Jun 2009 18:09:42 +0000 (18:09 -0000)]
Escape hyphens from previous commit.

svn path=/main/trunk/; revision=13642

15 years agoMisc fixes and updates. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de>
Zac Medico [Tue, 16 Jun 2009 18:07:54 +0000 (18:07 -0000)]
Misc fixes and updates. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de>
for this patch from bug #274279.

svn path=/main/trunk/; revision=13641

15 years agoPrepare 117 messages to localization.
Arfrever Frehtes Taifersar Arahesis [Sun, 14 Jun 2009 05:30:30 +0000 (05:30 -0000)]
Prepare 117 messages to localization.

svn path=/main/trunk/; revision=13639

15 years agoDocument FEATURES=python-trace.
Zac Medico [Sat, 13 Jun 2009 03:06:17 +0000 (03:06 -0000)]
Document FEATURES=python-trace.

svn path=/main/trunk/; revision=13638

15 years agoBug #273020 - Document FEATURES=multilib-strict. Thanks to Samuli Suominen
Zac Medico [Sat, 13 Jun 2009 03:00:01 +0000 (03:00 -0000)]
Bug #273020 - Document FEATURES=multilib-strict. Thanks to Samuli Suominen
<ssuominen@gentoo.org> for the patch.

svn path=/main/trunk/; revision=13637

15 years agoRemove unused newdepend(), newrdepend(), newpdepend(), and do_newdepend()
Zac Medico [Thu, 11 Jun 2009 21:06:46 +0000 (21:06 -0000)]
Remove unused newdepend(), newrdepend(), newpdepend(), and do_newdepend()
functions. Thanks to ABCD for reporting.

svn path=/main/trunk/; revision=13636

15 years agopropset svn:rev ON
Zac Medico [Mon, 8 Jun 2009 10:06:12 +0000 (10:06 -0000)]
propset svn:rev ON

svn path=/main/trunk/; revision=13635

15 years agoFix more <listitem> elements to contain <para> elements.
Zac Medico [Sun, 7 Jun 2009 07:11:01 +0000 (07:11 -0000)]
Fix more <listitem> elements to contain <para> elements.

svn path=/main/trunk/; revision=13634

15 years agoBug #272063 - Remove <funcsynopsisinfo> elements that don't validate.
Zac Medico [Sun, 7 Jun 2009 07:06:19 +0000 (07:06 -0000)]
Bug #272063 - Remove <funcsynopsisinfo> elements that don't validate.

svn path=/main/trunk/; revision=13633

15 years agoFix non-empty <xref> elements.
Zac Medico [Sun, 7 Jun 2009 07:00:07 +0000 (07:00 -0000)]
Fix non-empty <xref> elements.

svn path=/main/trunk/; revision=13632

15 years agoRemove <msgtext> element in invalid location.
Zac Medico [Sun, 7 Jun 2009 06:56:37 +0000 (06:56 -0000)]
Remove <msgtext> element in invalid location.

svn path=/main/trunk/; revision=13631

15 years agoBug #272063 - Use <para> elements inside <listitem> elements.
Zac Medico [Sun, 7 Jun 2009 06:50:54 +0000 (06:50 -0000)]
Bug #272063 - Use <para> elements inside <listitem> elements.

svn path=/main/trunk/; revision=13630

15 years agoMake usev() strip ! prefix in echoed output as specified in bug #270658,
Zac Medico [Wed, 3 Jun 2009 20:37:56 +0000 (20:37 -0000)]
Make usev() strip ! prefix in echoed output as specified in bug #270658,
comment #16.

svn path=/main/trunk/; revision=13628

15 years agodrop sandbox settings that sandbox itself takes care of #258684
Mike Frysinger [Wed, 3 Jun 2009 02:50:29 +0000 (02:50 -0000)]
drop sandbox settings that sandbox itself takes care of #258684

svn path=/main/trunk/; revision=13627

15 years agoBug #268929 - Add grep for 'dereferencing pointer' messages produced by
Zac Medico [Sun, 31 May 2009 06:16:58 +0000 (06:16 -0000)]
Bug #268929 - Add grep for 'dereferencing pointer' messages produced by
gcc 4.4. Thanks to ABCD <en.ABCD@gmail.com> for this patch.

svn path=/main/trunk/; revision=13626

15 years agoAdd some really big integers to the vercmp tests.
Zac Medico [Sat, 16 May 2009 19:23:56 +0000 (19:23 -0000)]
Add some really big integers to the vercmp tests.

svn path=/main/trunk/; revision=13623

15 years agoEnable FEATURES=assume-digests by default.
Zac Medico [Sun, 10 May 2009 07:20:03 +0000 (07:20 -0000)]
Enable FEATURES=assume-digests by default.

svn path=/main/trunk/; revision=13622

15 years agoFix digestcheck() to handle missing distfiles digests correctly. Thanks to
Zac Medico [Wed, 6 May 2009 22:12:44 +0000 (22:12 -0000)]
Fix digestcheck() to handle missing distfiles digests correctly. Thanks to
Petteri Räty <betelgeuse@g.o> for reporting.

svn path=/main/trunk/; revision=13618

15 years agoFix SrcUnpackPatches to ignore comment lines. Thanks to Christian Ruppert
Zac Medico [Wed, 6 May 2009 16:48:35 +0000 (16:48 -0000)]
Fix SrcUnpackPatches to ignore comment lines. Thanks to Christian Ruppert
<idl0r@g.o> for reporting.

svn path=/main/trunk/; revision=13617

15 years agotweak output when diff access rights are needed
Mike Frysinger [Wed, 6 May 2009 16:26:01 +0000 (16:26 -0000)]
tweak output when diff access rights are needed

svn path=/main/trunk/; revision=13616

15 years agoWhen generating ACCEPT_LICENSE for the ebuild environment, do not expand
Zac Medico [Tue, 5 May 2009 20:23:28 +0000 (20:23 -0000)]
When generating ACCEPT_LICENSE for the ebuild environment, do not expand
*, since that would make it appear to the check_license() function as if
the user has accepted licenses which have not really been explicitly
accepted.

svn path=/main/trunk/; revision=13615

15 years agoMake portdbapi.getfetchlist() return an equal number of uris/file names so
Zac Medico [Tue, 5 May 2009 08:18:53 +0000 (08:18 -0000)]
Make portdbapi.getfetchlist() return an equal number of uris/file names so
that no information is lost.

svn path=/main/trunk/; revision=13613

15 years agoFix misleading/outdated info in the DESCRIPTION section.
Zac Medico [Mon, 4 May 2009 20:59:52 +0000 (20:59 -0000)]
Fix misleading/outdated info in the DESCRIPTION section.

svn path=/main/trunk/; revision=13612

15 years agoFix "arguments" spelling. v2.2_rc33
Zac Medico [Sun, 3 May 2009 20:45:34 +0000 (20:45 -0000)]
Fix "arguments" spelling.

svn path=/main/trunk/; revision=13608

15 years agoBug #268398 - Document econf's automatic die behavior.
Zac Medico [Sun, 3 May 2009 20:02:46 +0000 (20:02 -0000)]
Bug #268398 - Document econf's automatic die behavior.

svn path=/main/trunk/; revision=13600

15 years agoSimplify DepPriority.__int__() and make it consistent with __str__().
Zac Medico [Sun, 3 May 2009 07:25:19 +0000 (07:25 -0000)]
Simplify DepPriority.__int__() and make it consistent with __str__().

svn path=/main/trunk/; revision=13599

15 years agoMake useq() die if called during the "depend" phase in newer EAPIs.
Zac Medico [Sat, 2 May 2009 22:34:09 +0000 (22:34 -0000)]
Make useq() die if called during the "depend" phase in newer EAPIs.

svn path=/main/trunk/; revision=13598

15 years agoSkip useq() IUSE QA Notices during the "depend" phase because lots of
Zac Medico [Sat, 2 May 2009 22:14:44 +0000 (22:14 -0000)]
Skip useq() IUSE QA Notices during the "depend" phase because lots of
ebuilds/eclasses have stuff in global scope that really belongs somewhere
like pkg_setup or src_configure. Thanks to Arfrever for reporting.

svn path=/main/trunk/; revision=13597

15 years agoFix inverted logic in superuser logic for bug #267104.
Zac Medico [Sat, 2 May 2009 20:49:27 +0000 (20:49 -0000)]
Fix inverted logic in superuser logic for bug #267104.

svn path=/main/trunk/; revision=13596

15 years agoFix DepPriority.__int__() to return distinguishable values, for use when
Zac Medico [Sat, 2 May 2009 08:04:17 +0000 (08:04 -0000)]
Fix DepPriority.__int__() to return distinguishable values, for use when
measuring hardness for the circular dependency display. This fixes a problem
visible in bug #268038, comment #0, where buildtime dependencies are
incorrectly displayed as runtime dependencies.

svn path=/main/trunk/; revision=13589

15 years agoBug #267175 - Instead of "poor code kills airplanes", say "install aborted v2.2_rc32
Zac Medico [Fri, 1 May 2009 21:59:43 +0000 (21:59 -0000)]
Bug #267175 - Instead of "poor code kills airplanes", say "install aborted
due to poor programming practices shown above" in order to help the user
link the die message to the related "poor programming practices" messages.
Thanks to Jeremy Olexa <darkside@g.o> for the suggestion.

svn path=/main/trunk/; revision=13584

15 years agoMake elog functions use read -r when splitting lines, so that backslashes
Zac Medico [Fri, 1 May 2009 21:43:32 +0000 (21:43 -0000)]
Make elog functions use read -r when splitting lines, so that backslashes
intended for display will not be eaten.

svn path=/main/trunk/; revision=13582

15 years agoOnly generate KV when setting up the environment for a real ebuild phase. This
Zac Medico [Fri, 1 May 2009 19:11:26 +0000 (19:11 -0000)]
Only generate KV when setting up the environment for a real ebuild phase. This
should preven "Permission Denied: /usr/src/linux/.config" errors reported
by repoman users (repoman may trigger the error when it calls the fetch phase).

svn path=/main/trunk/; revision=13580

15 years agoFix logic error which prevents repos.conf [DEFAULT] section from applying
Zac Medico [Fri, 1 May 2009 18:34:59 +0000 (18:34 -0000)]
Fix logic error which prevents repos.conf [DEFAULT] section from applying
to repos that don't have their own section. Thanks to Markos Chandras
<hwoarang@g.o> for reporting.

svn path=/main/trunk/; revision=13578

15 years agoRemove unnecessary doebuild_environment() call from EbuildFetchonly.execute()
Zac Medico [Thu, 30 Apr 2009 21:59:26 +0000 (21:59 -0000)]
Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute()
since PORTAGE_RESTRICT is calculated by config.setcpv() now.

svn path=/main/trunk/; revision=13575

15 years agoIn config.setcpv() reuse split USE from built packages instead of splitting
Zac Medico [Thu, 30 Apr 2009 21:45:01 +0000 (21:45 -0000)]
In config.setcpv() reuse split USE from built packages instead of splitting
them again.

svn path=/main/trunk/; revision=13573

15 years agoEnable use() qa checks via PORTAGE_IUSE for all ebuild phases and for binary
Zac Medico [Thu, 30 Apr 2009 21:14:27 +0000 (21:14 -0000)]
Enable use() qa checks via PORTAGE_IUSE for all ebuild phases and for  binary
packages since it should work fine now.

svn path=/main/trunk/; revision=13570

15 years agoMove PORTAGE_RESTRICT calculation to config.setcpv() (lazy evaluation) and
Zac Medico [Thu, 30 Apr 2009 21:02:40 +0000 (21:02 -0000)]
Move PORTAGE_RESTRICT calculation to config.setcpv() (lazy evaluation) and
fix it to work correctly for pre-built packages.

svn path=/main/trunk/; revision=13569

15 years agoBug #267104 - When appropriate, advise the user that they may set FEATURES=
Zac Medico [Thu, 30 Apr 2009 18:51:58 +0000 (18:51 -0000)]
Bug #267104 - When appropriate, advise the user that they may set FEATURES=
-userfetch in order to use remaining space.

svn path=/main/trunk/; revision=13567

15 years agoFix _lazy_accept_license to discard || from the set of licenses.
Zac Medico [Thu, 30 Apr 2009 16:44:46 +0000 (16:44 -0000)]
Fix _lazy_accept_license to discard || from the set of licenses.

svn path=/main/trunk/; revision=13565

15 years agoFix typo in version from previous commit.
Zac Medico [Thu, 30 Apr 2009 08:46:25 +0000 (08:46 -0000)]
Fix typo in version from previous commit.

svn path=/main/trunk/; revision=13563

15 years agoAdd note about repos.conf eclass overrides.
Zac Medico [Thu, 30 Apr 2009 08:44:38 +0000 (08:44 -0000)]
Add note about repos.conf eclass overrides.

svn path=/main/trunk/; revision=13562

15 years agoFix ACCEPT_LICENSE handling for binary packages, so that the build-time USE
Zac Medico [Thu, 30 Apr 2009 08:36:57 +0000 (08:36 -0000)]
Fix ACCEPT_LICENSE handling for binary packages, so that the build-time USE
settings are used calculate an appropriate ACCEPT_LICENSE value.

svn path=/main/trunk/; revision=13560

15 years agoFix error in calculations from bug #267104.
Zac Medico [Thu, 30 Apr 2009 06:30:32 +0000 (06:30 -0000)]
Fix error in calculations from bug #267104.

svn path=/main/trunk/; revision=13419

15 years agoIn config.setcpv(), move the code that makes sure "pkg" values override "env"
Zac Medico [Thu, 30 Apr 2009 05:29:54 +0000 (05:29 -0000)]
In config.setcpv(), move the code that makes sure "pkg" values override "env"
values _after_ the reset() call.

svn path=/main/trunk/; revision=13418

15 years agoGenerate a pruned version of ACCEPT_LICENSE, by intersection with
Zac Medico [Thu, 30 Apr 2009 05:21:22 +0000 (05:21 -0000)]
Generate a pruned version of ACCEPT_LICENSE, by intersection with
LICENSE. This is required since otherwise ACCEPT_LICENSE might be too
big (bigger than ARG_MAX), causing execve() calls to fail with E2BIG
errors as in bug #262647.

svn path=/main/trunk/; revision=13417

15 years agoIn config.regenerate(), explicitly include self.backupenv when processing
Zac Medico [Thu, 30 Apr 2009 04:47:55 +0000 (04:47 -0000)]
In config.regenerate(), explicitly include self.backupenv when processing
incrementals, since it's no longer included in self.configlist.

svn path=/main/trunk/; revision=13416

15 years agoExclude 'backupenv' from config.configlist and lookuplist since it doesn't
Zac Medico [Thu, 30 Apr 2009 04:35:53 +0000 (04:35 -0000)]
Exclude 'backupenv' from config.configlist and lookuplist since it doesn't
make size to have it in there when configdict['env'] already serves that
purpose. This allows values to be temporarily removed from configdict['env']
and have them not appear in the environment until reset() is called to restore
those values from the backupenv.

svn path=/main/trunk/; revision=13415

15 years agoClarify RESTRICT=bindist docs by referring to 'built' packages. Thanks to
Zac Medico [Wed, 29 Apr 2009 20:08:27 +0000 (20:08 -0000)]
Clarify RESTRICT=bindist docs by referring to 'built' packages. Thanks to
Thomas Sachau <tommy@g.o> for reporting.

svn path=/main/trunk/; revision=13414

15 years agoWarn about sed and epatch calls which should be moved from src_unpack to
Zac Medico [Wed, 29 Apr 2009 19:57:46 +0000 (19:57 -0000)]
Warn about sed and epatch calls which should be moved from src_unpack to
src_prepare. Thanks to Markus Meier <maekke@g.o> for the initial patch.

svn path=/main/trunk/; revision=13413

15 years agoMove the here-document code from the EbuildWhitespace check to the
Zac Medico [Wed, 29 Apr 2009 19:13:15 +0000 (19:13 -0000)]
Move the here-document code from the EbuildWhitespace check to the
run_checks() function, so that all checks ignore the content of
here-documents.

svn path=/main/trunk/; revision=13412

15 years agoMake EbuildWhitespace ignore here-documents. Thanks to Diego Pettenò
Zac Medico [Wed, 29 Apr 2009 18:27:55 +0000 (18:27 -0000)]
Make EbuildWhitespace ignore here-documents. Thanks to Diego Pettenò
<flameeyes@g.o> for reporting.

svn path=/main/trunk/; revision=13411

15 years agoMake xtermTitle() use a global variable to cache the result of the TERM check.
Zac Medico [Wed, 29 Apr 2009 18:00:07 +0000 (18:00 -0000)]
Make xtermTitle() use a global variable to cache the result of the TERM check.

svn path=/main/trunk/; revision=13410

15 years agoBug #267860 - Make JobStatusDisplay respect FEATURES=notitles.
Zac Medico [Wed, 29 Apr 2009 17:40:27 +0000 (17:40 -0000)]
Bug #267860 - Make JobStatusDisplay respect FEATURES=notitles.

svn path=/main/trunk/; revision=13409

15 years agoFix the code from bug #267104 to account non-root users.
Zac Medico [Wed, 29 Apr 2009 05:03:45 +0000 (05:03 -0000)]
Fix the code from bug #267104 to account non-root users.

svn path=/main/trunk/; revision=13408

15 years agoBug #267810 - Don't sort C/CXX/LDFLAGS in emerge --info output since these
Zac Medico [Wed, 29 Apr 2009 00:35:52 +0000 (00:35 -0000)]
Bug #267810 - Don't sort C/CXX/LDFLAGS in emerge --info output since these
variables aren't really sortable in that way.

svn path=/main/trunk/; revision=13407

15 years agoBug #267104 - If the statvfs f_bavail field shows insufficient free space and
Zac Medico [Wed, 29 Apr 2009 00:16:10 +0000 (00:16 -0000)]
Bug #267104 - If the statvfs f_bavail field shows insufficient free space and
userfetch is not enabled, recalculate using the f_bfree field.

svn path=/main/trunk/; revision=13406

15 years agoPut ebuild helpers at the absolute front of the PATH.
Zac Medico [Tue, 28 Apr 2009 08:03:28 +0000 (08:03 -0000)]
Put ebuild helpers at the absolute front of the PATH.

svn path=/main/trunk/; revision=13404

15 years agoBug #71646 - Don't allow the HISTFILE variable into the ebuild environment
Zac Medico [Tue, 28 Apr 2009 06:34:55 +0000 (06:34 -0000)]
Bug #71646 - Don't allow the HISTFILE variable into the ebuild environment
since it triggers sandbox violations.

svn path=/main/trunk/; revision=13403

15 years agofix e-mail munging and add see also section
Mike Frysinger [Mon, 27 Apr 2009 03:24:51 +0000 (03:24 -0000)]
fix e-mail munging and add see also section

svn path=/main/trunk/; revision=13402

15 years agoAdd a new EAPI.definition check for cases in which EAPI is defined after an
Zac Medico [Sun, 26 Apr 2009 21:14:23 +0000 (21:14 -0000)]
Add a new EAPI.definition check for cases in which EAPI is defined after an
inherit call. Thanks to Markus Meier <maekke@g.o> for the initial patch.

svn path=/main/trunk/; revision=13401

15 years agoRevert r13390 (dosed and dohard functions) since a stack trace isn't really
Zac Medico [Fri, 24 Apr 2009 06:37:22 +0000 (06:37 -0000)]
Revert r13390 (dosed and dohard functions) since a stack trace isn't really
important this particular QA feature. Thanks to Tiziano Müller <dev-zero@g.o>
for the suggestion.

svn path=/main/trunk/; revision=13391

15 years agoAdd dummy dosed and dohard functions for EAPI 3, so that a trace can be
Zac Medico [Fri, 24 Apr 2009 02:29:44 +0000 (02:29 -0000)]
Add dummy dosed and dohard functions for EAPI 3, so that a trace can be
displayed (not possible with the helper binaries).

svn path=/main/trunk/; revision=13390

15 years agoAdd dohard and doset helper which die for EAPI 3. TODO: Make the die
Zac Medico [Fri, 24 Apr 2009 02:18:34 +0000 (02:18 -0000)]
Add dohard and doset helper which die for EAPI 3. TODO: Make the die
helper use pipe or socket IPC instead of a signal, to avoid a potential
race condition in signal delivery. Thanks to to Tiziano Müller <dev-zero@g.o>
for the initial patch.

svn path=/main/trunk/; revision=13389

15 years agoSet executable.
Zac Medico [Fri, 24 Apr 2009 00:15:24 +0000 (00:15 -0000)]
Set executable.

svn path=/main/trunk/; revision=13388

15 years agoAutomatically define errno.ESTALE if it doesn't exist (like on interix).
Zac Medico [Thu, 23 Apr 2009 16:37:30 +0000 (16:37 -0000)]
Automatically define errno.ESTALE if it doesn't exist (like on interix).
Thanks to Markus Duft <mduft@g.o> for reporting.

svn path=/main/trunk/; revision=13387

15 years agoFix breakage in PREROOTPATH logic from the EAPI 3 code.
Zac Medico [Thu, 23 Apr 2009 05:04:25 +0000 (05:04 -0000)]
Fix breakage in PREROOTPATH logic from the EAPI 3 code.

svn path=/main/trunk/; revision=13386

15 years agoRemove ccache and distcc remove_path_entry code since PATH is always
Zac Medico [Thu, 23 Apr 2009 04:53:32 +0000 (04:53 -0000)]
Remove ccache and distcc remove_path_entry code since PATH is always
initialized from scratch so there's no danger of accumulation.

svn path=/main/trunk/; revision=13385

15 years agoUse declare -F to check existence of function definitions, instead of
Zac Medico [Wed, 22 Apr 2009 18:28:47 +0000 (18:28 -0000)]
Use declare -F to check existence of function definitions, instead of
type -t, in order to avoid use of subshells.

svn path=/main/trunk/; revision=13384

15 years agoUse ret|=1 instead of ++ret, to avoid possible overflow.
Zac Medico [Tue, 21 Apr 2009 07:15:33 +0000 (07:15 -0000)]
Use ret|=1 instead of ++ret, to avoid possible overflow.

svn path=/main/trunk/; revision=13383

15 years agoAdd new dodoc implementation for EAPI 3. Thanks to to Tiziano Müller
Zac Medico [Tue, 21 Apr 2009 07:14:28 +0000 (07:14 -0000)]
Add new dodoc implementation for EAPI 3. Thanks to to Tiziano Müller
<dev-zero@g.o> for this patch.

svn path=/main/trunk/; revision=13382

15 years agoIn ebuild_main(), unset ebuild_helpers_path when finished with it, since
Zac Medico [Tue, 21 Apr 2009 07:11:23 +0000 (07:11 -0000)]
In ebuild_main(), unset ebuild_helpers_path when finished with it, since
bash exposes local variables to 'children'.

svn path=/main/trunk/; revision=13381

15 years agoAdd ${PORTAGE_BIN_PATH}/ebuild-helpers/3 directory to PATH for EAPI 3. Thanks
Zac Medico [Tue, 21 Apr 2009 07:08:44 +0000 (07:08 -0000)]
Add ${PORTAGE_BIN_PATH}/ebuild-helpers/3 directory to PATH for EAPI 3. Thanks
to Tiziano Müller <dev-zero@g.o> for this patch.

svn path=/main/trunk/; revision=13380