portage.git
17 years agoIn dblink.treewalk(), handle the case where the current cpv is already installed... v2.1.2.11
Zac Medico [Tue, 31 Jul 2007 04:47:37 +0000 (04:47 -0000)]
In dblink.treewalk(), handle the case where the current cpv is already installed but it has a different slot (multislot or unapplied slotmove). (branches/2.1.2 r6834)

svn path=/main/branches/2.1.2.9/; revision=7532

17 years agoChange the numeric value of DepPriority.MIN to be equal to that of a satisfied PDEPEN...
Zac Medico [Tue, 31 Jul 2007 01:22:11 +0000 (01:22 -0000)]
Change the numeric value of DepPriority.MIN to be equal to that of a satisfied PDEPEND since there is currently nothing with lower priority. (branches/2.1.2 r7529)

svn path=/main/branches/2.1.2.9/; revision=7530

17 years agoInitialize dblink.contentscache to None since getcontents() expects that now.
Zac Medico [Mon, 30 Jul 2007 08:12:00 +0000 (08:12 -0000)]
Initialize dblink.contentscache to None since getcontents() expects that now.

svn path=/main/branches/2.1.2.9/; revision=7519

17 years agoFor bug #186960, try to create a directory for $ROOT if it doesn't exist. (branches...
Zac Medico [Mon, 30 Jul 2007 07:53:56 +0000 (07:53 -0000)]
For bug #186960, try to create a directory for $ROOT if it doesn't exist. (branches/2.1.2 r7517)

svn path=/main/branches/2.1.2.9/; revision=7518

17 years agoRemove some useless dircache code. (branches/2.1.2 r6819)
Zac Medico [Mon, 30 Jul 2007 07:33:48 +0000 (07:33 -0000)]
Remove some useless dircache code. (branches/2.1.2 r6819)

svn path=/main/branches/2.1.2.9/; revision=7515

17 years agoMake dblink invalidate the vardbapi caches for each merge and unmerge. Don't use...
Zac Medico [Mon, 30 Jul 2007 07:26:07 +0000 (07:26 -0000)]
Make dblink invalidate the vardbapi caches for each merge and unmerge.  Don't use portage.listdir() since mtime granularity can prevent cachedir from invalidating it's cache properly and
 this redundant cache layer isn't needed anyway.  This should solve the intermittent failure of AUTOCLEAN to properly clean packages. (branches/2.1.2 r7205)

svn path=/main/branches/2.1.2.9/; revision=7514

17 years agoFor bug #182964, replace os.rename() with portage.movefile() in cases where the paren...
Zac Medico [Mon, 30 Jul 2007 07:13:09 +0000 (07:13 -0000)]
For bug #182964, replace os.rename() with portage.movefile() in cases where the parent directory might change. (branches/2.1.2 r6984)

svn path=/main/branches/2.1.2.9/; revision=7513

17 years agoFor bug #139670, update the dohtml docs to show all supported file extensions. Thank...
Zac Medico [Mon, 30 Jul 2007 07:09:42 +0000 (07:09 -0000)]
For bug #139670, update the dohtml docs to show all supported file extensions.  Thanks to Arfrever Frehtes Taifersar Arahesis for this patch. (branches/2.1.2 r7433)

svn path=/main/branches/2.1.2.9/; revision=7512

17 years agoFor bug #137483, move the `emerge --help config` docs to the emerge man page. Thanks...
Zac Medico [Mon, 30 Jul 2007 07:07:52 +0000 (07:07 -0000)]
For bug #137483, move the `emerge --help config` docs to the emerge man page. Thanks to Arfrever Frehtes Taifersar Arahesis for this patch. (branches/2.1.2 r7431)

svn path=/main/branches/2.1.2.9/; revision=7511

17 years agoFor bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf...
Zac Medico [Mon, 30 Jul 2007 07:05:34 +0000 (07:05 -0000)]
For bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf. (branches/2.1.2 r7416)

svn path=/main/branches/2.1.2.9/; revision=7510

17 years agoFor bug #186639, note that /etc/portage/profile/ supports all of the same file types...
Zac Medico [Mon, 30 Jul 2007 07:04:47 +0000 (07:04 -0000)]
For bug #186639, note that /etc/portage/profile/ supports all of the same file types that /etc/make.profile/ does, except parent. (branches/2.1.2 r7411:7414)

svn path=/main/branches/2.1.2.9/; revision=7509

17 years agoFor --buildpkgonly, say "built" instead of "merged" in the "These are the packages...
Zac Medico [Mon, 30 Jul 2007 07:02:17 +0000 (07:02 -0000)]
For --buildpkgonly, say "built" instead of "merged" in the "These are the packages that would be <action>" message. (branches/2.1.2 r7406)

svn path=/main/branches/2.1.2.9/; revision=7508

