portage.git
16 years agoFix the CompositDbapi.match() logic wrt "selective" behavior and installed
Zac Medico [Sun, 6 Apr 2008 18:53:21 +0000 (18:53 -0000)]
Fix the CompositDbapi.match() logic wrt "selective" behavior and installed
packages so that it correctly handles false argument matches due to PROVIDE
when a corresponding new-style virtual exists.

svn path=/main/trunk/; revision=9729

16 years agoonly preserve libraries if no copy exists in the libary search path (bug #215242)
Marius Mauch [Sun, 6 Apr 2008 17:12:41 +0000 (17:12 -0000)]
only preserve libraries if no copy exists in the libary search path (bug #215242)

svn path=/main/trunk/; revision=9728

16 years ago* Use type -P which does not produce messages to stderr.
Zac Medico [Sun, 6 Apr 2008 17:09:13 +0000 (17:09 -0000)]
* Use type -P which does not produce messages to stderr.
  another option is to redirect both stderr and out.
* Avoid &> replace with > ... 2>&1
Thanks to Alon Bar-Lev for this patch.

svn path=/main/trunk/; revision=9727

16 years agopreserve order of ebuild messages even between different message types (bug #197905)
Marius Mauch [Sun, 6 Apr 2008 14:20:52 +0000 (14:20 -0000)]
preserve order of ebuild messages even between different message types (bug #197905)

svn path=/main/trunk/; revision=9726

16 years agoClarify --with-bdeps behavior with example. Thanks to Griffon26 for
Zac Medico [Sat, 5 Apr 2008 23:22:59 +0000 (23:22 -0000)]
Clarify --with-bdeps behavior with example. Thanks to Griffon26 for
this patch.

svn path=/main/trunk/; revision=9725

16 years agoWhen necessary, make quickpkg add missing metadata to the vdb entry before
Zac Medico [Sat, 5 Apr 2008 19:51:28 +0000 (19:51 -0000)]
When necessary, make quickpkg add missing metadata to the vdb entry before
creating the binary package.

svn path=/main/trunk/; revision=9723

16 years agoHandle a potential InvalidDependString exception inside
Zac Medico [Sat, 5 Apr 2008 18:30:11 +0000 (18:30 -0000)]
Handle a potential InvalidDependString exception inside
CompositeDbapi.match().

svn path=/main/trunk/; revision=9720

16 years agoBug #216328 - Fix broken --newuse reinstallation logic.
Zac Medico [Sat, 5 Apr 2008 17:48:23 +0000 (17:48 -0000)]
Bug #216328 - Fix broken --newuse reinstallation logic.

svn path=/main/trunk/; revision=9718

16 years agoFix the depgraph package selection cache to update the "existing node"
Zac Medico [Sat, 5 Apr 2008 10:30:43 +0000 (10:30 -0000)]
Fix the depgraph package selection cache to update the "existing node"
state of packages if they've been added to the graph since the last
call.

svn path=/main/trunk/; revision=9717

16 years agoFix a typo.
Zac Medico [Sat, 5 Apr 2008 09:42:51 +0000 (09:42 -0000)]
Fix a typo.

svn path=/main/trunk/; revision=9716

16 years agoMemoize package selection results in the depgraph for better performance.
Zac Medico [Sat, 5 Apr 2008 09:41:05 +0000 (09:41 -0000)]
Memoize package selection results in the depgraph for better performance.

svn path=/main/trunk/; revision=9715

16 years agoRemove "selective" depgraph logic from dep_zapdeps() since it's now
Zac Medico [Sat, 5 Apr 2008 09:15:10 +0000 (09:15 -0000)]
Remove "selective" depgraph logic from dep_zapdeps() since it's now
handled by CompositeDbapi.

svn path=/main/trunk/; revision=9714

16 years agoReplace the depgraph's fakedbapi of visible packages with a new
Zac Medico [Sat, 5 Apr 2008 08:50:01 +0000 (08:50 -0000)]
Replace the depgraph's fakedbapi of visible packages with a new
CompositeDbapi that is implemented on top of the depgraph's
existing package selection logic.

svn path=/main/trunk/; revision=9713

16 years agoIn dbapi.move_ent(), never assume that any of the expected metadata
Zac Medico [Sat, 5 Apr 2008 06:25:49 +0000 (06:25 -0000)]
In dbapi.move_ent(), never assume that any of the expected metadata
entries exist (PF, CATEGORY, or *.ebuild).

svn path=/main/trunk/; revision=9712

16 years agoAdd missing "the" to fix grammar.
Zac Medico [Fri, 4 Apr 2008 20:41:48 +0000 (20:41 -0000)]
Add missing "the" to fix grammar.

svn path=/main/trunk/; revision=9710

16 years ago* In the event that a previously installed package has since been masked,
Zac Medico [Fri, 4 Apr 2008 18:58:49 +0000 (18:58 -0000)]
* In the event that a previously installed package has since been masked,
  emerge will no longer perform an automatic downgrade as part of a "world"
  update. You should either unmask such packages or else explicitly re-merge
  them in order to have them dowgraded to an unmasked version.

svn path=/main/trunk/; revision=9708

16 years agoAdjust newlines whitespace masked packages display.
Zac Medico [Fri, 4 Apr 2008 18:40:28 +0000 (18:40 -0000)]
Adjust newlines whitespace masked packages display.

svn path=/main/trunk/; revision=9706

16 years agoDisplay the note referencing "masked packages" docs when there are
Zac Medico [Fri, 4 Apr 2008 18:29:33 +0000 (18:29 -0000)]
Display the note referencing "masked packages" docs when there are
installed masked packages to display.

svn path=/main/trunk/; revision=9705

16 years agoFix a typo in the depclean USE flag handling when populating the
Zac Medico [Fri, 4 Apr 2008 06:32:55 +0000 (06:32 -0000)]
Fix a typo in the depclean USE flag handling when populating the
digraph for bug #201045.

svn path=/main/trunk/; revision=9702

16 years agoFix a typo.
Zac Medico [Fri, 4 Apr 2008 04:51:33 +0000 (04:51 -0000)]
Fix a typo.

svn path=/main/trunk/; revision=9700

16 years agoWhen the user has given --depclean a list of atoms to clean, pull all
Zac Medico [Fri, 4 Apr 2008 04:48:49 +0000 (04:48 -0000)]
When the user has given --depclean a list of atoms to clean, pull all
installed packages into the graph (not just those traversable from system
or world) to ensure that packages can not be uninstalled unless nothing
requires them.

svn path=/main/trunk/; revision=9699

16 years agoDecrease priority on --onlydpes dependencies so that
Zac Medico [Fri, 4 Apr 2008 00:44:08 +0000 (00:44 -0000)]
Decrease priority on --onlydpes dependencies so that
--buildpkgonly hasallzeros() works correctly.

svn path=/main/trunk/; revision=9697

16 years agoAdd missing DepPriority instances to the graph so that the --buildpkgonly
Zac Medico [Fri, 4 Apr 2008 00:30:32 +0000 (00:30 -0000)]
Add missing DepPriority instances to the graph so that the --buildpkgonly
hasallzeros() calculation works correctly again.

svn path=/main/trunk/; revision=9696

16 years agoEliminate a redundant atom from the --update greedy slot expansion code.
Zac Medico [Thu, 3 Apr 2008 22:40:56 +0000 (22:40 -0000)]
Eliminate a redundant atom from the --update greedy slot expansion code.

svn path=/main/trunk/; revision=9695

16 years agoFix package selection logic so that it always properly finds the highest
Zac Medico [Thu, 3 Apr 2008 22:34:46 +0000 (22:34 -0000)]
Fix package selection logic so that it always properly finds the highest
available version in a new slot even though the graph already contains
a matching version in a lower slot.

svn path=/main/trunk/; revision=9693

16 years agoAdd missing str.upper() call for PORTAGE_FETCH_RESUME_MIN_SIZE.
Zac Medico [Thu, 3 Apr 2008 20:03:40 +0000 (20:03 -0000)]
Add missing str.upper() call for PORTAGE_FETCH_RESUME_MIN_SIZE.

svn path=/main/trunk/; revision=9691

16 years agoIf PORTAGE_FETCH_RESUME_MIN_SIZE is undefined or empty, silently use
Zac Medico [Thu, 3 Apr 2008 19:58:22 +0000 (19:58 -0000)]
If PORTAGE_FETCH_RESUME_MIN_SIZE is undefined or empty, silently use
the default.

svn path=/main/trunk/; revision=9689

16 years agoImplement a PORTAGE_FETCH_RESUME_MIN_SIZE variable that is useful for
Zac Medico [Thu, 3 Apr 2008 19:23:16 +0000 (19:23 -0000)]
Implement a PORTAGE_FETCH_RESUME_MIN_SIZE variable that is useful for
helping to ensure that small garbage files such as html 404 pages are
properly discarded.

svn path=/main/trunk/; revision=9687

16 years agoFor old-style virtuals, we need to repeat the package.provided
Zac Medico [Thu, 3 Apr 2008 16:45:56 +0000 (16:45 -0000)]
For old-style virtuals, we need to repeat the package.provided
check against the selected package.

svn path=/main/trunk/; revision=9685

16 years agoIn cpv_expand(), if the virtuals file contains a versioned atom (like
Zac Medico [Thu, 3 Apr 2008 01:17:59 +0000 (01:17 -0000)]
In cpv_expand(), if the virtuals file contains a versioned atom (like
the base profile currently has for virtual/pam), properly remove the
operator and version from the atom before it is passed into
dbapi.cp_list().

svn path=/main/trunk/; revision=9683

16 years agoFix the previous commit so that the Package instance is created in the
Zac Medico [Wed, 2 Apr 2008 19:22:20 +0000 (19:22 -0000)]
Fix the previous commit so that the Package instance is created in the
correct scope.

svn path=/main/trunk/; revision=9681

16 years agoUse Package.cp instead of dep_getkey(cpv).
Zac Medico [Wed, 2 Apr 2008 19:09:13 +0000 (19:09 -0000)]
Use Package.cp instead of dep_getkey(cpv).

svn path=/main/trunk/; revision=9680

16 years agoEliminate a redundant os.path.join() call.
Zac Medico [Wed, 2 Apr 2008 18:06:42 +0000 (18:06 -0000)]
Eliminate a redundant os.path.join() call.

svn path=/main/trunk/; revision=9678

16 years agoHandle a potential FileNotFound exception in new_protect_filename() when
Zac Medico [Wed, 2 Apr 2008 18:03:08 +0000 (18:03 -0000)]
Handle a potential FileNotFound exception in new_protect_filename() when
the last ._cfg* file happens to be a broken symlink. Thanks to bonsaikitten
for reporting.

svn path=/main/trunk/; revision=9677

16 years agoRemove the digraph._parent_child_digraph since it's no longer needed. It's
Zac Medico [Tue, 1 Apr 2008 23:34:54 +0000 (23:34 -0000)]
Remove the digraph._parent_child_digraph since it's no longer needed. It's
main purpose was to track PDEPEND relationships but those are handled just
like the other deps now.

svn path=/main/trunk/; revision=9675

16 years agoBug #215673 - Make ebuild.sh leave IUSE defaults intact instead of filtering
Zac Medico [Tue, 1 Apr 2008 22:13:59 +0000 (22:13 -0000)]
Bug #215673 - Make ebuild.sh leave IUSE defaults intact instead of filtering
them out. The built_with_use() function in eutils.eclass needs to be updated
for compatibility.

svn path=/main/trunk/; revision=9674

16 years agoUse pkgcmp() instead of == and best() for correctness in case of implicit
Zac Medico [Tue, 1 Apr 2008 21:58:37 +0000 (21:58 -0000)]
Use pkgcmp() instead of == and best() for correctness in case of implicit
-r0.

svn path=/main/trunk/; revision=9672

16 years agoRemove some boolean logic that is obsolete now that the "selective" parameter
Zac Medico [Tue, 1 Apr 2008 18:36:03 +0000 (18:36 -0000)]
Remove some boolean logic that is obsolete now that the "selective" parameter
is passed into dep_zapdeps().

svn path=/main/trunk/; revision=9669

16 years agoExploid ascending order returned from dbapi.match() calls to avoid the need
Zac Medico [Tue, 1 Apr 2008 18:08:06 +0000 (18:08 -0000)]
Exploid ascending order returned from dbapi.match() calls to avoid the need
to call best().

svn path=/main/trunk/; revision=9665

16 years agoHandle missing LICENSE in the Packages index since that's allowed for
Zac Medico [Tue, 1 Apr 2008 06:55:27 +0000 (06:55 -0000)]
Handle missing LICENSE in the Packages index since that's allowed for
virtual packages.

svn path=/main/trunk/; revision=9662

16 years agoWhen identifying a sys-apps/portage node, compare category too (not just
Zac Medico [Tue, 1 Apr 2008 05:59:57 +0000 (05:59 -0000)]
When identifying a sys-apps/portage node, compare category too (not just
"portage".

svn path=/main/trunk/; revision=9660

16 years agoBug #215308 - Cache the paths of known bad manifests to ensure that the
Zac Medico [Tue, 1 Apr 2008 00:33:35 +0000 (00:33 -0000)]
Bug #215308 - Cache the paths of known bad manifests to ensure that the
same broken manifest is never checked twice.

svn path=/main/trunk/; revision=9658

16 years agoWhen deps are forced to be satisfied by installed packages due to masking
Zac Medico [Mon, 31 Mar 2008 23:47:50 +0000 (23:47 -0000)]
When deps are forced to be satisfied by installed packages due to masking
or unavailability, only tolerate it when the atom comes from either the
system or world set since otherwise it's a good idea to bail so that the
user can correct the problem.

svn path=/main/trunk/; revision=9656

16 years agoIn the package selection loop, move the installed package rejection
Zac Medico [Mon, 31 Mar 2008 23:12:14 +0000 (23:12 -0000)]
In the package selection loop, move the installed package rejection
code as early as possible.

svn path=/main/trunk/; revision=9654

16 years agoFix package selection logic to always properly reject the installed package
Zac Medico [Mon, 31 Mar 2008 21:07:29 +0000 (21:07 -0000)]
Fix package selection logic to always properly reject the installed package
when another is available and the user wants to reinstall.

svn path=/main/trunk/; revision=9652

16 years agoRemove some redundant and obsolete code for warning about installed
Zac Medico [Mon, 31 Mar 2008 20:25:30 +0000 (20:25 -0000)]
Remove some redundant and obsolete code for warning about installed
packages pulled into the graph.

svn path=/main/trunk/; revision=9650

16 years agoWhen selecting packages and there is a mixture of old-style and new-style
Zac Medico [Mon, 31 Mar 2008 19:55:56 +0000 (19:55 -0000)]
When selecting packages and there is a mixture of old-style and new-style
virtual matches, filter out the old-style virtual matches.

svn path=/main/trunk/; revision=9648

16 years agoBug #197810 - Fix package selection logic so that it will always fall back
Zac Medico [Mon, 31 Mar 2008 18:14:27 +0000 (18:14 -0000)]
Bug #197810 - Fix package selection logic so that it will always fall back
to an installed package when necessary.

svn path=/main/trunk/; revision=9646

16 years agoMake depgraph creation more tolerant of missing or masked packages when
Zac Medico [Mon, 31 Mar 2008 18:00:40 +0000 (18:00 -0000)]
Make depgraph creation more tolerant of missing or masked packages when
the relevant deps are satisfied by installed packages. This kind of
friendliness is especially desired in cases such as --emptytree where
it might not be possible to reinstall every single package. Also, it
allows multislot atoms from the world file (that are necessary to prevent
them from being removed by depclean) trigger warning messages while
still allowing a --emptytree to proceed.

svn path=/main/trunk/; revision=9645

16 years agoReplace an package tuple with a real Package instance.
Zac Medico [Mon, 31 Mar 2008 17:11:47 +0000 (17:11 -0000)]
Replace an package tuple with a real Package instance.

svn path=/main/trunk/; revision=9644

16 years agoPass Package instances into visible() so that the package instance can
Zac Medico [Mon, 31 Mar 2008 07:21:57 +0000 (07:21 -0000)]
Pass Package instances into visible() so that the package instance can
be used to cache relevant visibility information such as whether or not
the package is corrupt or otherwise invalid.

svn path=/main/trunk/; revision=9643

16 years agoWhen dblink.treewalk() queries for other packages in the same slot, filter
Zac Medico [Sun, 30 Mar 2008 21:54:51 +0000 (21:54 -0000)]
When dblink.treewalk() queries for other packages in the same slot, filter
out old-style virtual matches since they are not desired.

svn path=/main/trunk/; revision=9637

16 years agoMake sure the all resume lists are deleted when a stale one is encountered.
Zac Medico [Sun, 30 Mar 2008 21:40:42 +0000 (21:40 -0000)]
Make sure the all resume lists are deleted when a stale one is encountered.

svn path=/main/trunk/; revision=9636

16 years ago* Fix broken return value for doins.
Zac Medico [Sun, 30 Mar 2008 19:51:32 +0000 (19:51 -0000)]
* Fix broken return value for doins.
* Make newins cleanup temp files after itself.

svn path=/main/trunk/; revision=9634

16 years agoFix typos. Thanks to Arfrever Frehtes Taifersar Arahesis
Zac Medico [Sun, 30 Mar 2008 19:20:46 +0000 (19:20 -0000)]
Fix typos. Thanks to Arfrever Frehtes Taifersar Arahesis
<Arfrever.FTA@GMail.Com>.

svn path=/main/trunk/; revision=9632

16 years agoFix display code that can triger a 'Invalid category' exception when it
Zac Medico [Sun, 30 Mar 2008 10:00:50 +0000 (10:00 -0000)]
Fix display code that can triger a 'Invalid category' exception when it
is given a blocker. It's only supposed to execute for normal packages.

svn path=/main/trunk/; revision=9630

16 years agoMake doins clean up it's own temp files. This solves an odd issue in
Zac Medico [Sun, 30 Mar 2008 09:17:01 +0000 (09:17 -0000)]
Make doins clean up it's own temp files. This solves an odd issue in
dyn_package() when portage 2.1.x is installing portage-2.2 and temp
python module files from doins are imported instead of the expected
ones.

svn path=/main/trunk/; revision=9628

16 years agoBug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.
Zac Medico [Sun, 30 Mar 2008 07:14:24 +0000 (07:14 -0000)]
Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.

svn path=/main/trunk/; revision=9625

16 years agoBug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.
Zac Medico [Sun, 30 Mar 2008 06:57:12 +0000 (06:57 -0000)]
Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.

svn path=/main/trunk/; revision=9623

16 years agoMove the AUTOCLEAN code into dblink.treewalk since it's already partially
Zac Medico [Sun, 30 Mar 2008 06:18:15 +0000 (06:18 -0000)]
Move the AUTOCLEAN code into dblink.treewalk since it's already partially
supported there anyway (for replacement of identical cpv). This has the
benefit of guaranteeing that the order of installation and removal phases
is always the same.

svn path=/main/trunk/; revision=9621

16 years agoDo not allow commit mode together with the --without-mask options.
Zac Medico [Sun, 30 Mar 2008 05:40:14 +0000 (05:40 -0000)]
Do not allow commit mode together with the --without-mask options.

svn path=/main/trunk/; revision=9619

16 years agoMake code a bit less prone to potentially hidden TypeError like bugs.
Zac Medico [Sun, 30 Mar 2008 04:16:54 +0000 (04:16 -0000)]
Make code a bit less prone to potentially hidden TypeError like bugs.

svn path=/main/trunk/; revision=9616

16 years agoBug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.
Zac Medico [Sun, 30 Mar 2008 03:59:28 +0000 (03:59 -0000)]
Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.

svn path=/main/trunk/; revision=9615

16 years agoUse enumerate() it iterate over an array.
Zac Medico [Sun, 30 Mar 2008 03:42:27 +0000 (03:42 -0000)]
Use enumerate() it iterate over an array.

svn path=/main/trunk/; revision=9613

16 years agoFor bugs #197810 and #215308, pass the depgraph's "selective" parameter
Zac Medico [Sun, 30 Mar 2008 02:13:19 +0000 (02:13 -0000)]
For bugs #197810 and #215308, pass the depgraph's "selective" parameter
down into dep_check() for better atom preference selection when handling
virtuals and other disjunctive || dependencies. (branches/2.1.2 r9610)

svn path=/main/trunk/; revision=9611

16 years agoBug #215308 - Simplify the greedy atoms logic so that it behaves more
Zac Medico [Sun, 30 Mar 2008 00:19:29 +0000 (00:19 -0000)]
Bug #215308 - Simplify the greedy atoms logic so that it behaves more
like StaticFileSet and won't pull in lower slots.

svn path=/main/trunk/; revision=9607

16 years agoWhen dyn_unpack() automatically cleans ${WORKDIR}, also remove things
Zac Medico [Sat, 29 Mar 2008 22:47:54 +0000 (22:47 -0000)]
When dyn_unpack() automatically cleans ${WORKDIR}, also remove things
like .unpacked and .compiled so that the state is consistent.

svn path=/main/trunk/; revision=9606

16 years agoBug #214619 - Run dyn_package() and preinst_mask() from ${T} instead of
Zac Medico [Sat, 29 Mar 2008 05:30:41 +0000 (05:30 -0000)]
Bug #214619 - Run dyn_package() and preinst_mask() from ${T} instead of
${D} in order to avoid leaving gmon.out files in ${D} in case any tools
were built with -pf in CFLAGS. Also, call preinst_mask() after all other
functions so that INSTALL_MASK can be used to wipe out any gmon.out files
created during previous functions.

svn path=/main/trunk/; revision=9592

16 years agoAdd a note about PKG_INSTALL_MASK.
Zac Medico [Sat, 29 Mar 2008 04:55:40 +0000 (04:55 -0000)]
Add a note about PKG_INSTALL_MASK.

svn path=/main/trunk/; revision=9591

16 years agoFix quoting for ${root} in install_mask().
Zac Medico [Sat, 29 Mar 2008 04:32:10 +0000 (04:32 -0000)]
Fix quoting for ${root} in install_mask().

svn path=/main/trunk/; revision=9590

16 years agoWhen a resume list contains packages that are no longer available,
Zac Medico [Sat, 29 Mar 2008 04:12:37 +0000 (04:12 -0000)]
When a resume list contains packages that are no longer available,
automatically delete it.

svn path=/main/trunk/; revision=9589

16 years agoBug #215240 - Use an alarm signal to implement a 60 second timeout in
Zac Medico [Sat, 29 Mar 2008 03:40:32 +0000 (03:40 -0000)]
Bug #215240 - Use an alarm signal to implement a 60 second timeout in
finalize() in case send_mail() blocks indefinitely.

svn path=/main/trunk/; revision=9588

16 years agoAdd a new "ebuild.patches" check for the PATCHES variable that's used by
Zac Medico [Sat, 29 Mar 2008 03:29:24 +0000 (03:29 -0000)]
Add a new "ebuild.patches" check for the PATCHES variable that's used by
base_src_unpack() from base.eclass. This generates a warning if the variable
is not defined as an array, since this is required for white space safety.
Thanks to Betelgeuse for the initial patch.

svn path=/main/trunk/; revision=9587

16 years agoDon't trigger the 'java.eclassesnotused' on blocker atoms.
Zac Medico [Sat, 29 Mar 2008 00:02:11 +0000 (00:02 -0000)]
Don't trigger the 'java.eclassesnotused' on blocker atoms.

svn path=/main/trunk/; revision=9586

16 years agoAdd a new "java.eclassesnotused" check for cases where DEPEND contains
Zac Medico [Fri, 28 Mar 2008 23:44:32 +0000 (23:44 -0000)]
Add a new "java.eclassesnotused" check for cases where DEPEND contains
virtual/jdk and and the appropriate java eclass has not been inherited
(a violation of the java team's policy). Thanks to Betelgeuse for the
initial patch.

svn path=/main/trunk/; revision=9585

16 years agoBug #214691 - Move the "slot collision" display so that it is shown after
Zac Medico [Fri, 28 Mar 2008 23:11:29 +0000 (23:11 -0000)]
Bug #214691 - Move the "slot collision" display so that it is shown after
the merge list where it is most likely to be seen (along with other depgraph
problems).

svn path=/main/trunk/; revision=9584

16 years ago* Skip the recusive chown call if it fails on the top level directory since
Zac Medico [Fri, 28 Mar 2008 10:18:08 +0000 (10:18 -0000)]
* Skip the recusive chown call if it fails on the top level directory since
  it's possible that emerge-webrsync is not run by root.

* Just chown to portage:portage instead of using PORTAGE_INST_{UID,GID}.

svn path=/main/trunk/; revision=9538

16 years agoDisable tarsync when using lzma compression since it doesn't seem to be
Zac Medico [Fri, 28 Mar 2008 10:03:28 +0000 (10:03 -0000)]
Disable tarsync when using lzma compression since it doesn't seem to be
supported.

svn path=/main/trunk/; revision=9537

16 years agoBug #214619 - Add support for a PORTAGE_BINPKG_TAR_OPTS variable that
Zac Medico [Fri, 28 Mar 2008 05:45:45 +0000 (05:45 -0000)]
Bug #214619 - Add support for a PORTAGE_BINPKG_TAR_OPTS variable that
allows the user to specify tar command options for binary package
creation.

svn path=/main/trunk/; revision=9528

16 years agoMake dyn_clean() consistent wrt removal of ${PORTAGE_BUILDDIR}/image and
Zac Medico [Fri, 28 Mar 2008 05:03:55 +0000 (05:03 -0000)]
Make dyn_clean() consistent wrt removal of ${PORTAGE_BUILDDIR}/image and
${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

16 years agoBug #213698 - Make FEAUTURES=keepwork and keeptemp preserve ${T}/environment
Zac Medico [Fri, 28 Mar 2008 04:55:41 +0000 (04:55 -0000)]
Bug #213698 - Make FEAUTURES=keepwork and keeptemp preserve ${T}/environment
since it may contain essential state.

svn path=/main/trunk/; revision=9526

16 years agoBug #213629 - Use EAPI.incompatible in cases where EAPI=0 and a default
Zac Medico [Fri, 28 Mar 2008 04:14:50 +0000 (04:14 -0000)]
Bug #213629 - Use EAPI.incompatible in cases where EAPI=0 and a default
IUSE is encountered.

svn path=/main/trunk/; revision=9525

16 years agoBug #213629 - Create an EAPI.incompatible category and use it in cases
Zac Medico [Fri, 28 Mar 2008 04:07:13 +0000 (04:07 -0000)]
Bug #213629 - Create an EAPI.incompatible category and use it in cases
where EAPI=0 and a slot atom is encountered.

svn path=/main/trunk/; revision=9524

16 years agoRemove redundant info from the KEYWORDS.dropped message.
Zac Medico [Fri, 28 Mar 2008 00:05:37 +0000 (00:05 -0000)]
Remove redundant info from the KEYWORDS.dropped message.

svn path=/main/trunk/; revision=9523

16 years agoBug #209418 - Add a new KEYWORDS.dropped check that compares keywords
Zac Medico [Thu, 27 Mar 2008 23:31:28 +0000 (23:31 -0000)]
Bug #209418 - Add a new KEYWORDS.dropped check that compares keywords
against the keywords of earlier ebuild versions within a slot.

svn path=/main/trunk/; revision=9522

16 years agoBug #212509 - Display a note about the --without-mask option when there
Zac Medico [Thu, 27 Mar 2008 22:03:54 +0000 (22:03 -0000)]
Bug #212509 - Display a note about the --without-mask option when there
are masked packages.

svn path=/main/trunk/; revision=9521

16 years agoBug #212509 - Implement a new --without-mask option that causes repoman to
Zac Medico [Thu, 27 Mar 2008 21:39:14 +0000 (21:39 -0000)]
Bug #212509 - Implement a new --without-mask option that causes repoman to
behave as if there are no package.mask entries.

svn path=/main/trunk/; revision=9520

16 years agoBug #214879 - Fix FEATURES=-strict behavior so that distfiles digests are
Zac Medico [Thu, 27 Mar 2008 16:49:02 +0000 (16:49 -0000)]
Bug #214879 - Fix FEATURES=-strict behavior so that distfiles digests are
always checked.

svn path=/main/trunk/; revision=9519

16 years agoFix the noreplace logic to break out of the cpv loop early since there's
Zac Medico [Thu, 27 Mar 2008 04:28:08 +0000 (04:28 -0000)]
Fix the noreplace logic to break out of the cpv loop early since there's
no point in examining any lower versions from the same repo.

svn path=/main/trunk/; revision=9514

16 years agoMake --noreplace take precedence over --newuse, as suggested by wolf31o2.
Zac Medico [Thu, 27 Mar 2008 04:23:30 +0000 (04:23 -0000)]
Make --noreplace take precedence over --newuse, as suggested by wolf31o2.

svn path=/main/trunk/; revision=9513

16 years agoBug #214879 - In fetch(), only parse the Manifest when FEATURES=strict
Zac Medico [Wed, 26 Mar 2008 23:37:58 +0000 (23:37 -0000)]
Bug #214879 - In fetch(), only parse the Manifest when FEATURES=strict
is enabled.

svn path=/main/trunk/; revision=9512

16 years agoMove the default empty compiler flag settings from
Zac Medico [Wed, 26 Mar 2008 16:54:19 +0000 (16:54 -0000)]
Move the default empty compiler flag settings from
ebuild.sh to make.globals (bug #214499).

svn path=/main/trunk/; revision=9511

16 years agoSupport ${HOST} substitution in "From" field. Thanks to wschlich.
Zac Medico [Wed, 26 Mar 2008 16:46:36 +0000 (16:46 -0000)]
Support ${HOST} substitution in "From" field. Thanks to wschlich.

svn path=/main/trunk/; revision=9510

16 years agoBug #212621 - Make the EbuildQuote check do quoting validation for misc
Zac Medico [Tue, 25 Mar 2008 04:04:44 +0000 (04:04 -0000)]
Bug #212621 - Make the EbuildQuote check do quoting validation for misc
variables from games.eclass.

svn path=/main/trunk/; revision=9507

16 years agoFix typo.
Zac Medico [Tue, 25 Mar 2008 03:54:34 +0000 (03:54 -0000)]
Fix typo.

svn path=/main/trunk/; revision=9506

16 years agoBug #212152 - Account pre-existing files when calculating whether there
Zac Medico [Tue, 25 Mar 2008 03:51:51 +0000 (03:51 -0000)]
Bug #212152 - Account pre-existing files when calculating whether there
is enough space for a download.

svn path=/main/trunk/; revision=9505

16 years agoBug #211294 - Make repoman bail out if arch.list contains unrecognized
Zac Medico [Tue, 25 Mar 2008 03:18:28 +0000 (03:18 -0000)]
Bug #211294 - Make repoman bail out if arch.list contains unrecognized
lines since we don't want people to commit with old versions of portage
that don't support the current arch.list format.

svn path=/main/trunk/; revision=9504

16 years agoBug #214499 - When compiler flags are unset, many packages will substitute
Zac Medico [Mon, 24 Mar 2008 23:14:37 +0000 (23:14 -0000)]
Bug #214499 - When compiler flags are unset, many packages will substitute
their own implicit flags. For uniformity, use an empty string as the default.

svn path=/main/trunk/; revision=9503

16 years agoCheck is os.statvfs() is implemented before trying to us it.
Zac Medico [Mon, 24 Mar 2008 23:05:00 +0000 (23:05 -0000)]
Check is os.statvfs() is implemented before trying to us it.
(branches/prefix r9500)

svn path=/main/trunk/; revision=9502

16 years agoImprove logic from the previous commit.
Zac Medico [Thu, 20 Mar 2008 21:35:45 +0000 (21:35 -0000)]
Improve logic from the previous commit.

svn path=/main/trunk/; revision=9496