portage.git
18 years agomarienz pointed out that 'raise e' actually raises a new exception, which is not...
Alec Warner [Tue, 14 Mar 2006 16:30:49 +0000 (16:30 -0000)]
marienz pointed out that 'raise e' actually raises a new exception, which is not intended here, so we raise instead of raising e

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

18 years agoCatch keyboardinterrupt during imports, don't print nasty tracebacks there, later...
Alec Warner [Tue, 14 Mar 2006 16:18:27 +0000 (16:18 -0000)]
Catch keyboardinterrupt during imports, don't print nasty tracebacks there, later on we have signal handlers for control C

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

18 years agoRemove SystemExit's from portage imports, raise on the correct exception, don't die...
Alec Warner [Tue, 14 Mar 2006 16:17:40 +0000 (16:17 -0000)]
Remove SystemExit's from portage imports, raise on the correct exception, don't die if imports fail.

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

18 years agoRemove some SystemExit exceptions, make portage behave during a ctrl+c
Alec Warner [Tue, 14 Mar 2006 15:46:14 +0000 (15:46 -0000)]
Remove some SystemExit exceptions, make portage behave during a ctrl+c

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

18 years agoOne more 'mode & 07777' in apply_permissions.
Zac Medico [Tue, 14 Mar 2006 09:05:03 +0000 (09:05 -0000)]
One more 'mode & 07777' in apply_permissions.

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

18 years agoMake that 'mode & 07777' for the previous commit.
Zac Medico [Tue, 14 Mar 2006 08:46:23 +0000 (08:46 -0000)]
Make that 'mode & 07777' for the previous commit.

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

18 years agoUse 'mode & 0777' to protect ourselves from unwanted mode bits in apply_permissions.
Zac Medico [Tue, 14 Mar 2006 08:39:46 +0000 (08:39 -0000)]
Use 'mode & 0777' to protect ourselves from unwanted mode bits in apply_permissions.

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

18 years agoMove the "noclean" feature check into clean phase part of doebuild.
Zac Medico [Tue, 14 Mar 2006 07:00:25 +0000 (07:00 -0000)]
Move the "noclean" feature check into clean phase part of doebuild.

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

18 years agoUse a separate PORTAGE_BUILDDIR for overlapping install and unmerge phases in order...
Zac Medico [Tue, 14 Mar 2006 06:39:10 +0000 (06:39 -0000)]
Use a separate PORTAGE_BUILDDIR for overlapping install and unmerge phases in order to prevent interference between {pre,post}inst and {pre,post}rm phases.  See bug #125942.

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

18 years agoUse apply_secpass_permissions for all permissions in doebuild.
Zac Medico [Tue, 14 Mar 2006 04:32:40 +0000 (04:32 -0000)]
Use apply_secpass_permissions for all permissions in doebuild.

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

18 years agoMake mode=-1 the default parameter for apply_permissions in order to distinguish...
Zac Medico [Tue, 14 Mar 2006 04:26:56 +0000 (04:26 -0000)]
Make mode=-1 the default parameter for apply_permissions in order to distinguish the behavior from mode=0.

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

18 years agoFix some typos in the DISTDIR permissions handling.
Zac Medico [Tue, 14 Mar 2006 03:39:36 +0000 (03:39 -0000)]
Fix some typos in the DISTDIR permissions handling.

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

18 years agoMake the apply_permissions function default to exact matching of mode bits and add...
Zac Medico [Tue, 14 Mar 2006 02:31:59 +0000 (02:31 -0000)]
Make the apply_permissions function default to exact matching of mode bits and add a "mask" parameter that allows for XOR restriction of mode bits.

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

18 years agoHandle FileNotFound errors instead of ENOENT errors when doing permissions for the...
Zac Medico [Tue, 14 Mar 2006 00:57:36 +0000 (00:57 -0000)]
Handle FileNotFound errors instead of ENOENT errors when doing permissions for the distlocks subdir.

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

