summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
Commit message (Collapse)AuthorAgeFilesLines
...
* Move preinst IMAGE initialzation before bashrc handling.Zac Medico2007-11-211-4/+4
| | | | svn path=/main/trunk/; revision=8569
* Don't unset ${S} inside save_ebuild_env().Zac Medico2007-11-201-1/+1
| | | | svn path=/main/trunk/; revision=8543
* Instead of filtering out all readonly variables, make itZac Medico2007-11-201-25/+25
| | | | | | | selective so that any readonly variables that are not explicitly filtered are allowed to be saved. svn path=/main/trunk/; revision=8542
* Fix ${EBUILD_PHASE} quoting.Zac Medico2007-11-201-1/+1
| | | | svn path=/main/trunk/; revision=8541
* Don't make variables readonly during the "depend" phase.Zac Medico2007-11-201-1/+1
| | | | svn path=/main/trunk/; revision=8540
* When ${T}/environment is available, do not source the ebuild sinceZac Medico2007-11-201-73/+71
| | | | | | that is redundant. This solves bug #46223. svn path=/main/trunk/; revision=8538
* Now that save_ebuild_env() filters variables that could causeZac Medico2007-11-201-9/+2
| | | | | | | | interference, preprocess_ebuild_env() can rely on it to clean up the environment enough so that anything left can be allowed to override variables or functions from the current environment. svn path=/main/trunk/; revision=8537
* Add some more variables to filter in filter_readonly_variables()Zac Medico2007-11-201-7/+10
| | | | | | and save_ebuild_env(). svn path=/main/trunk/; revision=8536
* Move LD_PRELOAD and FAKEROOTKEY filtering from filter_readonly_variables()Zac Medico2007-11-201-3/+3
| | | | | | to save_ebuild_env(). svn path=/main/trunk/; revision=8535
* Make AA, PF, and WORKDIR readonly.Zac Medico2007-11-191-1/+2
| | | | svn path=/main/trunk/; revision=8534
* Make save_ebuild_env() filter out lots of variables thatZac Medico2007-11-191-0/+32
| | | | | | don't need to be saved. svn path=/main/trunk/; revision=8533
* Make preprocess_ebuild_env() explicitly filter out FEATURESZac Medico2007-11-191-0/+1
| | | | | | | since the value for that variable should never come from a previously saved environment. svn path=/main/trunk/; revision=8532
* Implement loading of environment.bz2 from binary and installedZac Medico2007-11-191-14/+59
| | | | | | | | | | | | packages. For binary packages, it's loaded prior to pkg_setup(). For installed packages, it's loaded prior to pkg_prerm(). For simplicity, the current implementation will cause the current environment to override *everything* in the environment that is being processed. In the future, it should be more selective and only override the parts that are strictly necessary. svn path=/main/trunk/; revision=8531
* In bash-3.2_p20+ an attempt to assign BASH_*, FUNCNAME, GROUPS or anyZac Medico2007-11-191-27/+43
| | | | | | | | readonly variable cause the shell to exit while executing the "source" builtin command. To avoid this problem, a new save_ebuild_env() function filters those variables out and discards them. See bug #190128. svn path=/main/trunk/; revision=8528
* When creating environment.bz2 at the end of dyn_compile(),Zac Medico2007-11-191-2/+25
| | | | | | | | reduce bloat by filtering out functions that are defined internally by portage. This reduces the size of the resulting environment.bz2 file by approximately 10 KB. svn path=/main/trunk/; revision=8527
* Disable logging and ${T}/environment saving during theZac Medico2007-11-191-2/+1
| | | | | | pkg_info() phase. svn path=/main/trunk/; revision=8526
* Set IMAGE for minimal backward compatibility withZac Medico2007-11-161-0/+3
| | | | | | overlays or user's bashrc, but don't export it. svn path=/main/trunk/; revision=8513
* Fix quoting for `source ${EBUILD}`.Zac Medico2007-11-151-1/+1
| | | | svn path=/main/trunk/; revision=8503
* * Replace references to deprecated ${IMAGE} with equivalent ${D}.Zac Medico2007-11-141-6/+3
| | | | | | * Remove redundant trailing slashes and fix quoting. svn path=/main/trunk/; revision=8501
* Go ahead and exempt selected profile-specific USE_EXPANDZac Medico2007-11-061-1/+6
| | | | | | | | | | | | | flags from IUSE QA Notices since we are planning to make these particular flags into implicit members of IUSE. We can make this extensible later, but for now we just want to eliminate some useless QA Notices (a subset of bug #70648). We're not exempting any non profile- specific USE_EXPAND flags here. For non profile-specific flags, we intend to implement an IUSE syntax extension (bug #133327). svn path=/main/trunk/; revision=8442
* remove O and PPID from being readonly. O is set python side (and we will ↵Alec Warner2007-11-061-1/+1
| | | | | | hopefully stop being exported soon. PPID is ro by bash, so no need to declare it twice svn path=/main/trunk/; revision=8437
* Remove slashes that cause problems when unpacking files with relative paths ↵Marius Mauch2007-10-211-4/+4
| | | | | | (bug #196565) svn path=/main/trunk/; revision=8200
* add support for .lzma / .tar.lzma to unpackMike Frysinger2007-10-071-0/+8
| | | | svn path=/main/trunk/; revision=7991
* Remove redundant trailing slashes from ${D}. (branches/prefix r7886)Zac Medico2007-09-291-14/+17
| | | | svn path=/main/trunk/; revision=7890
* revert useless quotingMike Frysinger2007-09-291-3/+1
| | | | svn path=/main/trunk/; revision=7879
* Fix quoting as reported by Drac in bug 194169Alec Warner2007-09-291-1/+1
| | | | svn path=/main/trunk/; revision=7878
* Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ↵Zac Medico2007-08-231-1/+1
| | | | | | ${T}/eclass-debug.log. svn path=/main/trunk/; revision=7678
* Don't generate a QA Notice if the ${S} directory doesn't exist since it ↵Zac Medico2007-08-101-3/+0
| | | | | | might be irrelevant for some ebuilds. svn path=/main/trunk/; revision=7587
* Generate a QA Notice and cd to ${WORKDIR} if the ${S} directory does not exist.Zac Medico2007-08-031-0/+9
| | | | svn path=/main/trunk/; revision=7550
* use ${MAKE:-make} rather than make in einstall()Mike Frysinger2007-07-251-2/+2
| | | | svn path=/main/trunk/; revision=7396
* Add FEATURES=fakeroot support which causes install and package phases to run ↵Zac Medico2007-07-231-2/+2
| | | | | | inside fakeroot when a non-root user runs the ebuild command. Thanks to swegener for the initial patch. svn path=/main/trunk/; revision=7379
* For bug #184774, put lha's -q option last since otherwise the option parser ↵Zac Medico2007-07-221-1/+1
| | | | | | now requires level 0, 1, or 2 to be specified. svn path=/main/trunk/; revision=7358
* Save the repo name along with the other metadata inside dyn_compile() so ↵Zac Medico2007-07-131-0/+1
| | | | | | that it's saved inside binary packages for when they are finally merged. svn path=/main/trunk/; revision=7247
* For bug #184566, enable the emerge --info action to run an option pkg_info() ↵Zac Medico2007-07-081-1/+6
| | | | | | function from each installed ebuild. svn path=/main/trunk/; revision=7201
* For bug #180165, make has_version dir if portageq has an unexpected exit code.Zac Medico2007-06-201-5/+13
| | | | svn path=/main/trunk/; revision=6882
* For bug #148702, use the * token to trigger wildcard expansion of IUSE. ↵Zac Medico2007-06-091-0/+5
| | | | | | This adds flexibility and prevents flags from being enabled unexpectedly. svn path=/main/trunk/; revision=6784
* Skip bogus '$ECLASS inherited illegally' messages when installing from a ↵Zac Medico2007-06-091-1/+2
| | | | | | binary package. svn path=/main/trunk/; revision=6775
* For bug #181104, make econf give an appropriate error message when configure ↵Zac Medico2007-06-081-0/+2
| | | | | | is not executable. svn path=/main/trunk/; revision=6766
* For bug #61732, support -flag in USE (instead of just +flag). Given the ↵Zac Medico2007-05-301-1/+1
| | | | | | current default USE_ORDER, -flag in IUSE has no effect. svn path=/main/trunk/; revision=6671
* In the econf die message, don't mention bugs.gentoo.org specifically.Zac Medico2007-05-261-1/+1
| | | | svn path=/main/trunk/; revision=6630
* s/filing a report to/seeking support at/ Thanks to marienz.Zac Medico2007-05-261-1/+1
| | | | svn path=/main/trunk/; revision=6629
* Fix src_compile() ECONF_SOURCE logic to make sure it behaves properly.Zac Medico2007-05-221-3/+3
| | | | svn path=/main/trunk/; revision=6567
* For bug #179380, make support for ECONF_SOURCE in the default src_compile() ↵Zac Medico2007-05-221-1/+3
| | | | | | conditional on EAPI != 0. svn path=/main/trunk/; revision=6565
* For bug #178378, make the default src_compile() check for configure in ↵Zac Medico2007-05-191-1/+1
| | | | | | ${ECONF_SOURCE:-.} (instead of just .) before it calls econf. Thanks to James C. Georgas <jgeorgas@rogers.com>. svn path=/main/trunk/; revision=6558
* fix from James C. Georgas to not modify EXTRA_EINSTALL #178544Mike Frysinger2007-05-191-3/+4
| | | | svn path=/main/trunk/; revision=6553
* Make sure USE=test is properly enabled when the test phase is forced via the ↵Zac Medico2007-05-101-1/+6
| | | | | | ebuild command, even when USE from ${T}/environment doen't have it. svn path=/main/trunk/; revision=6513
* For bug #177211, use chmod -R on the children of the current directory in ↵Zac Medico2007-05-051-1/+2
| | | | | | order to reduce the size of the argument list. svn path=/main/trunk/; revision=6480
* convert `type -p` to `type -P` as noted by grobianMike Frysinger2007-04-151-3/+3
| | | | svn path=/main/trunk/; revision=6411
* change "EXEDESTTREE" to "_E_EXEDESTTREE_" to try and prevent abuse from ↵Mike Frysinger2007-04-071-7/+6
| | | | | | ebuild writers svn path=/main/trunk/; revision=6351
* change "DOCDESTTREE" to "_E_DOCDESTTREE_" to try and prevent abuse from ↵Mike Frysinger2007-04-071-5/+6
| | | | | | ebuild writers svn path=/main/trunk/; revision=6347