Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Catch a possible SyntaxError from the eval function when parsing ↵ | Zac Medico | 2006-03-18 | 1 | -1/+1 |
| | | | | | | PORTAGE_WORKDIR_MODE. Thanks to solar for reporting. svn path=/main/trunk/; revision=2929 | ||||
* | Use apply_recursive_permissions for DISTCC_DIR. | Zac Medico | 2006-03-18 | 1 | -7/+4 |
| | | | | svn path=/main/trunk/; revision=2928 | ||||
* | Use apply_recursive_permissions for CCACHE_DIR. Also fix a typo in error ↵ | Zac Medico | 2006-03-18 | 1 | -26/+35 |
| | | | | | | handling for CONFCACHE_DIR from r2912. svn path=/main/trunk/; revision=2927 | ||||
* | Use apply_recursive_permissions for CONFCACHE_DIR. | Zac Medico | 2006-03-18 | 1 | -19/+5 |
| | | | | svn path=/main/trunk/; revision=2926 | ||||
* | Add a generic apply_recursive_permissions function and use is for ↵ | Zac Medico | 2006-03-18 | 2 | -22/+45 |
| | | | | | | $DISTDIR/cvs-src. svn path=/main/trunk/; revision=2925 | ||||
* | For better handling of $DISTDIR/cvs-src permissions, use os.walk instead of ↵ | Zac Medico | 2006-03-17 | 1 | -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 Medico | 2006-03-17 | 1 | -21/+27 |
| | | | | svn path=/main/trunk/; revision=2919 | ||||
* | Fix typo in variable name from last revision. | Zac Medico | 2006-03-17 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=2918 | ||||
* | Fix the apply_permissions XOR logic so that mask removes mode bits correctly. | Zac Medico | 2006-03-17 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=2917 | ||||
* | Improve error handling in prepare_build_dirs for PORT_LOGDIR. Fix doebuild ↵ | Zac Medico | 2006-03-17 | 1 | -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 Medico | 2006-03-17 | 1 | -13/+26 |
| | | | | svn path=/main/trunk/; revision=2914 | ||||
* | Disable confcache when it's not possible to apply correct group permissions ↵ | Zac Medico | 2006-03-17 | 1 | -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 Medico | 2006-03-17 | 1 | -35/+40 |
| | | | | | | Thanks to solar for reporting this issue. svn path=/main/trunk/; revision=2912 | ||||
* | Fix permissions functions so that error messages tell exactly which call failed. | Zac Medico | 2006-03-17 | 1 | -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 Medico | 2006-03-17 | 1 | -3/+1 |
| | | | | | | recommended by marienz. svn path=/main/trunk/; revision=2909 | ||||
* | Implement __contains__ for portage.config so that it calls has_key, enabling ↵ | Zac Medico | 2006-03-16 | 1 | -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 Medico | 2006-03-16 | 1 | -3/+8 |
| | | | | | | PORTAGE_FETCH_T should be used for selinux fetch. Thanks to spb for reporting. svn path=/main/trunk/; revision=2906 | ||||
* | Move environment variables WORKDIR, D, and T from prepare_build_dirs to ↵ | Zac Medico | 2006-03-16 | 1 | -6/+6 |
| | | | | | | doebuild_environment. svn path=/main/trunk/; revision=2904 | ||||
* | Add a new PORTAGE_WORKDIR_MODE config variable so that the mode of WORKDIR ↵ | Zac Medico | 2006-03-16 | 1 | -0/+17 |
| | | | | | | is no longer hard coded. See bug #8688. svn path=/main/trunk/; revision=2901 | ||||
* | Check the return value of prepare_build_dirs and return early from doebuild ↵ | Zac Medico | 2006-03-15 | 1 | -1/+3 |
| | | | | | | if necessary. svn path=/main/trunk/; revision=2895 | ||||
* | Split the bulk of directory preparation out of doebuild into a new ↵ | Zac Medico | 2006-03-15 | 1 | -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 Medico | 2006-03-15 | 1 | -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 Medico | 2006-03-15 | 1 | -6/+4 |
| | | | | svn path=/main/trunk/; revision=2892 | ||||
* | Send a global updates messages to stdout for bug #126111. | Zac Medico | 2006-03-14 | 1 | -9/+9 |
| | | | | svn path=/main/trunk/; revision=2888 | ||||
* | Comma's are for pussies ( fixing regression from last reivision ) | Alec Warner | 2006-03-14 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=2887 | ||||
* | marienz pointed out that 'raise e' actually raises a new exception, which is ↵ | Alec Warner | 2006-03-14 | 1 | -8/+6 |
| | | | | | | not intended here, so we raise instead of raising e svn path=/main/trunk/; revision=2886 | ||||
* | Remove SystemExit's from portage imports, raise on the correct exception, ↵ | Alec Warner | 2006-03-14 | 1 | -25/+7 |
| | | | | | | don't die if imports fail. svn path=/main/trunk/; revision=2884 | ||||
* | Remove some SystemExit exceptions, make portage behave during a ctrl+c | Alec Warner | 2006-03-14 | 1 | -7/+3 |
| | | | | svn path=/main/trunk/; revision=2883 | ||||
* | One more 'mode & 07777' in apply_permissions. | Zac Medico | 2006-03-14 | 1 | -0/+2 |
| | | | | svn path=/main/trunk/; revision=2882 | ||||
* | Make that 'mode & 07777' for the previous commit. | Zac Medico | 2006-03-14 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=2881 | ||||
* | Use 'mode & 0777' to protect ourselves from unwanted mode bits in ↵ | Zac Medico | 2006-03-14 | 1 | -5/+8 |
| | | | | | | apply_permissions. svn path=/main/trunk/; revision=2880 | ||||
* | Move the "noclean" feature check into clean phase part of doebuild. | Zac Medico | 2006-03-14 | 1 | -4/+4 |
| | | | | svn path=/main/trunk/; revision=2879 | ||||
* | Use a separate PORTAGE_BUILDDIR for overlapping install and unmerge phases ↵ | Zac Medico | 2006-03-14 | 1 | -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 Medico | 2006-03-14 | 1 | -47/+29 |
| | | | | svn path=/main/trunk/; revision=2877 | ||||
* | Make mode=-1 the default parameter for apply_permissions in order to ↵ | Zac Medico | 2006-03-14 | 1 | -3/+5 |
| | | | | | | distinguish the behavior from mode=0. svn path=/main/trunk/; revision=2876 | ||||
* | Fix some typos in the DISTDIR permissions handling. | Zac Medico | 2006-03-14 | 1 | -4/+4 |
| | | | | svn path=/main/trunk/; revision=2875 | ||||
* | Make the apply_permissions function default to exact matching of mode bits ↵ | Zac Medico | 2006-03-14 | 1 | -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 Medico | 2006-03-14 | 1 | -6/+3 |
| | | | | | | for the distlocks subdir. svn path=/main/trunk/; revision=2873 | ||||
* | Wrap possible exceptions raised by stat call in apply_secpass_permissions. | Zac Medico | 2006-03-14 | 1 | -1/+9 |
| | | | | svn path=/main/trunk/; revision=2872 | ||||
* | Add a new OperationNotPermitted exception and use it to wrap ↵ | Zac Medico | 2006-03-14 | 3 | -24/+32 |
| | | | | | | apply_permissions exceptions. svn path=/main/trunk/; revision=2871 | ||||
* | Use apply_secpass_permissions for DISTDIR permissions. | Zac Medico | 2006-03-14 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=2870 | ||||
* | Make portage_util.apply_stat_permissions() wrap apply_secpass_permissions ↵ | Zac Medico | 2006-03-13 | 1 | -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 Medico | 2006-03-13 | 1 | -1/+33 |
| | | | | | | intelligently attempts to apply as much of the requested permissions as possible without generating an exception. svn path=/main/trunk/; revision=2868 | ||||
* | Document portage_data.secpass and give secpass=0 to users that are not in ↵ | Zac Medico | 2006-03-13 | 1 | -2/+12 |
| | | | | | | the "portage" group. svn path=/main/trunk/; revision=2866 | ||||
* | Do not clean shared ${T} after the unmerge phase when the new and old ↵ | Zac Medico | 2006-03-13 | 1 | -2/+11 |
| | | | | | | package are the same version (regression from r2844). See bug #125942. svn path=/main/trunk/; revision=2865 | ||||
* | Make portage.unmerge return 0 on success in order to make `ebuild unmerge` ↵ | Zac Medico | 2006-03-12 | 1 | -1/+3 |
| | | | | | | exit nicely. Thanks to kosmikus for reporting the "Could not run the required binary?" message. svn path=/main/trunk/; revision=2862 | ||||
* | Fix misuse of dict.fromkeys class method so that cache cleansing works ↵ | Zac Medico | 2006-03-12 | 1 | -1/+1 |
| | | | | | | during `emerge --metadata` runs. svn path=/main/trunk/; revision=2861 | ||||
* | Use the ** operator for better unpacking of actionmap args in spawnebuild. | Zac Medico | 2006-03-12 | 1 | -19/+13 |
| | | | | svn path=/main/trunk/; revision=2859 | ||||
* | Add the command (ebuild.sh or misc-functions.sh) to the actionmap for ↵ | Zac Medico | 2006-03-12 | 1 | -21/+18 |
| | | | | | | spawnebuild. svn path=/main/trunk/; revision=2858 | ||||
* | Make the clean phase obey keeptemp in FEATURES. | Zac Medico | 2006-03-11 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=2854 |