summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
Commit message (Collapse)AuthorAgeFilesLines
* Remove unsed check_KV() function. Thanks to Brian Harring.Zac Medico2010-03-251-14/+0
|
* Add back executable bits, accidentally removed in previous commit.Zac Medico2010-03-241-0/+0
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Fix breakage from previous commit.Zac Medico2010-03-151-0/+1
| | | | svn path=/main/trunk/; revision=15830
* Add a TODO note about adding a registration interface for eclasses to registerZac Medico2010-03-151-6/+7
| | | | | | phase hooks, in order to migrate away from global scope useq() calls. svn path=/main/trunk/; revision=15829
* Revert tar error handling changes from bug #309001 since we can't necessarilyZac Medico2010-03-141-2/+4
| | | | | | trust tar exist status alone (reverts r15820 and r15821). svn path=/main/trunk/; revision=15827
* Bug #309001 - Only trust tar exit status (ignore decompressor exit status)Zac Medico2010-03-111-4/+2
| | | | | | when unpacking tar files. svn path=/main/trunk/; revision=15820
* After src_install, save fewer variables when writing the vdb entry for aZac Medico2010-02-141-3/+9
| | | | | | virtual package. svn path=/main/trunk/; revision=15349
* Evaluate USE conditionals when writing vdb entries after src_install.Zac Medico2010-02-141-3/+2
| | | | svn path=/main/trunk/; revision=15348
* Bug #297364 - Only set EAPI conditional PATH once after sourcing the ebuildv2.2_rc61Zac Medico2009-12-241-39/+48
| | | | | | (when the EAPI is first known) rather than for each phase. svn path=/main/trunk/; revision=15149
* Remove stray echo.Zac Medico2009-12-241-1/+0
| | | | svn path=/main/trunk/; revision=15147
* Remove obsolete backing up of ROOTPATH via PORTAGE_ROOTPATH.Zac Medico2009-12-241-7/+1
| | | | svn path=/main/trunk/; revision=15143
* Bug #297933: Filter BASHOPTS variable for compatibility with bash-4.1.Arfrever Frehtes Taifersar Arahesis2009-12-221-2/+2
| | | | svn path=/main/trunk/; revision=15130
* Bug #296710 - Add equery to QA_INTERCEPTORS since it can trigger a fork bomb.Zac Medico2009-12-161-1/+1
| | | | svn path=/main/trunk/; revision=15098
* Bug #296870 - Allow locale related LANG and LC_* variables to persist betweenZac Medico2009-12-161-1/+12
| | | | | | ebuild phases, and only filter them for binary and installed packages. svn path=/main/trunk/; revision=15096
* Make prefix varialbes ED, EPREFIX, and EROOT readonly except in EAPI 0, 1, andZac Medico2009-12-131-0/+7
| | | | | | 2. svn path=/main/trunk/; revision=15057
* Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled.Zac Medico2009-12-111-10/+10
| | | | svn path=/main/trunk/; revision=15035
* Enable xz unpack for EAPI 3_pre2.Zac Medico2009-12-111-1/+1
| | | | svn path=/main/trunk/; revision=15034
* Don't filter/interfere with prefix variables unless they are supported by theZac Medico2009-12-111-1/+12
| | | | | | current EAPI. svn path=/main/trunk/; revision=15031
* Filter prefix variables ED, EPREFIX, and EROOT insideZac Medico2009-12-111-2/+2
| | | | | | | | | | | | | | | | filter_readonly_variables() but don't mark them readonly for now since some ebuilds/eclasses try to assign EROOT (such as kde4-base_pkg_setup) which causes the whole bash shell to exit like this: >>> Extracting info * CPV: kde-base/oxygen-icons-4.3.4 * REPO: gentoo * USE: elibc_glibc kernel_linux test userland_GNU x86 /var/tmp/portage/kde-base/oxygen-icons-4.3.4/temp/environment: line 2781: EROOT: readonly variable Also, add ED to the environment blacklist. svn path=/main/trunk/; revision=15030
* Implement forward compatible Prefix support. This makes EPREFIX, ED andFabian Groffen2009-12-101-2/+2
| | | | | | | | | | | EROOT available to the ebuild environment, and updates the manpage accordingly. EPREFIX is hardwired to the empty string, and not configurable. For that, the prefix branch should be used for now. This should satisfy the requirements for EAPI=3. svn path=/main/trunk/; revision=15024
* Fix handling for TEMP, TMP, and TMPDIR variables:Zac Medico2009-12-091-0/+6
| | | | | | | | * Add to whitelist so current values are always used. * Always filter them from the saved environment. * Always add thier values to SANDBOX_WRITE. svn path=/main/trunk/; revision=14973
* Bump EAPI conditionals to account for rename of EAPI 3 to 4. Thanks toZac Medico2009-12-081-15/+15
| | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14965
* Bug #295715 - Implement a register_success_hook function to complementZac Medico2009-12-061-1/+10
| | | | | | | register_die_hook, and also add code to ensure the die hooks are called even when the failure is on the python side (like for file collisions). svn path=/main/trunk/; revision=14936
* Make register_die_hook() ensure that each hook is registered only once.Zac Medico2009-12-061-1/+5
| | | | svn path=/main/trunk/; revision=14932
* Bug #294886 - Show some basic info at the beginning of the build log,Zac Medico2009-11-271-0/+5
| | | | | | including USE flags. svn path=/main/trunk/; revision=14907
* Use einfo instead of ewarn for the "Skipping make test/check due to ebuildZac Medico2009-11-251-1/+1
| | | | | | restriction." message. svn path=/main/trunk/; revision=14885
* Collapse two [[ ]] into one.Zac Medico2009-11-061-1/+1
| | | | svn path=/main/trunk/; revision=14782
* For --debug mode, enable bash tracing when sourcing the ebuild.Zac Medico2009-11-061-1/+8
| | | | svn path=/main/trunk/; revision=14781
* Revert the workaround for bug #288863. This will require a dependency onZac Medico2009-10-261-6/+0
| | | | | | >=sys-apps/sandbox-2.2. svn path=/main/trunk/; revision=14733
* drop IMAGE -- people have had years to catch upMike Frysinger2009-10-191-4/+0
| | | | svn path=/main/trunk/; revision=14694
* Move filtering of misc bash variables from save_ebuild_env() toZac Medico2009-10-181-2/+6
| | | | | | | filter_readonly_variables(). Add additional variables found in the output of `env -i bash -c 'declare -p'`. svn path=/main/trunk/; revision=14676
* Fix messages broken in r14616. Thanks to Arfrever for reporting and thanks toZac Medico2009-10-181-4/+3
| | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14675
* Fix breakage in DEFINED_PHASES code.Zac Medico2009-10-181-2/+2
| | | | svn path=/main/trunk/; revision=14664
* Preserve variables which have been set in global scope using 'declare'.Arfrever Frehtes Taifersar Arahesis2009-10-181-65/+62
| | | | svn path=/main/trunk/; revision=14662
* Use short substitution syntax in use_with() and use_enable(). Thanks toZac Medico2009-10-171-18/+4
| | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14623
* Fix einstall() change from previous commit, for compatibility with emptyZac Medico2009-10-171-1/+1
| | | | | | but set CONF_PREFIX. Thanks to Jonathan Callen <abcd@g.o> for reporting. svn path=/main/trunk/; revision=14622
* Use [ "${foo+set}" = set ] instead of "${foo-unset}" != unset ], to avoidZac Medico2009-10-171-18/+18
| | | | | | | any possility of ambiguity. Thanks to Jonathan Callen <abcd@g.o> for the suggestion. svn path=/main/trunk/; revision=14621
* In dyn_unpack, check mtimes on $A instead of $AA. Thanks to Jonathan CallenZac Medico2009-10-171-1/+1
| | | | | | <abcd@g.o> for reporting. svn path=/main/trunk/; revision=14619
* Make phase variable local in has_phase_defined_up_to().Zac Medico2009-10-171-0/+1
| | | | svn path=/main/trunk/; revision=14618
* Simplify the conditionals from bug #273648. Thanks to Jonathan CallenZac Medico2009-10-171-18/+13
| | | | | | <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14617
* Bug #273648 - EAPI 3 - the following condtions must be met:Zac Medico2009-10-171-13/+49
| | | | | | | | | | | | 1. The A variable contains no items. 2. The phase function in question is not in DEFINED_PHASES. 3. None of the phase functions unpack, prepare, configure, compile or install, if supported by the EAPI in question and occurring prior to the phase about to be executed, are in DEFINED_PHASES. Thanks to Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14616
* Ensure that /dev/std* streams have appropriate sandbox permission forZac Medico2009-10-161-0/+6
| | | | | | | bug #288863. This can be removed after sandbox is fixed and portage depends on the fixed version. svn path=/main/trunk/; revision=14612
* Use a shell script for dohtml instead of a function, for xargs compatibility.Zac Medico2009-10-111-7/+0
| | | | svn path=/main/trunk/; revision=14582
* Add some more EPYTHON safety.Zac Medico2009-10-111-1/+1
| | | | svn path=/main/trunk/; revision=14570
* Set EPYTHON variable as empty when calling portageq or dohtml to avoid using ↵Arfrever Frehtes Taifersar Arahesis2009-10-111-7/+23
| | | | | | potentially unsupported version of Python. svn path=/main/trunk/; revision=14568
* Bug #285979 - Replace references to CDEPEND with UNUSED_00, to make it clearZac Medico2009-09-231-2/+1
| | | | | | that this key really is unused. svn path=/main/trunk/; revision=14393
* make sure we can deal with arches like x86-fbsd, like is done in ↵Fabian Groffen2009-08-241-1/+1
| | | | | | bin/ebuild-helpers/prepstrip svn path=/main/trunk/; revision=14151
* Support QA_DT_HASH_${ARCH} and QA_PRESTRIPPED_${ARCH} (bug #271416).Arfrever Frehtes Taifersar Arahesis2009-08-211-0/+1
| | | | svn path=/main/trunk/; revision=14114
* Use elog in _eapi0_pkg_nofetch().Zac Medico2009-08-151-2/+2
| | | | svn path=/main/trunk/; revision=14068