summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove ccache and distcc remove_path_entry code since PATH is alwaysZac Medico2009-04-301-3/+0
| | | | | | initialized from scratch so there's no danger of accumulation. (trunk r13385) svn path=/main/branches/2.1.6/; revision=13537
* Use declare -F to check existence of function definitions, instead ofZac Medico2009-04-301-10/+10
| | | | | | type -t, in order to avoid use of subshells. (trunk r13384) svn path=/main/branches/2.1.6/; revision=13536
* In ebuild_main(), unset ebuild_helpers_path when finished with it, sinceZac Medico2009-04-301-0/+1
| | | | | | bash exposes local variables to 'children'. (trunk r13381) svn path=/main/branches/2.1.6/; revision=13533
* Add ${PORTAGE_BIN_PATH}/ebuild-helpers/3 directory to PATH for EAPI 3. ThanksZac Medico2009-04-301-0/+13
| | | | | | to Tiziano Müller <dev-zero@g.o> for this patch. (trunk r13380) svn path=/main/branches/2.1.6/; revision=13532
* Make portage.bsd_chflags correspond to FEATURES=chflags so that it can beZac Medico2009-04-301-1/+1
| | | | | | used for related conditionals in shell code. (trunk r13342) svn path=/main/branches/2.1.6/; revision=13499
* Avoid leaking some variables from ebuild_main() into the environment (localZac Medico2009-04-301-3/+3
| | | | | | variables are exposed to 'children'). (trunk r13316) svn path=/main/branches/2.1.6/; revision=13487
* Call _ebuild_phase_funcs() from ebuild_main() since it needs to be called forZac Medico2009-04-301-5/+5
| | | | | | every phase (for EAPI 2 default() phase function setup). (trunk r13301) svn path=/main/branches/2.1.6/; revision=13472
* - Move DEFINED_PHASES code into _source_ebuild() and add it to the list ofZac Medico2009-04-301-35/+34
| | | | | | | readonly variables. - Save DEFINED_PHASES in the vdb entries, as requested by lxnay. (trunk r13300) svn path=/main/branches/2.1.6/; revision=13471
* Move the ebuild sourcing code into a new _source_ebuild() function.Zac Medico2009-04-301-6/+9
| | | | | | (trunk r13299) svn path=/main/branches/2.1.6/; revision=13470
* Bug #264494 - In case the ebuild has enabled set -e during an ebuild phase,Zac Medico2009-04-301-0/+2
| | | | | | proactively call set +e inside qa_source(), qa_call(), and die(). (trunk r13273) svn path=/main/branches/2.1.6/; revision=13452
* In dyn_unpack(), don't force a new unpack when the ebuild mtime is newerZac Medico2009-03-271-4/+1
| | | | | | | than $WORKDIR, since that may be too touchy. The user can easily call the clean phase explicitly if they really want it. (trunk r13222) svn path=/main/branches/2.1.6/; revision=13223
* Move checks for /usr/lib/distcc/bin and /usr/lib/ccache/bin to the pythonZac Medico2009-03-271-15/+4
| | | | | | | | side and don't add distcc to CC and CXX when /usr/lib/distcc/bin doesn't exist since that won't necessarily work. Thanks to Jeroen Roovers <jer@g.o> for reporting the issue with adding distcc to CC. (trunk r13198) svn path=/main/branches/2.1.6/; revision=13219
* Source bashrc after PATH tweaks inside ebuild_main(). (trunk r13184)Zac Medico2009-03-271-1/+2
| | | | svn path=/main/branches/2.1.6/; revision=13213
* Move distcc and ccache PATH setup later, after EAPI is guaranteed to be known,Zac Medico2009-03-271-58/+35
| | | | | | | so that it's possible to do indepenent EAPI-specific PATH modifications prior to the distcc/ccache modifications. (trunk r13183) svn path=/main/branches/2.1.6/; revision=13212
* Remove unused tar_opts variable inside unpack(). Thanks to zong_sharo forZac Medico2009-03-271-5/+4
| | | | | | reporting. (trunk r13181) svn path=/main/branches/2.1.6/; revision=13210
* Use a separate if/then to group boolean or'd expressions together, ratherZac Medico2009-03-231-6/+6
| | | | | | than a subshell. (trunk r13149) svn path=/main/branches/2.1.6/; revision=13166
* Make ebuild(1) detect ebuild/eclass changes and automatically source theZac Medico2009-03-231-2/+4
| | | | | | | | ebuild atain in this case (even though $T/environment may already exist). This should help avoid confusion by ensuring that the latest changes to the ebuild/eclasses are reflected in the environment. (trunk r13148) svn path=/main/branches/2.1.6/; revision=13165
* When triggering a fresh unpack inside dyn_unpack(), remove theZac Medico2009-03-231-1/+1
| | | | | | | .prepared, .configured and .installed files along with the others. (trunk r13146) svn path=/main/branches/2.1.6/; revision=13163
* In order to avoid possible duplicate elog messages when using ebuild(1) toZac Medico2009-03-231-0/+7
| | | | | | | | call the same phase multiple times, wipe out elog log files for the current phase just before executing the phase. Thanks to Mike Frysinger <vapier@g.o> for reporting. (trunk r13130) svn path=/main/branches/2.1.6/; revision=13151
* Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() trZac Medico2009-03-131-1/+2
| | | | | | arguments. (trunk r13104) svn path=/main/branches/2.1.6/; revision=13107
* cleanup sandbox env var handling -- make sure we dont insert empty : ↵Zac Medico2009-03-131-29/+27
| | | | | | | | sections and avoid unnecessary eval usage (trunk r13090) svn path=/main/branches/2.1.6/; revision=13105
* Make dyn_clean ignore FEATURES=keepwork when [[ $EMERGE_FROM = binary ]]Zac Medico2009-03-121-2/+3
| | | | | | | and remove shutil.rmtree() call from Binpkg._clean_exit() since dyn_clean is guaranteed to do a full clean now. (trunk r13069) svn path=/main/branches/2.1.6/; revision=13083
* Move ebuild helpers into an ebuild-helpers subdirectory. (trunk r13063)Zac Medico2009-03-121-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13077
* Only execute src_test pre/post hooks when src_test is actually executed.Zac Medico2009-03-111-4/+4
| | | | | | (trunk r12809) svn path=/main/branches/2.1.6/; revision=13041
* Add more QA warnings for econf calls during unexpected phases. Thanks toZac Medico2009-03-111-3/+12
| | | | | | Diego Elio Pettenò <flameeyes@g.o> for the suggestion. (trunk r12808) svn path=/main/branches/2.1.6/; revision=13040
* Use the ebuild_phase helper function to calls phase hooks and fix brokenZac Medico2009-03-111-24/+18
| | | | | | | trap calls that try to unset multiple signal handlers at once without passing - as the first argument. (trunk r12805) svn path=/main/branches/2.1.6/; revision=13039
* Inside dyn_unpack(), only call pre/post phase hooks when src_unpack isZac Medico2009-03-111-2/+1
| | | | | | called (when .unpacked does not already exist). (trunk r12804) svn path=/main/branches/2.1.6/; revision=13038
* Replace things like [[ $PORTAGE_BUILDDIR/.prepared -nt $WORKDIR ]] withZac Medico2009-03-111-6/+5
| | | | | | | | | simply [[ -e $PORTAGE_BUILDDIR/.prepared ]] since the timestamp of $WORKDIR is practically always newer due to the other hidden files that are created there as each phase is executed. Thanks to Alfredo Tupone <tupone@g.o> for reporting. (trunk r12795) svn path=/main/branches/2.1.6/; revision=13029
* Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit, sinceZac Medico2009-03-111-0/+7
| | | | | | it's incompatible with <=portage-2.1.6.7. (trunk r12794) svn path=/main/branches/2.1.6/; revision=13028
* Make EXPORT_FUNCTIONS store it's arguments in an environment variable andZac Medico2009-03-111-12/+25
| | | | | | | | | | perform the function generation after the current inherit call has returned. This allows an eclass to call EXPORT_FUNCTIONS either before or after it inherits other eclasses, and the result is still the same. Thanks to Donnie Berkholz <dberkholz@g.o> for reporting. (trunk r12784:12792 and r12806) svn path=/main/branches/2.1.6/; revision=13026
* Fix vdb entry writting code in dyn_install() to avoid generating empty entriesZac Medico2009-03-111-3/+4
| | | | | | in some cases. Thanks to Ned Ludd <solar@g.o> for reporting. (trunk r12745) svn path=/main/branches/2.1.6/; revision=12994
* Make save_ebuild_env() filter NOCOLOR, and remove related code from ebuild.shZac Medico2009-03-111-12/+0
| | | | | | since that variable is not loaded from $T/environment anymore. (trunk r12625) svn path=/main/branches/2.1.6/; revision=12899
* (trunk r12620)Zac Medico2009-03-111-23/+13
| | | | svn path=/main/branches/2.1.6/; revision=12895
* Automatically export QA_PRESTRIPPED if it's set. Thanks to Raúl PorcelZac Medico2009-03-111-0/+3
| | | | | | <armin76@g.o> for reporting. (trunk r12609) svn path=/main/branches/2.1.6/; revision=12887
* * Remove outdated comment about qa_source() return value (with typo).Zac Medico2009-03-111-2/+2
| | | | | | | * Update copyright header. Thanks to Jeremy Olexa <darkside@g.o> for reporting. (trunk r12602) svn path=/main/branches/2.1.6/; revision=12883
* Add new EAPI 3_pre1 value, and disable unpack() support for *.xz for earlierZac Medico2009-03-111-4/+9
| | | | | | EAPI values. (trunk r12596) svn path=/main/branches/2.1.6/; revision=12877
* Remove support for deprecated 2_pre* EAPI values. (trunk r12594)Zac Medico2009-03-111-3/+3
| | | | svn path=/main/branches/2.1.6/; revision=12875
* (trunk r12593)Zac Medico2009-03-111-0/+8
| | | | svn path=/main/branches/2.1.6/; revision=12874
* Escape globs in hasgq arguments in order to prevent bash from tryingZac Medico2009-03-111-3/+3
| | | | | | to perform filename expansion. (trunk r12591) svn path=/main/branches/2.1.6/; revision=12872
* (trunk r12590)Zac Medico2009-03-111-49/+20
| | | | svn path=/main/branches/2.1.6/; revision=12871
* (trunk r12589)Zac Medico2009-03-111-1/+7
| | | | svn path=/main/branches/2.1.6/; revision=12870
* (trunk r12588)Zac Medico2009-03-111-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=12869
* Add messages before and after the src_prepare phase. Thanks to Arfrever forZac Medico2009-03-111-0/+2
| | | | | | this patch. (trunk r12555) svn path=/main/branches/2.1.6/; revision=12841
* Bug #250469 - Fix unpack() so that deb2targz is called in a way such thatZac Medico2009-01-121-3/+17
| | | | | | $DISTDIR write access is not required. (trunk r12389) svn path=/main/branches/2.1.6/; revision=12456
* (trunk r12375)Zac Medico2009-01-121-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=12445
* Add support for the new DEFINED_PHASES metadata key which is automatically ↵Zac Medico2008-12-251-1/+27
| | | | | | | | | generated from the set of phase functions that are defined by the ebuild and any eclasses it may have inherited. (trunk r12272:12274) svn path=/main/branches/2.1.6/; revision=12307
* When attempting to close fd 9 at the end of the depend phase, use exec so thatZac Medico2008-12-121-1/+1
| | | | | | it really works. (trunk r12190) svn path=/main/branches/2.1.6/; revision=12223
* Bug #250148 - Prevent ebuild.sh subprocess from inheriting file descriptorZac Medico2008-12-121-9/+19
| | | | | | | 9, since otherwise if a daemon process such as udevd gets spawned then it can inherit the file descriptor and hang emerge. (trunk r12189) svn path=/main/branches/2.1.6/; revision=12222
* Skip sourcing of profile.bashrc during the depend phase. (trunk r12136)Zac Medico2008-12-021-8/+11
| | | | svn path=/main/branches/2.1.6/; revision=12137
* Source bashrc files as late as possible, giving them the opportunity toZac Medico2008-12-021-4/+5
| | | | | | | override as much as possible. Thanks to Ned Ludd <solar@g.o> for the suggestion. (trunk r12134) svn path=/main/branches/2.1.6/; revision=12135