summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* For better handling of $DISTDIR/cvs-src permissions, use os.walk instead of ↵Zac Medico2006-03-171-7/+21
| | | | | | spawning chgrp and chmod. svn path=/main/trunk/; revision=2922
* Fix error handling for $DISTDIR/cvs-src creation and permissions in doebuild.Zac Medico2006-03-171-21/+27
| | | | svn path=/main/trunk/; revision=2919
* Fix typo in variable name from last revision.Zac Medico2006-03-171-1/+1
| | | | svn path=/main/trunk/; revision=2918
* Fix the apply_permissions XOR logic so that mask removes mode bits correctly.Zac Medico2006-03-171-2/+2
| | | | svn path=/main/trunk/; revision=2917
* Improve error handling in prepare_build_dirs for PORT_LOGDIR. Fix doebuild ↵Zac Medico2006-03-171-23/+40
| | | | | | 'logfile' which has caused broken logging since r2894. svn path=/main/trunk/; revision=2915
* Error handling in prepare_build_dirs for DISTCC_DIR.Zac Medico2006-03-171-13/+26
| | | | svn path=/main/trunk/; revision=2914
* Disable confcache when it's not possible to apply correct group permissions ↵Zac Medico2006-03-171-1/+1
| | | | | | to an existing file in CONFCACHE_DIR. svn path=/main/trunk/; revision=2913
* Improve error handling in the CONFCACHE_DIR section of prepare_build_dirs. ↵Zac Medico2006-03-171-35/+40
| | | | | | Thanks to solar for reporting this issue. svn path=/main/trunk/; revision=2912
* Use `mv -f` to make sure mv does not prompt for confirmation.Zac Medico2006-03-171-1/+1
| | | | svn path=/main/trunk/; revision=2911
* Fix permissions functions so that error messages tell exactly which call failed.Zac Medico2006-03-171-28/+48
| | | | svn path=/main/trunk/; revision=2910
* Use the built-in bool() function to convert 1 or 0 to True or False as ↵Zac Medico2006-03-171-3/+1
| | | | | | recommended by marienz. svn path=/main/trunk/; revision=2909
* Add package atom validation to the `emerge --config` action. Thanks to ↵Zac Medico2006-03-161-12/+19
| | | | | | sekretarz for reporting and providing an initial patch. svn path=/main/trunk/; revision=2908
* Implement __contains__ for portage.config so that it calls has_key, enabling ↵Zac Medico2006-03-161-0/+6
| | | | | | membership test operators (in and not in) to work as expected. svn path=/main/trunk/; revision=2907
* Revert a hunk from r2834 because PORTAGE_SANDBOX_T is used incorrectly where ↵Zac Medico2006-03-161-3/+8
| | | | | | PORTAGE_FETCH_T should be used for selinux fetch. Thanks to spb for reporting. svn path=/main/trunk/; revision=2906
* touchup some more misc bits of bash codeMike Frysinger2006-03-161-15/+12
| | | | svn path=/main/trunk/; revision=2905
* Move environment variables WORKDIR, D, and T from prepare_build_dirs to ↵Zac Medico2006-03-161-6/+6
| | | | | | doebuild_environment. svn path=/main/trunk/; revision=2904
* cleanup bash code in use*() and has*() functions with the help of agriffisMike Frysinger2006-03-161-41/+15
| | | | svn path=/main/trunk/; revision=2903
* add support for unpacking .tbz, .a, and .deb filesMike Frysinger2006-03-161-1/+4
| | | | svn path=/main/trunk/; revision=2902
* Add a new PORTAGE_WORKDIR_MODE config variable so that the mode of WORKDIR ↵Zac Medico2006-03-163-2/+24
| | | | | | is no longer hard coded. See bug #8688. svn path=/main/trunk/; revision=2901
* declare more local variables to prevent env pollutionMike Frysinger2006-03-161-2/+4
| | | | svn path=/main/trunk/; revision=2900
* - dont allow people to call `install` with -s via ↵Mike Frysinger2006-03-161-39/+28
| | | | | | | | insopts/diropts/exeopts/libopts and simplify them in general - fix "nostrip" usage and DEBUGBUILD svn path=/main/trunk/; revision=2898
* Check the return value of prepare_build_dirs and return early from doebuild ↵Zac Medico2006-03-151-1/+3
| | | | | | if necessary. svn path=/main/trunk/; revision=2895
* Split the bulk of directory preparation out of doebuild into a new ↵Zac Medico2006-03-151-178/+181
| | | | | | prepare_build_dirs function. svn path=/main/trunk/; revision=2894
* Split the bulk of ebuild environment setup out of doebuild into a new ↵Zac Medico2006-03-151-34/+37
| | | | | | doebuild_environment function. svn path=/main/trunk/; revision=2893
* Use writemsg_stdout for update_ents and move_ent routines. See bug #126111.Zac Medico2006-03-151-6/+4
| | | | svn path=/main/trunk/; revision=2892
* add --quiet support to --colsMike Frysinger2006-03-151-15/+26
| | | | svn path=/main/trunk/; revision=2891
* Generate depgraph.applied_useflags in the display method as necessary for ↵Zac Medico2006-03-151-4/+10
| | | | | | use with --resume. See bug #126120. svn path=/main/trunk/; revision=2890
* Remove bin/dopython because it's not either used or useful. Thanks to Brian ↵Zac Medico2006-03-141-23/+0
| | | | | | Harring for noticing. svn path=/main/trunk/; revision=2889
* Send a global updates messages to stdout for bug #126111.Zac Medico2006-03-141-9/+9
| | | | svn path=/main/trunk/; revision=2888
* Comma's are for pussies ( fixing regression from last reivision )Alec Warner2006-03-141-2/+2
| | | | svn path=/main/trunk/; revision=2887
* marienz pointed out that 'raise e' actually raises a new exception, which is ↵Alec Warner2006-03-141-8/+6
| | | | | | not intended here, so we raise instead of raising e svn path=/main/trunk/; revision=2886
* Catch keyboardinterrupt during imports, don't print nasty tracebacks there, ↵Alec Warner2006-03-141-1/+4
| | | | | | later on we have signal handlers for control C svn path=/main/trunk/; revision=2885
* Remove SystemExit's from portage imports, raise on the correct exception, ↵Alec Warner2006-03-141-25/+7
| | | | | | don't die if imports fail. svn path=/main/trunk/; revision=2884
* Remove some SystemExit exceptions, make portage behave during a ctrl+cAlec Warner2006-03-141-7/+3
| | | | svn path=/main/trunk/; revision=2883
* One more 'mode & 07777' in apply_permissions.Zac Medico2006-03-141-0/+2
| | | | svn path=/main/trunk/; revision=2882
* Make that 'mode & 07777' for the previous commit.Zac Medico2006-03-141-2/+2
| | | | svn path=/main/trunk/; revision=2881
* Use 'mode & 0777' to protect ourselves from unwanted mode bits in ↵Zac Medico2006-03-141-5/+8
| | | | | | apply_permissions. svn path=/main/trunk/; revision=2880
* Move the "noclean" feature check into clean phase part of doebuild.Zac Medico2006-03-141-4/+4
| | | | svn path=/main/trunk/; revision=2879
* Use a separate PORTAGE_BUILDDIR for overlapping install and unmerge phases ↵Zac Medico2006-03-141-16/+14
| | | | | | in order to prevent interference between {pre,post}inst and {pre,post}rm phases. See bug #125942. svn path=/main/trunk/; revision=2878
* Use apply_secpass_permissions for all permissions in doebuild.Zac Medico2006-03-141-47/+29
| | | | svn path=/main/trunk/; revision=2877
* Make mode=-1 the default parameter for apply_permissions in order to ↵Zac Medico2006-03-141-3/+5
| | | | | | distinguish the behavior from mode=0. svn path=/main/trunk/; revision=2876
* Fix some typos in the DISTDIR permissions handling.Zac Medico2006-03-141-4/+4
| | | | svn path=/main/trunk/; revision=2875
* Make the apply_permissions function default to exact matching of mode bits ↵Zac Medico2006-03-141-9/+19
| | | | | | and add a "mask" parameter that allows for XOR restriction of mode bits. svn path=/main/trunk/; revision=2874
* Handle FileNotFound errors instead of ENOENT errors when doing permissions ↵Zac Medico2006-03-141-6/+3
| | | | | | for the distlocks subdir. svn path=/main/trunk/; revision=2873
* Wrap possible exceptions raised by stat call in apply_secpass_permissions.Zac Medico2006-03-141-1/+9
| | | | svn path=/main/trunk/; revision=2872
* Add a new OperationNotPermitted exception and use it to wrap ↵Zac Medico2006-03-143-24/+32
| | | | | | apply_permissions exceptions. svn path=/main/trunk/; revision=2871
* Use apply_secpass_permissions for DISTDIR permissions.Zac Medico2006-03-141-1/+1
| | | | svn path=/main/trunk/; revision=2870
* Make portage_util.apply_stat_permissions() wrap apply_secpass_permissions ↵Zac Medico2006-03-131-2/+2
| | | | | | instead of plain old apply_permissions. svn path=/main/trunk/; revision=2869
* Add a new portage_util.apply_secpass_permissions() function that ↵Zac Medico2006-03-131-1/+33
| | | | | | intelligently attempts to apply as much of the requested permissions as possible without generating an exception. svn path=/main/trunk/; revision=2868
* Simplify emerge's secpass logic.Zac Medico2006-03-131-19/+11
| | | | svn path=/main/trunk/; revision=2867