portage.git
18 years agoemerge info -> emerge --info
Simon Stelling [Thu, 6 Apr 2006 10:58:18 +0000 (10:58 -0000)]
emerge info -> emerge --info

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

18 years agoRemove really really old check during a cvs move. Fix except statement to be saner
Alec Warner [Thu, 6 Apr 2006 05:37:24 +0000 (05:37 -0000)]
Remove really really old check during a cvs move.  Fix except statement to be saner

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

18 years agoRevert r3073 since it causes a regression (digestgen needs to be run for each value...
Zac Medico [Thu, 6 Apr 2006 02:06:10 +0000 (02:06 -0000)]
Revert r3073 since it causes a regression (digestgen needs to be run for each value of repoman_settings["O"]).  See bug #128946.

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

18 years agoRevert FEATURES=noclean behavior so that clean is only skipped after merge. Thanks...
Zac Medico [Wed, 5 Apr 2006 18:58:40 +0000 (18:58 -0000)]
Revert FEATURES=noclean behavior so that clean is only skipped after merge.  Thanks to azarah for reporting.

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

18 years agoMove some color mappings to ensure that they do not override the user defined color...
Zac Medico [Wed, 5 Apr 2006 10:22:42 +0000 (10:22 -0000)]
Move some color mappings to ensure that they do not override the user defined color map.

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

18 years agoAdd color code mappings for 16 colors in rgb format.
Zac Medico [Wed, 5 Apr 2006 10:05:44 +0000 (10:05 -0000)]
Add color code mappings for 16 colors in rgb format.

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

18 years agoRemove the srcroot parameter from env_update because is doesn't work when portage...
Zac Medico [Wed, 5 Apr 2006 01:48:54 +0000 (01:48 -0000)]
Remove the srcroot parameter from env_update because is doesn't work when portage.movefile merges files via os.rename.  To do this properly we need to pass in CONTENTS instead.

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

18 years agoDon't generate digests on --pretend for repoman. Thanks go once again to exg@gentoo...
Alec Warner [Tue, 4 Apr 2006 23:25:16 +0000 (23:25 -0000)]
Don't generate digests on --pretend for repoman.  Thanks go once again to exg@gentoo.org :)

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

18 years agoAdd support for user configuration of colors in the output module for bug #125120...
Zac Medico [Tue, 4 Apr 2006 21:13:55 +0000 (21:13 -0000)]
Add support for user configuration of colors in the output module for bug #125120.  Thanks to solar for the patch that this was derived from.

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

18 years agoAutomatically create FILESDIR if necessary when writing old style digests. Thanks...
Zac Medico [Tue, 4 Apr 2006 19:59:24 +0000 (19:59 -0000)]
Automatically create FILESDIR if necessary when writing old style digests.  Thanks to blubb for reporting.

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

18 years agofix typo in make.conf and remove RSYNC_EXCLUDEFROM since it's deprecated; bug 127614
Simon Stelling [Tue, 4 Apr 2006 19:17:45 +0000 (19:17 -0000)]
fix typo in make.conf and remove RSYNC_EXCLUDEFROM since it's deprecated; bug 127614

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

18 years agofix make.conf indentation per bug 127868; thanks to Paul Varner for the patch
Simon Stelling [Tue, 4 Apr 2006 18:01:49 +0000 (18:01 -0000)]
fix make.conf indentation per bug 127868; thanks to Paul Varner for the patch

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

18 years agoIt was pointed out that we have a Test-Manifest perl package, which would get sadly...
Alec Warner [Mon, 3 Apr 2006 15:08:07 +0000 (15:08 -0000)]
It was pointed out that we have a Test-Manifest perl package, which would get sadly excluded using the old string match, so we fix it to match less ;)

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

18 years agoFix yet another typo of mine, thanks to exg
Alec Warner [Mon, 3 Apr 2006 14:53:23 +0000 (14:53 -0000)]
Fix yet another typo of mine, thanks to exg

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

