Zac Medico [Fri, 28 Dec 2007 16:00:16 +0000 (16:00 -0000)]
In getconfig(), pass the infile attribute into the shlex
constructor so that shlex.sourcehook() properly joins
relative paths. (trunk r9054)
svn path=/main/branches/2.1.2/; revision=9071
Zac Medico [Fri, 28 Dec 2007 15:58:54 +0000 (15:58 -0000)]
Fix "Initializing counter" message to show the correct value.
(trunk r9053)
svn path=/main/branches/2.1.2/; revision=9070
Zac Medico [Fri, 28 Dec 2007 15:57:52 +0000 (15:57 -0000)]
Bug #203090 - Do not trust the global counter
file that can lead to invalid COUNTER generation.
(trunk r9052)
svn path=/main/branches/2.1.2/; revision=9069
Zac Medico [Fri, 28 Dec 2007 15:47:26 +0000 (15:47 -0000)]
Bug #203239 - With FEATURES=noauto, always source ${EBUILD}.
This will load the ${T}/environment file if available and then
source ${EBUILD} to overwrite any functions that have changed.
(trunk r9051 and r9062)
svn path=/main/branches/2.1.2/; revision=9068
Zac Medico [Fri, 28 Dec 2007 15:42:28 +0000 (15:42 -0000)]
- small UI cleanups. *should* not cause problems with lack
of missing newlines. (trunk r9050)
svn path=/main/branches/2.1.2/; revision=9067
Zac Medico [Fri, 21 Dec 2007 12:55:25 +0000 (12:55 -0000)]
Add support for --usepkg and --usepkgonly options together with
emerge --search. (trunk r9038)
svn path=/main/branches/2.1.2/; revision=9039
Zac Medico [Fri, 21 Dec 2007 11:53:43 +0000 (11:53 -0000)]
Implement a `portageq contents <root> <category/package>` command
that lists all the files that are installed for a given package,
with one file listed on each line. (trunk r9035)
svn path=/main/branches/2.1.2/; revision=9037
Zac Medico [Fri, 21 Dec 2007 11:51:27 +0000 (11:51 -0000)]
Enhance the portageq match command to list all installed packages
when given an empty string. (trunk r9032:9034)
svn path=/main/branches/2.1.2/; revision=9036
Zac Medico [Fri, 21 Dec 2007 10:32:40 +0000 (10:32 -0000)]
Make vardbapi cache DESCRIPTION and HOMEPAGE in order to optimize
emerge --searchdesc. (trunk r9031)
svn path=/main/branches/2.1.2/; revision=9032
Zac Medico [Fri, 21 Dec 2007 10:26:34 +0000 (10:26 -0000)]
emerge --search enhancements:
* support for searching installed packages
* visibility filtering for both installed and binary packages
(trunk r9026:9029)
svn path=/main/branches/2.1.2/; revision=9030
Zac Medico [Fri, 21 Dec 2007 05:22:13 +0000 (05:22 -0000)]
Make the "test" flag that's enabled by FEATURES=test into
an implicit iuse member. (trunk r9025)
svn path=/main/branches/2.1.2/; revision=9026
Zac Medico [Fri, 21 Dec 2007 03:29:58 +0000 (03:29 -0000)]
Eliminate redundant "notadded" error filtering. (trunk r9023)
svn path=/main/branches/2.1.2/; revision=9024
Zac Medico [Fri, 21 Dec 2007 02:51:14 +0000 (02:51 -0000)]
Tweak profile validation and warning logic a bit. (trunk r9015)
svn path=/main/branches/2.1.2/; revision=9022
Zac Medico [Fri, 21 Dec 2007 02:47:47 +0000 (02:47 -0000)]
Fix xmatch "match-all" typo. (trunk r9020)
svn path=/main/branches/2.1.2/; revision=9021
Zac Medico [Fri, 21 Dec 2007 02:21:07 +0000 (02:21 -0000)]
In portage.process.spawn(), make the default fd_pipes value get
file descriptors from sys.std{in,out,err} so that they can be
overridden. (trunk r9018)
svn path=/main/branches/2.1.2/; revision=9019
Zac Medico [Fri, 21 Dec 2007 02:15:57 +0000 (02:15 -0000)]
In portage.spawn(), make the default fd_pipes value get file
descriptors from sys.std{in,out,err} so that they can be
overridden. (trunk r9016)
svn path=/main/branches/2.1.2/; revision=9017
Zac Medico [Fri, 21 Dec 2007 01:28:17 +0000 (01:28 -0000)]
Use regex category validation in binarytree.populate().
(trunk r9011:9013)
svn path=/main/branches/2.1.2/; revision=9014
Zac Medico [Fri, 21 Dec 2007 01:19:11 +0000 (01:19 -0000)]
Use a regex to validate package directory names in portdbapi.cp_list()
and also simplify the catagory regex a bit. (trunk r9010)
svn path=/main/branches/2.1.2/; revision=9011
Zac Medico [Fri, 21 Dec 2007 00:59:38 +0000 (00:59 -0000)]
Add "metadata" and "licenses" to _non_category_dirs. (trunk r9008)
svn path=/main/branches/2.1.2/; revision=9009
Zac Medico [Fri, 21 Dec 2007 00:48:56 +0000 (00:48 -0000)]
Slightly improved the masked package check inside dep_zapdeps().
(trunk r9006)
svn path=/main/branches/2.1.2/; revision=9007
Zac Medico [Thu, 20 Dec 2007 23:53:57 +0000 (23:53 -0000)]
Hardcode #!/bin/bash for consistency with other scripts. (trunk r9002)
svn path=/main/branches/2.1.2/; revision=9003
Zac Medico [Thu, 20 Dec 2007 17:13:10 +0000 (17:13 -0000)]
Remove an accidental redundant loop from portdbapi.cp_all().
svn path=/main/branches/2.1.2/; revision=8999
Zac Medico [Thu, 20 Dec 2007 17:02:19 +0000 (17:02 -0000)]
Fix a typo in the _non_category_dirs regex. (trunk r8997)
svn path=/main/branches/2.1.2/; revision=8998
Zac Medico [Thu, 20 Dec 2007 16:26:25 +0000 (16:26 -0000)]
Remove some redunant categories code.
svn path=/main/branches/2.1.2/; revision=8996
Zac Medico [Thu, 20 Dec 2007 15:33:30 +0000 (15:33 -0000)]
Fix broken indentation in portdbapi.cp_all().
svn path=/main/branches/2.1.2/; revision=8995
Zac Medico [Thu, 20 Dec 2007 14:29:17 +0000 (14:29 -0000)]
For simplicity and consistency, always use a regular expression
for category validation instead of using a list.
(trunk r8991:8993)
svn path=/main/branches/2.1.2/; revision=8994
Zac Medico [Thu, 20 Dec 2007 13:34:48 +0000 (13:34 -0000)]
Fix portdbapi.cp_list() so that it can cope with a
missing profile. (trunk r8990)
svn path=/main/branches/2.1.2/; revision=8991
Zac Medico [Thu, 20 Dec 2007 13:08:23 +0000 (13:08 -0000)]
Make dep_zapdeps() fall back to installed packages in it's
availability test in cases where the package does not
appear to be masked. This solves dep selection preference
issues when working without a portage tree. (trunk r8988)
svn path=/main/branches/2.1.2/; revision=8989
Zac Medico [Thu, 20 Dec 2007 12:11:47 +0000 (12:11 -0000)]
Merge missing db keys from trunk, for bug #149816.
svn path=/main/branches/2.1.2/; revision=8987
Zac Medico [Thu, 20 Dec 2007 11:58:49 +0000 (11:58 -0000)]
Merge the unified package masking output from trunk for bug #149816.
svn path=/main/branches/2.1.2/; revision=8986
Zac Medico [Thu, 20 Dec 2007 11:17:41 +0000 (11:17 -0000)]
Bug #149816 - Implement visibility filtering for binary packages.
This is only the least invasive part of the implementation that is
currently in trunk.
svn path=/main/branches/2.1.2/; revision=8984
Zac Medico [Thu, 20 Dec 2007 10:54:52 +0000 (10:54 -0000)]
Make vartree.cpv_all() stop relying on having a categories
list since it may not be available if there is no portage
tree. (trunk r8982)
svn path=/main/branches/2.1.2/; revision=8983
Zac Medico [Thu, 20 Dec 2007 09:06:08 +0000 (09:06 -0000)]
Enable emerge search actions for binary packages when there is
no portage tree available. (trunk r8980)
svn path=/main/branches/2.1.2/; revision=8981
Zac Medico [Thu, 20 Dec 2007 08:19:01 +0000 (08:19 -0000)]
Fix a typo: eclasses -> eclass. (trunk r8978)
svn path=/main/branches/2.1.2/; revision=8979
Zac Medico [Thu, 20 Dec 2007 06:10:42 +0000 (06:10 -0000)]
Make some adjustments so that it's possible to install binary
packages without having a portage tree:
* Make portdbapi.aux_get() return early by raising a KeyError
if it detects that there is no portage tree.
* Move the ARCH and USERLAND sanity check to the last moment
in doebuild() and only require these variables if an
existing environment (such as environment.bz2) is
unavailable.
* Convert messages about missing portage tree to debug level
warnings since quite often it's possible to function without
a portage tree now.
* Make binarytree.populate() stop relying on having a categories
list since it may not be available if there is no portage tree.
(trunk r8972:8976)
svn path=/main/branches/2.1.2/; revision=8977
Zac Medico [Thu, 20 Dec 2007 04:02:21 +0000 (04:02 -0000)]
Bug #202748 - When merging a binary package, only clean up
temp files on success. Otherwise, leave the temp files
intact for debugging purposes. (trunk r8971)
svn path=/main/branches/2.1.2/; revision=8972
Zac Medico [Thu, 20 Dec 2007 02:30:39 +0000 (02:30 -0000)]
Whitespace only: remove extra indentation. (trunk r8969)
svn path=/main/branches/2.1.2/; revision=8970
Zac Medico [Thu, 20 Dec 2007 02:17:34 +0000 (02:17 -0000)]
Always add ARCH to USE without relying on it being listed
in PORTAGE_ARCHLIST. (trunk r8967)
svn path=/main/branches/2.1.2/; revision=8968
Zac Medico [Wed, 19 Dec 2007 06:55:56 +0000 (06:55 -0000)]
Bug #140180 - Ignore missing HOMEPAGE and LICENSE variables for
new-style virtual packages. (trunk r8965)
svn path=/main/branches/2.1.2/; revision=8966
Zac Medico [Wed, 19 Dec 2007 03:43:18 +0000 (03:43 -0000)]
Keep filtered USE in the PORTAGE_USE variable to keep
it separate from the global USE that's shown by
emerge --info. (trunk r8963)
svn path=/main/branches/2.1.2/; revision=8964
Zac Medico [Wed, 19 Dec 2007 02:55:39 +0000 (02:55 -0000)]
Trigger a config.regenerate() call inside setcpv() when the
EBUILD_PHASE variable is defined. It's too expensive to do
the regenerate() call every time. Do in when EBUILD_PHASE
is defined since it's needed to create the filtered USE that
environ() passes to the ebuild environment. (trunk r8961)
svn path=/main/branches/2.1.2/; revision=8962
Zac Medico [Tue, 18 Dec 2007 14:49:00 +0000 (14:49 -0000)]
Store filtered USE for config.environ() calls in a special
attribute so that the normal global USE is still available
for things like emerge --info output. (trunk r8959)
svn path=/main/branches/2.1.2/; revision=8960
Zac Medico [Tue, 18 Dec 2007 14:18:41 +0000 (14:18 -0000)]
Fix USE filtering code so that it doesn't rely on config.setcpv()
calling config.regenerate(). (trunk r8957)
svn path=/main/branches/2.1.2/; revision=8958
Zac Medico [Tue, 18 Dec 2007 12:05:56 +0000 (12:05 -0000)]
Make special build and bootstrap flags into implicit members
of IUSE so that stage builds will work again. (trunk r8955)
svn path=/main/branches/2.1.2/; revision=8956
Zac Medico [Tue, 18 Dec 2007 09:28:32 +0000 (09:28 -0000)]
Display the merge list with blockers any time that there are
blockers, instead of telling the user to try again with
--pretend. (trunk r8953)
svn path=/main/branches/2.1.2/; revision=8954
Zac Medico [Tue, 18 Dec 2007 08:22:34 +0000 (08:22 -0000)]
Only enable the PORTAGE_IUSE check during build time phases
since that's the only time it's valid for now. (trunk r8951)
svn path=/main/branches/2.1.2/; revision=8952
Zac Medico [Tue, 18 Dec 2007 07:11:50 +0000 (07:11 -0000)]
Include masked flags in PORTAGE_IUSE to avoid more false positives
in the useq() IUSE check. (trunk r8949)
svn path=/main/branches/2.1.2/; revision=8950
Zac Medico [Tue, 18 Dec 2007 06:57:53 +0000 (06:57 -0000)]
Create a PORTAGE_IUSE variable containing an egrep pattern
for use by the QA check that's built into useq(). This allows
the IUSE logic for this check to be isolated in the python
code. (trunk r8945)
svn path=/main/branches/2.1.2/; revision=8948
Zac Medico [Tue, 18 Dec 2007 06:49:32 +0000 (06:49 -0000)]
Bug #176467 - Filter out USE flags that aren't part of IUSE.
Some flags are considered to be implicit members of IUSE:
* Flags derived from ARCH
* Flags derived from USE_EXPAND_HIDDEN variables
* Forced flags, such as those from {,package}use.force
(trunk r8944)
svn path=/main/branches/2.1.2/; revision=8947
Zac Medico [Tue, 18 Dec 2007 06:46:24 +0000 (06:46 -0000)]
Generalize the sed -> gsed wrapper script so that it's
possible to create awk, make, and patch symlinks that
behave analogously. These symlinks will make
it unnecessary for default-bsd profiles to define
profile.bashrc aliases for these commands.
(trunk r8941:8943)
svn path=/main/branches/2.1.2/; revision=8946
Zac Medico [Sat, 15 Dec 2007 23:50:17 +0000 (23:50 -0000)]
In "QA Notice: Precompiled python" messages, use sed to strip the
leading ${D} from file paths. (trunk r8935)
svn path=/main/branches/2.1.2/; revision=8936
Zac Medico [Sat, 15 Dec 2007 21:05:55 +0000 (21:05 -0000)]
Fix punctuation and spelling. Thanks to Arfrever Frehtes Taifersar
Arahesis <arfrever.fta@gmail.com>. (trunk r8932)
svn path=/main/branches/2.1.2/; revision=8933
Zac Medico [Sat, 15 Dec 2007 07:53:40 +0000 (07:53 -0000)]
Split out a format_qa_output() function to eliminate duplicate code.
(trunk r8927 and r8930)
svn path=/main/branches/2.1.2/; revision=8931
Zac Medico [Sat, 15 Dec 2007 04:04:38 +0000 (04:04 -0000)]
Instead of all modes, only in commit mode save an extra copy of QA
output for display in $EDITOR. (trunk r8928)
svn path=/main/branches/2.1.2/; revision=8929
Zac Medico [Sat, 15 Dec 2007 00:32:56 +0000 (00:32 -0000)]
Save QA output so that it can be conveniently displayed
in $EDITOR while the user creates a commit message.
Otherwise, the user would not be able to see this output
once the editor has taken over the screen.
Output is done through a formatter object where it is
captured for later use. A file-like object that behaves
something like the portage.output.colorize() function is
used to transfor style identifiers from the formatter
framework into actual console codes.
(trunk r8925)
svn path=/main/branches/2.1.2/; revision=8926
Zac Medico [Fri, 14 Dec 2007 11:45:37 +0000 (11:45 -0000)]
Prompt the user before letting the editor
take over the screen so there is an
opportunity to review any QA warnings.
(trunk r8923)
svn path=/main/branches/2.1.2/; revision=8924
Zac Medico [Fri, 14 Dec 2007 11:27:52 +0000 (11:27 -0000)]
* Add support for multi-line commit message input by using EOF
as a delimiter (Ctrl-d) instead of a new line.
* Add support for getting a commit message using an editor defined
by the EDITOR environment variable.
(trunk r8919:8921)
svn path=/main/branches/2.1.2/; revision=8922
Zac Medico [Thu, 13 Dec 2007 21:53:48 +0000 (21:53 -0000)]
Fix the bug #198398 code from trunk to be compatible with the code
in this branch.
svn path=/main/branches/2.1.2/; revision=8919
Zac Medico [Thu, 13 Dec 2007 21:22:25 +0000 (21:22 -0000)]
Add --buildpkgonly to the options lists that exempt from
slot collisions and world file updates. (trunk r8917)
svn path=/main/branches/2.1.2/; revision=8918
Zac Medico [Thu, 13 Dec 2007 20:54:57 +0000 (20:54 -0000)]
Disable the "QA Notice: Pre-stripped files" message when RESTRICT
contains "strip" or "binchecks". This is needed at least for the
glibc ebuild since it calls prepallstrip directly, resulting in
it being called twice. Thanks to loki_val for reporting.
(trunk r8915)
svn path=/main/branches/2.1.2/; revision=8916
Zac Medico [Thu, 13 Dec 2007 20:08:08 +0000 (20:08 -0000)]
Bug #202126 - Replace an obsolete reference to `emerge --help config`
with a reference to the CONFIGURATION FILES section of emerge(1).
(trunk r8913)
svn path=/main/branches/2.1.2/; revision=8914
Zac Medico [Thu, 13 Dec 2007 19:58:26 +0000 (19:58 -0000)]
Make sure that PORTAGE_SANDBOX_* variables can never be set
by "${T}"/environment. (trunk r8911)
svn path=/main/branches/2.1.2/; revision=8912
Zac Medico [Thu, 13 Dec 2007 10:34:36 +0000 (10:34 -0000)]
Allow FEATURES to persist between phases since the user might
want to modify it via bashrc to enable things like splitdebug
and installsources for specific packages. They should be able
to modify it in pre_pkg_setup() and have it persist all the
way through the install phase. However, if FEATURES exist
inside environment.bz2 then they should be overridden by
current settings. (trunk r8909)
svn path=/main/branches/2.1.2/; revision=8910
Zac Medico [Thu, 13 Dec 2007 08:36:14 +0000 (08:36 -0000)]
Properly filter SANDBOX_ON from the environment. When sourcing
${T}/environment it's a bit tricky because we have to temporarily
disable sandbox since the SANDBOX_{DENY,READ,PREDICT,_WRITE} values
we've just loaded may be unusable (triggering in spurious sandbox
violations) until we've merged them with our current values.
(trunk r8905:8907)
svn path=/main/branches/2.1.2/; revision=8908
Zac Medico [Thu, 13 Dec 2007 07:27:00 +0000 (07:27 -0000)]
Use the BAD color class instead of hardcoded red. (trunk r8904)
svn path=/main/branches/2.1.2/; revision=8905
Zac Medico [Thu, 13 Dec 2007 06:33:16 +0000 (06:33 -0000)]
Bug #201771 - Make unpack() detect common errors such as absolute
paths that start with ${DISTDIR} and die an appropriate error
message. Thanks to grobian for this patch. (trunk r8896)
svn path=/main/branches/2.1.2/; revision=8903
Zac Medico [Thu, 13 Dec 2007 06:32:17 +0000 (06:32 -0000)]
Bug #201848 - Make the ebuild command reject ebuilds that do not define
SLOT. (trunk r8895)
svn path=/main/branches/2.1.2/; revision=8902
Zac Medico [Thu, 13 Dec 2007 06:26:31 +0000 (06:26 -0000)]
Bug #201848 - Mask ebuilds that do not define SLOT. (trunk r8894)
svn path=/main/branches/2.1.2/; revision=8900
Zac Medico [Thu, 13 Dec 2007 05:54:49 +0000 (05:54 -0000)]
* In filter_readonly_variables(), replace 'declare -r ' with 'declare '
instead of removing it completely.
* Bug #202068 - In order to filter unwanted variable assignments out
of the bash environment, use a filter-bash-environment.py script
that behaves similar to egrep -v except that it leaves bash here-
documents intact.
* Use the sed -r option to enable extended regular expressions so that
commonly used characters like (, ), and + don't have to be escaped.
(trunk r8890:8893)
svn path=/main/branches/2.1.2/; revision=8899
Zac Medico [Thu, 13 Dec 2007 05:40:46 +0000 (05:40 -0000)]
Bug #198398 - Make repoman bail out if support for RMD160 hash
creation appears to be missing. (trunk r8886:8888 and r8897)
svn path=/main/branches/2.1.2/; revision=8898
Zac Medico [Thu, 13 Dec 2007 01:24:08 +0000 (01:24 -0000)]
Bug #202036 - In case of blockers, bail out earlier so that later
code can assume there are no blockers. (trunk r8889)
svn path=/main/branches/2.1.2/; revision=8890
Zac Medico [Tue, 11 Dec 2007 23:46:11 +0000 (23:46 -0000)]
Instead of calling sys.exit when a ParseError occurs in the config
constructor, raise a ParseError and make emerge and portageq handle
the error. This way consumers of the portage api can handle the
ParseError rather than have their application exit. Thanks to lxnay
for reporting. (trunk r8884)
svn path=/main/branches/2.1.2/; revision=8886
Zac Medico [Tue, 11 Dec 2007 23:44:59 +0000 (23:44 -0000)]
* Raise PermissionDenied from getconfig() when appropriate.
* When available, make getconfig() include an invalid token
in a ParseError message.
(trunk r8883)
svn path=/main/branches/2.1.2/; revision=8885
Zac Medico [Tue, 11 Dec 2007 21:41:55 +0000 (21:41 -0000)]
* When installing a binary package, export the file name of the package
as PORTAGE_BINPKG_FILE in order to give bashrc users an opportunity
to do various things such as remove binary packages after they're
installed.
* Add a note in ebuild.sh explaining why hardcoded bash lists are
needed for backward compatibility with <portage-2.1.4 since they
assume that a newly installed version of ebuild.sh will work for
pkg_postinst, pkg_prerm, and pkg_postrm when portage is upgrading
itself.
(trunk r8878)
svn path=/main/branches/2.1.2/; revision=8881
Zac Medico [Tue, 11 Dec 2007 21:33:50 +0000 (21:33 -0000)]
Add a "Quality Assurance" <part> tag so that all chapters are
consistently nested inside <part> tags. (trunk r8877)
svn path=/main/branches/2.1.2/; revision=8880
Zac Medico [Tue, 11 Dec 2007 21:32:44 +0000 (21:32 -0000)]
Add some documentation for ebuild phases and pre/post phase
hooks that can be defined via bashrc. (trunk r8876)
svn path=/main/branches/2.1.2/; revision=8879
Zac Medico [Sat, 8 Dec 2007 23:02:45 +0000 (23:02 -0000)]
Do an EBUILD_EXIT_STATUS_FILE sanity check in spawnebuild()
where it spawns misc-functions.sh after the install phase.
(trunk r8874)
svn path=/main/branches/2.1.2/; revision=8875
Zac Medico [Sat, 8 Dec 2007 19:23:12 +0000 (19:23 -0000)]
Quote $PORTDIR. Thanks to Chris Kerr in bug #52208.
svn path=/main/branches/2.1.2/; revision=8873
Zac Medico [Fri, 7 Dec 2007 23:03:39 +0000 (23:03 -0000)]
Bug #189417 - Explicitly whitelist any remaining variables that are
allowed to leak into the ebuild environment. Also, fix spawnebuild
to properly filter the env when it spawns misc-functions.sh after
the install phase. (trunk r8863:8867)
svn path=/main/branches/2.1.2/; revision=8868
Zac Medico [Thu, 6 Dec 2007 23:38:00 +0000 (23:38 -0000)]
Declare retval as a local variable. (trunk r8859)
svn path=/main/branches/2.1.2/; revision=8860
Zac Medico [Thu, 6 Dec 2007 23:29:03 +0000 (23:29 -0000)]
Prevent the filter_opts local variable from leaking into the
environment in preprocess_ebuild_env(). (trunk r8857)
svn path=/main/branches/2.1.2/; revision=8858
Zac Medico [Thu, 6 Dec 2007 23:13:04 +0000 (23:13 -0000)]
Remove redundant successful exit call from the "depend" phase
and let it run to the bottom of ebuild.sh just like the other
phases. (trunk r8852)
svn path=/main/branches/2.1.2/; revision=8856
Zac Medico [Thu, 6 Dec 2007 23:02:03 +0000 (23:02 -0000)]
To avoid false positives during the transition
period, don't show ? if the installed package
is missing a repository label. Stages starting
with 2007.1 will come with repository lables.
svn path=/main/branches/2.1.2/; revision=8855
Zac Medico [Thu, 6 Dec 2007 22:29:48 +0000 (22:29 -0000)]
Bug #201506 - Make preprocess_ebuild_env() preserve
SANDBOX_{DENY,PREDICT,READ,WRITE} between all phases,
except when the environment comes directly from
environment.bz2. (trunk r8853)
svn path=/main/branches/2.1.2/; revision=8854
Zac Medico [Wed, 5 Dec 2007 03:48:02 +0000 (03:48 -0000)]
Show ? if the installed package is missing a
repository label. The stable version of portage
creates these labels now, so false positives
won't be as common as they used to be. (trunk
r8846)
svn path=/main/branches/2.1.2/; revision=8847
Zac Medico [Mon, 3 Dec 2007 23:27:42 +0000 (23:27 -0000)]
Remove redundant config.load_infodir() calls from
portage.pkgmerge() and dblink.unmerge() since it's
already called in doebuild(). (trunk r8835)
svn path=/main/branches/2.1.2/; revision=8836
Zac Medico [Mon, 3 Dec 2007 23:07:18 +0000 (23:07 -0000)]
Synchronize the conditional that triggers "${T}"/environment
generation with the conditional that triggers distcc and
ccache FEATURES setup. (trunk r8833)
svn path=/main/branches/2.1.2/; revision=8834
Zac Medico [Mon, 3 Dec 2007 22:09:26 +0000 (22:09 -0000)]
* Don't load the CATEGORY in config.load_infodir() since this value is
critical for doebuild() operation and we already know the category.
* Always call config.setcpv() prior to config.load_infodir() so that
the CATEGORY is always known.
(trunk r8830:88310
svn path=/main/branches/2.1.2/; revision=8832
Zac Medico [Mon, 3 Dec 2007 20:57:54 +0000 (20:57 -0000)]
Bug #201090 - When portage creates a temp PORTAGE_BIN_PATH, put it
inside PORTAGE_TMPDIR since, unlike /tmp, it can't be mounted with
the "noexec" option. (trunk r8828)
svn path=/main/branches/2.1.2/; revision=8829
Zac Medico [Mon, 3 Dec 2007 20:01:42 +0000 (20:01 -0000)]
Make config.load_infodir() more fault tolerant for cases like bug
#201082. (trunk r8826)
svn path=/main/branches/2.1.2/; revision=8827
Zac Medico [Mon, 3 Dec 2007 19:13:41 +0000 (19:13 -0000)]
Bug #201082 - Don't call config.load_infodir() prior to pkg_postinst()
because it's not needed and the ebuild path that's passed in for
postinst is may be from the portage tree, which causes load_infodir()
to discard critical metadata such as CATEGORY without realoading
it. (trunk r8822)
svn path=/main/branches/2.1.2/; revision=8823
Zac Medico [Mon, 3 Dec 2007 06:23:45 +0000 (06:23 -0000)]
* whitelist CCACHE_* and DISTCC_* variables in config.environ()
* unset CCACHE_* and DISTCC_* variables in save_ebuild_env()
(trunk r8818)
svn path=/main/branches/2.1.2/; revision=8819
Zac Medico [Sun, 2 Dec 2007 22:08:51 +0000 (22:08 -0000)]
For compatibility with cvs.eclass, do not unset CVS_RSH in
save_ebuild_env() since that variable may be initialized in
global scope. (trunk r8816)
svn path=/main/branches/2.1.2/; revision=8817
Zac Medico [Sun, 2 Dec 2007 20:56:31 +0000 (20:56 -0000)]
Fix useq() so that it won't generate a bogus IUSE QA Notice
if called during the "depend" phase with a flag that uses
IUSE defaults. (trunk r8805)
svn path=/main/branches/2.1.2/; revision=8806
Zac Medico [Sun, 2 Dec 2007 09:13:48 +0000 (09:13 -0000)]
Synchronize self-reinstallation logic so that emerge will always
restart itself when dblink.merge() creates temporary copies of
PORTAGE_{BIN,PYM}_PATH. (trunk r8803)
svn path=/main/branches/2.1.2/; revision=8804
Zac Medico [Sun, 2 Dec 2007 07:58:50 +0000 (07:58 -0000)]
In dblink.treewalk(), tweak the "Safely unmerging
already-installed instance" logic to make sure that
it works in all possible cases. (trunk r8801)
svn path=/main/branches/2.1.2/; revision=8802
Zac Medico [Sun, 2 Dec 2007 07:08:13 +0000 (07:08 -0000)]
Fix portage_exec namespace.
svn path=/main/branches/2.1.2/; revision=8800
Zac Medico [Sun, 2 Dec 2007 06:47:33 +0000 (06:47 -0000)]
For portage.spawn() calls, use a _shell_quote() function to quote
the path of the binary since. (trunk r8798)
svn path=/main/branches/2.1.2/; revision=8799
Zac Medico [Sat, 1 Dec 2007 22:29:33 +0000 (22:29 -0000)]
* whitelist some misc variables from the calling environment
* blacklist the same variables in save_ebuild_env() so that
the latest values from the calling environment always
override those from the ebuild environment
(trunk r8796)
svn path=/main/branches/2.1.2/; revision=8797
Zac Medico [Sat, 1 Dec 2007 21:41:27 +0000 (21:41 -0000)]
Show the pid in the "starting parallel fetching" message. (trunk r8794)
svn path=/main/branches/2.1.2/; revision=8795