portage.git
18 years agoI meant to ignore an IndexError here, in case mysettings["PORTDIR_OVERLAY"] becomes... v2.1 v2.1_rc3 v2.1_rc4
Zac Medico [Fri, 9 Jun 2006 09:06:36 +0000 (09:06 -0000)]
I meant to ignore an IndexError here, in case mysettings["PORTDIR_OVERLAY"] becomes corrupted and the split has an unexpected number of elements for some reason.

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

18 years agoUse ${BASH_SOURCE[0]} instead of $_ because the former is more dependable for prevent...
Zac Medico [Thu, 8 Jun 2006 22:10:20 +0000 (22:10 -0000)]
Use ${BASH_SOURCE[0]} instead of $_ because the former is more dependable for preventing endless exec loops (see bug #135470).  Testing shows that this corrects the problem for the libtool ebuild when sed is used to generate ltmain.shT.

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

18 years agoBreak out of the loop asap.
Zac Medico [Thu, 8 Jun 2006 16:56:19 +0000 (16:56 -0000)]
Break out of the loop asap.

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

18 years agoWhen an ebuild from overlay fails, display a message indicating which overlay it...
Zac Medico [Thu, 8 Jun 2006 16:15:09 +0000 (16:15 -0000)]
When an ebuild from overlay fails, display a message indicating which overlay it came from (bug #136031).  Thanks to genstef for the initial patch.

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

18 years agoAdd some documentation for /etc/make.profile/profile.bashrc.
Zac Medico [Thu, 8 Jun 2006 15:15:27 +0000 (15:15 -0000)]
Add some documentation for /etc/make.profile/profile.bashrc.

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

18 years agoDelete incomplete resume data before exiting due to blockers. This prevents a 'merge...
Zac Medico [Thu, 8 Jun 2006 13:57:03 +0000 (13:57 -0000)]
Delete incomplete resume data before exiting due to blockers.  This prevents a 'mergelist' KeyError from occurring if the user attempts to run `emerge --resume` immediately afterwards.  Thanks to axxo for reporting.

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

18 years agoMove hard coding of /etc/env.d in CONFIG_PROTECT_MASK from portage.config.__getitem__...
Zac Medico [Thu, 8 Jun 2006 13:26:55 +0000 (13:26 -0000)]
Move hard coding of /etc/env.d in CONFIG_PROTECT_MASK from portage.config.__getitem__() to make.globals.  Thanks to pauldv for reporting.

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

18 years agoRevert r3468 because this type of functionality belongs in profile.bashrc or an eclass.
Zac Medico [Thu, 8 Jun 2006 12:25:41 +0000 (12:25 -0000)]
Revert r3468 because this type of functionality belongs in profile.bashrc or an eclass.

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

18 years agosupport for FEATURES=debug-build
Mike Frysinger [Wed, 7 Jun 2006 13:20:42 +0000 (13:20 -0000)]
support for FEATURES=debug-build

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

18 years agoCall the bogus lchown() once so that the warning is seen asap.
Zac Medico [Wed, 7 Jun 2006 12:49:22 +0000 (12:49 -0000)]
Call the bogus lchown() once so that the warning is seen asap.

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

18 years agoIf lchown is unavailable for some unexpected reason, make all lchown calls print...
Zac Medico [Wed, 7 Jun 2006 12:39:52 +0000 (12:39 -0000)]
If lchown is unavailable for some unexpected reason, make all lchown calls print a warning message (bug #135398).

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

18 years agoAlso bump the counter for the "merge" phase since it calls spawnebuild (bug #135856).
Zac Medico [Wed, 7 Jun 2006 11:53:30 +0000 (11:53 -0000)]
Also bump the counter for the "merge" phase since it calls spawnebuild (bug #135856).

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

18 years agoMake sure that each new build attempt gets it's own unique log file for bug #135856.
Zac Medico [Wed, 7 Jun 2006 10:32:28 +0000 (10:32 -0000)]
Make sure that each new build attempt gets it's own unique log file for bug #135856.

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

18 years agoFix getgccversion() logic so that it works properly with eselect compiler for bug...
Zac Medico [Tue, 6 Jun 2006 04:10:33 +0000 (04:10 -0000)]
Fix getgccversion() logic so that it works properly with eselect compiler for bug #108393. Thanks to eradicator for help with this patch.

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

18 years agoStore the original suid bits when suidctl is enabled for bug #135639. Thanks to...
Zac Medico [Mon, 5 Jun 2006 17:16:29 +0000 (17:16 -0000)]
Store the original suid bits when suidctl is enabled for bug #135639.  Thanks to splite-gentoo@sigint.cs.purdue.edu for this patch.

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

18 years agoPut LIVEVCS.stable in qawarnings for now since it's new and hasn't been thoroughly...
Zac Medico [Mon, 5 Jun 2006 07:59:31 +0000 (07:59 -0000)]
Put LIVEVCS.stable in qawarnings for now since it's new and hasn't been thoroughly discussed.

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

18 years agoAdd python 2.3 compatibility code for the set builtin.
Zac Medico [Mon, 5 Jun 2006 07:43:43 +0000 (07:43 -0000)]
Add python 2.3 compatibility code for the set builtin.

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

18 years agoFix getgccversion() logic for bug #108393. Thanks to eradicator for suggesting this...
Zac Medico [Mon, 5 Jun 2006 05:51:58 +0000 (05:51 -0000)]
Fix getgccversion() logic for bug #108393.  Thanks to eradicator for suggesting this logic.

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

18 years agoadd LIVEVCS.stable to man repoman
Alec Warner [Sun, 4 Jun 2006 19:49:17 +0000 (19:49 -0000)]
add LIVEVCS.stable to man repoman

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

18 years agoAdd live VCS check to repoman, fix misspelling
Alec Warner [Sun, 4 Jun 2006 19:48:39 +0000 (19:48 -0000)]
Add live VCS check to repoman, fix misspelling

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

18 years agoWhen generating digests, print a digest.assumed QA warning if necessary in order...
Zac Medico [Sun, 4 Jun 2006 15:33:21 +0000 (15:33 -0000)]
When generating digests, print a digest.assumed QA warning if necessary in order to prevent confusion.  Thanks to jakub for suggesting this.

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

18 years agoRaise a ParseError if the profile has a parent file containing a nonexistant parent.
Zac Medico [Sun, 4 Jun 2006 03:42:40 +0000 (03:42 -0000)]
Raise a ParseError if the profile has a parent file containing a nonexistant parent.

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

18 years agoRaise a ParseError if the profile has a parent file containing anything other than...
Zac Medico [Sun, 4 Jun 2006 03:29:01 +0000 (03:29 -0000)]
Raise a ParseError if the profile has a parent file containing anything other than 1 parent.

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

18 years agoRevert lazy loading of autouse because it is both broken and useless.
Zac Medico [Sun, 4 Jun 2006 03:13:16 +0000 (03:13 -0000)]
Revert lazy loading of autouse because it is both broken and useless.

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

18 years agoEscape the shell parameter expansions in the PORTAGE_ELOG_COMMAND example for bug...
Zac Medico [Sun, 4 Jun 2006 00:30:25 +0000 (00:30 -0000)]
Escape the shell parameter expansions in the PORTAGE_ELOG_COMMAND example for bug #135429.

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

18 years agoRestore the old behavior of performing global updates when portage is reloaded after...
Zac Medico [Sun, 4 Jun 2006 00:09:27 +0000 (00:09 -0000)]
Restore the old behavior of performing global updates when portage is reloaded after `emerge --sync` for bug #135446.

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

18 years agoFix emerge's overlay display so that it works properly with overlay paths that contai...
Zac Medico [Sat, 3 Jun 2006 19:21:16 +0000 (19:21 -0000)]
Fix emerge's overlay display so that it works properly with overlay paths that contain symlinks.  This is necessary due to pordbapi's internal use of cannonical paths. Thanks to kevquinn for reporting.

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

18 years agoIn portageq, catch a KeyError and print a message to stderr. If the KeyError is...
Zac Medico [Fri, 2 Jun 2006 19:08:59 +0000 (19:08 -0000)]
In portageq, catch a KeyError and print a message to stderr.  If the KeyError is raised, portageq prints a help message which leads to bug #135278.

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

18 years agoUpdate make.conf.example for x86-fbsd with patch from Flameeyes for bug #135241.
Zac Medico [Fri, 2 Jun 2006 09:32:26 +0000 (09:32 -0000)]
Update make.conf.example for x86-fbsd with patch from Flameeyes for bug #135241.

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

18 years agoFix unpack so that it works with 7z archives for bug #135134. Thanks to Paul Bredbur...
Zac Medico [Thu, 1 Jun 2006 13:46:57 +0000 (13:46 -0000)]
Fix unpack so that it works with 7z archives for bug #135134.  Thanks to Paul Bredbury <brebs@sent.com> for the initial patch.

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

18 years agoWrap at 80 columns for bug #135132.
Zac Medico [Thu, 1 Jun 2006 11:15:02 +0000 (11:15 -0000)]
Wrap at 80 columns for bug #135132.

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

18 years agoFix --buildpkgonly so that the "clean" phase is run afterwards. In other cases,...
Zac Medico [Thu, 1 Jun 2006 07:59:03 +0000 (07:59 -0000)]
Fix --buildpkgonly so that the "clean" phase is run afterwards.  In other cases, "clean" is triggered automatically after the package is merged.

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

18 years agoDocument RESTRICT="confcache" and add a reference econf in the FEATURES="confcache...
Zac Medico [Thu, 1 Jun 2006 06:52:28 +0000 (06:52 -0000)]
Document RESTRICT="confcache" and add a reference econf in the FEATURES="confcache" docs.

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

18 years agoFix quoting for bug 109739
Alec Warner [Thu, 1 Jun 2006 01:40:30 +0000 (01:40 -0000)]
Fix quoting for bug 109739

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

18 years agoUse python to lookup the user and group corresponding to PORTAGE_INST_UID and PORTAGE...
Zac Medico [Tue, 30 May 2006 09:10:18 +0000 (09:10 -0000)]
Use python to lookup the user and group corresponding to PORTAGE_INST_UID and PORTAGE_INST_GID since tarsync doesn't support numeric arguments for the user and group.  See bug #134885.

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

18 years agoAdd some helpful troubleshooting tips to the depclean warning message.
Zac Medico [Tue, 30 May 2006 08:23:16 +0000 (08:23 -0000)]
Add some helpful troubleshooting tips to the depclean warning message.

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

18 years agoFix prepstrip so that it properly distiguishes between stripped and unstripped binari...
Zac Medico [Tue, 30 May 2006 03:52:27 +0000 (03:52 -0000)]
Fix prepstrip so that it properly distiguishes between stripped and unstripped binaries for bug #133420.  Thanks to robbat2 for this patch.

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

18 years agoeverybody hates repoman failing on modular X, so make it a warning
Simon Stelling [Mon, 29 May 2006 19:00:04 +0000 (19:00 -0000)]
everybody hates repoman failing on modular X, so make it a warning

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

18 years agoUse the well know selinux_aux functions for bug #134743.
Zac Medico [Mon, 29 May 2006 11:45:55 +0000 (11:45 -0000)]
Use the well know selinux_aux functions for bug #134743.

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

18 years agoRevert patch for r3426 for bug 134466 and add warnings to docs.
Zac Medico [Sun, 28 May 2006 23:27:35 +0000 (23:27 -0000)]
Revert patch for r3426 for bug 134466 and add warnings to docs.

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

18 years agoUpdate the default USE_ORDER setting in the man page. Thanks to jakub for reporting.
Zac Medico [Sun, 28 May 2006 22:32:20 +0000 (22:32 -0000)]
Update the default USE_ORDER setting in the man page.  Thanks to jakub for reporting.

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

18 years agoUpdate FEATURES docs for 'assume-digests' and 'digest'. Thanks to robbat2 for reporting.
Zac Medico [Sun, 28 May 2006 06:37:39 +0000 (06:37 -0000)]
Update FEATURES docs for 'assume-digests' and 'digest'.  Thanks to robbat2 for reporting.

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

18 years agoIgnore ENOENT errors that are expected to occur in portage.fetch().
Zac Medico [Sat, 27 May 2006 21:03:22 +0000 (21:03 -0000)]
Ignore ENOENT errors that are expected to occur in portage.fetch().

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

18 years agoRemove dependence on a patched version of libselinux for bug #122517.
Zac Medico [Sat, 27 May 2006 04:53:11 +0000 (04:53 -0000)]
Remove dependence on a patched version of libselinux for bug #122517.

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

18 years agoAdd noiselevel=-1 to writemsg calls in portage_util.py for errors that shouldn't...
Zac Medico [Sat, 27 May 2006 03:40:25 +0000 (03:40 -0000)]
Add noiselevel=-1 to writemsg calls in portage_util.py for errors that shouldn't happen so that messages are printed even when --quiet is used.

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

18 years agoAdd noiselevel=-1 to writemsg calls in portage.py for errors that shouldn't happen...
Zac Medico [Sat, 27 May 2006 03:27:04 +0000 (03:27 -0000)]
Add noiselevel=-1 to writemsg calls in portage.py for errors that shouldn't happen so that messages are printed even when --quiet is used.

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

18 years agoAdd noiselevel=-1 to writemsg calls for fatal emerge errors so that important errors...
Zac Medico [Sat, 27 May 2006 02:24:42 +0000 (02:24 -0000)]
Add noiselevel=-1 to writemsg calls for fatal emerge errors so that important errors are printed even when --quiet is used.

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

18 years agoFix emerge's userquery() so that it rejects empty responses when the enter key is...
Zac Medico [Sat, 27 May 2006 02:11:52 +0000 (02:11 -0000)]
Fix emerge's userquery() so that it rejects empty responses when the enter key is pressed for bug #134466.

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

18 years agoAdd noiselevel=-1 to writemsg calls for legitimate errors in merge and unmerge phases...
Zac Medico [Sat, 27 May 2006 01:52:29 +0000 (01:52 -0000)]
Add noiselevel=-1 to writemsg calls for legitimate errors in merge and unmerge phases so that important errors are printed even when --quiet is used.

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

18 years agoAdd noiselevel=-1 to writemsg calls for legitimate errors in portage.digestcheck...
Zac Medico [Sat, 27 May 2006 01:45:00 +0000 (01:45 -0000)]
Add noiselevel=-1 to writemsg calls for legitimate errors in portage.digestcheck() so that important errors are printed even when --quiet is used.

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

18 years agoAdd noiselevel=-1 to writemsg calls for legitimate errors in doebuild so that importa...
Zac Medico [Sat, 27 May 2006 01:38:36 +0000 (01:38 -0000)]
Add noiselevel=-1 to writemsg calls for legitimate errors in doebuild so that important errors are printed even when --quiet is used.

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

18 years agoMake sure that fetch errors are reported even when --quiet is being used.
Zac Medico [Sat, 27 May 2006 01:05:14 +0000 (01:05 -0000)]
Make sure that fetch errors are reported even when --quiet is being used.

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

18 years agoOnly print a warning if absolutely necessary when adjusting distfiles permissions...
Zac Medico [Sat, 27 May 2006 00:59:31 +0000 (00:59 -0000)]
Only print a warning if absolutely necessary when adjusting distfiles permissions for bug #112612.

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

18 years agoFor availability in all stages, use rsync instead of cpio for bug #124638.
Zac Medico [Sat, 27 May 2006 00:09:31 +0000 (00:09 -0000)]
For availability in all stages, use rsync instead of cpio for bug #124638.

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

18 years agoFor portability, use cpio instead of `cp --parents` for bug #124638.
Zac Medico [Fri, 26 May 2006 22:38:52 +0000 (22:38 -0000)]
For portability, use cpio instead of `cp --parents` for bug #124638.

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

18 years agoAdd some additional error handling for OperationNotPermitted and ReadOnlyFileSystem...
Zac Medico [Fri, 26 May 2006 04:08:50 +0000 (04:08 -0000)]
Add some additional error handling for OperationNotPermitted and ReadOnlyFileSystem exceptions (bug #112612).

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

18 years agoFix the last revision so it also works for files copied from local fsmirrors.
Zac Medico [Fri, 26 May 2006 03:38:57 +0000 (03:38 -0000)]
Fix the last revision so it also works for files copied from local fsmirrors.

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

18 years agoIf necessary, apply appropriate permissions to previously fetched files for bug ...
Zac Medico [Fri, 26 May 2006 03:27:41 +0000 (03:27 -0000)]
If necessary, apply appropriate permissions to previously fetched files for bug #112612.

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

18 years agoReset DISTDIR to it's original value before returning from doebuild() in order to...
Zac Medico [Fri, 26 May 2006 01:59:13 +0000 (01:59 -0000)]
Reset DISTDIR to it's original value before returning from doebuild() in order to prevent unexpected values for DISTDIR later on.

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

18 years agoFix CATEGORY spelling for bug #134362.
Zac Medico [Thu, 25 May 2006 22:34:13 +0000 (22:34 -0000)]
Fix CATEGORY spelling for bug #134362.

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

18 years agoupdate the wget examples in make.conf
Alec Warner [Thu, 25 May 2006 13:30:45 +0000 (13:30 -0000)]
update the wget examples in make.conf

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

18 years agoset a timeout on wget to 60 seconds to fix bug 101196; the old timeout was 15 minutes :/
Alec Warner [Thu, 25 May 2006 13:09:58 +0000 (13:09 -0000)]
set a timeout on wget to 60 seconds to fix bug 101196; the old timeout was 15 minutes :/

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

18 years agoAdd some documentation for RESTRICT="binchecks" (bug #133804).
Zac Medico [Wed, 24 May 2006 22:34:55 +0000 (22:34 -0000)]
Add some documentation for RESTRICT="binchecks" (bug #133804).

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

18 years ago- More updates from Kevin Q bug 131779 ; document the stricter feature along with...
Ned Ludd [Wed, 24 May 2006 16:11:57 +0000 (16:11 -0000)]
- More updates from Kevin Q bug 131779 ; document the stricter feature along with the QA_* handling

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

18 years ago- final commit hopefully for QA_TEXTRELS etc.
Ned Ludd [Wed, 24 May 2006 10:42:24 +0000 (10:42 -0000)]
- final commit hopefully for QA_TEXTRELS etc.

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

18 years agoWhen /usr/lib/distcc/bin does not exist, only add a maximum of one distcc to CC and...
Zac Medico [Wed, 24 May 2006 08:12:48 +0000 (08:12 -0000)]
When /usr/lib/distcc/bin does not exist, only add a maximum of one distcc to CC and CXX for bug #84150.

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

18 years agoFix repoman so that it works when the portage tree structure contains symlinks for...
Zac Medico [Tue, 23 May 2006 22:20:19 +0000 (22:20 -0000)]
Fix repoman so that it works when the portage tree structure contains symlinks for bug #109961.

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

18 years agoAdd kernel to the default USE_EXPAND_HIDDEN. Thanks to Flameeyes for reporting.
Zac Medico [Tue, 23 May 2006 18:27:17 +0000 (18:27 -0000)]
Add kernel to the default USE_EXPAND_HIDDEN.  Thanks to Flameeyes for reporting.

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

18 years agoFix prepstrip to work with restrict, thanks to flameeyes and bug 134135
Alec Warner [Tue, 23 May 2006 17:51:57 +0000 (17:51 -0000)]
Fix prepstrip to work with restrict, thanks to flameeyes and bug 134135

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

18 years agoAdd ELIBC and USERLAND to USE_EXPAND_HIDDEN in make.globals since the user can't...
Zac Medico [Tue, 23 May 2006 09:33:40 +0000 (09:33 -0000)]
Add ELIBC and USERLAND to USE_EXPAND_HIDDEN in make.globals since the user can't change those flags easily.

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

18 years agoAdd some documentation for USE_EXPAND_HIDDEN.
Zac Medico [Tue, 23 May 2006 09:26:54 +0000 (09:26 -0000)]
Add some documentation for USE_EXPAND_HIDDEN.

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

18 years agoPrevent a KeyError from occurring when USE_EXPAND_HIDDEN is used for bug #134086.
Zac Medico [Tue, 23 May 2006 09:04:13 +0000 (09:04 -0000)]
Prevent a KeyError from occurring when USE_EXPAND_HIDDEN is used for bug #134086.

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

18 years agoDocument userfetch for bug #133975. Thanks to RiverRat for this patch. v2.1_rc2
Zac Medico [Tue, 23 May 2006 03:23:41 +0000 (03:23 -0000)]
Document userfetch for bug #133975.  Thanks to RiverRat for this patch.

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

18 years agoFix a bug that causes hashes of random types (mostly SHA1, from my experience) to...
Zac Medico [Mon, 22 May 2006 09:05:46 +0000 (09:05 -0000)]
Fix a bug that causes hashes of random types (mostly SHA1, from my experience) to be erroneously discarded due to dictionary assignment instead up update.

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

18 years agoDon't warn about RESTRICT=test unless FEATURES=test is enabled for bug #134004.
Zac Medico [Mon, 22 May 2006 07:47:08 +0000 (07:47 -0000)]
Don't warn about RESTRICT=test unless FEATURES=test is enabled for bug #134004.

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

18 years agoFix userfetch so that it works regardless of whether or not userpriv is enabled for...
Zac Medico [Mon, 22 May 2006 05:59:02 +0000 (05:59 -0000)]
Fix userfetch so that it works regardless of whether or not userpriv is enabled for bug #133995.  I've used portage_exec.spawn_bash() here because portage.spawn() should really only be used for actual ebuild phases in doebuild() and spawnebuild().

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

18 years agoFix bad spelling of "privileges" in userpriv docs.
Zac Medico [Sun, 21 May 2006 21:48:03 +0000 (21:48 -0000)]
Fix bad spelling of "privileges" in userpriv docs.

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

18 years agoDocument userfetch for bug #133975.
Zac Medico [Sun, 21 May 2006 20:45:45 +0000 (20:45 -0000)]
Document userfetch for bug #133975.

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

18 years agoDon't include a redundant size field with the other hashes when creating manifest2...
Zac Medico [Sun, 21 May 2006 18:59:11 +0000 (18:59 -0000)]
Don't include a redundant size field with the other hashes when creating manifest2 entries.  Thanks to solar for reporting.

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

18 years agoValidate the CATEGORY data in portage.config.load_infodir() and print a warning messa...
Zac Medico [Sun, 21 May 2006 04:41:13 +0000 (04:41 -0000)]
Validate the CATEGORY data in portage.config.load_infodir() and print a warning message if corruption is detected.

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

18 years agoIn order to help protect users, make AUTOCLEAN case insensitive.
Zac Medico [Fri, 19 May 2006 09:55:56 +0000 (09:55 -0000)]
In order to help protect users, make AUTOCLEAN case insensitive.

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

18 years agoAdd --nocolor to emerge's short help for bug #133734. Thanks to gabebw@gmail.com...
Zac Medico [Fri, 19 May 2006 01:01:34 +0000 (01:01 -0000)]
Add --nocolor to emerge's short help for bug #133734. Thanks to gabebw@gmail.com for this patch.

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

18 years agoCatch a ValueError thrown from cpv_expand and use it print an error message (to stder...
Zac Medico [Fri, 19 May 2006 00:39:05 +0000 (00:39 -0000)]
Catch a ValueError thrown from cpv_expand and use it print an error message (to stderr) which includes a list of packages for bug #133731.  No changes to quickpkg are necessary because it doesn't get anything from portageq on stdout in this case and it simply assumes there is no match.

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

18 years agoFix prepstrip split-debug paths for bug #133628. Thanks to kevquinn for this patch.
Zac Medico [Thu, 18 May 2006 08:59:17 +0000 (08:59 -0000)]
Fix prepstrip split-debug paths for bug #133628.  Thanks to kevquinn for this patch.

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

18 years agoRevert r3371 because it doesn't fix the real problem and get ROOT directly from porta...
Zac Medico [Thu, 18 May 2006 08:45:09 +0000 (08:45 -0000)]
Revert r3371 because it doesn't fix the real problem and get ROOT directly from portage.settings["ROOT"] since self.pkgsettings["ROOT"] does not have the desired value.

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

18 years agoCatch PackageNotFound exceptions from unmerge() for bug #133606.
Zac Medico [Thu, 18 May 2006 07:22:24 +0000 (07:22 -0000)]
Catch PackageNotFound exceptions from unmerge() for bug #133606.

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

18 years agoCorrectly autoclean build time dependencies that have been upgraded in / when ROOT...
Zac Medico [Thu, 18 May 2006 05:25:45 +0000 (05:25 -0000)]
Correctly autoclean build time dependencies that have been upgraded in / when ROOT!=/ for bug #133606.  This patch duplicates code from emerge's unmerge() function in order to touch as little existing code as possible.

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

18 years agoWhen portage is upgraded, only restart emerge when destroot="/". Also, clean up...
Zac Medico [Wed, 17 May 2006 22:30:37 +0000 (22:30 -0000)]
When portage is upgraded, only restart emerge when destroot="/".  Also, clean up and fix the related logic in depgraph.display().

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

18 years agoFix repoman to grab categores, arch.list, and package.mask from the proper locations...
Zac Medico [Wed, 17 May 2006 20:55:45 +0000 (20:55 -0000)]
Fix repoman to grab categores, arch.list, and package.mask from the proper locations when scanning an overlay.  Thanks to mcummings for reporting.

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

18 years agos/mtarget/mtune/g for bug #133528.
Zac Medico [Wed, 17 May 2006 07:08:57 +0000 (07:08 -0000)]
s/mtarget/mtune/g for bug #133528.

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

18 years agoPrint a warning message when AUTOCLEAN is disabled because it's quite dangerous.
Zac Medico [Wed, 17 May 2006 05:44:32 +0000 (05:44 -0000)]
Print a warning message when AUTOCLEAN is disabled because it's quite dangerous.

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

18 years agoFix portage.getmaskingreason() so that it properly stacks all available package.mask...
Zac Medico [Tue, 16 May 2006 20:23:35 +0000 (20:23 -0000)]
Fix portage.getmaskingreason() so that it properly stacks all available package.mask files for bug #104000.

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

18 years agoAdd a warning message for AUTOCLEAN="no". Thanks to jakub for reporting.
Zac Medico [Tue, 16 May 2006 19:54:10 +0000 (19:54 -0000)]
Add a warning message for AUTOCLEAN="no".  Thanks to jakub for reporting.

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

18 years agoAdd + to the --changelog regex so that dvd+rw-tools works for bug #133288.
Zac Medico [Tue, 16 May 2006 06:10:23 +0000 (06:10 -0000)]
Add + to the --changelog regex so that dvd+rw-tools works for bug #133288.

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

18 years agoAdd some PORTAGE_CONFIGROOT documentation for bug #131925. Thanks to Christian Heim...
Zac Medico [Tue, 16 May 2006 05:50:06 +0000 (05:50 -0000)]
Add some PORTAGE_CONFIGROOT documentation for bug #131925.  Thanks to Christian Heim for this patch.

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

18 years agoFix for bug 133363, thanks to <world.root@gmail.com> for reporting.
Alec Warner [Mon, 15 May 2006 12:50:50 +0000 (12:50 -0000)]
Fix for bug 133363, thanks to <world.root@gmail.com> for reporting.

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

18 years agoFix a typo from r3357.
Zac Medico [Mon, 15 May 2006 04:25:43 +0000 (04:25 -0000)]
Fix a typo from r3357.

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

18 years agoAdd back the rstrip(os.path.sep) which is needed in the case where ROOT=/ (regression...
Zac Medico [Mon, 15 May 2006 04:20:22 +0000 (04:20 -0000)]
Add back the rstrip(os.path.sep) which is needed in the case where ROOT=/ (regression from r3356).

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

18 years agoRevert the performance optimization from r3355 in favor of maximum robustness.
Zac Medico [Mon, 15 May 2006 03:06:27 +0000 (03:06 -0000)]
Revert the performance optimization from r3355 in favor of maximum robustness.

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

18 years agoEnsure that ${ROOT} is normalized for bug #90444.
Zac Medico [Mon, 15 May 2006 02:40:19 +0000 (02:40 -0000)]
Ensure that ${ROOT} is normalized for bug #90444.

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