summaryrefslogtreecommitdiffstats
path: root/bin/phase-functions.sh
Commit message (Collapse)AuthorAgeFilesLines
* Add QA_AM_MAINTAINER_MODE for bug #450278.Zac Medico2013-01-041-1/+5
|
* Add QA_CONFIGURE_OPTIONS variable.v2.2.0_alpha148Zac Medico2012-12-111-1/+2
|
* EAPI="5-progress": Add package_manager_build_user() and ↵Arfrever Frehtes Taifersar Arahesis2012-11-161-1/+2
| | | | package_manager_build_group().
* phase-functions.sh: chgrp $T/environmentZac Medico2012-09-301-0/+2
| | | | | | | | | | | | This partially reverts commit 314791e319e3ac7ce75f3a6f9ae9cc5c2b837df6, in order to cover possible cases where it may not actually be redundant, like if ebuild(1) is used to call pkg_setup as root, and then a different user calls src_unpack. We use PORTAGE_GRPNAME if set, in order to avoid triggering irrelevant warnings for unprivileged prefix users (see chown and chgrp wrappers in commit 45bedf9cdc10fafd94858f67d62b36d35dd99544). This mirrors the approach taken in commit 1c3c3b802014ac6356af09d149aaaffce6c14dc3 of the prefix branch.
* phase-functions.sh: remove redundant chown/chmodZac Medico2012-09-301-2/+0
| | | | | | These calls trigger warnings in prefix mode, since commit 45bedf9cdc10fafd94858f67d62b36d35dd99544. They are redundant, since the permissions are handled the _post_phase_userpriv_perms function.
* Add eapi.sh with ___eapi_*() functions and use these functions in other files.Arfrever Frehtes Taifersar Arahesis2012-09-261-32/+21
|
* Add experimental EAPI 5-hdepend support.Ambroz Bizjak2012-09-241-1/+1
|
* Add QA_DESKTOP_FILE variable.Zac Medico2012-09-201-1/+1
|
* doebuild: update environment.bz2 for pre/postinstv2.2.0_alpha129Zac Medico2012-09-171-11/+3
| | | | Also, remove unnecessary __dyn_preinst func.
* Convert funcs of ebuild.sh to __ prefixed namespace.Brian Harring2012-09-141-2/+2
|
* Convert funcs of save-ebuild-env.sh to __ prefixed namespace.Brian Harring2012-09-141-10/+10
|
* Convert funcs of phase*.sh to __ prefixed namespace.Brian Harring2012-09-141-98/+98
|
* Convert funcs of isolated-functions.sh to __ prefixed namespace.Brian Harring2012-09-131-29/+29
|
* Deprecate EAPI 5_pre1.Zac Medico2012-09-131-23/+1
|
* FEATURES=test: test flag respect IUSE_FFECTIVEZac Medico2012-09-131-1/+1
|
* Add EAPI 5_pre2 with features approved by councilZac Medico2012-09-111-7/+7
| | | | | | In the 9/11 council meeting, they approved everything in EAPI 5_pre1 except user patches. So, add EAPI 5_pre2 which is identical to EAPI 5_pre1 but with user patches (apply_user_patches) support removed.
* Quote ${EAPI} more.Zac Medico2012-09-021-3/+3
| | | | | This will avoid a potential syntax error in save-ebuild-env.sh if a saved environment containing corrupt EAPI is sourced.
* Eliminate bin/ebuild-helpers/4 directory.Zac Medico2012-09-011-1/+1
| | | | | Instead, just use conditionals where appropriate inside bin/ebuild-helpers/* scripts.
* dyn_prepare: init state for apply_user_patchesZac Medico2012-08-301-0/+1
|
* EAPI 5: User patches (no-op dummy stub for now)Zac Medico2012-08-291-1/+22
| | | | | | | A real apply_user_patches implementation will be a bit more work, so for now we'll just implement the minimum amount necessary to satisfy the spec: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=a8bf7862967cce36b7f1b408934a774126da2538
* EAPI 5: EBUILD_PHASE_FUNC variableZac Medico2012-08-291-1/+1
| | | | | See bug #390765 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=76ddca560da42fd968c53a2a0c38a6ac840a7ad4
* Remove tests for deprecated 3_pre2 EAPI.Ulrich Müller2012-08-151-6/+6
|
* Set REPOSITORY variable in ebuild environment in EAPI="4-python".Arfrever Frehtes Taifersar Arahesis2012-01-081-2/+2
|
* filter_readonly_variables: refactor binpkg logicZac Medico2011-12-221-8/+9
|
* filter_readonly_variables: don't trust binpkg varZac Medico2011-12-211-0/+4
|
* filter_readonly_variables: preserve binpkg varsZac Medico2011-12-211-1/+3
|
* environment: don't save COLUMNSZac Medico2011-12-181-1/+1
|
* Filter __PORTAGE_TEST_HARDLINK_LOCKS from env.Zac Medico2011-12-141-1/+2
|
* PORTAGE_OVERRIDE_EPREFIX: alphabetize varsZac Medico2011-12-101-3/+3
|
* Remove _SANDBOX_COMPAT_LEVEL.Zac Medico2011-12-101-1/+1
|
* Rename override var to PORTAGE_OVERRIDE_EPREFIX.Zac Medico2011-12-091-1/+1
|
* Whitelist/filter __PORTAGE_TEST_EPREFIX.Zac Medico2011-12-081-1/+2
|
* Support FEATURES=force-prefix.Zac Medico2011-12-081-3/+3
| | | | | | | This adjusts the logic from commit ff52f9dc31004becb8022e6437088d01917f413c to use FEATURES=force-prefix instead of USE=prefix. This has the advantage that we don't have to make any assumptions about the USE=prefix.
* Save EPREFIX in vdb when appropriate.Zac Medico2011-12-071-0/+14
| | | | | | The prefix branch already does this since it makes it easy to use chpathtool to adjust the content of a binary package so that it will work in a different EPREFIX from the one is was built for.
* Make USE=prefix enable EPREFIX in all EAPIs.Zac Medico2011-12-071-1/+4
| | | | | | | | This is safe because the prefix flag should be masked in all non-prefix profiles, and older EAPIs would otherwise be useless with prefix configurations. This brings compatibility with the prefix branch of portage, which also supports EPREFIX for all EAPIs (for obvious reasons).
* phase-functions.sh: remove stray echoZac Medico2011-11-081-1/+0
|
* Include EPREFIX directories in PATH.Zac Medico2011-11-081-0/+1
| | | | | This relocates the PATH generation code from ebuild.sh to doebuild_environment, which helps to eliminate duplicate code.
* REQUIRED_USE: don't save in built packagesZac Medico2011-11-071-1/+1
| | | | | | | It should be safe to assume that REQUIRED_USE is satisfied if the package is built, so it's a waste to save it. Also, fix code which assumes that built Package instances have a REQUIRED_USE key in their metadata.
* environment.bz2: filter more variablesZac Medico2011-11-071-1/+1
|
* Add EPREFIX and ED support in all ebuild helpers.Zac Medico2011-11-011-2/+7
| | | | This allows our prefix tests to use helpers like insinto, doins, and dosym.
* isolated-functions.sh: split save-ebuild-env.shZac Medico2011-09-111-1/+1
|
* Move preprocess_ebuild_env to phase-functions.sh.Zac Medico2011-09-111-0/+184
|
* ebuild.sh: move ebuild_main to phase-functions.shZac Medico2011-09-111-0/+175
|
* ebuild.sh: split out phase-functions.shZac Medico2011-09-101-0/+611
This relocates dyn_* and related functions that are needed for execution of regular phases, but not for the "depend" phase. It reduces the size of ebuild.sh by 23%, so there's less code to be sourced during the "depend" phase.