18 years agoFix ordering in cvs calls to be correct, thanks to exg for the fix (again)
Alec Warner [Mon, 3 Apr 2006 13:40:56 +0000 (13:40 -0000)]
Fix ordering in cvs calls to be correct, thanks to exg for the fix (again)

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

18 years agos/parenreduce/paren_reduce/ comment fix.
Jason Stubbs [Mon, 3 Apr 2006 10:43:44 +0000 (10:43 -0000)]
s/parenreduce/paren_reduce/ comment fix.

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

18 years agoRemove out-dated TODO file
Alec Warner [Mon, 3 Apr 2006 05:25:38 +0000 (05:25 -0000)]
Remove out-dated TODO file

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

18 years agoFix a typo from r3058.
Zac Medico [Mon, 3 Apr 2006 05:08:21 +0000 (05:08 -0000)]
Fix a typo from r3058.

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

18 years agoFixes for repoman thanks to exg@gentoo.org and bug #128451, Excludes Manifest regener...
Alec Warner [Mon, 3 Apr 2006 05:07:56 +0000 (05:07 -0000)]
Fixes for repoman thanks to exg@gentoo.org and bug #128451, Excludes Manifest regeneration in certain cases, adds pretend gpg outut

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

18 years agoFix minor typo: reported by Brian Harring
Alec Warner [Mon, 3 Apr 2006 04:19:51 +0000 (04:19 -0000)]
Fix minor typo: reported by Brian Harring

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

18 years agotsk tsk, fix a missing parenthesis :)
Alec Warner [Mon, 3 Apr 2006 04:18:48 +0000 (04:18 -0000)]
tsk tsk, fix a missing parenthesis :)

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

