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

18 years agoMake PORTAGE_INST_UID and PORTAGE_INST_GID default to 0 in case of environment problems.
Zac Medico [Sat, 18 Mar 2006 20:29:55 +0000 (20:29 -0000)]
Make PORTAGE_INST_UID and PORTAGE_INST_GID default to 0 in case of environment problems.

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

18 years agoMinor speedup for findname2, suggested by Brian Harring
Alec Warner [Sat, 18 Mar 2006 19:59:28 +0000 (19:59 -0000)]
Minor speedup for findname2, suggested by Brian Harring

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

18 years agoMake successful inherit calls return success so that \'source ${EBUILD}` returns...
Zac Medico [Sat, 18 Mar 2006 19:47:24 +0000 (19:47 -0000)]
Make successful inherit calls return success so that \'source ${EBUILD}` returns success when an ebuild calls inherit last.

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

18 years agoadd short options for --one-shot and --fetch-all-uri to --help output. Closes Bug...
Kito [Sat, 18 Mar 2006 19:16:53 +0000 (19:16 -0000)]
add short options for --one-shot and --fetch-all-uri to --help output. Closes Bug #126626

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

18 years agoReplace hard coded number 2 in cache modules with errno.ENOENT.
Zac Medico [Sat, 18 Mar 2006 17:23:09 +0000 (17:23 -0000)]
Replace hard coded number 2 in cache modules with errno.ENOENT.

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

18 years agoChange os.makedirs to makedirs (typo from r2934).
Zac Medico [Sat, 18 Mar 2006 07:36:35 +0000 (07:36 -0000)]
Change os.makedirs to makedirs (typo from r2934).

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

18 years agoFix a typo from the last revision.
Zac Medico [Sat, 18 Mar 2006 07:13:08 +0000 (07:13 -0000)]
Fix a typo from the last revision.

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

18 years agoUse one makedirs function for all directory creations inside prepare_build_dirs.
Zac Medico [Sat, 18 Mar 2006 07:08:51 +0000 (07:08 -0000)]
Use one makedirs function for all directory creations inside prepare_build_dirs.

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

18 years agoFix PORTAGE_WORKDIR_MODE so that 0700 is correctly substituted when PORTAGE_WORKDIR_M...
Zac Medico [Sat, 18 Mar 2006 06:40:01 +0000 (06:40 -0000)]
Fix PORTAGE_WORKDIR_MODE so that 0700 is correctly substituted when PORTAGE_WORKDIR_MODE is unset or null.

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

18 years agoUse loops to consolidate directory cleaning and creation in prepare_build_dirs.
Zac Medico [Sat, 18 Mar 2006 06:14:54 +0000 (06:14 -0000)]
Use loops to consolidate directory cleaning and creation in prepare_build_dirs.

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

18 years agoPrevent "eclass-debug.log: No such file or directory" messages that are produced...
Zac Medico [Sat, 18 Mar 2006 04:03:14 +0000 (04:03 -0000)]
Prevent "eclass-debug.log: No such file or directory" messages that are produced during the "depend" phase when ${T} doesn't exist.

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

18 years agoFix PORTAGE_WORKDIR_MODE parsing so that the validated value is stored in mysettings.
Zac Medico [Sat, 18 Mar 2006 02:29:21 +0000 (02:29 -0000)]
Fix PORTAGE_WORKDIR_MODE parsing so that the validated value is stored in mysettings.

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

18 years agoCatch a possible SyntaxError from the eval function when parsing PORTAGE_WORKDIR_MODE...
Zac Medico [Sat, 18 Mar 2006 02:10:56 +0000 (02:10 -0000)]
Catch a possible SyntaxError from the eval function when parsing PORTAGE_WORKDIR_MODE. Thanks to solar for reporting.

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

18 years agoUse apply_recursive_permissions for DISTCC_DIR.
Zac Medico [Sat, 18 Mar 2006 01:58:21 +0000 (01:58 -0000)]
Use apply_recursive_permissions for DISTCC_DIR.

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

18 years agoUse apply_recursive_permissions for CCACHE_DIR. Also fix a typo in error handling...
Zac Medico [Sat, 18 Mar 2006 01:33:41 +0000 (01:33 -0000)]
Use apply_recursive_permissions for CCACHE_DIR. Also fix a typo in error handling for CONFCACHE_DIR from r2912.

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

