portage.git
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

17 years agoAdd droppriv keyword for the depend phase (last one). (trunk r7387)
Zac Medico [Tue, 24 Jul 2007 06:58:18 +0000 (06:58 -0000)]
Add droppriv keyword for the depend phase (last one). (trunk r7387)

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

17 years agoAdd droppriv keyword for the depend phase. (trunk r7385)
Zac Medico [Tue, 24 Jul 2007 06:49:14 +0000 (06:49 -0000)]
Add droppriv keyword for the depend phase. (trunk r7385)

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

17 years agoFix make.conf.example rejects. (trunk r7383)
Zac Medico [Tue, 24 Jul 2007 06:45:31 +0000 (06:45 -0000)]
Fix make.conf.example rejects. (trunk r7383)

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

17 years agoFor bug #186337, show an ewarn message if FEATURES=installsources is enabled but...
Zac Medico [Tue, 24 Jul 2007 01:18:08 +0000 (01:18 -0000)]
For bug #186337, show an ewarn message if FEATURES=installsources is enabled but debugedit is not installed. Also document installsources and splitdebug in make.conf.example. (trunk r7381)

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

17 years agoAdd FEATURES=fakeroot support which causes install and package phases to run inside...
Zac Medico [Tue, 24 Jul 2007 00:52:59 +0000 (00:52 -0000)]
Add FEATURES=fakeroot support which causes install and package phases to run inside fakeroot when a non-root user runs the ebuild command.  Thanks to swegener for the initial patch. (trunk r7379)

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

17 years agoAdd sfperms and strict to the default FEATURES since they're already in the base...
Zac Medico [Mon, 23 Jul 2007 18:57:53 +0000 (18:57 -0000)]
Add sfperms and strict to the default FEATURES since they're already in the base profile's make.defaults. (trunk r7377)

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

17 years agoEnable FEATURES=userfetch by default. (trunk r7375)
Zac Medico [Mon, 23 Jul 2007 18:51:44 +0000 (18:51 -0000)]
Enable FEATURES=userfetch by default. (trunk r7375)

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

17 years agoDrop privileges in the "depend" phase regardless of FEATURES and RESTRICT since that...
Zac Medico [Mon, 23 Jul 2007 18:09:59 +0000 (18:09 -0000)]
Drop privileges in the "depend" phase regardless of FEATURES and RESTRICT since that phase should never need special privileges.  Thanks to swegener for the initial patch. (trunk r7373)

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