18 years agoAdd a deprecation notice for those who are still using tokenize ( hopefully no one...
Alec Warner [Mon, 3 Apr 2006 04:16:49 +0000 (04:16 -0000)]
Add a deprecation notice for those who are still using tokenize ( hopefully no one :/ )

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

18 years agoMove DISTDIR initialization from doebuild to fetch and handle read-only file system...
Zac Medico [Mon, 3 Apr 2006 03:59:26 +0000 (03:59 -0000)]
Move DISTDIR initialization from doebuild to fetch and handle read-only file system errors for bug #128506.

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

18 years agoTake sound advice and move all the use expand files into desc/
Alec Warner [Mon, 3 Apr 2006 02:30:40 +0000 (02:30 -0000)]
Take sound advice and move all the use expand files into desc/

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

18 years agoMake repoman check for USE expand descriptions in other files so USE_EXPAND variables...
Alec Warner [Mon, 3 Apr 2006 02:17:48 +0000 (02:17 -0000)]
Make repoman check for USE expand descriptions in other files so USE_EXPAND variables can have longer/better/faster/stronger descriptions.

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

18 years agoMake the reading of /proc/<pid>/fd/ impervious to the possible addition
Jason Stubbs [Sun, 2 Apr 2006 08:05:36 +0000 (08:05 -0000)]
Make the reading of /proc/<pid>/fd/ impervious to the possible addition
of non-numerically named entries.

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

18 years agoAdd a portage_exec.get_open_fds() function for bug #128284. Thanks to Brian Harring...
Zac Medico [Sun, 2 Apr 2006 05:53:03 +0000 (05:53 -0000)]
Add a portage_exec.get_open_fds() function for bug #128284. Thanks to Brian Harring for this patch.

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

18 years agoMore exception fixes...
Alec Warner [Sun, 2 Apr 2006 04:18:35 +0000 (04:18 -0000)]
More exception fixes...

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

18 years agoFixing stupid exception handling
Alec Warner [Sun, 2 Apr 2006 00:12:34 +0000 (00:12 -0000)]
Fixing stupid exception handling

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

18 years agofix makelinks logic again
Mike Frysinger [Sat, 1 Apr 2006 09:39:59 +0000 (09:39 -0000)]
fix makelinks logic again

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

18 years agoRename local 'root' variable to parent_dir so that it's not confused with portage...
Zac Medico [Sat, 1 Apr 2006 08:08:25 +0000 (08:08 -0000)]
Rename local 'root' variable to parent_dir so that it's not confused with portage.root

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

18 years agoFix ROOT handling for timestamps of lib directories. Only run ldconfig when timestamp...
Zac Medico [Sat, 1 Apr 2006 07:34:48 +0000 (07:34 -0000)]
Fix ROOT handling for timestamps of lib directories. Only run ldconfig when timestamps have changed (the makelinks flag does not force ldconfig unless timestamps have changed).

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

18 years agoneed to still check makelinks
Mike Frysinger [Sat, 1 Apr 2006 04:53:35 +0000 (04:53 -0000)]
need to still check makelinks

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

18 years agoFix env_update so it runs ldconfig when a lib dir timestamp has changed unless srcroo...
Zac Medico [Sat, 1 Apr 2006 04:27:54 +0000 (04:27 -0000)]
Fix env_update so it runs ldconfig when a lib dir timestamp has changed unless srcroot is not None and no files were installed into libdir.

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

18 years agodont run ldconfig if a package doesnt actually install any libraries
Mike Frysinger [Sat, 1 Apr 2006 01:56:07 +0000 (01:56 -0000)]
dont run ldconfig if a package doesnt actually install any libraries

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

18 years agoFix manifest2AuxfileFilter so that it correctly filters files such as 2.1_pre7/CVS...
Zac Medico [Thu, 30 Mar 2006 11:46:04 +0000 (11:46 -0000)]
Fix manifest2AuxfileFilter so that it correctly filters files such as 2.1_pre7/CVS/Entries.

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

18 years agoUse ensure_dirs for CCACHE_DIR, CONFCACHE_DIR, and DISTCC_DIR.
Zac Medico [Thu, 30 Mar 2006 10:09:00 +0000 (10:09 -0000)]
Use ensure_dirs for CCACHE_DIR, CONFCACHE_DIR, and DISTCC_DIR.

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

18 years agoAdd a reusable ensure_dirs() function and use it for DISTDIR initialization.
Zac Medico [Thu, 30 Mar 2006 09:41:19 +0000 (09:41 -0000)]
Add a reusable ensure_dirs() function and use it for DISTDIR initialization.

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

18 years agoThe return value from apply_permissions now indicates whether or not the permissions...
Zac Medico [Thu, 30 Mar 2006 09:20:34 +0000 (09:20 -0000)]
The return value from apply_permissions now indicates whether or not the permissions needed to be modified.

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

18 years agoHandle distlocks subdir initialization together with $DISTDIR and $DISTDIR/cvs-src.
Zac Medico [Thu, 30 Mar 2006 04:54:20 +0000 (04:54 -0000)]
Handle distlocks subdir initialization together with $DISTDIR and $DISTDIR/cvs-src.

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

18 years agoOnly do recursive permissions on $DISTDIR and $DISTDIR/cvs-src when the top level...
Zac Medico [Wed, 29 Mar 2006 22:22:16 +0000 (22:22 -0000)]
Only do recursive permissions on $DISTDIR and $DISTDIR/cvs-src when the top level permissions do not match.  Thanks to marienz for reporting.

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

18 years agoCompare distfiles timestamps with the files in PORTAGE_ACTUAL_DISTDIR instead of...
Zac Medico [Wed, 29 Mar 2006 10:02:07 +0000 (10:02 -0000)]
Compare distfiles timestamps with the files in PORTAGE_ACTUAL_DISTDIR instead of with the symlinks in DISTDIR.  Thanks to Ed Catmur for this patch (bug #127930).

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

18 years agoIgnore more system libraries in python-trace mode.
Zac Medico [Wed, 29 Mar 2006 09:25:27 +0000 (09:25 -0000)]
Ignore more system libraries in python-trace mode.

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

18 years agoAutomatically follow symlinks in the atomic_ofstream constructor. See bug #127897.
Zac Medico [Wed, 29 Mar 2006 08:51:06 +0000 (08:51 -0000)]
Automatically follow symlinks in the atomic_ofstream constructor. See bug #127897.

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

18 years agoadd missing space in quiet col output
Mike Frysinger [Wed, 29 Mar 2006 05:38:02 +0000 (05:38 -0000)]
add missing space in quiet col output

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

18 years agoCreate a single colorize() function in the output module and use it to generate all...
Zac Medico [Wed, 29 Mar 2006 03:17:46 +0000 (03:17 -0000)]
Create a single colorize() function in the output module and use it to generate all of the existing color functions.

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

18 years agoRecommend PORTAGE_RSYNC_EXTRA_OPTS instead of PORTAGE_RSYNC_OPTS
Marius Mauch [Tue, 28 Mar 2006 05:27:54 +0000 (05:27 -0000)]
Recommend PORTAGE_RSYNC_EXTRA_OPTS instead of PORTAGE_RSYNC_OPTS

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

18 years ago- set sane perms on unpacking. If anybody hates this than they are welcome to tie...
Ned Ludd [Mon, 27 Mar 2006 15:46:04 +0000 (15:46 -0000)]
- set sane perms on unpacking. If anybody hates this than they are welcome to tie it into FEATURES= sfperms

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

18 years agoSort the hashes for manifest2 lines to that output is reproducible.
Zac Medico [Mon, 27 Mar 2006 10:16:16 +0000 (10:16 -0000)]
Sort the hashes for manifest2 lines to that output is reproducible.

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

18 years agosort digest/Manifest files by 1) filetype (v2 only) 2) filename (v1+v2) 3) hashtype...
Marius Mauch [Mon, 27 Mar 2006 07:21:46 +0000 (07:21 -0000)]
sort digest/Manifest files by 1) filetype (v2 only) 2) filename (v1+v2) 3) hashtype (v1 only)

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

