portage.git
17 years agoFor consistency with other xterm titles code, redirect $PROMPT_COMMAND output to...
Zac Medico [Mon, 11 Jun 2007 08:43:56 +0000 (08:43 -0000)]
For consistency with other xterm titles code, redirect $PROMPT_COMMAND output to stderr. (trunk r6799)

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

17 years agoFor bug #181355, detect parenthesis mismatch in paren_reduce(), raise an InvalidDepen...
Zac Medico [Mon, 11 Jun 2007 02:49:15 +0000 (02:49 -0000)]
For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an InvalidDependString exception, and make sure that all callers handle the exception properly. (trunk r6795:6797)

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

17 years agoFor bug #81097, detect and report suspicious hardlinks to suid/sgid files. False...
Zac Medico [Sun, 10 Jun 2007 22:58:51 +0000 (22:58 -0000)]
For bug #81097, detect and report suspicious hardlinks to suid/sgid files.  False positives are prevented by doing reference counts for each inode having suid/sgid bits and multiple hardlinks.  The security check is done prior to each merge or unmerge phase and it will cause the phase to abort if a problem is found (so that the user can investigate before any files are removed). (trunk r6791:6794)

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

17 years agoFor bug #181551, support slot deps in package.keywords. (trunk r6790)
Zac Medico [Sun, 10 Jun 2007 19:35:15 +0000 (19:35 -0000)]
For bug #181551, support slot deps in package.keywords. (trunk r6790)

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

17 years agoMake repoman work with both + and - flags in IUSE. (trunk r6788)
Zac Medico [Sun, 10 Jun 2007 10:23:20 +0000 (10:23 -0000)]
Make repoman work with both + and - flags in IUSE. (trunk r6788)

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

17 years agoPreserve order of flags from IUSE in wildcard expansion. (trunk r6786)
Zac Medico [Sun, 10 Jun 2007 10:12:51 +0000 (10:12 -0000)]
Preserve order of flags from IUSE in wildcard expansion. (trunk r6786)

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

17 years agoFor bug #148702, use the * token to trigger wildcard expansion of IUSE. This adds...
Zac Medico [Sat, 9 Jun 2007 23:09:15 +0000 (23:09 -0000)]
For bug #148702, use the * token to trigger wildcard expansion of IUSE.  This adds flexibility and prevents flags from being enabled unexpectedly. (trunk r6784)

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

17 years agoWhen an update is discarded due to confmem, record it's mtime in the contents (it...
Zac Medico [Sat, 9 Jun 2007 13:17:59 +0000 (13:17 -0000)]
When an update is discarded due to confmem, record it's mtime in the contents (it's md5 is already recorded there too). (trunk r6782)

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

17 years agoFor bug #148702, automatically enable flags from IUSE if they correspond to unset...
Zac Medico [Sat, 9 Jun 2007 11:44:20 +0000 (11:44 -0000)]
For bug #148702, automatically enable flags from IUSE if they correspond to unset USE_EXPAND variables such as LINGUAS.  The variable only has to be set to some value or an empty string in order to disable these flags. (trunk r6780)

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

17 years agoFor bug #181387, fix an UnboundLocalError for the mymtime variable that is triggered...
Zac Medico [Sat, 9 Jun 2007 10:56:36 +0000 (10:56 -0000)]
For bug #181387, fix an UnboundLocalError for the mymtime variable that is triggered by confmem. (trunk r6778)

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

17 years agoSkip bogus '$ECLASS inherited illegally' messages when installing from a binary packa... v2.1.2.10
Zac Medico [Sat, 9 Jun 2007 04:46:32 +0000 (04:46 -0000)]
Skip bogus '$ECLASS inherited illegally' messages when installing from a binary package. (trunk r6775)

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

17 years agoDon't forget to rename the temporary binpkg after it's created.
Zac Medico [Sat, 9 Jun 2007 04:41:07 +0000 (04:41 -0000)]
Don't forget to rename the temporary binpkg after it's created.

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