17 years agouse ${MAKE:-make} rather than make in einstall() (branches/2.1.2 r7404)
Zac Medico [Mon, 30 Jul 2007 07:01:10 +0000 (07:01 -0000)]
use ${MAKE:-make} rather than make in einstall() (branches/2.1.2 r7404)

svn path=/main/branches/2.1.2.9/; revision=7507

17 years agoFor bug #186610, use `find <path>` to scan for config updates since `cd <path>` could...
Zac Medico [Mon, 30 Jul 2007 07:00:22 +0000 (07:00 -0000)]
For bug #186610, use `find <path>` to scan for config updates since `cd <path>` could fail and cause the cwd to be scanned. (branches/2.1.2 r7403)

svn path=/main/branches/2.1.2.9/; revision=7506

17 years agoFor bug #184774, put lha's -q option last since otherwise the option parser now requi...
Zac Medico [Mon, 30 Jul 2007 06:57:42 +0000 (06:57 -0000)]
For bug #184774, put lha's -q option last since otherwise the option parser now requires level 0, 1, or 2 to be specified. (branches/2.1.2 r7359)

svn path=/main/branches/2.1.2.9/; revision=7505

17 years agoFor bug #169500, detect when the cvs server puts /Attic/ inside the path and automat...
Zac Medico [Mon, 30 Jul 2007 06:56:23 +0000 (06:56 -0000)]
For bug #169500, detect when the cvs server puts /Attic/ inside the  path and automatically correct it. (branches/2.1.2 r7341)

svn path=/main/branches/2.1.2.9/; revision=7504

17 years agoFor bug #185930, direct all FETCHCOMMAND output to stdout. (branches/2.1.2 r7331)
Zac Medico [Mon, 30 Jul 2007 06:55:10 +0000 (06:55 -0000)]
For bug #185930, direct all FETCHCOMMAND output to stdout. (branches/2.1.2 r7331)

svn path=/main/branches/2.1.2.9/; revision=7503

17 years agoFor bug #162923, when digest verification of a distfile fails, rename instead of...
Zac Medico [Mon, 30 Jul 2007 06:54:20 +0000 (06:54 -0000)]
For bug #162923, when digest verification of a distfile fails, rename instead of unlinking it in case it's a large download and the user wants to salvage it due to a bad digest. (branches/2.1.2 r7326)

svn path=/main/branches/2.1.2.9/; revision=7502

17 years agoIf the fetcher reported success and the file is too small, don't attempt to resume...
Zac Medico [Mon, 30 Jul 2007 06:50:13 +0000 (06:50 -0000)]
If the fetcher reported success and the file is too small, don't attempt to resume.  Upstream probably changed the distfile and we need to show a digest verification failure so the user gets a clue. (branches/2.1.2 r7322)

svn path=/main/branches/2.1.2.9/; revision=7501

17 years agoFor bug #185670, make sure package.use.{mask,force} are properly displayed. (branches...
Zac Medico [Mon, 30 Jul 2007 06:48:46 +0000 (06:48 -0000)]
For bug #185670, make sure package.use.{mask,force} are properly displayed. (branches/2.1.2 r7254, r7296, and r7499)

svn path=/main/branches/2.1.2.9/; revision=7500

17 years agoFor bug #185504, document profiles/repo_name. (branches/2.1.2 r7320)
Zac Medico [Mon, 30 Jul 2007 06:35:54 +0000 (06:35 -0000)]
For bug #185504, document profiles/repo_name. (branches/2.1.2 r7320)

svn path=/main/branches/2.1.2.9/; revision=7498

17 years agoDiscard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used...
Zac Medico [Mon, 30 Jul 2007 06:31:54 +0000 (06:31 -0000)]
Discard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used and the --tree algorithm does a good job of regenerating them when appropriate. This also fixes the display algorithm so it doesn't falsely detect duplicate edges as much. (branches/2.1.2 r7068)

svn path=/main/branches/2.1.2.9/; revision=7497

17 years agoDocument PORTAGE_WORKDIR_MODE for bug #8688. (branches/2.1.2 r7236)
Zac Medico [Mon, 30 Jul 2007 06:12:38 +0000 (06:12 -0000)]
Document PORTAGE_WORKDIR_MODE for bug #8688. (branches/2.1.2 r7236)

svn path=/main/branches/2.1.2.9/; revision=7495

17 years agoUpdate the FEATURES=strict docs for better clarity. (branches/2.1.2 r7235)
Zac Medico [Mon, 30 Jul 2007 06:10:26 +0000 (06:10 -0000)]
Update the FEATURES=strict docs for better clarity. (branches/2.1.2 r7235)

svn path=/main/branches/2.1.2.9/; revision=7494

