Zac Medico [Thu, 22 Jun 2006 01:39:34 +0000 (01:39 -0000)]
Remove redundant PORT_LOGDIR validation from the config constructor.
svn path=/main/trunk/; revision=3588
Zac Medico [Thu, 22 Jun 2006 01:33:50 +0000 (01:33 -0000)]
Don't bother to warn when PORT_LOGDIR="".
svn path=/main/trunk/; revision=3587
Zac Medico [Thu, 22 Jun 2006 01:24:16 +0000 (01:24 -0000)]
Make sure that PORT_LOGDIR is properly unset when it is unusable. Thanks to solar for reporting issues with logs landing in $PWD.
svn path=/main/trunk/; revision=3586
Zac Medico [Wed, 21 Jun 2006 00:43:50 +0000 (00:43 -0000)]
By popular demand (including releng), revert the unmerge behavior change from bug #118515 (r3186).
svn path=/main/trunk/; revision=3548
Zac Medico [Tue, 20 Jun 2006 22:51:00 +0000 (22:51 -0000)]
Make it easy to pass alternative cache implementations into the constructor as suggested by Brian Harring.
svn path=/main/trunk/; revision=3547
Zac Medico [Tue, 20 Jun 2006 22:39:50 +0000 (22:39 -0000)]
Use get() to simplify setitem logic as suggested by Brian Harring.
svn path=/main/trunk/; revision=3546
Zac Medico [Tue, 20 Jun 2006 22:23:10 +0000 (22:23 -0000)]
Implement get() as part of the standard mapping interface.
svn path=/main/trunk/; revision=3545
Zac Medico [Tue, 20 Jun 2006 21:55:42 +0000 (21:55 -0000)]
Fix it so that values are properly saved in the writable layer. Previously they've been discarded, leading to regen on each access (only in cases where the user has altered an ebuild in the $PORTDIR).
svn path=/main/trunk/; revision=3544
Zac Medico [Tue, 20 Jun 2006 18:28:11 +0000 (18:28 -0000)]
Use wantnewlockfile=1 on /var/lib/portage/config for bug #137269. r3540 is also related.
svn path=/main/trunk/; revision=3543
Zac Medico [Mon, 19 Jun 2006 21:28:07 +0000 (21:28 -0000)]
To prevent infinite recursion when a lock file has more than 1 hardlink, test for exactly 0 hardlinks before recursing.
svn path=/main/trunk/; revision=3540
Marius Mauch [Mon, 19 Jun 2006 18:15:56 +0000 (18:15 -0000)]
make sure that elog entries are also processed in *rm phases and that they are only processed once
svn path=/main/trunk/; revision=3539
Zac Medico [Mon, 19 Jun 2006 03:09:02 +0000 (03:09 -0000)]
Save timestamp.chk even when metadata-transfer is disabled for bug #137177.
svn path=/main/trunk/; revision=3537
Ned Ludd [Mon, 19 Jun 2006 01:37:30 +0000 (01:37 -0000)]
- do not complain about redundant use of pretend and verbose flags
svn path=/main/trunk/; revision=3534
Alec Warner [Sun, 18 Jun 2006 23:42:29 +0000 (23:42 -0000)]
goodbye tokenize
svn path=/main/trunk/; revision=3533
Zac Medico [Sun, 18 Jun 2006 22:40:56 +0000 (22:40 -0000)]
Put bright colors before dark colors for bug #137206. Thanks to Benno Schulenberg <benno@nietvergeten.nl> for this patch.
svn path=/main/trunk/; revision=3532
Zac Medico [Sun, 18 Jun 2006 21:22:06 +0000 (21:22 -0000)]
Add missing sys import found by pyflakes.
svn path=/main/trunk/; revision=3531
Marius Mauch [Sun, 18 Jun 2006 21:13:19 +0000 (21:13 -0000)]
fix typo
svn path=/main/trunk/; revision=3530
Mike Frysinger [Sun, 18 Jun 2006 16:43:50 +0000 (16:43 -0000)]
get rid of quotes in output
svn path=/main/trunk/; revision=3528
Zac Medico [Sun, 18 Jun 2006 03:12:05 +0000 (03:12 -0000)]
Prevent repoman frm using /etc/portage/package.mask. This is a regression in 2.1.1_pre1 from svn r3495. See bug #133740. Thanks to sekretarz for reporting this issue.
svn path=/main/trunk/; revision=3527
Zac Medico [Sun, 18 Jun 2006 00:43:28 +0000 (00:43 -0000)]
Overwrite the existing fetch log so that it only contains the most recent fetch.
svn path=/main/trunk/; revision=3526
Zac Medico [Sat, 17 Jun 2006 23:30:01 +0000 (23:30 -0000)]
Log parallel-fetch output to /var/log/emerge-fetch.log just in case it's needed. See bug #137105.
svn path=/main/trunk/; revision=3525
Zac Medico [Sat, 17 Jun 2006 23:18:12 +0000 (23:18 -0000)]
Make sure that doebuild gets the correct CATEGORY. See bug #137105.
svn path=/main/trunk/; revision=3524
Mike Frysinger [Sat, 17 Jun 2006 21:50:31 +0000 (21:50 -0000)]
Benno Schulenberg writes in #136818: tweak --nocolor description
svn path=/main/trunk/; revision=3523
Mike Frysinger [Sat, 17 Jun 2006 21:49:36 +0000 (21:49 -0000)]
Benno Schulenberg writes in #136818: tweak the description of --info
svn path=/main/trunk/; revision=3522
Mike Frysinger [Sat, 17 Jun 2006 21:47:34 +0000 (21:47 -0000)]
Benno Schulenberg writes in #136818: make the style of the --pretend letter descriptions uniform
svn path=/main/trunk/; revision=3521
Mike Frysinger [Sat, 17 Jun 2006 21:43:42 +0000 (21:43 -0000)]
Benno Schulenberg writes in #136818: put the --config action in its alphabetical place while adjusting the words and spaces a little.
svn path=/main/trunk/; revision=3520
Mike Frysinger [Sat, 17 Jun 2006 21:41:26 +0000 (21:41 -0000)]
line wrap to 80 cols
svn path=/main/trunk/; revision=3519
Mike Frysinger [Sat, 17 Jun 2006 21:39:49 +0000 (21:39 -0000)]
Benno Schulenberg writes in #136818: changes the wording of the "set" parameter to be similar to its neighbours.
svn path=/main/trunk/; revision=3518
Zac Medico [Sat, 17 Jun 2006 15:56:09 +0000 (15:56 -0000)]
Force digest generation when assume-digests is enabled but the file size does not match. See bug #137032.
svn path=/main/trunk/; revision=3517
Zac Medico [Fri, 16 Jun 2006 20:13:16 +0000 (20:13 -0000)]
Import missing PermissionDenied class. Thanks to marienz for reporting (and suggesting pyflakes).
svn path=/main/trunk/; revision=3516
Zac Medico [Fri, 16 Jun 2006 06:10:28 +0000 (06:10 -0000)]
Fix checksum error messages for bug #136947. Thanks to truedfx for this patch.
svn path=/main/trunk/; revision=3515
Zac Medico [Thu, 15 Jun 2006 23:10:43 +0000 (23:10 -0000)]
Only attempt to unmerge the already-installed instance if it actually exists. This patch prevents self.settings.configdict["pkg"] from getting nuked by a call to load_infodir on a nonexistent directory. By preserving configdict["pkg"] here, the CATEGORY is available for the next doebuild call (needed to create log names correctly).
svn path=/main/trunk/; revision=3514
Zac Medico [Thu, 15 Jun 2006 16:19:54 +0000 (16:19 -0000)]
When --debug is enabled, do not raise a ValueError for unresolved dependencies. See bug #126793.
svn path=/main/trunk/; revision=3513
Alec Warner [Wed, 14 Jun 2006 12:42:31 +0000 (12:42 -0000)]
more fixes to make it sound like I didn't write it at 8:41am
svn path=/main/trunk/; revision=3512
Alec Warner [Wed, 14 Jun 2006 12:41:33 +0000 (12:41 -0000)]
idiot, use.defaults, not make.defaults
svn path=/main/trunk/; revision=3511
Alec Warner [Wed, 14 Jun 2006 12:35:46 +0000 (12:35 -0000)]
Add autouse removal to RELEASE-NOTES
svn path=/main/trunk/; revision=3510
Zac Medico [Wed, 14 Jun 2006 10:08:51 +0000 (10:08 -0000)]
Give a useful error message when a dependency has an ambiguous atom due to the category being unspecified. See bug #123677.
svn path=/main/trunk/; revision=3509
Zac Medico [Tue, 13 Jun 2006 23:30:33 +0000 (23:30 -0000)]
Source /etc/portage/bashrc after the profile.bashrcs, since user env should be over to override the profile env.
svn path=/main/trunk/; revision=3508
Alec Warner [Tue, 13 Jun 2006 20:46:25 +0000 (20:46 -0000)]
fix path to ebuild for dsd, bug # 135705
svn path=/main/trunk/; revision=3507
Zac Medico [Tue, 13 Jun 2006 19:55:03 +0000 (19:55 -0000)]
Fix generation of ebuild log file names for bug #136285.
svn path=/main/trunk/; revision=3506
Zac Medico [Tue, 13 Jun 2006 04:21:01 +0000 (04:21 -0000)]
Fix signal handling for bug #96331. Thanks to S. Caglar Onur <caglar@pardus.org.tr> for this patch.
svn path=/main/trunk/; revision=3505
Zac Medico [Tue, 13 Jun 2006 03:50:27 +0000 (03:50 -0000)]
s/i686-unknown/i686-gentoo/ for bug #136532.
svn path=/main/trunk/; revision=3504
Zac Medico [Tue, 13 Jun 2006 00:20:02 +0000 (00:20 -0000)]
Fix a typo from the last revision (octal literals begin with 0).
svn path=/main/trunk/; revision=3503
Zac Medico [Tue, 13 Jun 2006 00:06:32 +0000 (00:06 -0000)]
Toggle the setgid bit on $PORT_LOGDIR\elog\ for bug #136278.
svn path=/main/trunk/; revision=3502
Zac Medico [Mon, 12 Jun 2006 23:22:05 +0000 (23:22 -0000)]
Prevent extra newlines in elog for einfo invocations. See bug #136208.
svn path=/main/trunk/; revision=3501
Zac Medico [Mon, 12 Jun 2006 19:06:02 +0000 (19:06 -0000)]
For more simplicity, use os.rename instead of spawning MOVE_BINARY (see bug #136404).
svn path=/main/trunk/; revision=3500
Zac Medico [Mon, 12 Jun 2006 18:24:17 +0000 (18:24 -0000)]
Remove pointless closing of stdin that is done prior to metadata transfer (See bug #136404).
svn path=/main/trunk/; revision=3499
Simon Stelling [Mon, 12 Jun 2006 17:33:17 +0000 (17:33 -0000)]
removing windows-like senseless confirmation requests
svn path=/main/trunk/; revision=3498
Marius Mauch [Mon, 12 Jun 2006 15:57:22 +0000 (15:57 -0000)]
add date header for rfc2822 compliance
svn path=/main/trunk/; revision=3497
Zac Medico [Mon, 12 Jun 2006 03:51:39 +0000 (03:51 -0000)]
Replace --include-masked with an inverse --ignore-masked option for bug #85576.
svn path=/main/trunk/; revision=3496
Zac Medico [Mon, 12 Jun 2006 02:46:37 +0000 (02:46 -0000)]
Stack package.mask files in a more logical order as specified in bug #133740.
svn path=/main/trunk/; revision=3495
Zac Medico [Mon, 12 Jun 2006 00:13:46 +0000 (00:13 -0000)]
Wrap more exceptions in ensure_dirs().
svn path=/main/trunk/; revision=3494
Zac Medico [Sun, 11 Jun 2006 23:51:21 +0000 (23:51 -0000)]
Wrap more exceptions when applying permissions. Thanks to marienz for reporting.
svn path=/main/trunk/; revision=3493
Zac Medico [Sat, 10 Jun 2006 23:03:55 +0000 (23:03 -0000)]
Remove QA warning when files are installed with portage uid/gid for bug #136313.
svn path=/main/trunk/; revision=3488
Alec Warner [Sat, 10 Jun 2006 22:54:44 +0000 (22:54 -0000)]
Fix LIVEVCS.stable for -* keywords
svn path=/main/trunk/; revision=3487
Marius Mauch [Sat, 10 Jun 2006 22:50:20 +0000 (22:50 -0000)]
override sender on sendmail invocation
svn path=/main/trunk/; revision=3486
Marius Mauch [Sat, 10 Jun 2006 22:43:29 +0000 (22:43 -0000)]
add code to allow sendmail binaries to be used instead of a smtp connection for sending mails
svn path=/main/trunk/; revision=3485
Marius Mauch [Sat, 10 Jun 2006 22:38:44 +0000 (22:38 -0000)]
refactor elog mail stuff so it's reusable by other tools (like glsa-check)
svn path=/main/trunk/; revision=3484
Marius Mauch [Sat, 10 Jun 2006 21:40:40 +0000 (21:40 -0000)]
make elog mail module always set the 'From' header for rfc2822 compliance
svn path=/main/trunk/; revision=3483
Zac Medico [Sat, 10 Jun 2006 05:06:35 +0000 (05:06 -0000)]
Do not unmerge fifo files because, since their mtime is not stored in CONTENTS, we can't be sure if they belong to another package unless we search through all CONTENTS for all installed packages. See bug #136199.
svn path=/main/trunk/; revision=3482
Ned Ludd [Sat, 10 Jun 2006 00:25:42 +0000 (00:25 -0000)]
- Bug 136236 misc-functions.sh fails to always honor RESTRICT=stricter - Donnie Berkholz spyderous@gentoo.org
svn path=/main/trunk/; revision=3481
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
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
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
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
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
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
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
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
Mike Frysinger [Wed, 7 Jun 2006 13:20:42 +0000 (13:20 -0000)]
support for FEATURES=debug-build
svn path=/main/trunk/; revision=3468
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Alec Warner [Thu, 1 Jun 2006 01:40:30 +0000 (01:40 -0000)]
Fix quoting for bug 109739
svn path=/main/trunk/; revision=3443
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
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
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
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
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