18 years agoCompare new digest data with old digest data and rewrite the new digest only if they...
Zac Medico [Mon, 27 Mar 2006 05:25:31 +0000 (05:25 -0000)]
Compare new digest data with old digest data and rewrite the new digest only if they differ (forward port r2951 from manifest1 to manifest2).

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

18 years agoUse write_atomic for updates of old style digest files.
Zac Medico [Mon, 27 Mar 2006 03:08:03 +0000 (03:08 -0000)]
Use write_atomic for updates of old style digest files.

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

18 years agofix some nasty repoman tricks causing problems (always use absolute paths with manife...
Marius Mauch [Mon, 27 Mar 2006 02:42:49 +0000 (02:42 -0000)]
fix some nasty repoman tricks causing problems (always use absolute paths with manifest2 code)

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

18 years agoSplit out a reusable Manifest._createDigestLines1() method.
Zac Medico [Mon, 27 Mar 2006 01:49:11 +0000 (01:49 -0000)]
Split out a reusable Manifest._createDigestLines1() method.

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

18 years agofix a typo from the last revision.
Zac Medico [Mon, 27 Mar 2006 01:21:31 +0000 (01:21 -0000)]
fix a typo from the last revision.

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

18 years agoSplit out a reusable Manifest._parseDigests() method.
Zac Medico [Mon, 27 Mar 2006 01:05:07 +0000 (01:05 -0000)]
Split out a reusable Manifest._parseDigests() method.

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

18 years agoAllow users in the portage group to fetch. Thanks to truedfx for reporting this regre...
Zac Medico [Sun, 26 Mar 2006 07:00:47 +0000 (07:00 -0000)]
Allow users in the portage group to fetch. Thanks to truedfx for reporting this regression.

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

18 years agomove some elog defaults into make.globals, add new vars for mail from and subject...
Marius Mauch [Sun, 26 Mar 2006 06:35:24 +0000 (06:35 -0000)]
move some elog defaults into make.globals, add new vars for mail from and subject (bug #116637), change default location for mod_save logfiles to PORT_LOGDIR/elog (bug #124165)

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

18 years agoClean up code for creation of CCACHEDIR, CONFCACHEDIR, and DISTCC_DIR. Prevent exces...
Zac Medico [Sun, 26 Mar 2006 06:29:04 +0000 (06:29 -0000)]
Clean up code for creation of CCACHEDIR, CONFCACHEDIR, and DISTCC_DIR.  Prevent excessive recursive stat calls for bug #127563.

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

18 years agofor collision-protect also check that only versions with the same slot can overwrite...
Marius Mauch [Sun, 26 Mar 2006 05:54:19 +0000 (05:54 -0000)]
for collision-protect also check that only versions with the same slot can overwrite each others files

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

18 years agofix AuxfileFilter to ignore all files in svn or cvs dirs
Marius Mauch [Sun, 26 Mar 2006 03:08:11 +0000 (03:08 -0000)]
fix AuxfileFilter to ignore all files in svn or cvs dirs

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

18 years agoFix traceback for bug #127573. Thanks to illuminata for reporting and antarus for...
Zac Medico [Sat, 25 Mar 2006 23:33:46 +0000 (23:33 -0000)]
Fix traceback for bug #127573.  Thanks to illuminata for reporting and antarus for the patch.

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

18 years agoAdd lazy loading of virtuals in portage.do_vartree() for backward compatibility.
Zac Medico [Sat, 25 Mar 2006 13:57:45 +0000 (13:57 -0000)]
Add lazy loading of virtuals in portage.do_vartree() for backward compatibility.

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

18 years agoAdd files/ prefix for AUX files in manifest1 entries; fix digest.unused check partial... v2.1_pre7
Marius Mauch [Sat, 25 Mar 2006 05:44:28 +0000 (05:44 -0000)]
Add files/ prefix for AUX files in manifest1 entries; fix digest.unused check partially by checking all DIST entries against all SRC_URI entries of a package (instead of per ebuild checks)

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

18 years agoLoad virtuals on demand in order to avoid needless vdb scanning during a simple ...
Zac Medico [Sat, 25 Mar 2006 01:04:57 +0000 (01:04 -0000)]
Load virtuals on demand in order to avoid needless vdb scanning during a simple 'import portage'.  Virtuals are loaded during import, for initialization of portage.settings, only when autouse is enabled (though autouse is disabled by default).

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

18 years agoonly reuse distfile checksums if the file doesn't exist
Marius Mauch [Sat, 25 Mar 2006 00:54:30 +0000 (00:54 -0000)]
only reuse distfile checksums if the file doesn't exist

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

18 years agoMake ebuild digest reuse existing checksums
Marius Mauch [Sat, 25 Mar 2006 00:45:29 +0000 (00:45 -0000)]
Make ebuild digest reuse existing checksums

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

18 years agoMake ebuild digest a bit more verbose
Marius Mauch [Sat, 25 Mar 2006 00:32:07 +0000 (00:32 -0000)]
Make ebuild digest a bit more verbose

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

18 years agoFileNotFoundException should be used with the filename
Marius Mauch [Sat, 25 Mar 2006 00:18:19 +0000 (00:18 -0000)]
FileNotFoundException should be used with the filename

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

18 years agoPORTAGE_WORKDIR_MODE is octal
Marius Mauch [Fri, 24 Mar 2006 23:40:41 +0000 (23:40 -0000)]
PORTAGE_WORKDIR_MODE is octal

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

18 years agoadd missing manifest module
Marius Mauch [Fri, 24 Mar 2006 23:09:31 +0000 (23:09 -0000)]
add missing manifest module

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

18 years agoAdd manifest2 support.
Marius Mauch [Fri, 24 Mar 2006 21:31:26 +0000 (21:31 -0000)]
Add manifest2 support.

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

18 years agoFix crappy error handling for PORTAGE_WORKDIR_MODE
Marius Mauch [Fri, 24 Mar 2006 21:24:32 +0000 (21:24 -0000)]
Fix crappy error handling for PORTAGE_WORKDIR_MODE

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

18 years agoReplacing arch specific make.conf files with patches for the fallback make.conf which...
Marius Mauch [Fri, 24 Mar 2006 18:14:00 +0000 (18:14 -0000)]
Replacing arch specific make.conf files with patches for the fallback make.conf which should be applied in the ebuild.
Add a helper script to update patches if the main make.conf is changed.

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

18 years agoCreate tbz2 package directly in ${PKGDIR}/All to avoid need for temp file (inefficien...
Zac Medico [Fri, 24 Mar 2006 08:33:22 +0000 (08:33 -0000)]
Create tbz2 package directly in ${PKGDIR}/All to avoid need for temp file (inefficient) and avoid selinux label issues for bug #127374.

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

18 years agoAdd a portage_debug module and python-trace feature for --debug mode.
Zac Medico [Thu, 23 Mar 2006 08:22:58 +0000 (08:22 -0000)]
Add a portage_debug module and python-trace feature for --debug mode.

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

18 years agoWhen the post preinst shell tasks fail, write a message to stderr and return it's...
Zac Medico [Thu, 23 Mar 2006 02:18:27 +0000 (02:18 -0000)]
When the post preinst shell tasks fail, write a message to stderr and return it's exit status so that die calls (inside preinst_selinux_labels for example) can work correctly.

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

18 years agoWrite a message to stderr indicating when install_qa_check fails. See bug #126442.
Zac Medico [Thu, 23 Mar 2006 01:47:30 +0000 (01:47 -0000)]
Write a message to stderr indicating when install_qa_check fails.  See bug #126442.

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

18 years agoInclude the die call itself (including line number) in the printed call stack when...
Zac Medico [Thu, 23 Mar 2006 01:27:20 +0000 (01:27 -0000)]
Include the die call itself (including line number) in the printed call stack when an ebuild dies.

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

18 years agoEnable bash tracing during sourcing of bashrc for --debug mode. See bug #126442.
Zac Medico [Wed, 22 Mar 2006 23:47:03 +0000 (23:47 -0000)]
Enable bash tracing during sourcing of bashrc for --debug mode.  See bug #126442.

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

18 years agoMake emerge-webrsync only do metadata-transfer when necessary. Thanks to Patrick...
Zac Medico [Mon, 20 Mar 2006 11:59:11 +0000 (11:59 -0000)]
Make emerge-webrsync only do metadata-transfer when necessary.  Thanks to Patrick Lauer for reporting.

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

18 years agoMove has, hasq, and hasv functions to isolated-functions.sh since they do not depend...
Zac Medico [Mon, 20 Mar 2006 11:21:11 +0000 (11:21 -0000)]
Move has, hasq, and hasv functions to isolated-functions.sh since they do not depend on ebuild.sh.

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

18 years agoFix sandbox feature (broken since r2947).
Zac Medico [Mon, 20 Mar 2006 09:04:02 +0000 (09:04 -0000)]
Fix sandbox feature (broken since r2947).

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

18 years agoDo not split PORTAGE_RSYNC_EXTRA_OPTS and add it directly to rsynccommand in order...
Zac Medico [Mon, 20 Mar 2006 00:30:55 +0000 (00:30 -0000)]
Do not split PORTAGE_RSYNC_EXTRA_OPTS and add it directly to rsynccommand in order to preserve (hypothetical) quoted whitespace.

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

18 years agoMove CacheError from the block of python imports to the block of portage imports...
Marien Zwart [Mon, 20 Mar 2006 00:12:22 +0000 (00:12 -0000)]
Move CacheError from the block of python imports to the block of portage imports, fix spelling in error message.

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

18 years agoMiscellaneous fixes and cleanup for the rsync options handling.
Zac Medico [Sun, 19 Mar 2006 23:52:08 +0000 (23:52 -0000)]
Miscellaneous fixes and cleanup for the rsync options handling.

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

18 years agoFix deprecated RSYNC_TIMEOUT handling (move it where rsync_flags is defined) and...
Zac Medico [Sun, 19 Mar 2006 21:10:45 +0000 (21:10 -0000)]
Fix deprecated RSYNC_TIMEOUT handling (move it where rsync_flags is defined) and direct error messages to stderr via writemsg.

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

18 years agoadding notes about new rsync option handling
Marius Mauch [Sun, 19 Mar 2006 17:48:37 +0000 (17:48 -0000)]
adding notes about new rsync option handling

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

18 years agomake the fallback make.conf more generic by removing x86 specific stuff and removing...
Marius Mauch [Sun, 19 Mar 2006 17:41:28 +0000 (17:41 -0000)]
make the fallback make.conf more generic by removing x86 specific stuff and removing CHOST completely

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

18 years agoAdd support for generic PORTAGE_RSYNC_{EXTRA_,}OPTS, deprecate existing RSYNC_ variab...
Marius Mauch [Sun, 19 Mar 2006 17:36:50 +0000 (17:36 -0000)]
Add support for generic PORTAGE_RSYNC_{EXTRA_,}OPTS, deprecate existing RSYNC_ variables, rename RSYNC_RETRIES to PORTAGE_RSYNC_RETRIES

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

18 years agoupdate -I long option
Mike Frysinger [Sun, 19 Mar 2006 07:05:17 +0000 (07:05 -0000)]
update -I long option

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

18 years agodelete extraneous print
Mike Frysinger [Sun, 19 Mar 2006 06:46:50 +0000 (06:46 -0000)]
delete extraneous print

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

18 years agoAdd NOCOLOR support to ebuild.sh and make emerge automatically add NOCOLOR to portage...
Zac Medico [Sun, 19 Mar 2006 06:14:31 +0000 (06:14 -0000)]
Add NOCOLOR support to ebuild.sh and make emerge automatically add NOCOLOR to portage.settings when --nocolor is specified. See bug #126756.

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

18 years agoCompare new digest data with old digest data and rewrite the new digest only if they...
Zac Medico [Sun, 19 Mar 2006 04:48:02 +0000 (04:48 -0000)]
Compare new digest data with old digest data and rewrite the new digest only if they differ.  Thanks to AllanonJL for reporting this issue.

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

18 years agoCatch a possible OSError from the stat call in atomic_ofstream.close().
Zac Medico [Sun, 19 Mar 2006 04:34:42 +0000 (04:34 -0000)]
Catch a possible OSError from the stat call in atomic_ofstream.close().

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

18 years agoReset the selinux security context before returning from spawn (regression from r2834...
Zac Medico [Sat, 18 Mar 2006 23:42:00 +0000 (23:42 -0000)]
Reset the selinux security context before returning from spawn (regression from r2834).  See bug #126711.

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

18 years agoFix typo from the last revision.
Zac Medico [Sat, 18 Mar 2006 22:42:09 +0000 (22:42 -0000)]
Fix typo from the last revision.

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

18 years agoStop swallowing IOError and TypeError exceptions in portdbapi.gvisible(). Write...
Zac Medico [Sat, 18 Mar 2006 22:40:42 +0000 (22:40 -0000)]
Stop swallowing IOError and TypeError exceptions in portdbapi.gvisible().  Write instances of PortageException to stderr. Thanks to marienz for reporting.

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

18 years agoPrevent an IOError with errno != ENOENT from being swallowed in flat_hash._setitem().
Zac Medico [Sat, 18 Mar 2006 21:11:24 +0000 (21:11 -0000)]
Prevent an IOError with errno != ENOENT from being swallowed in flat_hash._setitem().

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

18 years agoFix typo in spelling of been in emerge-webrsync. Thanks to bonsaikitten for reporting.
Zac Medico [Sat, 18 Mar 2006 20:43:00 +0000 (20:43 -0000)]
Fix typo in spelling of been in emerge-web  Thanks to bonsaikitten for reporting.

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