portage.git
17 years agoIn dblink._security_check(), use os.path.realpath to make sure that the same path...
Zac Medico [Thu, 21 Jun 2007 02:20:17 +0000 (02:20 -0000)]
In dblink._security_check(), use os.path.realpath to make sure that the same path isn't counted twice. (trunk r6894)

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

17 years agoAdd an --ignore-default-opts option that is analogous to the corresponding emerge...
Zac Medico [Wed, 20 Jun 2007 23:54:11 +0000 (23:54 -0000)]
Add an --ignore-default-opts option that is analogous to the corresponding emerge option. (trunk r6892)

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

17 years agoUse the the optparse options for --ignore-default-opts since that allows option abrev...
Zac Medico [Wed, 20 Jun 2007 23:44:11 +0000 (23:44 -0000)]
Use the the optparse options for --ignore-default-opts since that allows option abreviation to work. (trunk r6890)

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

17 years agoShow a "world problems" warning for packages that aren't installed, even if they...
Zac Medico [Wed, 20 Jun 2007 09:47:18 +0000 (09:47 -0000)]
Show a "world problems" warning for packages that aren't installed, even if they are available. (trunk r6887)

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

17 years agoFor bug #180165, make portageq print a "Permission denied" error when appropriate...
Zac Medico [Wed, 20 Jun 2007 05:45:31 +0000 (05:45 -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. (trunk r6880:6882)

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

17 years agoIf a package is in the world set but it's not installed, go ahead and install it...
Zac Medico [Wed, 20 Jun 2007 05:18:47 +0000 (05:18 -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). (trunk r6883)

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

17 years agoFix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission...
Zac Medico [Tue, 19 Jun 2007 22:02:26 +0000 (22:02 -0000)]
Fix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission denied). (trunk r6879)

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

17 years agoFor bug #143340, give an appropriate message when there is no read access to a binary...
Zac Medico [Tue, 19 Jun 2007 21:39:51 +0000 (21:39 -0000)]
For bug #143340, give an appropriate message when there is no read access to a binary package. (trunk r6877)

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

17 years agoReturn early from get_term_size() is stdout is not a tty. (trunk r6875)
Zac Medico [Tue, 19 Jun 2007 20:12:13 +0000 (20:12 -0000)]
Return early from get_term_size() is stdout is not a tty. (trunk r6875)

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

17 years agoFor bug #182571, handle curses.error if it's thrown inside get_term_size(). (trunk...
Zac Medico [Tue, 19 Jun 2007 19:58:44 +0000 (19:58 -0000)]
For bug #182571, handle curses.error if it's thrown inside get_term_size(). (trunk r6873)

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

17 years agoFor bug #182428, make quickpkg use a more secure umask by default and allow it to...
Zac Medico [Tue, 19 Jun 2007 09:36:42 +0000 (09:36 -0000)]
For bug #182428, make quickpkg use a more secure umask by default and allow it to be overridden by a --umask option.  Add support for QUICKPKG_DEFAULT_OPTS so that default options can be set in make.conf. (trunk r6871)

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

17 years agoDuring unmerge, always verify that the file isn't a symlink before doing chmod. ...
Zac Medico [Mon, 18 Jun 2007 10:26:48 +0000 (10:26 -0000)]
During unmerge, always verify that the file isn't a symlink before doing chmod. (trunk r6867)

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

17 years agoIn dblink.isowner() don't bother to stat the file when it's contained in the contents...
Zac Medico [Sun, 17 Jun 2007 22:43:17 +0000 (22:43 -0000)]
In dblink.isowner() don't bother to stat the file when it's contained in the contents. (trunk r6865)

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

17 years agoFor bug #182346, use dblink.isowner() during unmerge so that device/inode numbers...
Zac Medico [Sun, 17 Jun 2007 22:13:36 +0000 (22:13 -0000)]
For bug #182346, use dblink.isowner() during unmerge so that device/inode numbers are used to determine ownership (despite path mismatch due to symlinks). (trunk r6863)

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

17 years agoGo ahead and unlink symlinks to directories when they're actually recorded as symlink...
Zac Medico [Fri, 15 Jun 2007 22:53:33 +0000 (22:53 -0000)]
Go ahead and unlink symlinks to directories when they're actually recorded as symlinks in the contents. (trunk r6860)

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

17 years agoMake the collision-protect loop check for existance of the destination file before...
Zac Medico [Fri, 15 Jun 2007 22:40:42 +0000 (22:40 -0000)]
Make the collision-protect loop check for existance of the destination file before checking if it's owned. (trunk r6858)

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

17 years agoMake repoman exit with nonzero status whenever there are qa issues (already does...
Zac Medico [Fri, 15 Jun 2007 21:39:18 +0000 (21:39 -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. (trunk r6856)

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

17 years agoFor bug #182021, use active voice when notifying the user that superuser access is...
Zac Medico [Fri, 15 Jun 2007 21:32:20 +0000 (21:32 -0000)]
For bug #182021, use active voice when notifying the user that superuser access is required. (trunk r6854)

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

17 years agoHandle another case where removing a symlink to a directory can be harmful. (trunk...
Zac Medico [Fri, 15 Jun 2007 20:42:59 +0000 (20:42 -0000)]
Handle another case where removing a symlink to a directory can be harmful. (trunk r6852)

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

17 years agoFor bug #182157, don't let unmerge-orphans unlink symlinks to directories since that...
Zac Medico [Fri, 15 Jun 2007 20:26:26 +0000 (20:26 -0000)]
For bug #182157, don't let unmerge-orphans unlink symlinks to directories since that can remove /lib and /usr/lib symlinks.

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

17 years agoFor bug #182157, never chmod 0 symlinks before unlinking them. (trunk r6848)
Zac Medico [Fri, 15 Jun 2007 20:14:05 +0000 (20:14 -0000)]
For bug #182157, never chmod 0 symlinks before unlinking them. (trunk r6848)

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

17 years agoFor bug #182105, fix the spelling of the fd_pipes paremeter. (trunk r6846)
Zac Medico [Fri, 15 Jun 2007 10:23:04 +0000 (10:23 -0000)]
For bug #182105, fix the spelling of the fd_pipes paremeter. (trunk r6846)

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

17 years agoFix broken \!found logic so that any missing files are properly skipped. (trunk r6843) v2.1.3_rc1
Zac Medico [Thu, 14 Jun 2007 10:47:53 +0000 (10:47 -0000)]
Fix broken \!found logic so that any missing files are properly skipped. (trunk r6843)

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

17 years agoMiscellaneous global updates cleanups. (trunk r6686, r6688, and r6690:6693)
Zac Medico [Thu, 14 Jun 2007 09:55:46 +0000 (09:55 -0000)]
Miscellaneous global updates cleanups. (trunk r6686, r6688, and r6690:6693)

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

17 years agoFor bug #181953, prevent the circular_blocks code from selecting a node that's alread...
Zac Medico [Wed, 13 Jun 2007 21:48:27 +0000 (21:48 -0000)]
For bug #181953, prevent the circular_blocks code from selecting a node that's already been selected by the normal node selection process. (trunk r6837)

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

17 years agoIn dblink.treewalk(), handle the case where the current cpv is already installed...
Zac Medico [Wed, 13 Jun 2007 10:09:43 +0000 (10:09 -0000)]
In dblink.treewalk(), handle the case where the current cpv is already installed but it has a different slot (multislot or unapplied slotmove). (trunk r6833)

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

17 years agoAdd a note about the new unmerge-orphans behavior. (trunk r6831)
Zac Medico [Wed, 13 Jun 2007 08:10:08 +0000 (08:10 -0000)]
Add a note about the new unmerge-orphans behavior. (trunk r6831)

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

17 years agoFor bug #134620, add a FEATURES=unmerge-orphans option that causes unmerge to remove...
Zac Medico [Wed, 13 Jun 2007 07:29:43 +0000 (07:29 -0000)]
For bug #134620, add a FEATURES=unmerge-orphans option that causes unmerge to remove files more aggressively.  If a file is not claimed by another package in the same slot and it is not protected by CONFIG_PROTECT, unmerge it even if the modification time or checksum differs from the file that was originally installed.  This is enabled in make.globals since the vast majority of users probably want this. (trunk r6829)

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

17 years agoFix dblink.isowner() so it works properly when ROOT!=/. (trunk r6827)
Zac Medico [Wed, 13 Jun 2007 05:53:34 +0000 (05:53 -0000)]
Fix dblink.isowner() so it works properly when ROOT!=/. (trunk r6827)

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

17 years agoUse cached dblink instances for collision-protect. (trunk r6825)
Zac Medico [Wed, 13 Jun 2007 05:45:19 +0000 (05:45 -0000)]
Use cached dblink instances for collision-protect. (trunk r6825)

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

17 years agoCache dblink instances for security checks and reference counts during merge/unmerge...
Zac Medico [Wed, 13 Jun 2007 05:21:17 +0000 (05:21 -0000)]
Cache dblink instances for security checks and reference counts during merge/unmerge so that each CONTENTS only has to be parsed once.  These can also be reused for collision-protect. (trunk r6823)

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

17 years agoReuse previously acquired lstat results. (trunk r6821)
Zac Medico [Tue, 12 Jun 2007 22:08:24 +0000 (22:08 -0000)]
Reuse previously acquired lstat results. (trunk r6821)

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

17 years agoFor bug #153109, replace our old chflags module with the one provided by the py-freeb...
Zac Medico [Tue, 12 Jun 2007 21:50:56 +0000 (21:50 -0000)]
For bug #153109, replace our old chflags module with the one provided by the py-freebsd package.  Thanks to Flameeyes for the initial patch. (trunk r5870)

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

17 years agoRemove some useless dircache code. (trunk r6818)
Zac Medico [Tue, 12 Jun 2007 21:33:16 +0000 (21:33 -0000)]
Remove some useless dircache code. (trunk r6818)

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

17 years agoAlways return a dict from dblink.getcontents() since callers never expect to get...
Zac Medico [Tue, 12 Jun 2007 21:14:34 +0000 (21:14 -0000)]
Always return a dict from dblink.getcontents() since callers never expect to get None. (trunk r6816)

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

17 years agoFor bug #181021, during unmerge use all slot matches for reference counts (in case...
Zac Medico [Tue, 12 Jun 2007 02:52:41 +0000 (02:52 -0000)]
For bug #181021, during unmerge use all slot matches for reference counts (in case the user has set AUTOCLEAN=no). (trunk r6814)

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

17 years agoAdd a note about preservation of timestamps on merged files. (trunk r6812)
Zac Medico [Tue, 12 Jun 2007 01:43:18 +0000 (01:43 -0000)]
Add a note about preservation of timestamps on merged files. (trunk r6812)

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

17 years agoUpdate the PORT_LOGDIR docs for bug #82378. Thanks to Arfrever FTA for reporting...
Zac Medico [Mon, 11 Jun 2007 21:26:23 +0000 (21:26 -0000)]
Update the PORT_LOGDIR docs for bug #82378.  Thanks to Arfrever FTA for reporting. (trunk r6810)

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

17 years agoAdd news about USE_EXPAND wildcards. (trunk r6802)
Zac Medico [Mon, 11 Jun 2007 19:39:33 +0000 (19:39 -0000)]
Add news about USE_EXPAND wildcards. (trunk r6802)

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

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