summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* In the grep expression that's generated in filter_readonly_variables(),Zac Medico2007-11-241-8/+10
| | | | | | condense redundant identical expressions into a single one. (trunk r8630) svn path=/main/branches/2.1.2/; revision=8633
* Filter _E_DOCDESTTREE_ and _E_EXEDESTTREE_ from environment.bz2. (trunk r8629)Zac Medico2007-11-241-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8632
* Add support for persistence of colon separatedZac Medico2007-11-241-8/+27
| | | | | | | | | SANDBOX_{DENY,READ,PREDICT,WRITE} variables between phases so things like the global scope addpredict() call in qt3.eclass will continue to work. (trunk r8628) svn path=/main/branches/2.1.2/; revision=8631
* Make save_ebuild_env() filter the new source_all_bashrcs() functionZac Medico2007-11-231-1/+2
| | | | | | from the environment. (trunk r8623) svn path=/main/branches/2.1.2/; revision=8624
* Try again to make bashrc sourcing compatible with previousZac Medico2007-11-231-32/+37
| | | | | | | | behavior. The bashrcs get an opportunity to set aliases that will be expanded during sourcing of ebuilds and eclasses. (trunk r8621) svn path=/main/branches/2.1.2/; revision=8622
* unset x to avoid global env pollution. (trunk r8619)Zac Medico2007-11-231-0/+1
| | | | svn path=/main/branches/2.1.2/; revision=8620
* For compatibility with previous behavior, so the bashrc sourcingZac Medico2007-11-231-33/+31
| | | | | | after the ebuild environment is fully loaded. (trunk r8617) svn path=/main/branches/2.1.2/; revision=8618
* Sort hashes for predictable output from Manifest._createManifestEntries().Zac Medico2007-11-231-0/+1
| | | | | | (trunk r8615) svn path=/main/branches/2.1.2/; revision=8616
* Use %% instead of % parameter expansion where appropriateZac Medico2007-11-231-1/+1
| | | | | | for md5sum output. (trunk r8613) svn path=/main/branches/2.1.2/; revision=8614
* Make the sed expression in filter_readonly_variables() handleZac Medico2007-11-231-1/+3
| | | | | | '^declare -r ' by simply removing it. (trunk r8611) svn path=/main/branches/2.1.2/; revision=8612
* When filtering the backupenv in create_trees(), be moreZac Medico2007-11-231-1/+15
| | | | | | | selective and ensure that special variables that come from the config constructor are preserved. (trunk r8609) svn path=/main/branches/2.1.2/; revision=8610
* Allow any errors from save_ebuild_env() to go to stderr instead ofZac Medico2007-11-221-1/+1
| | | | | | directing them to /dev/null. (trunk r8607) svn path=/main/branches/2.1.2/; revision=8608
* Generalize the sed expression in filter_readonly_variables() so thatZac Medico2007-11-221-1/+1
| | | | | | | it will work with things like 'declare -xr' as well as 'declare -rx'. (trunk r8605) svn path=/main/branches/2.1.2/; revision=8606
* Don't call preprocess_ebuild_env() unless EBUILD_SH_ARGS is setZac Medico2007-11-221-1/+1
| | | | | | | since otherwise it can interfere with the environment for things like the "package" phase. (trunk r8603) svn path=/main/branches/2.1.2/; revision=8604
* When portage reinstalls itself, during inst/rm phases, theZac Medico2007-11-221-0/+7
| | | | | | | | | environment may have been saved by a different version of ebuild.sh, so it can't trusted that it's been properly filtered. Therefore, always preprocess the environment when ${PN} == portage. (trunk r8601) svn path=/main/branches/2.1.2/; revision=8602
* Document dohtml -p. Thanks to robbat2 for reporting. (trunk r8599)Zac Medico2007-11-222-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=8600
* Make dyn_package() create a /var/db/pkg/*/*/BINPKGMD5 entriesZac Medico2007-11-221-0/+2
| | | | | | | so that packages installed via --buildpkg have a BINPKGMD5 entry matching the package built. (trunk r8597) svn path=/main/branches/2.1.2/; revision=8598
* Filter HOSTTYPE, MACHTYPE, and OSTYPE vars that are set by bash.Zac Medico2007-11-221-1/+2
| | | | | | (trunk r8595). svn path=/main/branches/2.1.2/; revision=8596
* In depgraph.altlist(), measure the bias of circularZac Medico2007-11-221-0/+20
| | | | | | | RDEPEND <-> PDEPEND relationships and use it to optimize merge order. (trunk r8593) svn path=/main/branches/2.1.2/; revision=8594
* Replace usage of the "myarg" global variable with the equivalentZac Medico2007-11-211-34/+27
| | | | | | readonly EBUILD_SH_ARGS variable. (trunk r8585) svn path=/main/branches/2.1.2/; revision=8586
* In dyn_install(), don't cleanse S from the global environment,Zac Medico2007-11-211-5/+9
| | | | | | | | in case the user wants to repeat the phase (like with FEATURES=noauto and the ebuild command). Only cleanse it from environment.bz2. (trunk r8583) svn path=/main/branches/2.1.2/; revision=8584
* * Make save_ebuild_env() filter some more variables.Zac Medico2007-11-211-2/+8
| | | | | | | * Make dyn_install() filter S when it's no longer needed. (trunk r8581) svn path=/main/branches/2.1.2/; revision=8582
* Generate an eerror elog message when an ebuild prerm orZac Medico2007-11-212-21/+18
| | | | | | postrm phase fails. (trunk r8577) svn path=/main/branches/2.1.2/; revision=8580
* Fix the diefunc overlay message so that it doesn't triggerZac Medico2007-11-211-0/+1
| | | | | | falsely in prerm or postrm. (trunk r8578) svn path=/main/branches/2.1.2/; revision=8579
* Move environment saving from dyn_compile() to dyn_install()Zac Medico2007-11-211-27/+27
| | | | | | so that state from src_install() is saved. (trunk r8575) svn path=/main/branches/2.1.2/; revision=8576
* Clean up some local variables that are needlessly savedZac Medico2007-11-211-2/+6
| | | | | | in the environment. (trunk r8573) svn path=/main/branches/2.1.2/; revision=8574
* Fix an AttributeError for config.backupenv.Zac Medico2007-11-211-5/+5
| | | | svn path=/main/branches/2.1.2/; revision=8572
* When ROOT != "/" we only want overrides from the callingZac Medico2007-11-211-0/+7
| | | | | | | | | | environment to apply to the config that's associated with ROOT != "/", so we wipe out the "backupenv" for the config that is associated with ROOT == "/" and regenerate it's incrementals. Thanks to solar for the suggestion. (trunk r8539) svn path=/main/branches/2.1.2/; revision=8571
* Sync with ebuild.sh and isolated-functions.sh as of trunk r8569. ThisZac Medico2007-11-212-202/+313
| | | | | | | includes all the environment filtering enhancements that solve bugs #46223 and #190128. svn path=/main/branches/2.1.2/; revision=8570
* Disable logging and ${T}/environment saving during theZac Medico2007-11-212-3/+2
| | | | | | pkg_info() phase. (trunk r8526) svn path=/main/branches/2.1.2/; revision=8568
* Fix PROFILE_ONLY_VARIABLES handling in the config constructorZac Medico2007-11-211-5/+4
| | | | | | | so that variables are appropriately filtered from "backupenv", since otherwise they can leak in from there. (trunk r8524) svn path=/main/branches/2.1.2/; revision=8567
* Bug #198398 - Enable Manifest generation when there are no hashZac Medico2007-11-212-5/+17
| | | | | | | | | | functions available for types such as RMD160. Now it's possible to generate a Manifest when python-2.5 is built without ssl support. MANIFEST1_REQUIRED_HASH and MANIFEST2_REQUIRED_HASH are the only two functions that are strictly required now (MD5 and SHA1). (trunk r8521) svn path=/main/branches/2.1.2/; revision=8566
* Clean up vardbapi.counter_tick_core() and replace shell codeZac Medico2007-11-211-50/+30
| | | | | | with pure python. svn path=/main/branches/2.1.2/; revision=8565
* Set IMAGE for minimal backward compatibility withZac Medico2007-11-212-2/+3
| | | | | | | overlays or user's bashrc, but don't export it. (trunk r8511:8513) svn path=/main/branches/2.1.2/; revision=8564
* Bug #199311 - Make dblink.getcontents() show the path of theZac Medico2007-11-211-11/+10
| | | | | | | CONTENTS file when any kind of parse error occurs. (trunk r8511) svn path=/main/branches/2.1.2/; revision=8563
* Fix quoting for `source ${EBUILD}`. (trunk r8503)Zac Medico2007-11-211-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8562
* Make dir_get_metadata() return early if the current user doesZac Medico2007-11-201-0/+7
| | | | | | | not have write access to /var/cache/edb. Thanks to Cardoe for reporting. (trunk r8502) svn path=/main/branches/2.1.2/; revision=8561
* * Replace references to deprecated ${IMAGE} with equivalent ${D}.Zac Medico2007-11-202-29/+26
| | | | | | | * Remove redundant trailing slashes and fix quoting. (trunk r8501) svn path=/main/branches/2.1.2/; revision=8560
* Make 'full' the default mode, since 'scan' can be annoying when itZac Medico2007-11-202-5/+5
| | | | | | omits relevant info. (trunk r8499) svn path=/main/branches/2.1.2/; revision=8558
* In the slot collision display, show a maximum of 3 parentsZac Medico2007-11-201-0/+14
| | | | | | | for each package in order to avoid flooding the display. (trunk r8500) svn path=/main/branches/2.1.2/; revision=8557
* Make the slot collision display show all collisions insteadZac Medico2007-11-201-21/+33
| | | | | | of just the first one. (trunk r8498) svn path=/main/branches/2.1.2/; revision=8556
* Fix blocker handling to properly handle SLOT atoms inZac Medico2007-11-201-1/+3
| | | | | | depgraph.validate_blockers(). (trunk r8495) svn path=/main/branches/2.1.2/; revision=8555
* Bug #197797 - Set umask to 022 so that created files (such as theZac Medico2007-11-201-0/+4
| | | | | | world file) have sane permissions. svn path=/main/branches/2.1.2/; revision=8554
* Make diefunc() clean up QA_INTERCEPTORS in case it isZac Medico2007-11-201-1/+6
| | | | | | | called from inherit() since sed called below. (trunk r8490) svn path=/main/branches/2.1.2/; revision=8553
* Convert all the checks in repoman.checks to use a new LineCheckZac Medico2007-11-201-108/+90
| | | | | | | | | | | | | | | | | | | | | | | | | interface that takes a single line as an argument. This has at least a few of benefits: * Eliminates lots of redundant code * Error messages are ordered by line number across all checks The performance is slightly worse due to the increased number of method calls, but it's not really noticeable in comparison to the time consumed by dependency checks. Thanks to Petteri Räty <betelgeuse@gentoo.org> for the initial patch which I only made a few minor modifications to. (trunk r8483) Make the EbuildQuote.missing_quotes regex accept single quotes where it accepts double quotes in order to eliminate some false positives. Thanks to Krzysiek Pawlik <nelchael@gentoo.org> for reporting. (trunk r8485) svn path=/main/branches/2.1.2/; revision=8552
* Remove the workaround for \n -> \r\n transformations inZac Medico2007-11-201-4/+5
| | | | | | | SpawnTestCase.testLogfile() since the problem is solved by the patch from bug #198491. (trunk r8474) svn path=/main/branches/2.1.2/; revision=8551
* Bug #198491 - Disable termios.OPOST post-processing of output onZac Medico2007-11-201-0/+7
| | | | | | | | the slave pty file descriptor since otherwise weird things like \n -> \r\n transformations may occur. Thanks to Ulrich Mueller <ulm@gentoo.org> for this patch. (trunk r8473) svn path=/main/branches/2.1.2/; revision=8550
* make.globals should not be relative to config_rootZac Medico2007-11-201-1/+3
| | | | | | because it only contains constants. (trunk r8471) svn path=/main/branches/2.1.2/; revision=8549
* Tweak EOutput.term_columns calculation for TERM="dumb" soZac Medico2007-11-201-1/+1
| | | | | | | | that it behaves like TERM="cons25" currently does. Thanks to Ulrich Mueller <ulm@gentoo.org> for the patch. (trunk r8468) svn path=/main/branches/2.1.2/; revision=8548
* Don't do:Zac Medico2007-11-201-2/+3
| | | | | | | Calculating dependencies |Fetching binary packages info... but instead put "Fetching ..." on it's own line. (trunk r8466) svn path=/main/branches/2.1.2/; revision=8547