portage.git
17 years agoFix an IndexError in get_operator() that occurs when isvalidatom() passes it an empty... v2.1.2.9
Zac Medico [Wed, 30 May 2007 23:31:38 +0000 (23:31 -0000)]
Fix an IndexError in get_operator() that occurs when isvalidatom() passes it an empty string. (trunk r6680)

svn path=/main/branches/2.1.2/; revision=6681

17 years agoFor bug #180399, raise an appropriate InvalidDependString exception if there is no...
Zac Medico [Wed, 30 May 2007 23:23:07 +0000 (23:23 -0000)]
For bug #180399, raise an appropriate InvalidDependString exception if there is no flag attached directly to a '?' token. (trunk r6678)

svn path=/main/branches/2.1.2/; revision=6679

17 years agoShow deprecation warnings if the "clone" parameters are used for the binartree, vartr...
Zac Medico [Wed, 30 May 2007 22:40:55 +0000 (22:40 -0000)]
Show deprecation warnings if the "clone" parameters are used for the binartree, vartree, or portagetree constructors. (trunk r6676)

svn path=/main/branches/2.1.2/; revision=6677

17 years agoReturn a copy of the cached result from match_from_list(). (trunk r6673)
Zac Medico [Wed, 30 May 2007 05:45:58 +0000 (05:45 -0000)]
Return a copy of the cached result from match_from_list(). (trunk r6673)

svn path=/main/branches/2.1.2/; revision=6674

17 years agoFor bug #61732, support -flag in USE (instead of just +flag). Given the current...
Zac Medico [Wed, 30 May 2007 02:44:41 +0000 (02:44 -0000)]
For bug #61732, support -flag in USE (instead of just +flag).  Given the current default USE_ORDER, -flag in IUSE has no effect. (trunk r6671)

svn path=/main/branches/2.1.2/; revision=6672

17 years agoFix slot handling at the beginning of match_from_list(). (trunk r6669)
Zac Medico [Wed, 30 May 2007 02:24:26 +0000 (02:24 -0000)]
Fix slot handling at the beginning of match_from_list(). (trunk r6669)

svn path=/main/branches/2.1.2/; revision=6670

17 years agoFor bug #180222, make ecompressdir use -f for the automatic decompression phase....
Zac Medico [Wed, 30 May 2007 02:05:41 +0000 (02:05 -0000)]
For bug #180222, make ecompressdir use -f for the automatic decompression phase. (trunk r6667)

svn path=/main/branches/2.1.2/; revision=6668

17 years agoFor bug #179870, correctly handle slot deps in the profile's package.* files. (trunk...
Zac Medico [Tue, 29 May 2007 21:58:46 +0000 (21:58 -0000)]
For bug #179870, correctly handle slot deps in the profile's package.* files. (trunk r6665)

svn path=/main/branches/2.1.2/; revision=6666

17 years agoFix get_operator() and best_match_to_list() so that slot deps mesh properly with...
Zac Medico [Tue, 29 May 2007 20:37:05 +0000 (20:37 -0000)]
Fix get_operator() and best_match_to_list() so that slot deps mesh properly with operators. (trunk r6663)

svn path=/main/branches/2.1.2/; revision=6664

17 years agoFix dep_getcpv() so that it always properly removes the slot regardless of which...
Zac Medico [Tue, 29 May 2007 12:41:41 +0000 (12:41 -0000)]
Fix dep_getcpv() so that it always properly removes the slot regardless of which operator is present. (trunk r6661)

svn path=/main/branches/2.1.2/; revision=6662

17 years agoDon't pass slotted packages into pkgsplit since it doesn't handle them. (trunk r6659)
Zac Medico [Tue, 29 May 2007 12:12:51 +0000 (12:12 -0000)]
Don't pass slotted packages into pkgsplit since it doesn't handle them. (trunk r6659)

svn path=/main/branches/2.1.2/; revision=6660

17 years agoFor bug #179870, add support for cpv:slot in match_from_list() and use it to make...
Zac Medico [Tue, 29 May 2007 11:29:13 +0000 (11:29 -0000)]
For bug #179870, add support for cpv:slot in match_from_list() and use it to make config.setcpv() distinguish slot atoms in package.use. (trunk r6657)

svn path=/main/branches/2.1.2/; revision=6658

17 years agoFor bug #180009, add a PORTAGE_RSYNC_INITIAL_TIMEOUT config variable. The default...
Zac Medico [Mon, 28 May 2007 07:32:25 +0000 (07:32 -0000)]
For bug #180009, add a PORTAGE_RSYNC_INITIAL_TIMEOUT config variable.  The default is 15 seconds and it can be disabled by setting it to 0. (trunk r6650)