17 years agoOnly execute $PROMPT_COMMAND when appropriate. (trunk r6772)
Zac Medico [Sat, 9 Jun 2007 03:51:51 +0000 (03:51 -0000)]
Only execute $PROMPT_COMMAND when appropriate. (trunk r6772)

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

17 years agoFor bug #152828, run ${CHOST}-ldconfig when ${CBUILD} != ${CHOST}. (trunk r6770)
Zac Medico [Sat, 9 Jun 2007 00:19:59 +0000 (00:19 -0000)]
For bug #152828, run ${CHOST}-ldconfig when ${CBUILD} != ${CHOST}. (trunk r6770)

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

17 years agoFor bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput...
Zac Medico [Fri, 8 Jun 2007 23:11:10 +0000 (23:11 -0000)]
For bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput() since the latter puts too much restriction on what $PROMPT_COMMAND may contain. (trunk r6768)

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

17 years agoFor bug #181104, make econf give an appropriate error message when configure is not...
Zac Medico [Fri, 8 Jun 2007 21:42:11 +0000 (21:42 -0000)]
For bug #181104, make econf give an appropriate error message when configure is not executable. (trunk r6766)

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

17 years agoIgnore InvalidDependString exceptions from the RESTRICT of nomerge nodes. (trunk...
Zac Medico [Fri, 8 Jun 2007 20:14:57 +0000 (20:14 -0000)]
Ignore InvalidDependString exceptions from the RESTRICT of nomerge nodes. (trunk r6751)

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

17 years agoMake all the python code respect USE conditionals in RESTRICT. It's already handled...
Zac Medico [Fri, 8 Jun 2007 20:11:41 +0000 (20:11 -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. (trunk r6750)

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

17 years agoReturn copies of the cached values from pkgsplit and catpkgsplit. (trunk r6746)
Zac Medico [Fri, 8 Jun 2007 20:01:55 +0000 (20:01 -0000)]
Return copies of the cached values from pkgsplit and catpkgsplit. (trunk r6746)

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

17 years agoFor bug #156536, update --resume docs to show that the resume history is capable...
Zac Medico [Fri, 8 Jun 2007 19:57:23 +0000 (19:57 -0000)]
For bug #156536, update --resume docs to show that the resume history is capable of storing two merge lists. (trunk r6742)

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

17 years agoFor bug #153967, use -O / in the default FETCHCOMMAND. (trunk r6741)
Zac Medico [Fri, 8 Jun 2007 19:55:21 +0000 (19:55 -0000)]
For bug #153967, use -O / in the default FETCHCOMMAND. (trunk r6741)

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

17 years agoFor bug #181021, preserve timestamps from during merge. For replacement operations...
Zac Medico [Fri, 8 Jun 2007 19:54:15 +0000 (19:54 -0000)]
For bug #181021, preserve timestamps from  during merge.  For replacement operations, the unmerge phase checks the contents of the newer instance in order to prevent identical files in the newer instance from being unmerged. (trunk r6739, r6740, and r6745)

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

17 years agoFix typo, split SPACE_SEPARATED variables on whitespace. (trunk r6738)
Zac Medico [Fri, 8 Jun 2007 19:37:15 +0000 (19:37 -0000)]
Fix typo, split SPACE_SEPARATED variables on whitespace. (trunk r6738)

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

17 years agoWhen dblink.treewalk() looks for an installed instance in the same slot, make sure...
Zac Medico [Fri, 8 Jun 2007 19:28:06 +0000 (19:28 -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. (trunk r6737)

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

17 years agoRemove duplicate entries from special variables processed by env_update() (bug #17219...
Zac Medico [Fri, 8 Jun 2007 19:25:54 +0000 (19:25 -0000)]
Remove duplicate entries from special variables processed by env_update() (bug #172194) (trunk r6736 and r6738)

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

17 years agoUse user-provided for -5 (bug #47442) (trunk r6735)
Zac Medico [Fri, 8 Jun 2007 19:23:28 +0000 (19:23 -0000)]
Use user-provided  for -5 (bug #47442) (trunk r6735)

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

17 years agoAdd ECONF_SOURCE to the econf docs. (trunk r6733)
Zac Medico [Fri, 8 Jun 2007 19:22:06 +0000 (19:22 -0000)]
Add ECONF_SOURCE to the econf docs. (trunk r6733)

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

17 years agoDocument EXTRA_ECONF, thanks to Arfrever FTA in bug #167057. (trunk r6732)
Zac Medico [Fri, 8 Jun 2007 19:21:03 +0000 (19:21 -0000)]
Document EXTRA_ECONF, thanks to Arfrever FTA in bug #167057. (trunk r6732)

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

17 years agoFor bug #164655, port quickpkg to python and use the tarfile module for proper handli...
Zac Medico [Fri, 8 Jun 2007 19:18:59 +0000 (19:18 -0000)]
For bug #164655, port quickpkg to python and use the tarfile module for proper handling of symlinks to directories.  Thanks to Martin Parm <parmus@diku.dk> for the initial port. (trunk r6728)

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

17 years agoFor bug #82378, only set permissions on PORT_LOGDIR if it is created automatically...
Zac Medico [Wed, 6 Jun 2007 06:02:58 +0000 (06:02 -0000)]
For bug #82378, only set permissions on PORT_LOGDIR if it is created automatically. (trunk r6743)

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

17 years agoImprove support for slot deps atoms given on the command line. (trunk r6730)
Zac Medico [Mon, 4 Jun 2007 09:45:49 +0000 (09:45 -0000)]
Improve support for slot deps atoms given on the command line. (trunk r6730)

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

17 years agoDon't complain when is missing unless manifest1 compatibility is enabled. (trunk...
Zac Medico [Fri, 1 Jun 2007 19:37:58 +0000 (19:37 -0000)]
Don't complain when  is missing unless manifest1 compatibility is enabled. (trunk r6711 and r6716)

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

17 years agoInstead of calling sys.exit() when aux_get() fails inside getfetchlist(), convert...
Zac Medico [Fri, 1 Jun 2007 19:25:18 +0000 (19:25 -0000)]
Instead of calling sys.exit() when aux_get() fails inside getfetchlist(), convert the KeyError to an InvalidDependString exception since callers already handle it. (trunk r6708)

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

17 years agoDon't repeatedly invoke the depend phase for ebuilds that are already known to be...
Zac Medico [Fri, 1 Jun 2007 19:23:59 +0000 (19:23 -0000)]
Don't repeatedly invoke the depend phase for ebuilds that are already known to be broken. (trunk r6707)

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

17 years agoFor bug #149397, raise an InvalidDependString exception if a USE has no basename...
Zac Medico [Fri, 1 Jun 2007 19:16:55 +0000 (19:16 -0000)]
For bug #149397, raise an InvalidDependString exception if a USE has no basename. (trunk r6706)

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

17 years agoRaise a KeyError from bindbapi.aux_get() when appropriate. (trunk r6699)
Zac Medico [Fri, 1 Jun 2007 19:14:28 +0000 (19:14 -0000)]
Raise a KeyError from bindbapi.aux_get() when appropriate. (trunk r6699)

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

17 years agoMake automatic "global updates" always use the config instance that's associated...
Zac Medico [Thu, 31 May 2007 21:39:50 +0000 (21:39 -0000)]
Make automatic "global updates" always use the config instance that's associated with /, since the rest of the code is targeted at /. (trunk r6687)

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

17 years agoOnly check ChangeLog if we're dealing with an ebuild (bug #170604) (trunk r6685)
Zac Medico [Thu, 31 May 2007 21:35:02 +0000 (21:35 -0000)]
Only check ChangeLog if we're dealing with an ebuild (bug #170604) (trunk r6685)

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

17 years agoFor bug #172886, catch GetoptError. (trunk r6684)
Zac Medico [Thu, 31 May 2007 21:32:23 +0000 (21:32 -0000)]
For bug #172886, catch GetoptError. (trunk r6684)

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

17 years agoMake dep_zapdeps() pull SLOT from the correct dbapi instance when it falls back to...
Zac Medico [Thu, 31 May 2007 21:30:08 +0000 (21:30 -0000)]
Make dep_zapdeps() pull SLOT from the correct dbapi instance when it falls back to the vdb. (trunk r6698)

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

17 years agoFix an IndexError in get_operator() that occurs when isvalidatom() passes it an empty... v2.1.2.9
Zac Medico [Wed, 30 May 2007 23:31:38 +0000 (23:31 -0000)]
Fix an IndexError in get_operator() that occurs when isvalidatom() passes it an empty string. (trunk r6680)

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

17 years agoFor bug #180399, raise an appropriate InvalidDependString exception if there is no...
Zac Medico [Wed, 30 May 2007 23:23:07 +0000 (23:23 -0000)]
For bug #180399, raise an appropriate InvalidDependString exception if there is no flag attached directly to a '?' token. (trunk r6678)

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

17 years agoShow deprecation warnings if the "clone" parameters are used for the binartree, vartr...
Zac Medico [Wed, 30 May 2007 22:40:55 +0000 (22:40 -0000)]
Show deprecation warnings if the "clone" parameters are used for the binartree, vartree, or portagetree constructors. (trunk r6676)

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

17 years agoReturn a copy of the cached result from match_from_list(). (trunk r6673)
Zac Medico [Wed, 30 May 2007 05:45:58 +0000 (05:45 -0000)]
Return a copy of the cached result from match_from_list(). (trunk r6673)

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

17 years agoFor bug #61732, support -flag in USE (instead of just +flag). Given the current...
Zac Medico [Wed, 30 May 2007 02:44:41 +0000 (02:44 -0000)]
For bug #61732, support -flag in USE (instead of just +flag).  Given the current default USE_ORDER, -flag in IUSE has no effect. (trunk r6671)

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

17 years agoFix slot handling at the beginning of match_from_list(). (trunk r6669)
Zac Medico [Wed, 30 May 2007 02:24:26 +0000 (02:24 -0000)]
Fix slot handling at the beginning of match_from_list(). (trunk r6669)

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

17 years agoFor bug #180222, make ecompressdir use -f for the automatic decompression phase....
Zac Medico [Wed, 30 May 2007 02:05:41 +0000 (02:05 -0000)]
For bug #180222, make ecompressdir use -f for the automatic decompression phase. (trunk r6667)

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

17 years agoFor bug #179870, correctly handle slot deps in the profile's package.* files. (trunk...
Zac Medico [Tue, 29 May 2007 21:58:46 +0000 (21:58 -0000)]
For bug #179870, correctly handle slot deps in the profile's package.* files. (trunk r6665)

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

17 years agoFix get_operator() and best_match_to_list() so that slot deps mesh properly with...
Zac Medico [Tue, 29 May 2007 20:37:05 +0000 (20:37 -0000)]
Fix get_operator() and best_match_to_list() so that slot deps mesh properly with operators. (trunk r6663)

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

17 years agoFix dep_getcpv() so that it always properly removes the slot regardless of which...
Zac Medico [Tue, 29 May 2007 12:41:41 +0000 (12:41 -0000)]
Fix dep_getcpv() so that it always properly removes the slot regardless of which operator is present. (trunk r6661)

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

17 years agoDon't pass slotted packages into pkgsplit since it doesn't handle them. (trunk r6659)
Zac Medico [Tue, 29 May 2007 12:12:51 +0000 (12:12 -0000)]
Don't pass slotted packages into pkgsplit since it doesn't handle them. (trunk r6659)

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

17 years agoFor bug #179870, add support for cpv:slot in match_from_list() and use it to make...
Zac Medico [Tue, 29 May 2007 11:29:13 +0000 (11:29 -0000)]
For bug #179870, add support for cpv:slot in match_from_list() and use it to make config.setcpv() distinguish slot atoms in package.use. (trunk r6657)

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

17 years agoFor bug #180009, add a PORTAGE_RSYNC_INITIAL_TIMEOUT config variable. The default...
Zac Medico [Mon, 28 May 2007 07:32:25 +0000 (07:32 -0000)]
For bug #180009, add a PORTAGE_RSYNC_INITIAL_TIMEOUT config variable.  The default is 15 seconds and it can be disabled by setting it to 0. (trunk r6650)

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

17 years agoFor bug #180079, fix a KeyError so that a search for the empty string will go ahead...
Zac Medico [Mon, 28 May 2007 07:11:53 +0000 (07:11 -0000)]
For bug #180079, fix a KeyError so that a search for the empty string will go ahead and match all packages. (trunk r6648)

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

17 years agoFix logic for USE_EXPAND variables that are incremental (there are none currently...
Zac Medico [Sat, 26 May 2007 21:17:58 +0000 (21:17 -0000)]
Fix logic for USE_EXPAND variables that are incremental (there are none currently). (trunk r6635)

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

17 years agoxmlint can produce garbage output even on success, so only dump the ouput when it...
Zac Medico [Sat, 26 May 2007 01:27:17 +0000 (01:27 -0000)]
xmlint can produce garbage output even on success, so only dump the ouput when it fails.  See bug #179008. (trunk r6631)

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

17 years agoStore flags as a set inside the USE incremental loop. (trunk r6627)
Zac Medico [Fri, 25 May 2007 22:13:52 +0000 (22:13 -0000)]
Store flags as a set inside the USE incremental loop. (trunk r6627)

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

17 years agoFor bug #179766, expand USE_EXPAND variables inside the USE incremental loop so that...
Zac Medico [Fri, 25 May 2007 19:15:20 +0000 (19:15 -0000)]
For bug #179766, expand USE_EXPAND variables inside the USE incremental loop so that USE"-*" will not always destroy them. (trunk r6623)

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

17 years agoSkip fetching of metadata.dtd when mymode == "manifest". (trunk r6618) v2.1.2.8
Zac Medico [Fri, 25 May 2007 00:23:16 +0000 (00:23 -0000)]
Skip fetching of metadata.dtd when mymode == "manifest". (trunk r6618)

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

17 years agoFix the ignore-previously-merged option so that it compares the original files, since...
Zac Medico [Thu, 24 May 2007 20:56:51 +0000 (20:56 -0000)]
Fix the ignore-previously-merged option so that it compares the original files, since mrgconf can be identical to conf['current'] even when conf['new'] is different from the archived .dist version (due to diff3 merging). (trunk r6615)

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

17 years agoAdd a 'ignore-previously-merged' config option which gives similar behavior to the...
Zac Medico [Wed, 23 May 2007 20:52:25 +0000 (20:52 -0000)]
Add a 'ignore-previously-merged' config option which gives similar behavior to the --noconfmem emerge option. (trunk r6591:6592)

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

17 years agoPunt the portdbapi.getsize() function since it's unused and broken (mysum referenced...
Zac Medico [Wed, 23 May 2007 20:50:38 +0000 (20:50 -0000)]
Punt the portdbapi.getsize() function since it's unused and broken (mysum referenced before assignment). (trunk r6582)

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

17 years agohardlink basic suid protection (trunk r6580)
Zac Medico [Wed, 23 May 2007 20:48:59 +0000 (20:48 -0000)]
hardlink basic suid protection (trunk r6580)

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

17 years agoUse device number and i-node number (like os.path.samefile does) to check if the...
Zac Medico [Wed, 23 May 2007 20:40:20 +0000 (20:40 -0000)]
Use device number and i-node number (like os.path.samefile does) to check if the current directory is inside a given overlay.  This solves issues with path comparison and symlinks. (trunk r6558:6559)

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

17 years agoIn --tree output, keep track of which graph edges have already been displayed and...
Zac Medico [Wed, 23 May 2007 20:39:13 +0000 (20:39 -0000)]
In --tree output, keep track of which graph edges have already been displayed and try not to display a given edge more than once. (trunk r6555:6557)

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

17 years agoFor bug #176539, add a manifest target to repoman so that there's a simple way to...
Zac Medico [Wed, 23 May 2007 20:36:41 +0000 (20:36 -0000)]
For bug #176539, add a manifest target to repoman so that there's a simple way to just generate a Manifest.

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

17 years agos:${PORTDIR}:/usr/portage: so that it's not implied that those variables are automati...
Zac Medico [Wed, 23 May 2007 20:33:27 +0000 (20:33 -0000)]
s:${PORTDIR}:/usr/portage: so that it's not implied that those variables are automatically relative to ${PORTDIR} when the value of ${PORTDIR} has changed to something other than /usr/portage.  Thanks to kerframil for reporting. (trunk r6522:6523)

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

17 years agoFor bug #177601, add a reference the --verbose option documentation in the OUTPUT...
Zac Medico [Wed, 23 May 2007 20:27:23 +0000 (20:27 -0000)]
For bug #177601, add a reference the --verbose option documentation in the OUTPUT section.

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

17 years agoFor forward compatibility, make binarytree.populate() work even when $PKGDIR/All...
Zac Medico [Tue, 22 May 2007 13:23:07 +0000 (13:23 -0000)]
For forward compatibility, make binarytree.populate() work even when $PKGDIR/All/ doesn't exist.

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

17 years agoUse bash to spawn FETCHCOMMAND under selinux since most other binaries are forbidden...
Zac Medico [Tue, 22 May 2007 13:20:54 +0000 (13:20 -0000)]
Use bash to spawn FETCHCOMMAND under selinux since most other binaries are forbidden as entrypoints into the fetch domain. Thanks to Justin Heesemann <jh@ionium.org> for reporting. (trunk r6565:6566)

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

17 years agoFor bug #179008, just use metadata.dtd directly from $DISTDIR. (trunk r6561:6562)
Zac Medico [Tue, 22 May 2007 13:19:38 +0000 (13:19 -0000)]
For bug #179008, just use metadata.dtd directly from $DISTDIR. (trunk r6561:6562)

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

17 years agoIn fetch(), don't try to parse digests unless the "O" variable is defined. (trunk...
Zac Medico [Tue, 22 May 2007 13:17:52 +0000 (13:17 -0000)]
In fetch(), don't try to parse digests unless the "O" variable is defined. (trunk r6560:6561)

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

17 years agoFor bug #179206, improve efficiency by using a containment test instead of str.count...
Zac Medico [Tue, 22 May 2007 13:15:38 +0000 (13:15 -0000)]
For bug #179206, improve efficiency by using a containment test instead of str.count inside update_dbentry.  Thanks to Jason Lai <jason.lai@gmail.com>. (trunk r6559:6560)

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

17 years agofix from James C. Georgas to not modify EXTRA_EINSTALL #178544 (trunk r6552:6553)
Zac Medico [Tue, 22 May 2007 13:13:49 +0000 (13:13 -0000)]
fix from James C. Georgas to not modify EXTRA_EINSTALL #178544 (trunk r6552:6553)

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

17 years agoDon't protect USE_EXPAND variables from -* anymore because the really critical ones...
Zac Medico [Tue, 22 May 2007 13:11:15 +0000 (13:11 -0000)]
Don't protect USE_EXPAND variables from -* anymore because the really critical ones should all be in use.force now (typically kernel_linux, elibc_glibc, and userland_GNU). (trunk r6539:6540)

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

17 years agoFor bug #178293, don't write digest-* files unnecessarily when SRC_URI is empty....
Zac Medico [Sun, 13 May 2007 21:35:38 +0000 (21:35 -0000)]
For bug #178293, don't write digest-* files unnecessarily when SRC_URI is empty. (trunk r6534:6535)

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

17 years agoFix the varexpand quotes tests since quotes are no longer removed by this function...
Zac Medico [Sun, 13 May 2007 07:21:57 +0000 (07:21 -0000)]
Fix the varexpand quotes tests since quotes are no longer removed by this function. (trunk r6524:6525)

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

17 years agoFor bug #177763, clarify about how FEATURES=keepwork allows ${WORKDDIR} to be reused...
Zac Medico [Thu, 10 May 2007 19:01:48 +0000 (19:01 -0000)]
For bug #177763, clarify about how FEATURES=keepwork allows ${WORKDDIR} to be reused. (trunk r6518:6519)

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

17 years agoMake sure FEATURES=test and USE=test are consistently enabled for all requested phase...
Zac Medico [Thu, 10 May 2007 18:15:20 +0000 (18:15 -0000)]
Make sure FEATURES=test and USE=test are consistently enabled for all requested phases when the test phase is forced via the ebuild command. (trunk r6516:6517)

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

17 years agoMake sure USE=test is properly enabled when the test phase is forced via the ebuild...
Zac Medico [Thu, 10 May 2007 05:35:04 +0000 (05:35 -0000)]
Make sure USE=test is properly enabled when the test phase is forced via the ebuild command, even when USE from ${T}/environment doen't have it. (trunk r6512:6513)

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

17 years agoFor bug #177591, increase shell compatibility by preserving quotes in varexpand(...
Zac Medico [Wed, 9 May 2007 22:59:35 +0000 (22:59 -0000)]
For bug #177591, increase shell compatibility by preserving quotes in varexpand() since quote removal is handled by shlex. (trunk r6504:6505)

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

17 years agoMake sure USE=test is properly enabled when the test phase is forced via the ebuild...
Zac Medico [Wed, 9 May 2007 22:50:49 +0000 (22:50 -0000)]
Make sure USE=test is properly enabled when the test phase is forced via the ebuild command.  Thanks to Caster for reporting. (trunk r6507:6508)

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

17 years agoPrevent blockers that are only partially resolvable by merge order from accidentally... v2.1.2.7
Zac Medico [Mon, 7 May 2007 02:30:10 +0000 (02:30 -0000)]
Prevent blockers that are only partially resolvable by merge order from accidentally being ignored. (trunk r6493:6494)

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

17 years agoUse shlex for better splitting of PORTAGE_RSYNC_OPTS and PORTAGE_RSYNC_EXTRA_OPTS...
Zac Medico [Sun, 6 May 2007 20:13:24 +0000 (20:13 -0000)]
Use shlex for better splitting of PORTAGE_RSYNC_OPTS and PORTAGE_RSYNC_EXTRA_OPTS. (trunk r6491:6492)

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

17 years agoUse shlex for better splitting of FETCHCOMMAND. (trunk r6489:6490)
Zac Medico [Sun, 6 May 2007 19:38:01 +0000 (19:38 -0000)]
Use shlex for better splitting of FETCHCOMMAND. (trunk r6489:6490)

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

17 years agoUse varexpand to expand FETCHCOMMAND and RESUMECOMMAND. (trunk r6486:6487)
Zac Medico [Sun, 6 May 2007 07:57:00 +0000 (07:57 -0000)]
Use varexpand to expand FETCHCOMMAND and RESUMECOMMAND. (trunk r6486:6487)

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

17 years agoFor bug #171259, fix vercmp so that implicit _p0 is less than explicit _p0. Thanks...
Zac Medico [Sat, 5 May 2007 23:52:19 +0000 (23:52 -0000)]
For bug #171259, fix vercmp so that implicit _p0 is less than explicit _p0.  Thanks to TGL <degrenier@easyconnect.fr> for the patch. (trunk r6484:6485)

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

17 years agoUse match_from_list in order to potentially avoid more blocks. (trunk r6481:6482)
Zac Medico [Sat, 5 May 2007 19:58:09 +0000 (19:58 -0000)]
Use match_from_list in order to potentially avoid more blocks. (trunk r6481:6482)

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

17 years agoFor bug #177211, use chmod -R on the children of the current directory in order to...
Zac Medico [Sat, 5 May 2007 18:11:14 +0000 (18:11 -0000)]
For bug #177211, use chmod -R on the children of the current directory in order to reduce the size of the argument list. (trunk r6479:6480

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

17 years agoFor bug #175058, comment #15, expand all possible variables in each argument. (trunk...
Zac Medico [Sat, 5 May 2007 17:41:18 +0000 (17:41 -0000)]
For bug #175058, comment #15, expand all possible variables in each argument. (trunk r6477:6478)

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

17 years agodocument the behavior of `ebuild` wrt FEATURES=noauto #175444 (trunk r6470:6471) v2.1.2.6
Zac Medico [Sat, 5 May 2007 03:21:44 +0000 (03:21 -0000)]
document the behavior of `ebuild` wrt FEATURES=noauto #175444 (trunk r6470:6471)

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

17 years agoFor bug #176765, when a new package is blocked by another one that is being replaced...
Zac Medico [Thu, 3 May 2007 09:24:13 +0000 (09:24 -0000)]
For bug #176765, when a new package is blocked by another one that is being replaced, handle another case where the conflict can be avoided. (trunk r6472:6473)

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

17 years agoFix eend so that it works properly on a standard BSD console. Thanks to UberLord...
Zac Medico [Wed, 2 May 2007 17:23:44 +0000 (17:23 -0000)]
Fix eend so that it works properly on a standard BSD console.  Thanks to UberLord. (trunk r6466:6467)

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

17 years agoFor bug #175058, avoid potential quoting issues by spawning FETCHCOMMAND without...
Zac Medico [Sun, 29 Apr 2007 06:37:29 +0000 (06:37 -0000)]
For bug #175058, avoid potential quoting issues by spawning FETCHCOMMAND without a shell. (trunk r6455:6456)

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

17 years agoFor bug #176384, adjust config according to options of the command being resumed...
Zac Medico [Sat, 28 Apr 2007 19:15:34 +0000 (19:15 -0000)]
For bug #176384, adjust config according to options of the command being resumed. (trunk r6453:6454)

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

17 years agoFor bug #175058, properly quote the variables in FETCHCOMMAND and RESUMECOMMAND since...
Zac Medico [Sat, 28 Apr 2007 17:38:43 +0000 (17:38 -0000)]
For bug #175058, properly quote the variables in FETCHCOMMAND and RESUMECOMMAND since the command is spawned in a bash shell. (trunk r6451:6452)

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

17 years agoIn the installsources docs, note that CFLAGS needs to be set to include debug informa...
Zac Medico [Sat, 28 Apr 2007 04:57:40 +0000 (04:57 -0000)]
In the installsources docs, note that CFLAGS needs to be set to include debug information.  Thanks to tigger^ for reporting. (trunk r6441:6442)

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

17 years agoFix up missing mymergelist variable from the previous commit. (trunk r6445:6446)
Zac Medico [Sat, 28 Apr 2007 01:58:22 +0000 (01:58 -0000)]
Fix up missing mymergelist variable from the previous commit. (trunk r6445:6446)

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

17 years agoFor bug #176305, validate the resume merge list before attempting to verify the ebuil...
Zac Medico [Sat, 28 Apr 2007 01:46:45 +0000 (01:46 -0000)]
For bug #176305, validate the resume merge list before attempting to verify the ebuild manifests. (trunk r6443:6444)

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

17 years agoAlways ensure permissions in DISTCC_DIR in order to try to prevent potential permissi... v2.1.2.5
Zac Medico [Thu, 26 Apr 2007 20:44:29 +0000 (20:44 -0000)]
Always ensure permissions in DISTCC_DIR in order to try to prevent potential permission problems for non-root users who are in the portage group (userpriv, etc.). (trunk r6439:6440)

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