| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
when the ebuild function is not defined.
svn path=/main/trunk/; revision=8659
|
|
|
|
|
|
|
| |
pkg_postinst, pkg_prerm, pkg_postrm, and pkg_config functions
since they do nothing more than clutter the environment.
svn path=/main/trunk/; revision=8655
|
|
|
|
|
|
|
|
|
| |
will be useful if an environment.bz2 has been loaded and it has
missing functions for some reason. For example, there are a lot
of default functions that are empty and could simply be omitted
from the environment.
svn path=/main/trunk/; revision=8654
|
|
|
|
|
|
| |
* Run the "clean" phase if pkg_config() succeeds.
svn path=/main/trunk/; revision=8651
|
|
|
|
|
|
|
|
|
|
|
| |
Since a temporary directory is required for processing of
${T}/environment, and we want a user who's not in the portage
group to be able to run the pkg_info() phase, PORTAGE_TMPDIR
is temporarily overridden with a directory created by mkdtemp.
To make this work, doebuild() creates the tempdir and cleans
it up in a finally block.
svn path=/main/trunk/; revision=8649
|
|
|
|
|
|
| |
function doesn't exist.
svn path=/main/trunk/; revision=8647
|
|
|
|
| |
svn path=/main/trunk/; revision=8640
|
|
|
|
|
|
|
|
| |
environment in order to avoid potential interference problems.
For example, having an invalid value for SANDBOX_LOG prevents
the sandbox from killing the ebuild when a violation occurs.
svn path=/main/trunk/; revision=8636
|
|
|
|
|
|
| |
it's properly local.
svn path=/main/trunk/; revision=8634
|
|
|
|
|
|
| |
condense redundant identical expressions into a single one.
svn path=/main/trunk/; revision=8630
|
|
|
|
| |
svn path=/main/trunk/; revision=8629
|
|
|
|
|
|
|
|
| |
SANDBOX_{DENY,READ,PREDICT,WRITE} variables between
phases so things like the global scope addpredict()
call in qt3.eclass will continue to work.
svn path=/main/trunk/; revision=8628
|
|
|
|
|
|
| |
from the environment.
svn path=/main/trunk/; revision=8623
|
|
|
|
|
|
|
| |
behavior. The bashrcs get an opportunity to set aliases that
will be expanded during sourcing of ebuilds and eclasses.
svn path=/main/trunk/; revision=8621
|
|
|
|
| |
svn path=/main/trunk/; revision=8619
|
|
|
|
|
|
| |
after the ebuild environment is fully loaded.
svn path=/main/trunk/; revision=8617
|
|
|
|
|
|
| |
'^declare -r ' by simply removing it.
svn path=/main/trunk/; revision=8611
|
|
|
|
|
|
| |
directing them to /dev/null.
svn path=/main/trunk/; revision=8607
|
|
|
|
|
|
| |
it will work with things like 'declare -xr' as well as 'declare -rx'.
svn path=/main/trunk/; revision=8605
|
|
|
|
|
|
|
| |
since otherwise it can interfere with the environment for things
like the "package" phase.
svn path=/main/trunk/; revision=8603
|
|
|
|
|
|
|
|
| |
environment may have been saved by a different version of ebuild.sh,
so it can't trusted that it's been properly filtered. Therefore,
always preprocess the environment when ${PN} == portage.
svn path=/main/trunk/; revision=8601
|
|
|
|
| |
svn path=/main/trunk/; revision=8595
|
|
|
|
|
|
| |
readonly EBUILD_SH_ARGS variable.
svn path=/main/trunk/; revision=8585
|
|
|
|
|
|
|
|
| |
in case the user wants to repeat the phase (like with
FEATURES=noauto and the ebuild command). Only cleanse it from
environment.bz2.
svn path=/main/trunk/; revision=8583
|
|
|
|
|
|
| |
* Make dyn_install() filter S when it's no longer needed.
svn path=/main/trunk/; revision=8581
|
|
|
|
|
|
| |
so that state from src_install() is saved.
svn path=/main/trunk/; revision=8575
|
|
|
|
|
|
| |
in the environment.
svn path=/main/trunk/; revision=8573
|
|
|
|
| |
svn path=/main/trunk/; revision=8569
|
|
|
|
| |
svn path=/main/trunk/; revision=8543
|
|
|
|
|
|
|
| |
selective so that any readonly variables that are not
explicitly filtered are allowed to be saved.
svn path=/main/trunk/; revision=8542
|
|
|
|
| |
svn path=/main/trunk/; revision=8541
|
|
|
|
| |
svn path=/main/trunk/; revision=8540
|
|
|
|
|
|
| |
that is redundant. This solves bug #46223.
svn path=/main/trunk/; revision=8538
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
and save_ebuild_env().
svn path=/main/trunk/; revision=8536
|
|
|
|
|
|
| |
to save_ebuild_env().
svn path=/main/trunk/; revision=8535
|
|
|
|
| |
svn path=/main/trunk/; revision=8534
|
|
|
|
|
|
| |
don't need to be saved.
svn path=/main/trunk/; revision=8533
|
|
|
|
|
|
|
| |
since the value for that variable should never come from a
previously saved environment.
svn path=/main/trunk/; revision=8532
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
pkg_info() phase.
svn path=/main/trunk/; revision=8526
|
|
|
|
|
|
| |
overlays or user's bashrc, but don't export it.
svn path=/main/trunk/; revision=8513
|
|
|
|
| |
svn path=/main/trunk/; revision=8503
|
|
|
|
|
|
| |
* Remove redundant trailing slashes and fix quoting.
svn path=/main/trunk/; revision=8501
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
hopefully stop being exported soon. PPID is ro by bash, so no need to declare it twice
svn path=/main/trunk/; revision=8437
|
|
|
|
|
|
| |
(bug #196565)
svn path=/main/trunk/; revision=8200
|
|
|
|
| |
svn path=/main/trunk/; revision=7991
|