svn path=/main/branches/2.1.2/; revision=6651

17 years agoFor bug #180079, fix a KeyError so that a search for the empty string will go ahead...
Zac Medico [Mon, 28 May 2007 07:11:53 +0000 (07:11 -0000)]
For bug #180079, fix a KeyError so that a search for the empty string will go ahead and match all packages. (trunk r6648)

svn path=/main/branches/2.1.2/; revision=6649

17 years agoFix logic for USE_EXPAND variables that are incremental (there are none currently...
Zac Medico [Sat, 26 May 2007 21:17:58 +0000 (21:17 -0000)]
Fix logic for USE_EXPAND variables that are incremental (there are none currently). (trunk r6635)

svn path=/main/branches/2.1.2/; revision=6636

17 years agoxmlint can produce garbage output even on success, so only dump the ouput when it...
Zac Medico [Sat, 26 May 2007 01:27:17 +0000 (01:27 -0000)]
xmlint can produce garbage output even on success, so only dump the ouput when it fails.  See bug #179008. (trunk r6631)

svn path=/main/branches/2.1.2/; revision=6632

17 years agoStore flags as a set inside the USE incremental loop. (trunk r6627)
Zac Medico [Fri, 25 May 2007 22:13:52 +0000 (22:13 -0000)]
Store flags as a set inside the USE incremental loop. (trunk r6627)

svn path=/main/branches/2.1.2/; revision=6628

17 years agoFor bug #179766, expand USE_EXPAND variables inside the USE incremental loop so that...
Zac Medico [Fri, 25 May 2007 19:15:20 +0000 (19:15 -0000)]
For bug #179766, expand USE_EXPAND variables inside the USE incremental loop so that USE"-*" will not always destroy them. (trunk r6623)

svn path=/main/branches/2.1.2/; revision=6624

17 years agoSkip fetching of metadata.dtd when mymode == "manifest". (trunk r6618) v2.1.2.8
Zac Medico [Fri, 25 May 2007 00:23:16 +0000 (00:23 -0000)]
Skip fetching of metadata.dtd when mymode == "manifest". (trunk r6618)

svn path=/main/branches/2.1.2/; revision=6619

17 years agoFix the ignore-previously-merged option so that it compares the original files, since...
Zac Medico [Thu, 24 May 2007 20:56:51 +0000 (20:56 -0000)]
Fix the ignore-previously-merged option so that it compares the original files, since mrgconf can be identical to conf['current'] even when conf['new'] is different from the archived .dist version (due to diff3 merging). (trunk r6615)

svn path=/main/branches/2.1.2/; revision=6616

17 years agoAdd a 'ignore-previously-merged' config option which gives similar behavior to the...
Zac Medico [Wed, 23 May 2007 20:52:25 +0000 (20:52 -0000)]
Add a 'ignore-previously-merged' config option which gives similar behavior to the --noconfmem emerge option. (trunk r6591:6592)

svn path=/main/branches/2.1.2/; revision=6608

17 years agoPunt the portdbapi.getsize() function since it's unused and broken (mysum referenced...
Zac Medico [Wed, 23 May 2007 20:50:38 +0000 (20:50 -0000)]
Punt the portdbapi.getsize() function since it's unused and broken (mysum referenced before assignment). (trunk r6582)

svn path=/main/branches/2.1.2/; revision=6607

17 years agohardlink basic suid protection (trunk r6580)
Zac Medico [Wed, 23 May 2007 20:48:59 +0000 (20:48 -0000)]
hardlink basic suid protection (trunk r6580)

svn path=/main/branches/2.1.2/; revision=6606

17 years agoUse device number and i-node number (like os.path.samefile does) to check if the...
Zac Medico [Wed, 23 May 2007 20:40:20 +0000 (20:40 -0000)]
Use device number and i-node number (like os.path.samefile does) to check if the current directory is inside a given overlay.  This solves issues with path comparison and symlinks. (trunk r6558:6559)

svn path=/main/branches/2.1.2/; revision=6605

17 years agoIn --tree output, keep track of which graph edges have already been displayed and...
Zac Medico [Wed, 23 May 2007 20:39:13 +0000 (20:39 -0000)]
In --tree output, keep track of which graph edges have already been displayed and try not to display a given edge more than once. (trunk r6555:6557)

svn path=/main/branches/2.1.2/; revision=6604

17 years agoFor bug #176539, add a manifest target to repoman so that there's a simple way to...
Zac Medico [Wed, 23 May 2007 20:36:41 +0000 (20:36 -0000)]
For bug #176539, add a manifest target to repoman so that there's a simple way to just generate a Manifest.

svn path=/main/branches/2.1.2/; revision=6603

17 years agos:${PORTDIR}:/usr/portage: so that it's not implied that those variables are automati...
Zac Medico [Wed, 23 May 2007 20:33:27 +0000 (20:33 -0000)]
s:${PORTDIR}:/usr/portage: so that it's not implied that those variables are automatically relative to ${PORTDIR} when the value of ${PORTDIR} has changed to something other than /usr/portage.  Thanks to kerframil for reporting. (trunk r6522:6523)

svn path=/main/branches/2.1.2/; revision=6602

17 years agoFor bug #177601, add a reference the --verbose option documentation in the OUTPUT...
Zac Medico [Wed, 23 May 2007 20:27:23 +0000 (20:27 -0000)]
For bug #177601, add a reference the --verbose option documentation in the OUTPUT section.

svn path=/main/branches/2.1.2/; revision=6601

17 years agoFor forward compatibility, make binarytree.populate() work even when $PKGDIR/All...
Zac Medico [Tue, 22 May 2007 13:23:07 +0000 (13:23 -0000)]
For forward compatibility, make binarytree.populate() work even when $PKGDIR/All/ doesn't exist.

svn path=/main/branches/2.1.2/; revision=6578

17 years agoUse bash to spawn FETCHCOMMAND under selinux since most other binaries are forbidden...
Zac Medico [Tue, 22 May 2007 13:20:54 +0000 (13:20 -0000)]
Use bash to spawn FETCHCOMMAND under selinux since most other binaries are forbidden as entrypoints into the fetch domain. Thanks to Justin Heesemann <jh@ionium.org> for reporting. (trunk r6565:6566)

svn path=/main/branches/2.1.2/; revision=6577

17 years agoFor bug #179008, just use metadata.dtd directly from $DISTDIR. (trunk r6561:6562)
Zac Medico [Tue, 22 May 2007 13:19:38 +0000 (13:19 -0000)]
For bug #179008, just use metadata.dtd directly from $DISTDIR. (trunk r6561:6562)

svn path=/main/branches/2.1.2/; revision=6576

17 years agoIn fetch(), don't try to parse digests unless the "O" variable is defined. (trunk...
Zac Medico [Tue, 22 May 2007 13:17:52 +0000 (13:17 -0000)]
In fetch(), don't try to parse digests unless the "O" variable is defined. (trunk r6560:6561)

svn path=/main/branches/2.1.2/; revision=6575

17 years agoFor bug #179206, improve efficiency by using a containment test instead of str.count...
Zac Medico [Tue, 22 May 2007 13:15:38 +0000 (13:15 -0000)]
For bug #179206, improve efficiency by using a containment test instead of str.count inside update_dbentry.  Thanks to Jason Lai <jason.lai@gmail.com>. (trunk r6559:6560)

svn path=/main/branches/2.1.2/; revision=6574

17 years agofix from James C. Georgas to not modify EXTRA_EINSTALL #178544 (trunk r6552:6553)
Zac Medico [Tue, 22 May 2007 13:13:49 +0000 (13:13 -0000)]
fix from James C. Georgas to not modify EXTRA_EINSTALL #178544 (trunk r6552:6553)

svn path=/main/branches/2.1.2/; revision=6573

17 years agoDon't protect USE_EXPAND variables from -* anymore because the really critical ones...
Zac Medico [Tue, 22 May 2007 13:11:15 +0000 (13:11 -0000)]
Don't protect USE_EXPAND variables from -* anymore because the really critical ones should all be in use.force now (typically kernel_linux, elibc_glibc, and userland_GNU). (trunk r6539:6540)

svn path=/main/branches/2.1.2/; revision=6572

17 years agoFor bug #178293, don't write digest-* files unnecessarily when SRC_URI is empty....
Zac Medico [Sun, 13 May 2007 21:35:38 +0000 (21:35 -0000)]
For bug #178293, don't write digest-* files unnecessarily when SRC_URI is empty. (trunk r6534:6535)

svn path=/main/branches/2.1.2/; revision=6536

17 years agoFix the varexpand quotes tests since quotes are no longer removed by this function...
Zac Medico [Sun, 13 May 2007 07:21:57 +0000 (07:21 -0000)]
Fix the varexpand quotes tests since quotes are no longer removed by this function. (trunk r6524:6525)

svn path=/main/branches/2.1.2/; revision=6526

17 years agoFor bug #177763, clarify about how FEATURES=keepwork allows ${WORKDDIR} to be reused...
Zac Medico [Thu, 10 May 2007 19:01:48 +0000 (19:01 -0000)]
For bug #177763, clarify about how FEATURES=keepwork allows ${WORKDDIR} to be reused. (trunk r6518:6519)

svn path=/main/branches/2.1.2/; revision=6520

17 years agoMake sure FEATURES=test and USE=test are consistently enabled for all requested phase...
Zac Medico [Thu, 10 May 2007 18:15:20 +0000 (18:15 -0000)]
Make sure FEATURES=test and USE=test are consistently enabled for all requested phases when the test phase is forced via the ebuild command. (trunk r6516:6517)

svn path=/main/branches/2.1.2/; revision=6518

17 years agoMake sure USE=test is properly enabled when the test phase is forced via the ebuild...
Zac Medico [Thu, 10 May 2007 05:35:04 +0000 (05:35 -0000)]
Make sure USE=test is properly enabled when the test phase is forced via the ebuild command, even when USE from ${T}/environment doen't have it. (trunk r6512:6513)

svn path=/main/branches/2.1.2/; revision=6514

17 years agoFor bug #177591, increase shell compatibility by preserving quotes in varexpand(...
Zac Medico [Wed, 9 May 2007 22:59:35 +0000 (22:59 -0000)]
For bug #177591, increase shell compatibility by preserving quotes in varexpand() since quote removal is handled by shlex. (trunk r6504:6505)

svn path=/main/branches/2.1.2/; revision=6510

17 years agoMake sure USE=test is properly enabled when the test phase is forced via the ebuild...
Zac Medico [Wed, 9 May 2007 22:50:49 +0000 (22:50 -0000)]
Make sure USE=test is properly enabled when the test phase is forced via the ebuild command.  Thanks to Caster for reporting. (trunk r6507:6508)

svn path=/main/branches/2.1.2/; revision=6509

17 years agoPrevent blockers that are only partially resolvable by merge order from accidentally... v2.1.2.7
Zac Medico [Mon, 7 May 2007 02:30:10 +0000 (02:30 -0000)]
Prevent blockers that are only partially resolvable by merge order from accidentally being ignored. (trunk r6493:6494)

svn path=/main/branches/2.1.2/; revision=6495

17 years agoUse shlex for better splitting of PORTAGE_RSYNC_OPTS and PORTAGE_RSYNC_EXTRA_OPTS...
Zac Medico [Sun, 6 May 2007 20:13:24 +0000 (20:13 -0000)]
Use shlex for better splitting of PORTAGE_RSYNC_OPTS and PORTAGE_RSYNC_EXTRA_OPTS. (trunk r6491:6492)

svn path=/main/branches/2.1.2/; revision=6493

17 years agoUse shlex for better splitting of FETCHCOMMAND. (trunk r6489:6490)
Zac Medico [Sun, 6 May 2007 19:38:01 +0000 (19:38 -0000)]
Use shlex for better splitting of FETCHCOMMAND. (trunk r6489:6490)

svn path=/main/branches/2.1.2/; revision=6491

17 years agoUse varexpand to expand FETCHCOMMAND and RESUMECOMMAND. (trunk r6486:6487)
Zac Medico [Sun, 6 May 2007 07:57:00 +0000 (07:57 -0000)]
Use varexpand to expand FETCHCOMMAND and RESUMECOMMAND. (trunk r6486:6487)

svn path=/main/branches/2.1.2/; revision=6488

17 years agoFor bug #171259, fix vercmp so that implicit _p0 is less than explicit _p0. Thanks...
Zac Medico [Sat, 5 May 2007 23:52:19 +0000 (23:52 -0000)]
For bug #171259, fix vercmp so that implicit _p0 is less than explicit _p0.  Thanks to TGL <degrenier@easyconnect.fr> for the patch. (trunk r6484:6485)

svn path=/main/branches/2.1.2/; revision=6486

17 years agoUse match_from_list in order to potentially avoid more blocks. (trunk r6481:6482)
Zac Medico [Sat, 5 May 2007 19:58:09 +0000 (19:58 -0000)]
Use match_from_list in order to potentially avoid more blocks. (trunk r6481:6482)

svn path=/main/branches/2.1.2/; revision=6483

17 years agoFor bug #177211, use chmod -R on the children of the current directory in order to...
Zac Medico [Sat, 5 May 2007 18:11:14 +0000 (18:11 -0000)]
For bug #177211, use chmod -R on the children of the current directory in order to reduce the size of the argument list. (trunk r6479:6480

svn path=/main/branches/2.1.2/; revision=6481

17 years agoFor bug #175058, comment #15, expand all possible variables in each argument. (trunk...
Zac Medico [Sat, 5 May 2007 17:41:18 +0000 (17:41 -0000)]
For bug #175058, comment #15, expand all possible variables in each argument. (trunk r6477:6478)

svn path=/main/branches/2.1.2/; revision=6479

17 years agodocument the behavior of `ebuild` wrt FEATURES=noauto #175444 (trunk r6470:6471) v2.1.2.6
Zac Medico [Sat, 5 May 2007 03:21:44 +0000 (03:21 -0000)]
document the behavior of `ebuild` wrt FEATURES=noauto #175444 (trunk r6470:6471)

svn path=/main/branches/2.1.2/; revision=6476

17 years agoFor bug #176765, when a new package is blocked by another one that is being replaced...
Zac Medico [Thu, 3 May 2007 09:24:13 +0000 (09:24 -0000)]
For bug #176765, when a new package is blocked by another one that is being replaced, handle another case where the conflict can be avoided. (trunk r6472:6473)

svn path=/main/branches/2.1.2/; revision=6474

17 years agoFix eend so that it works properly on a standard BSD console. Thanks to UberLord...
Zac Medico [Wed, 2 May 2007 17:23:44 +0000 (17:23 -0000)]
Fix eend so that it works properly on a standard BSD console.  Thanks to UberLord. (trunk r6466:6467)

svn path=/main/branches/2.1.2/; revision=6468

17 years agoFor bug #175058, avoid potential quoting issues by spawning FETCHCOMMAND without...
Zac Medico [Sun, 29 Apr 2007 06:37:29 +0000 (06:37 -0000)]
For bug #175058, avoid potential quoting issues by spawning FETCHCOMMAND without a shell. (trunk r6455:6456)

svn path=/main/branches/2.1.2/; revision=6457

17 years agoFor bug #176384, adjust config according to options of the command being resumed...
Zac Medico [Sat, 28 Apr 2007 19:15:34 +0000 (19:15 -0000)]
For bug #176384, adjust config according to options of the command being resumed. (trunk r6453:6454)

svn path=/main/branches/2.1.2/; revision=6455

17 years agoFor bug #175058, properly quote the variables in FETCHCOMMAND and RESUMECOMMAND since...
Zac Medico [Sat, 28 Apr 2007 17:38:43 +0000 (17:38 -0000)]
For bug #175058, properly quote the variables in FETCHCOMMAND and RESUMECOMMAND since the command is spawned in a bash shell. (trunk r6451:6452)

svn path=/main/branches/2.1.2/; revision=6453

17 years agoIn the installsources docs, note that CFLAGS needs to be set to include debug informa...
Zac Medico [Sat, 28 Apr 2007 04:57:40 +0000 (04:57 -0000)]
In the installsources docs, note that CFLAGS needs to be set to include debug information.  Thanks to tigger^ for reporting. (trunk r6441:6442)

svn path=/main/branches/2.1.2/; revision=6448

17 years agoFix up missing mymergelist variable from the previous commit. (trunk r6445:6446)
Zac Medico [Sat, 28 Apr 2007 01:58:22 +0000 (01:58 -0000)]
Fix up missing mymergelist variable from the previous commit. (trunk r6445:6446)

svn path=/main/branches/2.1.2/; revision=6447

17 years agoFor bug #176305, validate the resume merge list before attempting to verify the ebuil...
Zac Medico [Sat, 28 Apr 2007 01:46:45 +0000 (01:46 -0000)]
For bug #176305, validate the resume merge list before attempting to verify the ebuild manifests. (trunk r6443:6444)

svn path=/main/branches/2.1.2/; revision=6445

17 years agoAlways ensure permissions in DISTCC_DIR in order to try to prevent potential permissi... v2.1.2.5
Zac Medico [Thu, 26 Apr 2007 20:44:29 +0000 (20:44 -0000)]
Always ensure permissions in DISTCC_DIR in order to try to prevent potential permission problems for non-root users who are in the portage group (userpriv, etc.). (trunk r6439:6440)

svn path=/main/branches/2.1.2/; revision=6441

17 years agoFor bug #176139, only symlink the distfiles that are required according the current...
Zac Medico [Thu, 26 Apr 2007 19:43:56 +0000 (19:43 -0000)]
For bug #176139, only symlink the distfiles that are required according the current USE settings. (trunk r6437:6438)

svn path=/main/branches/2.1.2/; revision=6439

17 years agoFor bug #175781, add a higher preference priority for choices where all matching...
Zac Medico [Tue, 24 Apr 2007 06:58:16 +0000 (06:58 -0000)]
For bug #175781, add a higher preference priority for choices where all matching slots are installed (not just any slot). (trunk r6431:6432)

svn path=/main/branches/2.1.2/; revision=6433

17 years agoUse portable sh syntax rather than bash syntax. Thanks to drizzt. (trunk r6428:6429)
Zac Medico [Sat, 21 Apr 2007 10:50:30 +0000 (10:50 -0000)]
Use portable sh syntax rather than bash syntax.  Thanks to drizzt. (trunk r6428:6429)

svn path=/main/branches/2.1.2/; revision=6430

17 years agoAlso validate RESTRICT inside doebuild(). (trunk r6426:6427)
Zac Medico [Fri, 20 Apr 2007 22:53:42 +0000 (22:53 -0000)]
Also validate RESTRICT inside doebuild(). (trunk r6426:6427)

svn path=/main/branches/2.1.2/; revision=6428

17 years agoAlso validate SRC_URI inside doebuild(). (trunk r6424:6425)
Zac Medico [Fri, 20 Apr 2007 22:25:53 +0000 (22:25 -0000)]
Also validate SRC_URI inside doebuild(). (trunk r6424:6425)

svn path=/main/branches/2.1.2/; revision=6426

17 years agoFor bug #175344, validate LICENSE and PROVIDE inside doebuild(). (trunk r6422:6423)
Zac Medico [Fri, 20 Apr 2007 22:18:42 +0000 (22:18 -0000)]
For bug #175344, validate LICENSE and PROVIDE inside doebuild(). (trunk r6422:6423)

svn path=/main/branches/2.1.2/; revision=6424

17 years agoFor bug #175344, handle a potential InvalidDependString exception when parsing PROVID...
Zac Medico [Fri, 20 Apr 2007 21:53:37 +0000 (21:53 -0000)]
For bug #175344, handle a potential InvalidDependString exception when parsing PROVIDE. (trunk r6420:6421)

svn path=/main/branches/2.1.2/; revision=6422

17 years agoFor bug #175344, handle a potential InvalidDependString exception when parsing PROVID...
Zac Medico [Fri, 20 Apr 2007 21:32:23 +0000 (21:32 -0000)]
For bug #175344, handle a potential InvalidDependString exception when parsing PROVIDE. (trunk r6418:6419)

svn path=/main/branches/2.1.2/; revision=6420

17 years agoFor bug #175344, use cp_list instead of xmatch in order to avoid dep_expand calls...
Zac Medico [Fri, 20 Apr 2007 18:43:40 +0000 (18:43 -0000)]
For bug #175344, use cp_list instead of xmatch in order to avoid dep_expand calls. (trunk r6416:6417)

svn path=/main/branches/2.1.2/; revision=6418

17 years agoconvert `type -p` to `type -P` as noted by grobian (trunk r6410:6411) v2.1.2.4
Zac Medico [Mon, 16 Apr 2007 01:16:50 +0000 (01:16 -0000)]
convert `type -p` to `type -P` as noted by grobian (trunk r6410:6411)

svn path=/main/branches/2.1.2/; revision=6414

17 years agomisc style fixes (trunk r6400:6401)
Zac Medico [Sat, 14 Apr 2007 19:22:49 +0000 (19:22 -0000)]
misc style fixes (trunk r6400:6401)

svn path=/main/branches/2.1.2/; revision=6405

17 years agorevise tests so that does not trigger an error (trunk r6400:6401)
Zac Medico [Sat, 14 Apr 2007 19:21:01 +0000 (19:21 -0000)]
revise tests so that  does not trigger an error (trunk r6400:6401)

svn path=/main/branches/2.1.2/; revision=6404

17 years agodocument new version suffix style #166522 (trunk r6394:6395)
Zac Medico [Sat, 14 Apr 2007 07:47:48 +0000 (07:47 -0000)]
document new version suffix style #166522 (trunk r6394:6395)

svn path=/main/branches/2.1.2/; revision=6398

17 years agocreate leading directories to match behavior of other do* programs (trunk r6393:6394...
Zac Medico [Sat, 14 Apr 2007 07:45:14 +0000 (07:45 -0000)]
create leading directories to match behavior of other do* programs (trunk r6393:6394 and r6395:6396)

svn path=/main/branches/2.1.2/; revision=6397

17 years agosimplify unsafe file checking so files/paths with spaces dont cause troubles (trunk...
Zac Medico [Fri, 13 Apr 2007 19:50:52 +0000 (19:50 -0000)]
simplify unsafe file checking so files/paths with spaces dont cause troubles (trunk r6391:6392)

svn path=/main/branches/2.1.2/; revision=6393

17 years agoUse relative paths inside ecompressdir in order to avoid 'Argument list too long...
Zac Medico [Fri, 13 Apr 2007 05:44:23 +0000 (05:44 -0000)]
Use relative paths inside ecompressdir in order to avoid 'Argument list too long' errors with large file sets (observed when installing sys-apps/man-pages). (trunk r6387:6388)

svn path=/main/branches/2.1.2/; revision=6389

17 years agoAdd CATEGORY to blacklisted variables since it can interfere with CATEGORY guessing...
Zac Medico [Fri, 13 Apr 2007 05:11:04 +0000 (05:11 -0000)]
Add CATEGORY to blacklisted variables since it can interfere with CATEGORY guessing inside doebuild. (trunk r6385:6386)

svn path=/main/branches/2.1.2/; revision=6387

17 years agoUse catpkgsplit instead of pkgsplit for consistency with usage elsewhere. (trunk...
Zac Medico [Fri, 13 Apr 2007 04:14:50 +0000 (04:14 -0000)]
Use catpkgsplit instead of pkgsplit for consistency with usage elsewhere. (trunk r6383:6384)

svn path=/main/branches/2.1.2/; revision=6385

17 years agocleanup example ebuild to be more representative of a good ebuild #174260 by Timothy...
Zac Medico [Thu, 12 Apr 2007 19:49:25 +0000 (19:49 -0000)]
cleanup example ebuild to be more representative of a good ebuild #174260 by Timothy Redaelli (trunk r6378:6379)

svn path=/main/branches/2.1.2/; revision=6382

17 years agoremove references to EXEDESTTREE (trunk r6349:6350)
Zac Medico [Thu, 12 Apr 2007 05:29:16 +0000 (05:29 -0000)]
remove references to EXEDESTTREE (trunk r6349:6350)

svn path=/main/branches/2.1.2/; revision=6376

17 years agodocument /var/cache/edb/, /var/db/pkg/, and /var/lib/portage/config (trunk r6348...
Zac Medico [Thu, 12 Apr 2007 05:28:37 +0000 (05:28 -0000)]
document /var/cache/edb/, /var/db/pkg/, and /var/lib/portage/config (trunk r6348:6349)

svn path=/main/branches/2.1.2/; revision=6375

17 years agotell people that the FILES section is not supposed to be complete (and sneak in a...
Zac Medico [Thu, 12 Apr 2007 05:27:08 +0000 (05:27 -0000)]
tell people that the FILES section is not supposed to be complete (and sneak in a few style fixups) (trunk r6347:6348)

svn path=/main/branches/2.1.2/; revision=6374

17 years agoremove references to DOCDESTTREE and INSDESTTREE (trunk r6345:6346)
Zac Medico [Thu, 12 Apr 2007 05:25:58 +0000 (05:25 -0000)]
remove references to DOCDESTTREE and INSDESTTREE (trunk r6345:6346)

svn path=/main/branches/2.1.2/; revision=6373

17 years agoFor bug #173808, add back the old heuristics to make sure that we don't just blindly...
Zac Medico [Thu, 12 Apr 2007 04:14:46 +0000 (04:14 -0000)]
For bug #173808, add back the old heuristics to make sure that we don't just blindly compress the contents of any directory named "man".

svn path=/main/branches/2.1.2/; revision=6372

17 years agoFor bug #173808, compress ${mandir} all in one go instead of doing subdirectories...
Zac Medico [Tue, 10 Apr 2007 08:41:20 +0000 (08:41 -0000)]
For bug #173808, compress ${mandir} all in one go instead of doing subdirectories separately.  This allows symlinks that point into sibling directories to get updated properly by ecompressdir. (trunk r6361:6362)

svn path=/main/branches/2.1.2/; revision=6363

17 years agoEfficiently recycle partial valid vdb cache when possible. This reduces disk load...
Zac Medico [Tue, 10 Apr 2007 06:04:10 +0000 (06:04 -0000)]
Efficiently recycle partial valid vdb cache when possible.  This reduces disk load when switching between versions of portage that cache different keys. (trunk r6359:6360)

svn path=/main/branches/2.1.2/; revision=6361

17 years agoDon't load FEATURES in load_infodir() because FEATURES from the build host shouldn...
Zac Medico [Mon, 9 Apr 2007 17:20:00 +0000 (17:20 -0000)]
Don't load FEATURES in load_infodir() because FEATURES from the build host shouldn't be interpreted asFEATURES on the client system.  Thanks to Thanks to Chri

svn path=/main/branches/2.1.2/; revision=6359

17 years agoOnly apply permissions to ccache, confcache, and distcc dirs when they are created...
Zac Medico [Sun, 8 Apr 2007 19:37:13 +0000 (19:37 -0000)]
Only apply permissions to ccache, confcache, and distcc dirs when they are created in order to avoid interference with whatever the user's preferred permissions are.  Thanks to Diego Pettenò <flameeyes@gmail.com> for reporting. (trunk r6353:6354)

svn path=/main/branches/2.1.2/; revision=6355

17 years agoPunt the sorted_versions() function in favor of list.sort(vercmp). (trunk r6338:6339)
Zac Medico [Thu, 5 Apr 2007 20:47:09 +0000 (20:47 -0000)]
Punt the sorted_versions() function in favor of list.sort(vercmp). (trunk r6338:6339)

svn path=/main/branches/2.1.2/; revision=6340

17 years agoFor bug #173184, handle the CommandNotFound that is produced during uninstallation...
Zac Medico [Mon, 2 Apr 2007 19:44:25 +0000 (19:44 -0000)]
For bug #173184, handle the CommandNotFound that is produced during uninstallation of prelink. (trunk r6331:6332)

svn path=/main/branches/2.1.2/; revision=6333

17 years agoFix missing import. (trunk r6324:6325)
Zac Medico [Sat, 31 Mar 2007 11:04:00 +0000 (11:04 -0000)]
Fix missing import. (trunk r6324:6325)

svn path=/main/branches/2.1.2/; revision=6326

17 years agoFor bug #172571, use socket.AF_INET as the default family for socket.getaddrinfo... v2.1.2.3
Zac Medico [Wed, 28 Mar 2007 22:40:41 +0000 (22:40 -0000)]
For bug #172571, use socket.AF_INET as the default family for socket.getaddrinfo(). (trunk r6320:6321)

svn path=/main/branches/2.1.2/; revision=6322

17 years agoFor bug #172539, fix ecompressdir suffix handling so that automatic decompression...
Zac Medico [Wed, 28 Mar 2007 19:05:01 +0000 (19:05 -0000)]
For bug #172539, fix ecompressdir suffix handling so that automatic decompression of Z, gz, and bz2 suffixes works properly. (trunk r6308:6309)

svn path=/main/branches/2.1.2/; revision=6310

17 years agoCorrectly pull the metadata again when the node is converted. (trunk r6306:6307)
Zac Medico [Wed, 28 Mar 2007 17:18:10 +0000 (17:18 -0000)]
Correctly pull the metadata again when the node is converted. (trunk r6306:6307)

svn path=/main/branches/2.1.2/; revision=6308

17 years agoConvert "ebuild" and "binary" "nomerge" nodes into "installed" nodes for greater...
Zac Medico [Wed, 28 Mar 2007 17:00:37 +0000 (17:00 -0000)]
Convert "ebuild" and "binary" "nomerge" nodes into "installed" nodes for greater consistency in the depgraph. (trunk r6304:6305)

svn path=/main/branches/2.1.2/; revision=6306

17 years agoSynchronize PORTAGE_COMPRESS_FLAGS to reflect that -9 is the default now. (trunk...
Zac Medico [Wed, 28 Mar 2007 08:59:03 +0000 (08:59 -0000)]
Synchronize PORTAGE_COMPRESS_FLAGS to reflect that -9 is the default now. (trunk r6302:6303)

svn path=/main/branches/2.1.2/; revision=6304

17 years agoProperly anchor sed regexp for readlonly attribut filtering. (trunk r6300:6301)
Zac Medico [Tue, 27 Mar 2007 22:51:34 +0000 (22:51 -0000)]
Properly anchor sed regexp for readlonly attribut filtering. (trunk r6300:6301)

svn path=/main/branches/2.1.2/; revision=6302

17 years agoFilter the readonly attribute from variables saved in ${T}/environment to prevent...
Zac Medico [Tue, 27 Mar 2007 22:33:26 +0000 (22:33 -0000)]
Filter the readonly attribute from variables saved in ${T}/environment to prevent 'readonly variable' error messages in later phases. (trunk r6298:6299)

svn path=/main/branches/2.1.2/; revision=6300

17 years agosource ${T}/environment before the definition of qa_source() and qa_call() so that...
Zac Medico [Tue, 27 Mar 2007 22:24:18 +0000 (22:24 -0000)]
source ${T}/environment before the definition of qa_source() and qa_call() so that the call stack shows the original files and line numbers instead of those from ${T}/environment.  Thanks to Markus Ullmann <jokey@gentoo.org> for reporting. (trunk r6296:6297)

svn path=/main/branches/2.1.2/; revision=6298

17 years agoforcibly break all hard links so we dont need to rely on --force in compressor (trunk...
Zac Medico [Tue, 27 Mar 2007 20:55:42 +0000 (20:55 -0000)]
forcibly break all hard links so we dont need to rely on --force in compressor (trunk r6220:6221)

svn path=/main/branches/2.1.2/; revision=6296