18 years agoUse apply_recursive_permissions for CONFCACHE_DIR.
Zac Medico [Sat, 18 Mar 2006 00:36:35 +0000 (00:36 -0000)]
Use apply_recursive_permissions for CONFCACHE_DIR.

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

18 years agoAdd a generic apply_recursive_permissions function and use is for $DISTDIR/cvs-src.
Zac Medico [Sat, 18 Mar 2006 00:18:57 +0000 (00:18 -0000)]
Add a generic apply_recursive_permissions function and use is for $DISTDIR/cvs-src.

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

18 years agoFix deprecated emerge syntax in emerge-webrsync for bug #126558.
Zac Medico [Fri, 17 Mar 2006 23:00:05 +0000 (23:00 -0000)]
Fix deprecated emerge syntax in emerge-webrsync for bug #126558.

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

18 years agoMerge emerge-webrsync uid and gid fixes from the prefix branch.
Zac Medico [Fri, 17 Mar 2006 22:57:26 +0000 (22:57 -0000)]
Merge emerge-webrsync uid and gid fixes from the prefix branch.

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

18 years agoFor better handling of $DISTDIR/cvs-src permissions, use os.walk instead of spawning...
Zac Medico [Fri, 17 Mar 2006 22:41:48 +0000 (22:41 -0000)]
For better handling of $DISTDIR/cvs-src permissions, use os.walk instead of spawning chgrp and chmod.

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

18 years agoFix error handling for $DISTDIR/cvs-src creation and permissions in doebuild.
Zac Medico [Fri, 17 Mar 2006 21:24:49 +0000 (21:24 -0000)]
Fix error handling for $DISTDIR/cvs-src creation and permissions in doebuild.

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

18 years agoFix typo in variable name from last revision.
Zac Medico [Fri, 17 Mar 2006 21:11:52 +0000 (21:11 -0000)]
Fix typo in variable name from last revision.

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

18 years agoFix the apply_permissions XOR logic so that mask removes mode bits correctly.
Zac Medico [Fri, 17 Mar 2006 21:04:45 +0000 (21:04 -0000)]
Fix the apply_permissions XOR logic so that mask removes mode bits correctly.

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

18 years agoImprove error handling in prepare_build_dirs for PORT_LOGDIR. Fix doebuild 'logfile...
Zac Medico [Fri, 17 Mar 2006 08:48:22 +0000 (08:48 -0000)]
Improve error handling in prepare_build_dirs for PORT_LOGDIR.  Fix doebuild 'logfile' which has caused broken logging since r2894.

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

18 years agoError handling in prepare_build_dirs for DISTCC_DIR.
Zac Medico [Fri, 17 Mar 2006 07:26:03 +0000 (07:26 -0000)]
Error handling in prepare_build_dirs for DISTCC_DIR.

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

18 years agoDisable confcache when it's not possible to apply correct group permissions to an...
Zac Medico [Fri, 17 Mar 2006 06:25:09 +0000 (06:25 -0000)]
Disable confcache when it's not possible to apply correct group permissions to an existing file in CONFCACHE_DIR.

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

18 years agoImprove error handling in the CONFCACHE_DIR section of prepare_build_dirs. Thanks...
Zac Medico [Fri, 17 Mar 2006 06:14:55 +0000 (06:14 -0000)]
Improve error handling in the CONFCACHE_DIR section of prepare_build_dirs.  Thanks to solar for reporting this issue.

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

18 years agoUse `mv -f` to make sure mv does not prompt for confirmation.
Zac Medico [Fri, 17 Mar 2006 03:58:53 +0000 (03:58 -0000)]
Use `mv -f` to make sure mv does not prompt for confirmation.

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

18 years agoFix permissions functions so that error messages tell exactly which call failed.
Zac Medico [Fri, 17 Mar 2006 02:38:09 +0000 (02:38 -0000)]
Fix permissions functions so that error messages tell exactly which call failed.

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

18 years agoUse the built-in bool() function to convert 1 or 0 to True or False as recommended...
Zac Medico [Fri, 17 Mar 2006 01:53:47 +0000 (01:53 -0000)]
Use the built-in bool() function to convert 1 or 0 to True or False as recommended by marienz.

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