18 years agoWrap possible exceptions raised by stat call in apply_secpass_permissions.
Zac Medico [Tue, 14 Mar 2006 00:47:15 +0000 (00:47 -0000)]
Wrap possible exceptions raised by stat call in apply_secpass_permissions.

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

18 years agoAdd a new OperationNotPermitted exception and use it to wrap apply_permissions except...
Zac Medico [Tue, 14 Mar 2006 00:38:24 +0000 (00:38 -0000)]
Add a new OperationNotPermitted exception and use it to wrap apply_permissions exceptions.

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

18 years agoUse apply_secpass_permissions for DISTDIR permissions.
Zac Medico [Tue, 14 Mar 2006 00:08:20 +0000 (00:08 -0000)]
Use apply_secpass_permissions for DISTDIR permissions.

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

18 years agoMake portage_util.apply_stat_permissions() wrap apply_secpass_permissions instead...
Zac Medico [Mon, 13 Mar 2006 23:59:28 +0000 (23:59 -0000)]
Make portage_util.apply_stat_permissions() wrap apply_secpass_permissions instead of plain old apply_permissions.

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

18 years agoAdd a new portage_util.apply_secpass_permissions() function that intelligently attemp...
Zac Medico [Mon, 13 Mar 2006 23:49:56 +0000 (23:49 -0000)]
Add a new portage_util.apply_secpass_permissions() function that intelligently attempts to apply as much of the requested permissions as possible without generating an exception.

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

18 years agoSimplify emerge's secpass logic.
Zac Medico [Mon, 13 Mar 2006 21:24:48 +0000 (21:24 -0000)]
Simplify emerge's secpass logic.

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

18 years agoDocument portage_data.secpass and give secpass=0 to users that are not in the "portag...
Zac Medico [Mon, 13 Mar 2006 19:59:23 +0000 (19:59 -0000)]
Document portage_data.secpass and give secpass=0 to users that are not in the "portage" group.

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

18 years agoDo not clean shared ${T} after the unmerge phase when the new and old package are...
Zac Medico [Mon, 13 Mar 2006 02:27:23 +0000 (02:27 -0000)]
Do not clean shared ${T} after the unmerge phase when the new and old package are the same version (regression from r2844).  See bug #125942.

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

18 years agoFix KeyError: 'mergelist' error (regression from r2847). See bug #125993.
Zac Medico [Mon, 13 Mar 2006 00:15:49 +0000 (00:15 -0000)]
Fix KeyError: 'mergelist' error (regression from r2847). See bug #125993.

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

18 years agoUse find -path instead of -name for compatibility with both gnu and bsd userlands...
Zac Medico [Sun, 12 Mar 2006 13:30:12 +0000 (13:30 -0000)]
Use find -path instead of -name for compatibility with both gnu and bsd userlands.  See bug #125919.

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

18 years agoMake portage.unmerge return 0 on success in order to make `ebuild unmerge` exit nicel...
Zac Medico [Sun, 12 Mar 2006 11:22:14 +0000 (11:22 -0000)]
Make portage.unmerge return 0 on success in order to make `ebuild unmerge` exit nicely.  Thanks to kosmikus for reporting the "Could not run the required binary?" message.

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