17 years agodocument FEATURES=sesandbox #161985 (branches/2.1.2 r7234)
Zac Medico [Mon, 30 Jul 2007 06:09:15 +0000 (06:09 -0000)]
document FEATURES=sesandbox #161985 (branches/2.1.2 r7234)

svn path=/main/branches/2.1.2.9/; revision=7493

17 years agoremove readable bits for debug files if the souce ELF is setXid (branches/2.1.2 r7232)
Zac Medico [Mon, 30 Jul 2007 06:05:58 +0000 (06:05 -0000)]
remove readable bits for debug files if the souce ELF is setXid (branches/2.1.2 r7232)

svn path=/main/branches/2.1.2.9/; revision=7492

17 years agoFor bug #184412, make depclean more consistent with the update algorithm by keeping...
Zac Medico [Mon, 30 Jul 2007 05:48:28 +0000 (05:48 -0000)]
For bug #184412, make depclean more consistent with the update algorithm by keeping the highest version that as visible in the portage tree and pruning any versions that are either masked or no longer exist in the portage tree. (branches/2.1.2 r7196)

svn path=/main/branches/2.1.2.9/; revision=7491

17 years agoRemove redundant config update notification (bug #184116, branches/2.1.2 r7160)
Zac Medico [Mon, 30 Jul 2007 05:39:29 +0000 (05:39 -0000)]
Remove redundant config update notification (bug #184116, branches/2.1.2 r7160)

svn path=/main/branches/2.1.2.9/; revision=7490

17 years agoImplement BlockerCache.keys() so that DictMixin.__repr__() works. (branches/2.1.2...
Zac Medico [Mon, 30 Jul 2007 05:36:55 +0000 (05:36 -0000)]
Implement BlockerCache.keys() so that DictMixin.__repr__() works. (branches/2.1.2 r7136)

svn path=/main/branches/2.1.2.9/; revision=7489

17 years agoFor bug #131030, update the warning about potential for emerge --sync overwrite or...
Zac Medico [Mon, 30 Jul 2007 05:35:44 +0000 (05:35 -0000)]
For bug #131030, update the warning about potential for emerge --sync overwrite or delete files in ${PORTDIR}.  Add references to the PKGDIR and DISTDIR docs. (branches/2.1.2 r7112:7115)

svn path=/main/branches/2.1.2.9/; revision=7488

17 years agoFor bug #180045, try to merge PDEPEND as soon as possible so that it behaves more...
Zac Medico [Mon, 30 Jul 2007 05:33:16 +0000 (05:33 -0000)]
For bug #180045, try to merge PDEPEND as soon as possible so that it behaves more like RDEPEND. (branches/2.1.2 r7104:7107, r7116:7119, and r7122:7127)

svn path=/main/branches/2.1.2.9/; revision=7487

17 years agoFor bug #183431, catch a ParseError caused by a corrupt profile and dump an error...
Zac Medico [Mon, 30 Jul 2007 05:17:28 +0000 (05:17 -0000)]
For bug #183431, catch a ParseError caused by a corrupt profile and dump an error message.  This allows emerge to continue with actions that don't require a valid profile, such as --sync. (branches/2.1.2 r7074)

svn path=/main/branches/2.1.2.9/; revision=7486

17 years agoAdd sanity checks in fetch() and digestgen() to automatically detect and handle inval...
Zac Medico [Mon, 30 Jul 2007 05:13:31 +0000 (05:13 -0000)]
Add sanity checks in fetch() and digestgen() to automatically detect and handle invalid empty distfiles since some users have reported difficulty when trying to create digests. (branches/2.1.2 r7039:7045)

svn path=/main/branches/2.1.2.9/; revision=7485

17 years agoUpdate FETCHCOMMAND and RESUMECOMMAND docs (bug #141550, branches/2.1.2 r7005:7007)
Zac Medico [Mon, 30 Jul 2007 05:04:52 +0000 (05:04 -0000)]
Update FETCHCOMMAND and RESUMECOMMAND docs (bug #141550, branches/2.1.2 r7005:7007)

svn path=/main/branches/2.1.2.9/; revision=7484

17 years agodont break when the binhost url doesn't end with a slash (bug #144440, branches/2...
Zac Medico [Mon, 30 Jul 2007 05:03:03 +0000 (05:03 -0000)]
dont break when the binhost url doesn't end with a slash (bug #144440, branches/2.1.2 r7003)

svn path=/main/branches/2.1.2.9/; revision=7483

17 years agochange default diff_command for emacs (bug #147558, branches/2.1.2 r7001)
Zac Medico [Mon, 30 Jul 2007 05:01:10 +0000 (05:01 -0000)]
change default diff_command for emacs (bug #147558, branches/2.1.2 r7001)

svn path=/main/branches/2.1.2.9/; revision=7482

17 years agoget ACCEPT_KEYWORDS from the env in gvisible() to properly handle negated values...
Zac Medico [Mon, 30 Jul 2007 04:58:06 +0000 (04:58 -0000)]
get ACCEPT_KEYWORDS from the env in gvisible() to properly handle negated values (bug #139600) (branches/2.1.2 r6998)

svn path=/main/branches/2.1.2.9/; revision=7481

17 years agoDocument RESTRICT=bindist and add a note about allowance for conditional syntax....
Zac Medico [Mon, 30 Jul 2007 04:52:55 +0000 (04:52 -0000)]
Document RESTRICT=bindist and add a note about allowance for conditional syntax. (branches/2.1.2 r6957)

svn path=/main/branches/2.1.2.9/; revision=7480

17 years agoClean up the profile masking code. (branches/2.1.2 r6936)
Zac Medico [Mon, 30 Jul 2007 04:51:11 +0000 (04:51 -0000)]
Clean up the profile masking code. (branches/2.1.2 r6936)

svn path=/main/branches/2.1.2.9/; revision=7479

17 years agocache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_...
Zac Medico [Mon, 30 Jul 2007 04:49:45 +0000 (04:49 -0000)]
cache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_ (branches/2.1.2 r6935)

svn path=/main/branches/2.1.2.9/; revision=7478

17 years agoAdd support for RSYNC_EXTRA_OPTS to webrsync (branches/2.1.2 r6927)
Zac Medico [Mon, 30 Jul 2007 04:45:05 +0000 (04:45 -0000)]
Add support for RSYNC_EXTRA_OPTS to webrsync (branches/2.1.2 r6927)

svn path=/main/branches/2.1.2.9/; revision=7477

17 years agoSome minor fixes for manifest code (branches/2.1.2 r6923)
Zac Medico [Mon, 30 Jul 2007 04:42:00 +0000 (04:42 -0000)]
Some minor fixes for manifest code (branches/2.1.2 r6923)

svn path=/main/branches/2.1.2.9/; revision=7476

17 years agoDisplay message about --buildpkgonly restriction in pretend mode as well (branches...
Zac Medico [Mon, 30 Jul 2007 04:40:35 +0000 (04:40 -0000)]
Display message about --buildpkgonly restriction in pretend mode as well (branches/2.1.2 r6908)

svn path=/main/branches/2.1.2.9/; revision=7475

17 years agodefault --help should be usable, so make the extended output require --verbose (branc...
Zac Medico [Mon, 30 Jul 2007 04:38:58 +0000 (04:38 -0000)]
default --help should be usable, so make the extended output require --verbose (branches/2.1.2 r6906)

svn path=/main/branches/2.1.2.9/; revision=7474

17 years agofix grammar in error output (branches/2.1.2 r6905)
Zac Medico [Mon, 30 Jul 2007 04:37:49 +0000 (04:37 -0000)]
fix grammar in error output (branches/2.1.2 r6905)

svn path=/main/branches/2.1.2.9/; revision=7473

17 years agomake PDEPEND wording less restrictive #172511 and clarify install status wrt ||(...
Zac Medico [Mon, 30 Jul 2007 04:37:04 +0000 (04:37 -0000)]
make PDEPEND wording less restrictive #172511 and clarify install status wrt ||() as noted by ferringb (branches/2.1.2 r6904)

svn path=/main/branches/2.1.2.9/; revision=7472

17 years agoUse the the optparse options for --ignore-default-opts since that allows option abrev...
Zac Medico [Mon, 30 Jul 2007 04:33:54 +0000 (04:33 -0000)]
Use the the optparse options for --ignore-default-opts since that allows option abreviation to work. (branches/2.1.2 r6891)

svn path=/main/branches/2.1.2.9/; revision=7471

17 years agoFor bug #180165, make portageq print a "Permission denied" error when appropriate...
Zac Medico [Mon, 30 Jul 2007 04:31:03 +0000 (04:31 -0000)]
For bug #180165, make portageq print a "Permission denied" error when appropriate and make has_version die if portageq has an unexpected exit code. (branches/2.1.2 r6885)

svn path=/main/branches/2.1.2.9/; revision=7470

17 years agoIf a package is in the world set but it's not installed, go ahead and install it...
Zac Medico [Mon, 30 Jul 2007 04:29:11 +0000 (04:29 -0000)]
If a package is in the world set but it's not installed, go ahead and install it if it's available (instead of telling the user to run emaint). (branches/2.1.2 r6884 and r6888)

svn path=/main/branches/2.1.2.9/; revision=7469

17 years agoFix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission...
Zac Medico [Mon, 30 Jul 2007 04:26:52 +0000 (04:26 -0000)]
Fix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission denied). (branches/2.1.2 r6880)

svn path=/main/branches/2.1.2.9/; revision=7468

17 years agoFor bug #143340, give an appropriate message when there is no read access to a binary...
Zac Medico [Mon, 30 Jul 2007 04:23:08 +0000 (04:23 -0000)]
For bug #143340, give an appropriate message when there is no read access to a binary package. (branches/2.1.2 r6878)

svn path=/main/branches/2.1.2.9/; revision=7467

17 years agoMake repoman exit with nonzero status whenever there are qa issues (already does...
Zac Medico [Mon, 30 Jul 2007 04:17:23 +0000 (04:17 -0000)]
Make repoman exit with nonzero status whenever there are qa issues (already does the same in commit mode). Thanks to Daniel Gryniewicz <dang@gentoo.org> in bug #182166. (branches/2.1.2 r6857)

svn path=/main/branches/2.1.2.9/; revision=7466

17 years agoFor bug #182021, use active voice when notifying the user that superuser access is...
Zac Medico [Mon, 30 Jul 2007 04:16:05 +0000 (04:16 -0000)]
For bug #182021, use active voice when notifying the user that superuser access is required. (branches/2.1.2 r6855)

svn path=/main/branches/2.1.2.9/; revision=7465

17 years agoFor bug #182157, never chmod 0 symlinks before unlinking them. (branches/2.1.2 r6849)
Zac Medico [Mon, 30 Jul 2007 04:14:21 +0000 (04:14 -0000)]
For bug #182157, never chmod 0 symlinks before unlinking them. (branches/2.1.2 r6849)

svn path=/main/branches/2.1.2.9/; revision=7464

17 years agoFor bug #181953, prevent the circular_blocks code from selecting a node that's alread...
Zac Medico [Mon, 30 Jul 2007 04:06:52 +0000 (04:06 -0000)]
For bug #181953, prevent the circular_blocks code from selecting a node that's already been selected by the normal node selection process. (branches/2.1.2 r6838)

svn path=/main/branches/2.1.2.9/; revision=7463

17 years agoFix dblink.isowner() so it works properly when ROOT!=/. (branches/2.1.2 r6828)
Zac Medico [Mon, 30 Jul 2007 04:03:08 +0000 (04:03 -0000)]
Fix dblink.isowner() so it works properly when ROOT!=/. (branches/2.1.2 r6828)

svn path=/main/branches/2.1.2.9/; revision=7462

17 years agoAlways return a dict from dblink.getcontents() since callers never expect to get...
Zac Medico [Mon, 30 Jul 2007 03:50:38 +0000 (03:50 -0000)]
Always return a dict from dblink.getcontents() since callers never expect to get None. (branches/2.1.2 r6817)

svn path=/main/branches/2.1.2.9/; revision=7461

17 years agoUpdate the PORT_LOGDIR docs for bug #82378. Thanks to Arfrever FTA for reporting...
Zac Medico [Mon, 30 Jul 2007 03:46:30 +0000 (03:46 -0000)]
Update the PORT_LOGDIR docs for bug #82378.  Thanks to Arfrever FTA for reporting. (branches/2.1.2 r6811)

svn path=/main/branches/2.1.2.9/; revision=7460

17 years agoFor bug #181355, detect parenthesis mismatch in paren_reduce(), raise an InvalidDepen...
Zac Medico [Mon, 30 Jul 2007 03:45:08 +0000 (03:45 -0000)]
For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an InvalidDependString exception, and make sure that all callers handle the exception properly. (branches/2.1.2 r6798)

svn path=/main/branches/2.1.2.9/; revision=7459

17 years agoFor bug #181551, support slot deps in package.keywords. (branches/2.1.2 r6791)
Zac Medico [Mon, 30 Jul 2007 03:43:18 +0000 (03:43 -0000)]
For bug #181551, support slot deps in package.keywords. (branches/2.1.2 r6791)

svn path=/main/branches/2.1.2.9/; revision=7458

17 years agoMake repoman work with both + and - flags in IUSE. (branches/2.1.2 r6789)
Zac Medico [Mon, 30 Jul 2007 03:42:15 +0000 (03:42 -0000)]
Make repoman work with both + and - flags in IUSE. (branches/2.1.2 r6789)

svn path=/main/branches/2.1.2.9/; revision=7457

17 years agoSkip bogus '$ECLASS inherited illegally' messages when installing from a binary packa...
Zac Medico [Mon, 30 Jul 2007 03:38:54 +0000 (03:38 -0000)]
Skip bogus '$ECLASS inherited illegally' messages when installing from a binary package. (branches/2.1.2 r6776)

svn path=/main/branches/2.1.2.9/; revision=7456

17 years agoFor bug #152828, run -ldconfig when != . (branches/2.1.2 r6771)
Zac Medico [Mon, 30 Jul 2007 03:37:38 +0000 (03:37 -0000)]
For bug #152828, run -ldconfig when  != . (branches/2.1.2 r6771)

svn path=/main/branches/2.1.2.9/; revision=7455

17 years agoFor bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput...
Zac Medico [Mon, 30 Jul 2007 03:35:35 +0000 (03:35 -0000)]
For bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput() since the latter puts too much restriction on what echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\" may contain. (branches/2.1.2 r6769, r6773, r6800, and r6847)

svn path=/main/branches/2.1.2.9/; revision=7454

17 years agoFor bug #181104, make econf give an appropriate error message when configure is not...
Zac Medico [Mon, 30 Jul 2007 03:22:53 +0000 (03:22 -0000)]
For bug #181104, make econf give an appropriate error message when configure is not executable. (branches/2.1.2 r6767)

svn path=/main/branches/2.1.2.9/; revision=7453

17 years agoMake all the python code respect USE conditionals in RESTRICT. It's already handled...
Zac Medico [Mon, 30 Jul 2007 03:21:33 +0000 (03:21 -0000)]
Make all the python code respect USE conditionals in RESTRICT.  It's already handled on the bash side since RESTRICT is assigned the value of PORTAGE_RESTRICT. (branches/2.1.2 r6763:6765)

svn path=/main/branches/2.1.2.9/; revision=7452

17 years agoReturn copies of the cached values from pkgsplit and catpkgsplit. (branches/2.1.2...
Zac Medico [Mon, 30 Jul 2007 03:17:10 +0000 (03:17 -0000)]
Return copies of the cached values from pkgsplit and catpkgsplit. (branches/2.1.2 r6763)

svn path=/main/branches/2.1.2.9/; revision=7451

17 years agoFor bug #156536, update --resume docs to show that the resume history is capable...
Zac Medico [Mon, 30 Jul 2007 03:15:32 +0000 (03:15 -0000)]
For bug #156536, update --resume docs to show that the resume history is capable of storing two merge lists. (branches/2.1.2 r6762)

svn path=/main/branches/2.1.2.9/; revision=7450

17 years agoFor bug #153967, use -O ${DISTDIR}/${FILE} in the default FETCHCOMMAND. (branches...
Zac Medico [Mon, 30 Jul 2007 03:14:25 +0000 (03:14 -0000)]
For bug #153967, use -O ${DISTDIR}/${FILE} in the default FETCHCOMMAND. (branches/2.1.2 r6761)

svn path=/main/branches/2.1.2.9/; revision=7449

17 years agoWhen dblink.treewalk() looks for an installed instance in the same slot, make sure...
Zac Medico [Mon, 30 Jul 2007 03:11:58 +0000 (03:11 -0000)]
When dblink.treewalk() looks for an installed instance in the same slot, make sure that it selects the one with the highest COUNTER in case there are multiple matches. (branches/2.1.2 r6758)

svn path=/main/branches/2.1.2.9/; revision=7448

17 years agoRemove duplicate entries from special variables processed by env_update() (bug #17219...
Zac Medico [Mon, 30 Jul 2007 03:09:24 +0000 (03:09 -0000)]
Remove duplicate entries from special variables processed by env_update() (bug #172194) (branches/2.1.2 r6757 and r6759)

svn path=/main/branches/2.1.2.9/; revision=7447

17 years agoUse user-provided ${mv_opts} for -5 (bug #47442) (branches/2.1.2 r6756)
Zac Medico [Mon, 30 Jul 2007 03:06:32 +0000 (03:06 -0000)]
Use user-provided ${mv_opts} for -5 (bug #47442) (branches/2.1.2 r6756)

svn path=/main/branches/2.1.2.9/; revision=7446

17 years agoAdd ECONF_SOURCE to the econf docs. (branches/2.1.2 r6755)
Zac Medico [Mon, 30 Jul 2007 03:05:17 +0000 (03:05 -0000)]
Add ECONF_SOURCE to the econf docs. (branches/2.1.2 r6755)

svn path=/main/branches/2.1.2.9/; revision=7445

17 years agoDocument EXTRA_ECONF, thanks to Arfrever FTA in bug #167057. (branches/2.1.2 r6754)
Zac Medico [Mon, 30 Jul 2007 03:03:45 +0000 (03:03 -0000)]
Document EXTRA_ECONF, thanks to Arfrever FTA in bug #167057. (branches/2.1.2 r6754)

svn path=/main/branches/2.1.2.9/; revision=7444

17 years agoFor bug #82378, only set permissions on PORT_LOGDIR if it is created automatically...
Zac Medico [Mon, 30 Jul 2007 03:02:17 +0000 (03:02 -0000)]
For bug #82378, only set permissions on PORT_LOGDIR if it is created automatically. (branches/2.1.2 r6744)

svn path=/main/branches/2.1.2.9/; revision=7443

17 years agoImprove support for slot deps atoms given on the command line. (branches/2.1.2 r6731)
Zac Medico [Mon, 30 Jul 2007 03:00:20 +0000 (03:00 -0000)]
Improve support for slot deps atoms given on the command line. (branches/2.1.2 r6731)

svn path=/main/branches/2.1.2.9/; revision=7442

17 years agoDon't complain when is missing unless manifest1 compatibility is enabled. (branches...
Zac Medico [Mon, 30 Jul 2007 02:57:44 +0000 (02:57 -0000)]
Don't complain when  is missing unless manifest1 compatibility is enabled. (branches/2.1.2 r6717)

svn path=/main/branches/2.1.2.9/; revision=7441

17 years agoInstead of calling sys.exit() when aux_get() fails inside getfetchlist(), convert...
Zac Medico [Mon, 30 Jul 2007 02:55:06 +0000 (02:55 -0000)]
Instead of calling sys.exit() when aux_get() fails inside getfetchlist(), convert the KeyError to an InvalidDependString exception since callers already handle it. (branches/2.1.2 r6715)

svn path=/main/branches/2.1.2.9/; revision=7440

17 years agoDon't repeatedly invoke the depend phase for ebuilds that are already known to be...
Zac Medico [Mon, 30 Jul 2007 02:53:45 +0000 (02:53 -0000)]
Don't repeatedly invoke the depend phase for ebuilds that are already known to be broken. (branches/2.1.2 r6714)

svn path=/main/branches/2.1.2.9/; revision=7439

17 years agoFor bug #149397, raise an InvalidDependString exception if a USE has no basename...
Zac Medico [Mon, 30 Jul 2007 02:52:34 +0000 (02:52 -0000)]
For bug #149397, raise an InvalidDependString exception if a USE has no basename. (branches/2.1.2 r6713)

svn path=/main/branches/2.1.2.9/; revision=7438

17 years agoOnly check ChangeLog if we're dealing with an ebuild (bug #170604) (branches/2.1...
Zac Medico [Mon, 30 Jul 2007 02:48:40 +0000 (02:48 -0000)]
Only check ChangeLog if we're dealing with an ebuild (bug #170604) (branches/2.1.2 r6702)

svn path=/main/branches/2.1.2.9/; revision=7437

17 years agoFor bug #172886, catch GetoptError. (branches/2.1.2 r6701)
Zac Medico [Mon, 30 Jul 2007 02:46:52 +0000 (02:46 -0000)]
For bug #172886, catch GetoptError. (branches/2.1.2 r6701)

svn path=/main/branches/2.1.2.9/; revision=7436

17 years agoMake dep_zapdeps() pull SLOT from the correct dbapi instance when it falls back to...
Zac Medico [Mon, 30 Jul 2007 02:45:23 +0000 (02:45 -0000)]
Make dep_zapdeps() pull SLOT from the correct dbapi instance when it falls back to the vdb. (branches/2.1.2 r6700)

svn path=/main/branches/2.1.2.9/; revision=7435

17 years agoFor bug #139670, update the dohtml docs to show all supported file extensions. Thank...
Zac Medico [Mon, 30 Jul 2007 02:24:01 +0000 (02:24 -0000)]
For bug #139670, update the dohtml docs to show all supported file extensions.  Thanks to Arfrever Frehtes Taifersar Arahesis for this patch. (trunk r7432)

svn path=/main/branches/2.1.2/; revision=7433

17 years agoFor bug #137483, move the `emerge --help config` docs to the emerge man page. Thanks...
Zac Medico [Mon, 30 Jul 2007 01:30:17 +0000 (01:30 -0000)]
For bug #137483, move the `emerge --help config` docs to the emerge man page. Thanks to Arfrever Frehtes Taifersar Arahesis for this patch. (trunk r7430)

svn path=/main/branches/2.1.2/; revision=7431

17 years agoFor bug #187016, and env.d to the default USE_ORDER. (trunk r7426:7428)
Zac Medico [Sun, 29 Jul 2007 22:13:03 +0000 (22:13 -0000)]
For bug #187016, and env.d to the default USE_ORDER. (trunk r7426:7428)

svn path=/main/branches/2.1.2/; revision=7429

17 years agoFor pty logging, handle the EAGAIN error that is thrown from fcntl when the slave...
Zac Medico [Sun, 29 Jul 2007 02:10:36 +0000 (02:10 -0000)]
For pty logging, handle the EAGAIN error that is thrown from fcntl when the slave end of the pty is closed on FreeBSD. (trunk r7424)

svn path=/main/branches/2.1.2/; revision=7425

17 years agoFor bug #186876, fall back it os.pipe() if pty.openpty() fails. (trunk r7422)
Zac Medico [Sat, 28 Jul 2007 22:52:37 +0000 (22:52 -0000)]
For bug #186876, fall back it os.pipe() if pty.openpty() fails. (trunk r7422)

svn path=/main/branches/2.1.2/; revision=7423

17 years agoWhen the fetch phase fails inside doebuild(), create an eerror log since the mod_echo... v2.1.3
Zac Medico [Sat, 28 Jul 2007 04:13:47 +0000 (04:13 -0000)]
When the fetch phase fails inside doebuild(), create an eerror log since the mod_echo module might push the original message off of the top of the terminal and prevent the user from being able to see it. (trunk r7419)

svn path=/main/branches/2.1.2/; revision=7420

17 years agoHandle 2 more cases where elog_process() needs to be called:
Zac Medico [Sat, 28 Jul 2007 03:07:07 +0000 (03:07 -0000)]
Handle 2 more cases where elog_process() needs to be called:
- binary install via pkgmerge() fails before reaching the merge phase (pkg_setup dies)
- doebuild() is called for the merge phase but it dies before reaching the merge phase
(trunk r7417)

svn path=/main/branches/2.1.2/; revision=7418

17 years agoFor bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf...
Zac Medico [Sat, 28 Jul 2007 00:09:40 +0000 (00:09 -0000)]
For bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf. (trunk r7415)

svn path=/main/branches/2.1.2/; revision=7416

17 years agoFor bug #186639, note that /etc/portage/profile/ supports all of the same file types...
Zac Medico [Fri, 27 Jul 2007 23:31:31 +0000 (23:31 -0000)]
For bug #186639, note that /etc/portage/profile/ supports all of the same file types that /etc/make.profile/ does, except parent. (trunk r7413)

svn path=/main/branches/2.1.2/; revision=7414

17 years agoFor bug #186639, add more clarification about the relationship between /etc/make...
Zac Medico [Fri, 27 Jul 2007 23:17:54 +0000 (23:17 -0000)]
For bug #186639, add more clarification about the relationship between /etc/make.profile/ and /etc/portage/profile/. (trunk r7411)

svn path=/main/branches/2.1.2/; revision=7412

17 years agoFor bug #186480, while we transition to repository lables, avoid ? spam in the reposi...
Zac Medico [Fri, 27 Jul 2007 22:35:15 +0000 (22:35 -0000)]
For bug #186480, while we transition to repository lables, avoid ? spam in the repository display by ignoring a missing repository label for an installed package.

svn path=/main/branches/2.1.2/; revision=7409

17 years agoFor bug #186826, always show --newuse flags that trigger reinstallation even when...
Zac Medico [Fri, 27 Jul 2007 22:03:31 +0000 (22:03 -0000)]
For bug #186826, always show --newuse flags that trigger reinstallation even when not in --verbose mode. (trunk r7407)

svn path=/main/branches/2.1.2/; revision=7408

17 years agoFor --buildpkgonly, say "built" instead of "merged" in the "These are the packages...
Zac Medico [Fri, 27 Jul 2007 18:57:58 +0000 (18:57 -0000)]
For --buildpkgonly, say "built" instead of "merged" in the "These are the packages that would be <action>" message. (trunk r7405)

svn path=/main/branches/2.1.2/; revision=7406

17 years agouse ${MAKE:-make} rather than make in einstall() (trunk r7396)
Zac Medico [Fri, 27 Jul 2007 18:34:54 +0000 (18:34 -0000)]
use ${MAKE:-make} rather than make in einstall() (trunk r7396)

svn path=/main/branches/2.1.2/; revision=7404

17 years agoFor bug #186610, use `find <path>` to scan for config updates since `cd <path>` could...
Zac Medico [Thu, 26 Jul 2007 21:54:49 +0000 (21:54 -0000)]
For bug #186610, use `find <path>` to scan for config updates since `cd <path>` could fail and cause the cwd to be scanned. (trunk r7402)

svn path=/main/branches/2.1.2/; revision=7403

17 years agoWhen setting the size of the pty for logging, check if stdout isatty rather than...
Zac Medico [Thu, 26 Jul 2007 21:26:23 +0000 (21:26 -0000)]
When setting the size of the pty for logging, check if stdout isatty rather than stdin. (trunk r7400)

svn path=/main/branches/2.1.2/; revision=7401

17 years agoMerge the portage.spawn() implementation with pty logging from trunk:
Zac Medico [Wed, 25 Jul 2007 11:16:27 +0000 (11:16 -0000)]
Merge the portage.spawn() implementation with pty logging from trunk:
- Sending output through the pty device makes logging compatible with
  sesandbox and the default selinux security policy (see bug #162404).
- Having a pty device for stdout makes $PAGER behave nicely for things like
  check_license() from eutils.eclass.

svn path=/main/branches/2.1.2/; revision=7395