summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix broken quoting in eval statements. Thanks to Arfrever.Zac Medico2008-08-081-2/+2
| | | | svn path=/main/trunk/; revision=11354
* Fix default phase functions in EAPI 2_pre2, since they should be labeled asZac Medico2008-08-081-2/+2
| | | | | | "2" instead of "2_pre2. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=11352
* Rename the eapi2_pre2_* functions to just eapi2_* and document all theZac Medico2008-08-081-8/+8
| | | | | | new eapi* functions. svn path=/main/trunk/; revision=11351
* Implement eapi$EAPI_* default phase functions that are equivalent to theZac Medico2008-08-081-54/+107
| | | | | | | | | default_* functions for the given EAPI. For example, a function named eapi0_src_compile provides access to the default src_compile implementation that EAPI 0 provides. This feature is supported only when EAPI=2_pre2 is set. Thanks to Brian Harring for suggesting this idea. svn path=/main/trunk/; revision=11350
* * Fix the default() implementation so that it maps the ebuild argument toZac Medico2008-08-081-35/+117
| | | | | | | | | | | the correct phase function. * Add --exclude-init-phases option to save_ebuild_env() for filtering out unnecessary functions and variables when creating environment.bz2. * Add support for default() and default_* functions that die in all ebuild phases so that improper use of these functions is quickly discovered. svn path=/main/trunk/; revision=11346
* Add support in EAPI 2_pre2 for a function named "default" is redefined forZac Medico2008-08-071-0/+9
| | | | | | | | each phase so that it will call the default_* function corresponding to the current phase. Thanks to Thomas Anderson <gentoofan23> for the initial patch. svn path=/main/trunk/; revision=11342
* Bug #233735 - Add support for src_configure and default_* functions withZac Medico2008-08-041-67/+164
| | | | | | | new EAPI=2_pre2. Thanks to Arfrever Frehtes Taifersar Arahesis for the initial patch which I've made a few adjustments to. svn path=/main/trunk/; revision=11327
* Fixes from Arfrever:Zac Medico2008-07-271-1/+1
| | | | | | | * Highlight the "Files built without respecting LDFLAGS" QA Notice with red. * Remove scanelf-ignored-LDFLAGS.log when empty. svn path=/main/trunk/; revision=11216
* Copy portageq exit code validation from has_version() to best_version().Zac Medico2008-06-281-0/+12
| | | | svn path=/main/trunk/; revision=10836
* remove old/unused gen_wrapper functionMike Frysinger2008-06-071-9/+0
| | | | svn path=/main/trunk/; revision=10591
* Skip source_all_bashrcs() when $EBUILD_PHASE is not set.Zac Medico2008-05-261-0/+1
| | | | svn path=/main/trunk/; revision=10429
* Prefer deb2tgz over ar for unpacking .deb files when installed (patch by ↵Marius Mauch2008-05-131-1/+14
| | | | | | Fabian Groffen, http://archives.gentoo.org/gentoo-portage-dev/msg_2f9c8543016f1a96f9122aca0ec35ded.xml) svn path=/main/trunk/; revision=10327
* Bug #217444 - Send debug-print() output to stderr so that it can't interfereZac Medico2008-04-121-1/+1
| | | | | | | with command substitution. Thanks to Fabio Rossi <rossi.f@inwind.it> for this patch. svn path=/main/trunk/; revision=9856
* Bug #215673 - Make ebuild.sh leave IUSE defaults intact instead of filteringZac Medico2008-04-011-14/+0
| | | | | | | them out. The built_with_use() function in eutils.eclass needs to be updated for compatibility. svn path=/main/trunk/; revision=9674
* When dyn_unpack() automatically cleans ${WORKDIR}, also remove thingsZac Medico2008-03-291-0/+1
| | | | | | like .unpacked and .compiled so that the state is consistent. svn path=/main/trunk/; revision=9606
* Make dyn_clean() consistent wrt removal of ${PORTAGE_BUILDDIR}/image andZac Medico2008-03-281-1/+1
| | | | | | | | | ${PORTAGE_BUILDDIR}/.installed since otherwise with FEATURES=keepwork dyn_install() will not call src_install() as necessary to repopulate ${PORTAGE_BUILDDIR}/image (resulting in install_qa_check failure due to absence of ${PORTAGE_BUILDDIR}/image). svn path=/main/trunk/; revision=9527
* Bug #213698 - Make FEAUTURES=keepwork and keeptemp preserve ${T}/environmentZac Medico2008-03-281-7/+3
| | | | | | since it may contain essential state. svn path=/main/trunk/; revision=9526
* Move the default empty compiler flag settings fromZac Medico2008-03-261-6/+0
| | | | | | ebuild.sh to make.globals (bug #214499). svn path=/main/trunk/; revision=9511
* Bug #214499 - When compiler flags are unset, many packages will substituteZac Medico2008-03-241-0/+6
| | | | | | their own implicit flags. For uniformity, use an empty string as the default. svn path=/main/trunk/; revision=9503
* Bug #174634 - Fix ebuild 'digest' and 'manifest' behave 100% identically andZac Medico2008-03-181-1/+1
| | | | | | update the docs to reflect this. svn path=/main/trunk/; revision=9475
* Bug #213540 - Make sure DESTTREE=/usr is set before inherit calls.Zac Medico2008-03-161-0/+4
| | | | svn path=/main/trunk/; revision=9472
* Use os.environ["SANDBOX_ON"] = "0" to make portageq exempt from sandbox forZac Medico2008-03-061-1/+1
| | | | | | things like writing metadata cache. Thanks to ferringb for the suggestion. svn path=/main/trunk/; revision=9448
* Remove egrep syntax emulation since it's not really needed.Zac Medico2008-03-061-2/+2
| | | | svn path=/main/trunk/; revision=9447
* Implement the sed-based declare -r filter in python.Zac Medico2008-03-061-9/+1
| | | | svn path=/main/trunk/; revision=9446
* Move the variable name validation regexes (for bug 211949) intoZac Medico2008-03-061-6/+3
| | | | | | filter-bash-environment.py instead of passing them in from bash. svn path=/main/trunk/; revision=9445
* Pass a space-separated list of variables into filter-bash-environment.py andZac Medico2008-03-051-8/+3
| | | | | | | generate the final regex on the python side instead of in bash. Also, properly anchor the regex so that it actually works. svn path=/main/trunk/; revision=9443
* Bug #211949 - Tighten the variable name filter to exclude any variablesZac Medico2008-03-051-1/+1
| | | | | | with names containing any non-alphanumeric characters. svn path=/main/trunk/; revision=9441
* TODO: Move variable name validation and declare -r filteringZac Medico2008-03-051-0/+3
| | | | | | into filter-bash-environment.py. svn path=/main/trunk/; revision=9438
* Implement variable assignment handling in python so that we can eventuallyZac Medico2008-03-051-1/+0
| | | | | | make it more flexible and robust. svn path=/main/trunk/; revision=9436
* Bug #211949 - Temporarily revert back to a less strict regex in order toZac Medico2008-03-041-1/+1
| | | | | | | avoid false positives with multi-line variable definitions that can be produced by the 'export' builtin. svn path=/main/trunk/; revision=9432
* Bug #211949 - Fix the regex so that it won't match the = character (equalsZac Medico2008-03-041-1/+1
| | | | | | sign). svn path=/main/trunk/; revision=9429
* Bug #211949 - Tweak the regex so that a leading whitespace characterZac Medico2008-03-031-1/+2
| | | | | | cannot match the required non-alphanumeric group. svn path=/main/trunk/; revision=9421
* Fix the regex for bug #211949 so that it correctly matches variableZac Medico2008-03-031-1/+1
| | | | | | names that contain more than one non-alphanumeric character. svn path=/main/trunk/; revision=9419
* Bug #211949 - As suggested by vapier, tighten the variable filter to alsoZac Medico2008-03-021-2/+4
| | | | | | | exclude variable names that begin with a digit or that contain any non-alphanumeric characters that are not be supported by bash. svn path=/main/trunk/; revision=9416
* Bug #211949 - Make filter_readonly_variables() remove any variablesZac Medico2008-03-011-3/+7
| | | | | | with names containing a hyphen since bash does not allow them. svn path=/main/trunk/; revision=9402
* Bug #210449 - Reset exeinto(), docinto(), insinto(), and into() stateZac Medico2008-02-191-4/+9
| | | | | | | variables in case the user is running the install phase multiple times consecutively via the ebuild command. svn path=/main/trunk/; revision=9357
* Remove the killparent() function and associated SIGINT trap since thisZac Medico2008-02-101-8/+0
| | | | | | | should already be handled on the python side and it won't work with dropped privileges anyway. svn path=/main/trunk/; revision=9327
* Bug #155993 - Update environment.bz2 after postinst in caseZac Medico2008-02-071-0/+10
| | | | | | | installation phases need to pass some variables to uninstallation phases. svn path=/main/trunk/; revision=9281
* For the useq() IUSE qa check, use [[ $u =~ $PORTAGE_IUSE ]] insteadZac Medico2008-02-061-1/+1
| | | | | | | of egrep since apparently it's compatible in this case. Thanks to igli for this. svn path=/main/trunk/; revision=9279
* Make qa_source and qa_call save the return value and return it. ThanksZac Medico2008-02-061-4/+8
| | | | | | to igli for suggesting. svn path=/main/trunk/; revision=9278
* Make the autotools.eclass functions exempt from the autotoolsZac Medico2008-01-311-2/+7
| | | | | | QA Notice. svn path=/main/trunk/; revision=9249
* - Remove ebuild.autotools repoman check since it produces lotsZac Medico2008-01-301-14/+29
| | | | | | | | | of false positives (bug #207104) and its hard to parse bash - Use QA_INTERCEPTORS in ebuild.sh to implement a runtime 'QA Notice' when autotools is called directly svn path=/main/trunk/; revision=9235
* Bug #206772 - Enable bashrc once again for the clean phase.Zac Medico2008-01-221-0/+3
| | | | svn path=/main/trunk/; revision=9220
* Remove redundant return statement.Zac Medico2008-01-121-1/+1
| | | | svn path=/main/trunk/; revision=9195
* In preprocess_ebuild_env(), move a filter_readonly_variables callZac Medico2008-01-121-2/+3
| | | | | | | | | | | | | | | | | | | | out of a subshell since FreeBSD and prefix users have reported apparent corruption of the PATH environment variable that triggers calls to the wrong version of sed (one that does not support the -r option). An example of what users have observed: >>> Source compiled. sed: illegal option -- r usage: sed script [-Ealn] [-i extension] [file ...] sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...] Traceback (most recent call last): File "/usr/lib/portage/bin/filter-bash-environment.py", line 51, in <module> compile_egrep_pattern(args[0]), file_in, file_out) File "/usr/lib/portage/bin/filter-bash-environment.py", line 34, in filter_bash_environment file_out.write(line) IOError: [Errno 32] Broken pipe svn path=/main/trunk/; revision=9194
* Bug#204668 - Fix WORKDIR quoting in econf() when updatingZac Medico2008-01-111-2/+4
| | | | | | config.guess and config.sub. svn path=/main/trunk/; revision=9162
* After loading the environment, make sure the color variablesZac Medico2008-01-081-0/+12
| | | | | | are in sync with the current NOCOLOR setting. svn path=/main/trunk/; revision=9158
* Make filter_readonly_variables() filter PATH in any case sinceZac Medico2008-01-051-2/+2
| | | | | | we never want to save of reload it. svn path=/main/trunk/; revision=9147
* Filter PATH along with FEATURES when loading environment.bz2.Zac Medico2008-01-051-1/+1
| | | | svn path=/main/trunk/; revision=9145
* Recognize export statements when filtering the environment. ThisZac Medico2008-01-031-1/+1
| | | | | | | is needed for compatibility with environment.bz2 files generated by paludis. svn path=/main/trunk/; revision=9137