18 years agoAdd package atom validation to the `emerge --config` action. Thanks to sekretarz...
Zac Medico [Thu, 16 Mar 2006 21:00:14 +0000 (21:00 -0000)]
Add package atom validation to the `emerge --config` action.  Thanks to sekretarz for reporting and providing an initial patch.

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

18 years agoImplement __contains__ for portage.config so that it calls has_key, enabling membersh...
Zac Medico [Thu, 16 Mar 2006 09:37:59 +0000 (09:37 -0000)]
Implement __contains__ for portage.config so that it calls has_key, enabling membership test operators (in and not in) to work as expected.

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

18 years agoRevert a hunk from r2834 because PORTAGE_SANDBOX_T is used incorrectly where PORTAGE_...
Zac Medico [Thu, 16 Mar 2006 06:39:10 +0000 (06:39 -0000)]
Revert a hunk from r2834 because PORTAGE_SANDBOX_T is used incorrectly where PORTAGE_FETCH_T should be used for selinux fetch.  Thanks to spb for reporting.

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

18 years agotouchup some more misc bits of bash code
Mike Frysinger [Thu, 16 Mar 2006 05:11:25 +0000 (05:11 -0000)]
touchup some more misc bits of bash code

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

18 years agoMove environment variables WORKDIR, D, and T from prepare_build_dirs to doebuild_envi...
Zac Medico [Thu, 16 Mar 2006 04:57:48 +0000 (04:57 -0000)]
Move environment variables WORKDIR, D, and T from prepare_build_dirs to doebuild_environment.

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

18 years agocleanup bash code in use*() and has*() functions with the help of agriffis
Mike Frysinger [Thu, 16 Mar 2006 04:18:53 +0000 (04:18 -0000)]
cleanup bash code in use*() and has*() functions with the help of agriffis

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

18 years agoadd support for unpacking .tbz, .a, and .deb files
Mike Frysinger [Thu, 16 Mar 2006 03:54:54 +0000 (03:54 -0000)]
add support for unpacking .tbz, .a, and .deb files

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

18 years agoAdd a new PORTAGE_WORKDIR_MODE config variable so that the mode of WORKDIR is no...
Zac Medico [Thu, 16 Mar 2006 03:30:26 +0000 (03:30 -0000)]
Add a new PORTAGE_WORKDIR_MODE config variable so that the mode of WORKDIR is no longer hard coded. See bug #8688.

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

18 years agodeclare more local variables to prevent env pollution
Mike Frysinger [Thu, 16 Mar 2006 03:11:27 +0000 (03:11 -0000)]
declare more local variables to prevent env pollution

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

18 years ago- dont allow people to call `install` with -s via insopts/diropts/exeopts/libopts...
Mike Frysinger [Thu, 16 Mar 2006 01:26:03 +0000 (01:26 -0000)]
- dont allow people to call `install` with -s via insopts/diropts/exeopts/libopts and simplify them in general
- fix "nostrip" usage and DEBUGBUILD

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

18 years agoCheck the return value of prepare_build_dirs and return early from doebuild if necessary.
Zac Medico [Wed, 15 Mar 2006 13:48:17 +0000 (13:48 -0000)]
Check the return value of prepare_build_dirs and return early from doebuild if necessary.

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

18 years agoSplit the bulk of directory preparation out of doebuild into a new prepare_build_dirs...
Zac Medico [Wed, 15 Mar 2006 13:36:23 +0000 (13:36 -0000)]
Split the bulk of directory preparation out of doebuild into a new prepare_build_dirs function.

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

18 years agoSplit the bulk of ebuild environment setup out of doebuild into a new doebuild_enviro...
Zac Medico [Wed, 15 Mar 2006 13:06:36 +0000 (13:06 -0000)]
Split the bulk of ebuild environment setup out of doebuild into a new doebuild_environment function.

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

18 years agoUse writemsg_stdout for update_ents and move_ent routines. See bug #126111.
Zac Medico [Wed, 15 Mar 2006 01:17:09 +0000 (01:17 -0000)]
Use writemsg_stdout for update_ents and move_ent routines. See bug #126111.

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

18 years agoadd --quiet support to --cols
Mike Frysinger [Wed, 15 Mar 2006 00:36:20 +0000 (00:36 -0000)]
add --quiet support to --cols

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