18 years agoFix misuse of dict.fromkeys class method so that cache cleansing works during `emerge...
Zac Medico [Sun, 12 Mar 2006 09:39:32 +0000 (09:39 -0000)]
Fix misuse of dict.fromkeys class method so that cache cleansing works during `emerge --metadata` runs.

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

18 years agoppc64 isnt ok just yet, so dont scan for exec stacks
Mike Frysinger [Sun, 12 Mar 2006 09:31:53 +0000 (09:31 -0000)]
ppc64 isnt ok just yet, so dont scan for exec stacks

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

18 years agoUse the ** operator for better unpacking of actionmap args in spawnebuild.
Zac Medico [Sun, 12 Mar 2006 08:37:30 +0000 (08:37 -0000)]
Use the ** operator for better unpacking of actionmap args in spawnebuild.

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

18 years agoAdd the command (ebuild.sh or misc-functions.sh) to the actionmap for spawnebuild.
Zac Medico [Sun, 12 Mar 2006 07:00:07 +0000 (07:00 -0000)]
Add the command (ebuild.sh or misc-functions.sh) to the actionmap for spawnebuild.

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

18 years agoAdd --tree to the blacklist when --resume is used. See bug #54040.
Zac Medico [Sun, 12 Mar 2006 04:11:33 +0000 (04:11 -0000)]
Add --tree to the blacklist when --resume is used.  See bug #54040.

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

18 years agoMake the clean phase obey keeptemp in FEATURES.
Zac Medico [Sat, 11 Mar 2006 19:24:32 +0000 (19:24 -0000)]
Make the clean phase obey keeptemp in FEATURES.

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

18 years agodefault CCACHE_DIR doesnt use PORTAGE_TMPDIR, it just happens to also reside there...
Mike Frysinger [Sat, 11 Mar 2006 17:47:26 +0000 (17:47 -0000)]
default CCACHE_DIR doesnt use PORTAGE_TMPDIR, it just happens to also reside there by default

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

18 years agobackport portage-pkg path change from savior branch
Mike Frysinger [Sat, 11 Mar 2006 10:36:17 +0000 (10:36 -0000)]
backport portage-pkg path change from savior branch

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

18 years agodont reset spinner for non-ttys if --quiet is in use
Mike Frysinger [Sat, 11 Mar 2006 10:33:26 +0000 (10:33 -0000)]
dont reset spinner for non-ttys if --quiet is in use

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

18 years agoDo automatic backup the resume list when it's length is greater than 1 for bug #122527. v2.1_pre6
Zac Medico [Sat, 11 Mar 2006 07:25:07 +0000 (07:25 -0000)]
Do automatic backup the resume list when it's length is greater than 1 for bug #122527.

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

18 years agoMove PORTAGE_INST_UID and PORTAGE_INST_GID from ebuild.sh to make.globals so they...
Zac Medico [Sat, 11 Mar 2006 07:14:24 +0000 (07:14 -0000)]
Move PORTAGE_INST_UID and PORTAGE_INST_GID from ebuild.sh to make.globals so they can be overridden.

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

18 years agoMake dobin and dosbin use PORTAGE_INST_UID and PORTAGE_INST_GID.
Zac Medico [Sat, 11 Mar 2006 02:42:34 +0000 (02:42 -0000)]
Make dobin and dosbin use PORTAGE_INST_UID and PORTAGE_INST_GID.

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

18 years agoTrigger the clean phase at the end of dblink.unmerge() in order to remove cruft left...
Zac Medico [Sat, 11 Mar 2006 01:27:48 +0000 (01:27 -0000)]
Trigger the clean phase at the end of dblink.unmerge() in order to remove cruft left by the pkg_*rm phases.

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

18 years agoDo the clean phase at the end of dblink.treewalk() to ensure that it is triggered...
Zac Medico [Sat, 11 Mar 2006 01:03:30 +0000 (01:03 -0000)]
Do the clean phase at the end of dblink.treewalk() to ensure that it is triggered when both source and binary packages are merged. See bug #105706.

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

18 years agoConsolidate duplicate "myebuild" logic in the dblink.treewalk() method.
Zac Medico [Sat, 11 Mar 2006 00:28:12 +0000 (00:28 -0000)]
Consolidate duplicate "myebuild" logic in the dblink.treewalk() method.

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

18 years agoDo cleanup of cruft prior to the setup phase for binary packages. See bug #85803.
Zac Medico [Fri, 10 Mar 2006 23:53:02 +0000 (23:53 -0000)]
Do cleanup of cruft prior to the setup phase for binary packages. See bug #85803.

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

18 years agoFix dyn_clean in ebuild.sh so that it removes the builddir correctly (if it is empty...
Zac Medico [Fri, 10 Mar 2006 12:01:21 +0000 (12:01 -0000)]
Fix dyn_clean in ebuild.sh so that it removes the builddir correctly (if it is empty).  See bug #105706.

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

18 years agoFix emerge's "Post-Build Cleaning" so that it works with --buildpkgonly in FEATURES...
Zac Medico [Fri, 10 Mar 2006 11:52:26 +0000 (11:52 -0000)]
Fix emerge's "Post-Build Cleaning" so that it works with --buildpkgonly in FEATURES. See bug #105706.

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

18 years agoMove dyn_rpm and dyn_spec from ebuild.sh to misc-functions.sh.
Zac Medico [Fri, 10 Mar 2006 08:17:02 +0000 (08:17 -0000)]
Move dyn_rpm and dyn_spec from ebuild.sh to misc-functions.sh.

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

18 years agoMove the install phase qa checks from ebuild.sh to misc-functions.sh and add the...
Zac Medico [Thu, 9 Mar 2006 21:51:40 +0000 (21:51 -0000)]
Move the install phase qa checks from ebuild.sh to misc-functions.sh and add the necessary support to spawnebuild.

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

18 years agoRemove "myarg" from the ebuild.sh env before it is saved so that it doesn't interfere...
Zac Medico [Thu, 9 Mar 2006 21:39:11 +0000 (21:39 -0000)]
Remove "myarg" from the ebuild.sh env before it is saved so that it doesn't interfere when ebuild.sh is sourced by other scripts.

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

18 years agoAdd sesandbox to the spawnebuild actionmap.
Zac Medico [Thu, 9 Mar 2006 10:58:07 +0000 (10:58 -0000)]
Add sesandbox to the spawnebuild actionmap.

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

18 years agoAdd a "sesandbox" flag to the spawn function so that it can handle selinux context...
Zac Medico [Thu, 9 Mar 2006 09:54:41 +0000 (09:54 -0000)]
Add a "sesandbox" flag to the spawn function so that it can handle selinux context for the exec call (prevents code duplication).

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

18 years agoRemove install_mask from ebuild.sh since it's in misc-functions.sh now.
Zac Medico [Thu, 9 Mar 2006 04:48:28 +0000 (04:48 -0000)]
Remove install_mask from ebuild.sh since it's in misc-functions.sh now.

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

18 years agoSplit install_mask and parts of dyn_preinst from ebuild.sh to misc-functions.sh and...
Zac Medico [Thu, 9 Mar 2006 04:15:19 +0000 (04:15 -0000)]
Split install_mask and parts of dyn_preinst from ebuild.sh to misc-functions.sh and add the necessary support to doebuild.

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

18 years agoSplit dyn_package from ebuild.sh to misc-functions.sh and add MISC_SH_BINARY support...
Zac Medico [Thu, 9 Mar 2006 04:07:49 +0000 (04:07 -0000)]
Split dyn_package from ebuild.sh to misc-functions.sh and add MISC_SH_BINARY support to spawnebuild.

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

18 years agoadd support for ebuild authors to mark stuff as ignorable
Mike Frysinger [Thu, 9 Mar 2006 01:10:29 +0000 (01:10 -0000)]
add support for ebuild authors to mark stuff as ignorable

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

18 years agomisc updates
Mike Frysinger [Thu, 9 Mar 2006 00:28:18 +0000 (00:28 -0000)]
misc updates

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

18 years agodocument new --no-ldconfig option
Mike Frysinger [Thu, 9 Mar 2006 00:21:54 +0000 (00:21 -0000)]
document new --no-ldconfig option

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

18 years agoupdate copyrights
Mike Frysinger [Thu, 9 Mar 2006 00:16:13 +0000 (00:16 -0000)]
update copyrights

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

18 years agoMove PKG_INSTALL_MASK functionality (see bug #81025) from dyn_install to dyn_package...
Zac Medico [Wed, 8 Mar 2006 08:18:09 +0000 (08:18 -0000)]
Move PKG_INSTALL_MASK functionality (see bug #81025) from dyn_install to dyn_package because we don't want PKG_INSTALL_MASK to affect the install phase (INSTALL_MASK is in dyn_preinst).

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

18 years ago- commit initial split install masking code. this commits adds new portage variable...
Ned Ludd [Wed, 8 Mar 2006 03:39:54 +0000 (03:39 -0000)]
- commit initial split install masking code. this commits adds new portage variable PKG_INSTALL_MASK for fine tuning what gets added to the binary .tbz2 and xpak data. This function will probably be later split out into a misc-functions.sh by zac

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

18 years agoMake the parallel-fetch process sleep for 3 seconds at the beginning in order to...
Zac Medico [Tue, 7 Mar 2006 19:27:37 +0000 (19:27 -0000)]
Make the parallel-fetch process sleep for 3 seconds at the beginning in order to allow the parent process to have the first fetch (rather than display a 'waiting for a lock' message).  Suggestion by Brian Harring.

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

18 years agoCatch ENOENT errors when $PORTDIR/profiles/updates does not exist.
Zac Medico [Tue, 7 Mar 2006 01:53:44 +0000 (01:53 -0000)]
Catch ENOENT errors when $PORTDIR/profiles/updates does not exist.

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

18 years ago- make portage display the ROOT when unmerging a selected package
Ned Ludd [Tue, 7 Mar 2006 01:10:49 +0000 (01:10 -0000)]
- make portage display the ROOT when unmerging a selected package

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

18 years agoonly scan for exec stacks on linux/glibc hosts
Mike Frysinger [Mon, 6 Mar 2006 02:53:38 +0000 (02:53 -0000)]
only scan for exec stacks on linux/glibc hosts

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

18 years agoRemove the leading / from WORLD_FILE for better cooperation with os.path.join (see...
Zac Medico [Mon, 6 Mar 2006 00:38:34 +0000 (00:38 -0000)]
Remove the leading / from WORLD_FILE for better cooperation with os.path.join (see bug #124471).

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

18 years agofix BASH_ARGV walking
Mike Frysinger [Sun, 5 Mar 2006 22:30:18 +0000 (22:30 -0000)]
fix BASH_ARGV walking

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

18 years agoRemove the leading / from CONFIG_MEMORY_FILE for better cooperation with os.path...
Zac Medico [Sun, 5 Mar 2006 19:57:30 +0000 (19:57 -0000)]
Remove the leading / from CONFIG_MEMORY_FILE for better cooperation with os.path.join (see bug #124471).

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

18 years agoRemove the leading / from PRIVATE_PATH (var/lib/portage) for better cooperation with...
Zac Medico [Sun, 5 Mar 2006 19:45:23 +0000 (19:45 -0000)]
Remove the leading / from PRIVATE_PATH (var/lib/portage) for better cooperation with os.path.join (see bug #124471).

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

18 years agoRemove a dead and broken hunk of code that attempts to remove files from an empty...
Zac Medico [Sun, 5 Mar 2006 18:57:35 +0000 (18:57 -0000)]
Remove a dead and broken hunk of code that attempts to remove files from an empty directory.

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

18 years ago- have scanelf nuke insecure rpaths
Ned Ludd [Sun, 5 Mar 2006 15:01:06 +0000 (15:01 -0000)]
- have scanelf nuke insecure rpaths

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

18 years agoStrip the leading slash from WORLD_FILE so that os.path.join works correctly for...
Zac Medico [Sun, 5 Mar 2006 00:10:40 +0000 (00:10 -0000)]
Strip the leading slash from WORLD_FILE so that os.path.join works correctly for bug #124471.  Thanks to Thomas de Grenier de Latour for finding the cause of the problem and Jonathan Adamczewski for the initial report.

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

18 years agoRemove the 'didupdate' variable from global_updates() because it is no longer used.
Zac Medico [Sat, 4 Mar 2006 06:54:52 +0000 (06:54 -0000)]
Remove the 'didupdate' variable from global_updates() because it is no longer used.

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

18 years agoRename the global updates do_upgrade() function to parse_updates().
Zac Medico [Sat, 4 Mar 2006 06:35:16 +0000 (06:35 -0000)]
Rename the global updates do_upgrade() function to parse_updates().

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

18 years agoMove all output out of the global updates do_upgrade() function so that it only perfo...
Zac Medico [Sat, 4 Mar 2006 06:21:11 +0000 (06:21 -0000)]
Move all output out of the global updates do_upgrade() function so that it only performs parsing and validation.

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

18 years agoadd some URLs for people to learn more
Mike Frysinger [Sat, 4 Mar 2006 01:52:13 +0000 (01:52 -0000)]
add some URLs for people to learn more

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

18 years agokill off pointless print
Mike Frysinger [Fri, 3 Mar 2006 01:02:58 +0000 (01:02 -0000)]
kill off pointless print

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

18 years agoMake emerge-webrsync use renice for cleaner PORTAGE_NICENESS handling (bug #124621).
Zac Medico [Thu, 2 Mar 2006 19:10:47 +0000 (19:10 -0000)]
Make emerge-webrsync use renice for cleaner PORTAGE_NICENESS handling (bug #124621).

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

18 years agoFix typo in emerge-webrsync PORTAGE_NICENESS handling for bug #124621 (regression...
Zac Medico [Thu, 2 Mar 2006 17:46:05 +0000 (17:46 -0000)]
Fix typo in emerge-webrsync PORTAGE_NICENESS handling for bug #124621 (regression from r2623).

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

18 years agoAssume 0 for both uid and gid in dobin and dosbin (bug #124568).
Zac Medico [Thu, 2 Mar 2006 04:25:55 +0000 (04:25 -0000)]
Assume 0 for both uid and gid in dobin and dosbin (bug #124568).

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

18 years agojust use group 0 to workaround broken systems #124568
Mike Frysinger [Thu, 2 Mar 2006 00:18:10 +0000 (00:18 -0000)]
just use group 0 to workaround broken systems #124568

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

18 years agoUse ROOT when checking installed packages for --pretend output
Jason Stubbs [Tue, 28 Feb 2006 13:43:44 +0000 (13:43 -0000)]
Use ROOT when checking installed packages for --pretend output

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

18 years agoSplit out a portage_update.grab_updates() function so that it can be reused.
Zac Medico [Tue, 28 Feb 2006 06:40:44 +0000 (06:40 -0000)]
Split out a portage_update.grab_updates() function so that it can be reused.

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

18 years agoAdd a sanity check in dyn_clean() to make sure that PORTAGE_BUILDDIR is not zero...
Zac Medico [Tue, 28 Feb 2006 00:24:26 +0000 (00:24 -0000)]
Add a sanity check in dyn_clean() to make sure that PORTAGE_BUILDDIR is not zero length for bug #124203.

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

18 years agoMake sure myopts does not contain duplicate options for bug 124204.
Zac Medico [Mon, 27 Feb 2006 00:44:54 +0000 (00:44 -0000)]
Make sure myopts does not contain duplicate options for bug 124204.

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

18 years agoUse rstrip("\n") instead of -1 index to safely remove newline characters.
Zac Medico [Sun, 26 Feb 2006 21:36:41 +0000 (21:36 -0000)]
Use rstrip("\n") instead of -1 index to safely remove newline characters.

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

18 years agoAdd a new cache.metadata_overlay module that layers a writable cache over a readonly...
Zac Medico [Sun, 26 Feb 2006 13:10:43 +0000 (13:10 -0000)]
Add a new cache.metadata_overlay module that layers a writable cache over a readonly cache.

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

18 years agoAdd some docs for metadata-transfer in make.conf.example and make.conf.5.
Zac Medico [Sun, 26 Feb 2006 12:58:08 +0000 (12:58 -0000)]
Add some docs for metadata-transfer in make.conf.example and make.conf.5.

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

18 years agoFix 'Bad file descriptor' error with hardlink locking for bug 124140.
Zac Medico [Sun, 26 Feb 2006 12:05:36 +0000 (12:05 -0000)]
Fix 'Bad file descriptor' error with hardlink locking for bug 124140.

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

18 years agoMake `emerge --metadata` work even when metadata-transfer is not in FEATURES.
Zac Medico [Sun, 26 Feb 2006 10:27:24 +0000 (10:27 -0000)]
Make `emerge --metadata` work even when metadata-transfer is not in FEATURES.

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

18 years agoMake the post-sync metadata-transfer a FEATURE so that it can be optionally disabled.
Zac Medico [Sun, 26 Feb 2006 10:08:53 +0000 (10:08 -0000)]
Make the post-sync metadata-transfer a FEATURE so that it can be optionally disabled.

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

18 years agoOnly write known keys in flat_hash cache entries (filter out UNUSED_* keys).
Zac Medico [Sun, 26 Feb 2006 07:51:21 +0000 (07:51 -0000)]
Only write known keys in flat_hash cache entries (filter out UNUSED_* keys).

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

18 years agoFix cache.metadata.database so that it correctly removes the newline character from...
Zac Medico [Sun, 26 Feb 2006 05:39:21 +0000 (05:39 -0000)]
Fix cache.metadata.database so that it correctly removes the newline character from the end of the line when parsing flat_hash entries.

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

18 years agoMake complete_eclass_entries variable name consistent so that classes derived from...
Zac Medico [Sun, 26 Feb 2006 05:35:07 +0000 (05:35 -0000)]
Make complete_eclass_entries variable name consistent so that classes derived from cache.template.database are compatible with the mirror_cache() function in the cache.util module.

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

18 years agoKilling some old code that is never executed.
Alec Warner [Sat, 25 Feb 2006 15:46:25 +0000 (15:46 -0000)]
Killing some old code that is never executed.

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

18 years agoAdd a message to advise deleting corrupted binary packages. Bug #86088
Alec Warner [Sat, 25 Feb 2006 06:03:28 +0000 (06:03 -0000)]
Add a message to advise deleting corrupted binary packages.  Bug #86088

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

18 years agoAdding a new exception class.
Alec Warner [Sat, 25 Feb 2006 05:11:06 +0000 (05:11 -0000)]
Adding a new exception class.

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

18 years agomove the err/warn funcs together
Mike Frysinger [Fri, 24 Feb 2006 01:43:13 +0000 (01:43 -0000)]
move the err/warn funcs together

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

18 years agoFix a missing parenthesis.
Alec Warner [Thu, 23 Feb 2006 23:29:47 +0000 (23:29 -0000)]
Fix a missing parenthesis.

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

18 years agoFix typo, profile instead of profiles
Alec Warner [Thu, 23 Feb 2006 18:27:38 +0000 (18:27 -0000)]
Fix typo, profile instead of profiles

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

18 years agoupdate release notes
Alec Warner [Thu, 23 Feb 2006 18:25:31 +0000 (18:25 -0000)]
update release notes

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

18 years agoKill inject for good.
Alec Warner [Thu, 23 Feb 2006 18:20:49 +0000 (18:20 -0000)]
Kill inject for good.

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

18 years agoRemove inject from the manpage. Bug # 120429.
Alec Warner [Thu, 23 Feb 2006 18:18:23 +0000 (18:18 -0000)]
Remove inject from the manpage.  Bug # 120429.

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

18 years agoAdd NOCOLOR support to bin/ebuild for bug 78701.
Zac Medico [Thu, 23 Feb 2006 17:36:08 +0000 (17:36 -0000)]
Add NOCOLOR support to bin/ebuild for bug 78701.

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