17 years agoFor bug #184774, put lha's -q option last since otherwise the option parser now requi...
Zac Medico [Sun, 22 Jul 2007 20:56:45 +0000 (20:56 -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. (trunk r7358)

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

17 years agoFix the reverse dependency display for --prune when there is now real parent. (trunk...
Zac Medico [Sun, 22 Jul 2007 07:49:43 +0000 (07:49 -0000)]
Fix the reverse dependency display for --prune when there is now real parent. (trunk r7351)

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

17 years agoMake --update imply --oneshot since people often us it to update things when they...
Zac Medico [Sun, 22 Jul 2007 06:48:32 +0000 (06:48 -0000)]
Make --update imply --oneshot since people often us it to update things when they don't want to add them to world.  Thanks to jakub for the suggestion. (trunk r7349)

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

17 years agoDocument --depclean and --prune enhancements. (trunk r7345)
Zac Medico [Sun, 22 Jul 2007 06:42:47 +0000 (06:42 -0000)]
Document --depclean and --prune enhancements. (trunk r7345)

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

17 years agoPrevent a potential KeyError when removing world from the digraph for --prune display...
Zac Medico [Sun, 22 Jul 2007 06:39:35 +0000 (06:39 -0000)]
Prevent a potential KeyError when removing world from the digraph for --prune display. (trunk r7344)

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

17 years agoMake --prune pull in the system set since that could pull in some slots that wouldn...
Zac Medico [Sun, 22 Jul 2007 06:38:42 +0000 (06:38 -0000)]
Make --prune pull in the system set since that could pull in some slots that wouldn't be pulled in otherwise. (trunk r7343)

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

17 years agoFor bug #169500, detect when the cvs server puts /Attic/ inside the $Header path...
Zac Medico [Sat, 21 Jul 2007 11:36:20 +0000 (11:36 -0000)]
For bug #169500, detect when the cvs server puts /Attic/ inside the $Header path and automatically correct it. (trunk r7340)

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

17 years agoFor bug #185153, in commit mode do the "Fetching trivial updates" routine before...
Zac Medico [Sat, 21 Jul 2007 10:41:28 +0000 (10:41 -0000)]
For bug #185153, in commit mode do the "Fetching trivial updates" routine before the qa scan. (trunk r7338)

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

17 years agoMake --prune and --depclean return before calculating dependencies if atoms are given...
Zac Medico [Sat, 21 Jul 2007 09:43:02 +0000 (09:43 -0000)]
Make --prune and --depclean return before calculating dependencies if atoms are given but they don't match any packages. (trunk r7336)

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

17 years agoPrune really uses all installed instead of world. It's not a real reverse dependency...
Zac Medico [Sat, 21 Jul 2007 09:31:49 +0000 (09:31 -0000)]
Prune really uses all installed instead of world.  It's not a real reverse dependency so don't display it as such. (trunk r7334)

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

17 years agoJust show [0] instead of [0=>0] in the repo display. (trunk r7332)
Zac Medico [Sat, 21 Jul 2007 04:57:36 +0000 (04:57 -0000)]
Just show [0] instead of [0=>0] in the repo display. (trunk r7332)

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

17 years agoFor bug #185930, direct all FETCHCOMMAND output to stdout. (trunk r7330)
Zac Medico [Sat, 21 Jul 2007 04:21:17 +0000 (04:21 -0000)]
For bug #185930, direct all FETCHCOMMAND output to stdout. (trunk r7330)

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

17 years agoHint about --nodeps if --prune doesn't find anything to prune. Also enable reverse...
Zac Medico [Sat, 21 Jul 2007 03:38:13 +0000 (03:38 -0000)]
Hint about --nodeps if --prune doesn't find anything to prune.  Also enable reverse dependency display for global depclean. (trunk r7327)

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

17 years agoWhen digest verification of a distfile fails, rename instead of unlinking it in case...
Zac Medico [Sat, 21 Jul 2007 00:24:06 +0000 (00:24 -0000)]
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. (trunk r7325)

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

17 years agoIf the fetcher reported success and the file is too small, don't attempt to resume...
Zac Medico [Fri, 20 Jul 2007 05:43:07 +0000 (05:43 -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. (trunk r7321)

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

17 years agoFor bug #185504, document profiles/repo_name. (trunk r7319)
Zac Medico [Fri, 20 Jul 2007 03:19:43 +0000 (03:19 -0000)]
For bug #185504, document profiles/repo_name. (trunk r7319)

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

17 years agoDocument --prune and --depclean enhancements. (trunk r7317)
Zac Medico [Fri, 20 Jul 2007 02:47:37 +0000 (02:47 -0000)]
Document --prune and --depclean enhancements. (trunk r7317)

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

17 years agoUpdate --prune docs for bug #151653. (trunk r7315)
Zac Medico [Fri, 20 Jul 2007 02:25:11 +0000 (02:25 -0000)]
Update --prune docs for bug #151653. (trunk r7315)

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

17 years agoFor bug #151653, make --prune keep the highest version whenever possible (even when...
Zac Medico [Fri, 20 Jul 2007 02:03:51 +0000 (02:03 -0000)]
For bug #151653, make --prune keep the highest version whenever possible (even when there is one with a higher counter installed). (trunk r7311:7313)

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

17 years agoMerge --depclean and --prune enhancements from trunk r7304:7310.
Zac Medico [Fri, 20 Jul 2007 01:11:31 +0000 (01:11 -0000)]
Merge --depclean and --prune enhancements from trunk r7304:7310.

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

17 years agosplit up the debug/sources steps as proposed by swegener and give the whole file...
Zac Medico [Wed, 18 Jul 2007 01:24:48 +0000 (01:24 -0000)]
split up the debug/sources steps as proposed by swegener and give the whole file a cleanup (trunk r7267)

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

17 years agoUnify USE handling in the depgraph with the other metadata. (trunk r7298)
Zac Medico [Tue, 17 Jul 2007 19:18:40 +0000 (19:18 -0000)]
Unify USE handling in the depgraph with the other metadata. (trunk r7298)

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