summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
Commit message (Collapse)AuthorAgeFilesLines
* Make save_ebuild_env() filter NOCOLOR, and remove related code from ebuild.shZac Medico2009-02-181-12/+0
| | | | | | since that variable is not loaded from $T/environment anymore. svn path=/main/trunk/; revision=12625
* unify code for unpacking of tar filesMike Frysinger2009-02-161-23/+13
| | | | svn path=/main/trunk/; revision=12620
* Automatically export QA_PRESTRIPPED if it's set. Thanks to Raúl PorcelZac Medico2009-02-141-0/+3
| | | | | | <armin76@g.o> for reporting. svn path=/main/trunk/; revision=12609
* * Remove outdated comment about qa_source() return value (with typo).Zac Medico2009-02-121-2/+2
| | | | | | | * Update copyright header. Thanks to Jeremy Olexa <darkside@g.o> for reporting. svn path=/main/trunk/; revision=12602
* Add new EAPI 3_pre1 value, and disable unpack() support for *.xz for earlierZac Medico2009-02-091-4/+9
| | | | | | EAPI values. svn path=/main/trunk/; revision=12596
* Remove support for deprecated 2_pre* EAPI values.Zac Medico2009-02-091-3/+3
| | | | svn path=/main/trunk/; revision=12594
* add support for .xz compressed files like .lzmaMike Frysinger2009-02-081-0/+8
| | | | svn path=/main/trunk/; revision=12593
* Escape globs in hasgq arguments in order to prevent bash from tryingZac Medico2009-02-071-3/+3
| | | | | | to perform filename expansion. svn path=/main/trunk/; revision=12591
* cleanup econf() code -- use hasg* funcs in multilib code to avoid ↵Mike Frysinger2009-02-071-49/+20
| | | | | | wrong/duplicate parsing methods, move all handling to "$@" to avoid duplication, and make sure we prepend arguments coming from the ebuild rather than append -- only EXTRA_ECONF from user should override things svn path=/main/trunk/; revision=12590
* fix previous commit -- hasq isnt as cool as i thought and doesnt accept ↵Mike Frysinger2009-02-071-1/+7
| | | | | | globs, so define a new hasg() func that does and use that svn path=/main/trunk/; revision=12589
* fix --libdir detection when econf is passed whitespace/empty arguments ... ↵Mike Frysinger2009-02-071-1/+1
| | | | | | those break the plain string expansion comparison svn path=/main/trunk/; revision=12588
* Add messages before and after the src_prepare phase. Thanks to Arfrever forZac Medico2009-01-251-0/+2
| | | | | | this patch. svn path=/main/trunk/; revision=12555
* Bug #250469 - Fix unpack() so that deb2targz is called in a way such thatZac Medico2009-01-071-3/+17
| | | | | | $DISTDIR write access is not required. svn path=/main/trunk/; revision=12389
* - tell the user where we unpacked the sourceNed Ludd2009-01-021-1/+1
| | | | svn path=/main/trunk/; revision=12375
* Fix DEFINED_PHASES code to check for pkg_config and pkg_info functions.Zac Medico2008-12-211-5/+5
| | | | svn path=/main/trunk/; revision=12274
* Add support for the new DEFINED_PHASES metadata key which is automatically ↵Zac Medico2008-12-211-1/+27
| | | | | | | | | generated from the set of phase functions that are defined by the ebuild and any eclasses it may have inherited. svn path=/main/trunk/; revision=12273
* When attempting to close fd 9 at the end of the depend phase, use exec so thatZac Medico2008-12-101-1/+1
| | | | | | it really works. svn path=/main/trunk/; revision=12190
* Bug #250148 - Prevent ebuild.sh subprocess from inheriting file descriptorZac Medico2008-12-101-9/+19
| | | | | | | 9, since otherwise if a daemon process such as udevd gets spawned then it can inherit the file descriptor and hang emerge. svn path=/main/trunk/; revision=12189
* Skip sourcinf of profile.bashrc during the depend phase.Zac Medico2008-12-021-8/+11
| | | | svn path=/main/trunk/; revision=12136
* 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. svn path=/main/trunk/; revision=12134
* Fix inconsistencies between the "clean" and "cleanrm" phases.Zac Medico2008-12-011-3/+3
| | | | svn path=/main/trunk/; revision=12126
* Bug #205044 - When creating $EBUILD_EXIT_STATUS_FILE, don't direct output to ↵Zac Medico2008-11-261-3/+9
| | | | | | | | /dev/null since it should never fail and if it does then the error message might be useful. svn path=/main/trunk/; revision=12105
* Bug #245356 - Filter POSIXLY_CORRECT from the ebuild environment since itZac Medico2008-11-031-1/+1
| | | | | | breaks stuff. svn path=/main/trunk/; revision=11804
* Bug #244792 - Remove confcache support.Zac Medico2008-11-011-27/+2
| | | | svn path=/main/trunk/; revision=11770
* Enable bashrc even when $EBUILD_PHASE is unset, so it's possible to overrideZac Medico2008-10-261-2/+1
| | | | | | things like INSTALL_MASK. svn path=/main/trunk/; revision=11726
* Add an explicit note about bug #239560 in the relevant code.Zac Medico2008-10-121-1/+3
| | | | svn path=/main/trunk/; revision=11684
* At the end of dyn_clean(), also remove the $CATEGORY directory if possible.v2.2_rc12Zac Medico2008-10-091-2/+2
| | | | svn path=/main/trunk/; revision=11667
* Fix code from previous commit so it properly checks $eapi to verify thatZac Medico2008-10-091-1/+2
| | | | | | src_prepare is really a supported phase function. svn path=/main/trunk/; revision=11665
* Bug #240684 - Fix _ebuild_arg_to_phase() to handle the src_prepare phaseZac Medico2008-10-091-0/+3
| | | | | | so that the default() function is properly created. svn path=/main/trunk/; revision=11664
* In dyn_clean, cd to $PORTAGE_BUILDDIR/.. before attempting to remove it sinceZac Medico2008-10-051-3/+4
| | | | | | | | some kernels, such as Solaris, return EINVAL when an attempt is made to remove the current working directory. Thanks to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=11630
* * When ensuring sane $PWD in ebuild.sh, die if the `cd "$PORTAGE_BUILDDIR"`Zac Medico2008-10-051-1/+4
| | | | | | | | call fails. * Create $PORTAGE_BUILDDIR for the "fetch" phase too since it might be necessary to call pkg_nofetch. svn path=/main/trunk/; revision=11628
* Generate an eqawarn message if econf is called from src_compile andZac Medico2008-10-011-0/+4
| | | | | | | | src_configure is also defined. Thanks to Betelgeuse for the patch which I've modified to be silent in EAPI 0 or 1 in case ebuilds want to define src_configure in those EAPIs and call it manually from src_compile. svn path=/main/trunk/; revision=11603
* Make $PWD default to $PORTAGE_BUILDDIR since $WORKDIR is sometimes createdZac Medico2008-09-271-2/+2
| | | | | | later. svn path=/main/trunk/; revision=11563
* Add PROPERTIES to all of the metadata caches.Zac Medico2008-09-261-1/+1
| | | | svn path=/main/trunk/; revision=11561
* Add PROPERTIES to portage.auxdbkeys since it's been approved by the council.Zac Medico2008-09-251-2/+2
| | | | svn path=/main/trunk/; revision=11549
* Always call `cd "$WORKDIR"` to ensure that $CWD is sane whenever possible.Zac Medico2008-09-211-0/+3
| | | | svn path=/main/trunk/; revision=11530
* Remove everything related to the eapi* default phase functions since theyZac Medico2008-09-181-35/+7
| | | | | | are not included in the current EAPI 2 draft. svn path=/main/trunk/; revision=11515
* Remove unneeded quotes from PYTHONPATH assignments and also fix one moreZac Medico2008-09-131-3/+3
| | | | | | potential redundant colon inside misc-functions.sh. svn path=/main/trunk/; revision=11512
* Fix PYTHONPATH adjustments to only insert a colon when necessary. ThisZac Medico2008-09-131-3/+3
| | | | | | | | | | | | is necessary since having a stray colon causes python to interpret the empty path entry as "." which triggers the following message if cwd happens to contain a directory names "os": warning: Not importing directory 'os': missing __init__.py Thanks to Joe Peterson <lavajoe@g.o> for reporting. svn path=/main/trunk/; revision=11511
* Add a new src_prepare phase function which is called in-between src_unpackZac Medico2008-08-231-4/+40
| | | | | | | and src_configure (and bump EAPI to 2_pre3). Thanks to Ciaran McCreesh for the suggestion. svn path=/main/trunk/; revision=11454
* Fix quoting for iteration over PROFILE_PATHS.Zac Medico2008-08-121-1/+1
| | | | svn path=/main/trunk/; revision=11404
* Entirely disable the src_configure phase from the python side for EAPI valuesZac Medico2008-08-111-1/+0
| | | | | | | | for which it's not supported. This avoids pointless spawning of ebuild.sh and also avoids having bashrc called during an invalid phase as reported by Arfrever. svn path=/main/trunk/; revision=11398
* In source_all_bashrcs(), only change $IFS while splitting $PROFILE_PATHS intoZac Medico2008-08-111-5/+4
| | | | | | | | | an array, and then restore it before doing anything else. This avoids interference that can otherwise occur if code from profile.bashrc (or /etc/portage/env, be extension) needs to call any of the elog functions which use the save_IFS and restore_IFS aliases internally. svn path=/main/trunk/; revision=11397
* Move the default EAPI definition where it will work in any case it mightZac Medico2008-08-101-4/+4
| | | | | | be necessary, such as after loading an exising environment. svn path=/main/trunk/; revision=11387
* Remove pointless `cd` calls in dyn_configure() and dyn_compile().Zac Medico2008-08-101-6/+4
| | | | svn path=/main/trunk/; revision=11380
* Eliminate duplicate code by making _eapi1_src_compile() call ↵Zac Medico2008-08-101-3/+1
| | | | | | _eapi2_src_configure(). svn path=/main/trunk/; revision=11379
* Fix dyn_clean() to properly clean $PORTAGE_BUILDDIR/.configured.Zac Medico2008-08-091-6/+3
| | | | svn path=/main/trunk/; revision=11377
* Make eapi*_src_install die since they're not supported.Zac Medico2008-08-091-3/+3
| | | | svn path=/main/trunk/; revision=11365
* Update date in dyn_help copyright header. Thanks to grobian.Zac Medico2008-08-091-1/+1
| | | | svn path=/main/trunk/; revision=11363
* Remove redundant default pkg_nofetch, src_unpack, and src_test definitionsZac Medico2008-08-081-12/+0
| | | | | | which are now handled inside _ebuild_phase_funcs(). svn path=/main/trunk/; revision=11358