portage.git
17 years agoBug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}...
Zac Medico [Thu, 23 Aug 2007 06:54:48 +0000 (06:54 -0000)]
Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}/eclass-debug.log. (trunk r7678)

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

17 years agoFix a typo from r7663. (trunk r7676)
Zac Medico [Thu, 23 Aug 2007 04:00:38 +0000 (04:00 -0000)]
Fix a typo from r7663. (trunk r7676)

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

17 years agoUse INFORM to colorize the package name. (trunk r7674)
Zac Medico [Wed, 22 Aug 2007 22:56:41 +0000 (22:56 -0000)]
Use INFORM to colorize the package name. (trunk r7674)

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

17 years agoPrevent output from being flushed to the console too frequently in dir_get_metadata...
Zac Medico [Wed, 22 Aug 2007 22:39:11 +0000 (22:39 -0000)]
Prevent output from being flushed to the console too frequently in dir_get_metadata(). (trunk r7672)

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

17 years agoMake depgraph.select_dep() reuse cached metadata from nodes that have already been...
Zac Medico [Wed, 22 Aug 2007 21:42:52 +0000 (21:42 -0000)]
Make depgraph.select_dep() reuse cached metadata from nodes that have already been added to the graph. (trunk r7666)

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

17 years agoFix update_dbentry() to process version components properly before passing them into...
Zac Medico [Wed, 22 Aug 2007 21:39:45 +0000 (21:39 -0000)]
Fix update_dbentry() to process version components properly before passing them into ververify(). (trunk r7665)

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

17 years agoMake best() return early when it's only given one package. (trunk r7664)
Zac Medico [Wed, 22 Aug 2007 21:37:34 +0000 (21:37 -0000)]
Make best() return early when it's only given one package. (trunk r7664)

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

17 years agoPass complete package metadata from depgraph.select_dep() into create() in order...
Zac Medico [Wed, 22 Aug 2007 21:35:47 +0000 (21:35 -0000)]
Pass complete package metadata from depgraph.select_dep() into create() in order to minimize aux_get calls. (trunk r7663)

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

17 years agoBug #188703 - Don't adjust permissions in ${T} unless userpriv is enabled. (trunk...
Zac Medico [Wed, 22 Aug 2007 15:30:52 +0000 (15:30 -0000)]
Bug #188703 - Don't adjust permissions in ${T} unless userpriv is enabled. (trunk r7661)

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

17 years agoSend cache hit/miss status updates to stdout instead of stderr and add some more...
Zac Medico [Wed, 22 Aug 2007 04:27:50 +0000 (04:27 -0000)]
Send cache hit/miss status updates to stdout instead of stderr and add some more flush() calls. (trunk r7656)

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

17 years agoShow cache miss/hit counts all on one line, using \r to return to the beginning of...
Zac Medico [Wed, 22 Aug 2007 04:24:39 +0000 (04:24 -0000)]
Show cache miss/hit counts all on one line, using \r to return to the beginning of he line and rewrite it each time that a counter is updated. Thanks to Mike "Fuzzy" Partin <fuzzy@smoke.dope.org> for this patch (submitted on the gentoo-portage-dev mailing list). (trunk r7655)

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

17 years agoBug #189743 - Add .jpeg to the list of extensions supported by dohtml. (trunk r7653)
Zac Medico [Wed, 22 Aug 2007 03:40:51 +0000 (03:40 -0000)]
Bug #189743 - Add .jpeg to the list of extensions supported by dohtml. (trunk r7653)

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

17 years agofilter out kernel modules from ELF QA checks #184443 (trunk r7645)
Zac Medico [Sun, 19 Aug 2007 16:58:29 +0000 (16:58 -0000)]
filter out kernel modules from ELF QA checks #184443 (trunk r7645)

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

17 years agoremove "risky" message about -O2 (trunk r7644)
Zac Medico [Sun, 19 Aug 2007 16:56:52 +0000 (16:56 -0000)]
remove "risky" message about -O2 (trunk r7644)

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

17 years agoFix ACCEPT_KEYWORDS validation so that ** is valid. (trunk r7647)
Zac Medico [Sun, 19 Aug 2007 16:52:16 +0000 (16:52 -0000)]
Fix ACCEPT_KEYWORDS validation so that ** is valid. (trunk r7647)

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

17 years agoFor bug #189219, use pkgcmp() to sort versions in selected/protected/omitted unmerge...
Zac Medico [Fri, 17 Aug 2007 18:17:50 +0000 (18:17 -0000)]
For bug #189219, use pkgcmp() to sort versions in selected/protected/omitted unmerge display. (trunk r7639)

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

17 years agoMake etc-update copy owner and group bits when it merges config files. (trunk r7636)
Zac Medico [Thu, 16 Aug 2007 21:56:51 +0000 (21:56 -0000)]
Make etc-update copy owner and group bits when it merges config files. (trunk r7636)

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

17 years agomake -f/-F distinction clearer (trunk r7632)
Zac Medico [Thu, 16 Aug 2007 20:04:33 +0000 (20:04 -0000)]
make -f/-F distinction clearer (trunk r7632)

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

17 years agoCombine 2 locations in depgraph.create() where nodes are added to the digraph. This...
Zac Medico [Thu, 16 Aug 2007 06:39:55 +0000 (06:39 -0000)]
Combine 2 locations in depgraph.create() where nodes are added to the digraph. This ensures that dependencies on "rebuild" nodes always have their priority increased. (trunk r7626:7628)

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

17 years agoAlways assign higher priority to dependencies on packages that are being rebuilt...
Zac Medico [Thu, 16 Aug 2007 05:02:38 +0000 (05:02 -0000)]
Always assign higher priority to dependencies on packages that are being rebuilt (except when --emptytree is enabled since all packages are merged in that case). This optimizes merge order so that dependencies are rebuilt/updated as soon as possible. (trunk r7625)

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

17 years agoAdd some floating point vercmp cases. (trunk r7622)
Zac Medico [Wed, 15 Aug 2007 22:20:11 +0000 (22:20 -0000)]
Add some floating point vercmp cases. (trunk r7622)

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

17 years agoFor bug #188807, add nocreate and delaycompress options for logrotate. (trunk r7609)
Zac Medico [Wed, 15 Aug 2007 04:38:04 +0000 (04:38 -0000)]
For bug #188807, add nocreate and delaycompress options for logrotate. (trunk r7609)

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

17 years ago'decent' CFLAGS should not feature -O3. Bug 188619 (trunk r7595:7597)
Zac Medico [Wed, 15 Aug 2007 03:35:04 +0000 (03:35 -0000)]
'decent' CFLAGS should not feature -O3. Bug 188619 (trunk r7595:7597)

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

17 years agoFor bug #188449, since python floats have limited range, we multiply both floating...
Zac Medico [Wed, 15 Aug 2007 02:50:35 +0000 (02:50 -0000)]
For bug #188449, since python floats have limited range, we multiply both floating point representations by a constant so that they are transformed into whole numbers. This allows the practically infinite range of a python int to be exploited. The multiplication is done by padding both literal strings with zeros as necessary to ensure equal length. (trunk r7606)

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

17 years agoFor bug #188782, dependencies on packages specified as arguments are given higher...
Zac Medico [Wed, 15 Aug 2007 01:38:43 +0000 (01:38 -0000)]
For bug #188782, dependencies on packages specified as arguments are given higher priority since the currently installed version has been rendered useless by ABI breakage. It's okay to increase the priority here even if the caller is not revdep-rebuild. (trunk r7604)

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

17 years agoMake sure to skip info dir files with the .old extension. (trunk r7602)
Zac Medico [Tue, 14 Aug 2007 20:16:31 +0000 (20:16 -0000)]
Make sure to skip info dir files with the .old extension. (trunk r7602)

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

17 years agoFor bug #188782, keep "nomerge" nodes in the graph during the merge order calculation...
Zac Medico [Tue, 14 Aug 2007 06:30:43 +0000 (06:30 -0000)]
For bug #188782, keep "nomerge" nodes in the graph during the merge order calculation so that merge order is better in cases where installed packages have unsatisfied dependencies. (trunk r7599)

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

17 years agoFor bug #33585, leave the old info dir file in place if there is nothing to generate...
Zac Medico [Sun, 12 Aug 2007 15:13:28 +0000 (15:13 -0000)]
For bug #33585, leave the old info dir file in place if there is nothing to generate. (trunk r7593)

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

17 years agoFor bug #188559, invalidate dblink._contents_inodes as necessary to prevent FEATURES...
Zac Medico [Sun, 12 Aug 2007 11:43:59 +0000 (11:43 -0000)]
For bug #188559, invalidate dblink._contents_inodes as necessary to prevent FEATURES=unmerge-orphans from unmerging anything that belongs to the package that has just been merged. (trunk r7591)

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

17 years agoOptimize config.setcpv() so that it doesn't call regenerate() unnecessarily when...
Zac Medico [Sat, 11 Aug 2007 05:49:35 +0000 (05:49 -0000)]
Optimize config.setcpv() so that it doesn't call regenerate() unnecessarily when there are no USE wildcards to expand. (trunk r7589)

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

17 years agoDon't generate a QA Notice if the ${S} directory doesn't exist since it might be...
Zac Medico [Fri, 10 Aug 2007 21:03:46 +0000 (21:03 -0000)]
Don't generate a QA Notice if the ${S} directory doesn't exist since it might be irrelevant for some ebuilds. (trunk r7587)

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

17 years agoUpdate emerge --help and --info docs. Thanks to Arfrever Frehtes Taifersar Arahesis...
Zac Medico [Mon, 6 Aug 2007 19:50:58 +0000 (19:50 -0000)]
Update emerge --help and --info docs. Thanks to Arfrever Frehtes Taifersar Arahesis in bug #137483. (trunk r7583)

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

17 years agoFor bug #187795, remove pointless digest.disjointed and digest.notadded warnings...
Zac Medico [Mon, 6 Aug 2007 19:30:18 +0000 (19:30 -0000)]
For bug #187795, remove pointless digest.disjointed and digest.notadded warnings since they are always added to cvs automatically anyway. (trunk r7580)

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

17 years agoFor bug #187806, use mkstemp to create tmpservertimestampfile (instead of using PORTA...
Zac Medico [Sun, 5 Aug 2007 18:06:00 +0000 (18:06 -0000)]
For bug #187806, use mkstemp to create tmpservertimestampfile (instead of using PORTAGE_TMPDIR). (trunk r7576)

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

17 years agoUse == for comparison of portage_node since digraph.clone() makes a deepcopy of the...
Zac Medico [Sat, 4 Aug 2007 22:24:15 +0000 (22:24 -0000)]
Use == for comparison of portage_node since digraph.clone() makes a deepcopy of the nodes. (trunk r7574)

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

17 years agoMake sure that portage always has all of it's RDEPENDs installed first. (trunk r7572)
Zac Medico [Sat, 4 Aug 2007 22:03:48 +0000 (22:03 -0000)]
Make sure that portage always has all of it's RDEPENDs installed first. (trunk r7572)

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

17 years agoMake config updates get counted correctly for bug #187741. (trunk r7564)
Zac Medico [Sat, 4 Aug 2007 19:45:18 +0000 (19:45 -0000)]
Make config updates get counted correctly for bug #187741. (trunk r7564)

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

17 years agoGenerate a QA Notice and cd to ${WORKDIR} if the ${S} directory does not exist. ...
Zac Medico [Sat, 4 Aug 2007 07:28:03 +0000 (07:28 -0000)]
Generate a QA Notice and cd to ${WORKDIR} if the ${S} directory does not exist. (trunk r7550)

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

17 years agoRemove the depend phase from the doebuild actionmap since it's never used. (trunk...
Zac Medico [Sat, 4 Aug 2007 00:13:00 +0000 (00:13 -0000)]
Remove the depend phase from the doebuild actionmap since it's never used. (trunk r7555)

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

17 years agoMake droppriv for the depend phase conditional on userpriv in FEATURES. (trunk r7553)
Zac Medico [Fri, 3 Aug 2007 22:34:43 +0000 (22:34 -0000)]
Make droppriv for the depend phase conditional on userpriv in FEATURES. (trunk r7553)

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

17 years agoIn portage.spawn() logging, put the read end of the pipe in O_NONBLOCK mode just...
Zac Medico [Fri, 3 Aug 2007 06:50:27 +0000 (06:50 -0000)]
In portage.spawn() logging, put the read end of the pipe in O_NONBLOCK mode just once at the beginning. This avoids unnecessary fcntl calls and removes one more opportunity to trigger EAGAIN errors on FreeBSD. (trunk r7548)

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

17 years agoFor bug #187518, handle EISDIR thrown from mkdir when the directory already exists...
Zac Medico [Thu, 2 Aug 2007 17:19:32 +0000 (17:19 -0000)]
For bug #187518, handle EISDIR thrown from mkdir when the directory already exists on FreeBSD. (trunk r7544)

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

17 years agoFor bug #187480, fix writemsg args in portdbapi.gvisible(). (trunk r7541)
Zac Medico [Thu, 2 Aug 2007 16:45:14 +0000 (16:45 -0000)]
For bug #187480, fix writemsg args in portdbapi.gvisible(). (trunk r7541)

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

17 years agoFix TestCase import.
Zac Medico [Wed, 1 Aug 2007 21:13:01 +0000 (21:13 -0000)]
Fix TestCase import.

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

17 years agoCopy the portage.spawn() test from trunk.
Zac Medico [Wed, 1 Aug 2007 21:11:46 +0000 (21:11 -0000)]
Copy the portage.spawn() test from trunk.

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

17 years agoLike older versions of portage, don't show the repo display if [0] is all that will...
Zac Medico [Wed, 1 Aug 2007 19:27:38 +0000 (19:27 -0000)]
Like older versions of portage, don't show the repo display if [0] is all that will be shown. (trunk r7537)

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

17 years agoFor bug #187375, handle an ImportError when portage is downgraded to a version withou...
Zac Medico [Wed, 1 Aug 2007 18:05:15 +0000 (18:05 -0000)]
For bug #187375, handle an ImportError when portage is downgraded to a version without mod_echo. (trunk r7535)

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

17 years agoChange the numeric value of DepPriority.MIN to be equal to that of a satisfied PDEPEN...
Zac Medico [Tue, 31 Jul 2007 01:21:31 +0000 (01:21 -0000)]
Change the numeric value of DepPriority.MIN to be equal to that of a satisfied PDEPEND since there is currently nothing with lower priority. (trunk r7528)

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

17 years agoAs a workaround for bug #185305, make quickpkg break hardlinks during creation of...
Zac Medico [Mon, 30 Jul 2007 23:40:03 +0000 (23:40 -0000)]
As a workaround for bug #185305, make quickpkg break hardlinks during creation of the archive. (trunk r7526)

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

17 years agoFor bug #187142, properly pass a dbapi instance into setcpv() so that USE_EXPAND...
Zac Medico [Mon, 30 Jul 2007 22:51:50 +0000 (22:51 -0000)]
For bug #187142, properly pass a dbapi instance into setcpv() so that USE_EXPAND wildcards work correctly. (trunk r7524)

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

17 years agoMake finalize() accept a parameter once again since older versions of portage import...
Zac Medico [Mon, 30 Jul 2007 21:24:15 +0000 (21:24 -0000)]
Make finalize() accept a parameter once again since older versions of portage import elog modules from newer versions of portage when they upgrade themselves. (trunk r7522)

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

17 years agoFor bug #186960, try to create a directory for $ROOT if it doesn't exist. (trunk...
Zac Medico [Mon, 30 Jul 2007 07:53:18 +0000 (07:53 -0000)]
For bug #186960, try to create a directory for $ROOT if it doesn't exist. (trunk r7516)

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

17 years agoAlways pass a dbapi instance into a setcpv call. (trunk r7496)
Zac Medico [Mon, 30 Jul 2007 06:41:53 +0000 (06:41 -0000)]
Always pass a dbapi instance into a setcpv call. (trunk r7496)

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

17 years agoFor bug #139670, update the dohtml docs to show all supported file extensions. Thank...
Zac Medico [Mon, 30 Jul 2007 02:24:01 +0000 (02:24 -0000)]
For bug #139670, update the dohtml docs to show all supported file extensions.  Thanks to Arfrever Frehtes Taifersar Arahesis for this patch. (trunk r7432)

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

17 years agoFor bug #137483, move the `emerge --help config` docs to the emerge man page. Thanks...
Zac Medico [Mon, 30 Jul 2007 01:30:17 +0000 (01:30 -0000)]
For bug #137483, move the `emerge --help config` docs to the emerge man page. Thanks to Arfrever Frehtes Taifersar Arahesis for this patch. (trunk r7430)

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

17 years agoFor bug #187016, and env.d to the default USE_ORDER. (trunk r7426:7428)
Zac Medico [Sun, 29 Jul 2007 22:13:03 +0000 (22:13 -0000)]
For bug #187016, and env.d to the default USE_ORDER. (trunk r7426:7428)

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

17 years agoFor pty logging, handle the EAGAIN error that is thrown from fcntl when the slave...
Zac Medico [Sun, 29 Jul 2007 02:10:36 +0000 (02:10 -0000)]
For pty logging, handle the EAGAIN error that is thrown from fcntl when the slave end of the pty is closed on FreeBSD. (trunk r7424)

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

17 years agoFor bug #186876, fall back it os.pipe() if pty.openpty() fails. (trunk r7422)
Zac Medico [Sat, 28 Jul 2007 22:52:37 +0000 (22:52 -0000)]
For bug #186876, fall back it os.pipe() if pty.openpty() fails. (trunk r7422)

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

17 years agoWhen the fetch phase fails inside doebuild(), create an eerror log since the mod_echo... v2.1.3
Zac Medico [Sat, 28 Jul 2007 04:13:47 +0000 (04:13 -0000)]
When the fetch phase fails inside doebuild(), create an eerror log since the mod_echo module might push the original message off of the top of the terminal and prevent the user from being able to see it. (trunk r7419)

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

17 years agoHandle 2 more cases where elog_process() needs to be called:
Zac Medico [Sat, 28 Jul 2007 03:07:07 +0000 (03:07 -0000)]
Handle 2 more cases where elog_process() needs to be called:
- binary install via pkgmerge() fails before reaching the merge phase (pkg_setup dies)
- doebuild() is called for the merge phase but it dies before reaching the merge phase
(trunk r7417)

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

17 years agoFor bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf...
Zac Medico [Sat, 28 Jul 2007 00:09:40 +0000 (00:09 -0000)]
For bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf. (trunk r7415)

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

17 years agoFor bug #186639, note that /etc/portage/profile/ supports all of the same file types...
Zac Medico [Fri, 27 Jul 2007 23:31:31 +0000 (23:31 -0000)]
For bug #186639, note that /etc/portage/profile/ supports all of the same file types that /etc/make.profile/ does, except parent. (trunk r7413)

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

17 years agoFor bug #186639, add more clarification about the relationship between /etc/make...
Zac Medico [Fri, 27 Jul 2007 23:17:54 +0000 (23:17 -0000)]
For bug #186639, add more clarification about the relationship between /etc/make.profile/ and /etc/portage/profile/. (trunk r7411)

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

17 years agoFor bug #186480, while we transition to repository lables, avoid ? spam in the reposi...
Zac Medico [Fri, 27 Jul 2007 22:35:15 +0000 (22:35 -0000)]
For bug #186480, while we transition to repository lables, avoid ? spam in the repository display by ignoring a missing repository label for an installed package.

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

17 years agoFor bug #186826, always show --newuse flags that trigger reinstallation even when...
Zac Medico [Fri, 27 Jul 2007 22:03:31 +0000 (22:03 -0000)]
For bug #186826, always show --newuse flags that trigger reinstallation even when not in --verbose mode. (trunk r7407)

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

17 years agoFor --buildpkgonly, say "built" instead of "merged" in the "These are the packages...
Zac Medico [Fri, 27 Jul 2007 18:57:58 +0000 (18:57 -0000)]
For --buildpkgonly, say "built" instead of "merged" in the "These are the packages that would be <action>" message. (trunk r7405)

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

17 years agouse ${MAKE:-make} rather than make in einstall() (trunk r7396)
Zac Medico [Fri, 27 Jul 2007 18:34:54 +0000 (18:34 -0000)]
use ${MAKE:-make} rather than make in einstall() (trunk r7396)

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

17 years agoFor bug #186610, use `find <path>` to scan for config updates since `cd <path>` could...
Zac Medico [Thu, 26 Jul 2007 21:54:49 +0000 (21:54 -0000)]
For bug #186610, use `find <path>` to scan for config updates since `cd <path>` could fail and cause the cwd to be scanned. (trunk r7402)

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

17 years agoWhen setting the size of the pty for logging, check if stdout isatty rather than...
Zac Medico [Thu, 26 Jul 2007 21:26:23 +0000 (21:26 -0000)]
When setting the size of the pty for logging, check if stdout isatty rather than stdin. (trunk r7400)

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

17 years agoMerge the portage.spawn() implementation with pty logging from trunk:
Zac Medico [Wed, 25 Jul 2007 11:16:27 +0000 (11:16 -0000)]
Merge the portage.spawn() implementation with pty logging from trunk:
- Sending output through the pty device makes logging compatible with
  sesandbox and the default selinux security policy (see bug #162404).
- Having a pty device for stdout makes $PAGER behave nicely for things like
  check_license() from eutils.eclass.

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

17 years agoAdd droppriv keyword for the depend phase (last one). (trunk r7387)
Zac Medico [Tue, 24 Jul 2007 06:58:18 +0000 (06:58 -0000)]
Add droppriv keyword for the depend phase (last one). (trunk r7387)

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

17 years agoAdd droppriv keyword for the depend phase. (trunk r7385)
Zac Medico [Tue, 24 Jul 2007 06:49:14 +0000 (06:49 -0000)]
Add droppriv keyword for the depend phase. (trunk r7385)

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

17 years agoFix make.conf.example rejects. (trunk r7383)
Zac Medico [Tue, 24 Jul 2007 06:45:31 +0000 (06:45 -0000)]
Fix make.conf.example rejects. (trunk r7383)

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

17 years agoFor bug #186337, show an ewarn message if FEATURES=installsources is enabled but...
Zac Medico [Tue, 24 Jul 2007 01:18:08 +0000 (01:18 -0000)]
For bug #186337, show an ewarn message if FEATURES=installsources is enabled but debugedit is not installed. Also document installsources and splitdebug in make.conf.example. (trunk r7381)

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

17 years agoAdd FEATURES=fakeroot support which causes install and package phases to run inside...
Zac Medico [Tue, 24 Jul 2007 00:52:59 +0000 (00:52 -0000)]
Add FEATURES=fakeroot support which causes install and package phases to run inside fakeroot when a non-root user runs the ebuild command.  Thanks to swegener for the initial patch. (trunk r7379)

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

17 years agoAdd sfperms and strict to the default FEATURES since they're already in the base...
Zac Medico [Mon, 23 Jul 2007 18:57:53 +0000 (18:57 -0000)]
Add sfperms and strict to the default FEATURES since they're already in the base profile's make.defaults. (trunk r7377)

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

17 years agoEnable FEATURES=userfetch by default. (trunk r7375)
Zac Medico [Mon, 23 Jul 2007 18:51:44 +0000 (18:51 -0000)]
Enable FEATURES=userfetch by default. (trunk r7375)

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

17 years agoDrop privileges in the "depend" phase regardless of FEATURES and RESTRICT since that...
Zac Medico [Mon, 23 Jul 2007 18:09:59 +0000 (18:09 -0000)]
Drop privileges in the "depend" phase regardless of FEATURES and RESTRICT since that phase should never need special privileges.  Thanks to swegener for the initial patch. (trunk r7373)

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

17 years agoFor bug #184774, put lha's -q option last since otherwise the option parser now requi...
Zac Medico [Sun, 22 Jul 2007 20:56:45 +0000 (20:56 -0000)]
For bug #184774, put lha's -q option last since otherwise the option parser now requires level 0, 1, or 2 to be specified. (trunk r7358)

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

17 years agoFix the reverse dependency display for --prune when there is now real parent. (trunk...
Zac Medico [Sun, 22 Jul 2007 07:49:43 +0000 (07:49 -0000)]
Fix the reverse dependency display for --prune when there is now real parent. (trunk r7351)

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

17 years agoMake --update imply --oneshot since people often us it to update things when they...
Zac Medico [Sun, 22 Jul 2007 06:48:32 +0000 (06:48 -0000)]
Make --update imply --oneshot since people often us it to update things when they don't want to add them to world.  Thanks to jakub for the suggestion. (trunk r7349)

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

17 years agoDocument --depclean and --prune enhancements. (trunk r7345)
Zac Medico [Sun, 22 Jul 2007 06:42:47 +0000 (06:42 -0000)]
Document --depclean and --prune enhancements. (trunk r7345)

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

17 years agoPrevent a potential KeyError when removing world from the digraph for --prune display...
Zac Medico [Sun, 22 Jul 2007 06:39:35 +0000 (06:39 -0000)]
Prevent a potential KeyError when removing world from the digraph for --prune display. (trunk r7344)

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

17 years agoMake --prune pull in the system set since that could pull in some slots that wouldn...
Zac Medico [Sun, 22 Jul 2007 06:38:42 +0000 (06:38 -0000)]
Make --prune pull in the system set since that could pull in some slots that wouldn't be pulled in otherwise. (trunk r7343)

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

17 years agoFor bug #169500, detect when the cvs server puts /Attic/ inside the $Header path...
Zac Medico [Sat, 21 Jul 2007 11:36:20 +0000 (11:36 -0000)]
For bug #169500, detect when the cvs server puts /Attic/ inside the $Header path and automatically correct it. (trunk r7340)

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

17 years agoFor bug #185153, in commit mode do the "Fetching trivial updates" routine before...
Zac Medico [Sat, 21 Jul 2007 10:41:28 +0000 (10:41 -0000)]
For bug #185153, in commit mode do the "Fetching trivial updates" routine before the qa scan. (trunk r7338)

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

17 years agoMake --prune and --depclean return before calculating dependencies if atoms are given...
Zac Medico [Sat, 21 Jul 2007 09:43:02 +0000 (09:43 -0000)]
Make --prune and --depclean return before calculating dependencies if atoms are given but they don't match any packages. (trunk r7336)

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

17 years agoPrune really uses all installed instead of world. It's not a real reverse dependency...
Zac Medico [Sat, 21 Jul 2007 09:31:49 +0000 (09:31 -0000)]
Prune really uses all installed instead of world.  It's not a real reverse dependency so don't display it as such. (trunk r7334)

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

17 years agoJust show [0] instead of [0=>0] in the repo display. (trunk r7332)
Zac Medico [Sat, 21 Jul 2007 04:57:36 +0000 (04:57 -0000)]
Just show [0] instead of [0=>0] in the repo display. (trunk r7332)

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

17 years agoFor bug #185930, direct all FETCHCOMMAND output to stdout. (trunk r7330)
Zac Medico [Sat, 21 Jul 2007 04:21:17 +0000 (04:21 -0000)]
For bug #185930, direct all FETCHCOMMAND output to stdout. (trunk r7330)

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

17 years agoHint about --nodeps if --prune doesn't find anything to prune. Also enable reverse...
Zac Medico [Sat, 21 Jul 2007 03:38:13 +0000 (03:38 -0000)]
Hint about --nodeps if --prune doesn't find anything to prune.  Also enable reverse dependency display for global depclean. (trunk r7327)

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

17 years agoWhen digest verification of a distfile fails, rename instead of unlinking it in case...
Zac Medico [Sat, 21 Jul 2007 00:24:06 +0000 (00:24 -0000)]
When digest verification of a distfile fails, rename instead of unlinking it in case it's a large download and the user wants to salvage it due to a bad digest. (trunk r7325)

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

17 years agoIf the fetcher reported success and the file is too small, don't attempt to resume...
Zac Medico [Fri, 20 Jul 2007 05:43:07 +0000 (05:43 -0000)]
If the fetcher reported success and the file is too small, don't attempt to resume.  Upstream probably changed the distfile and we need to show a digest verification failure so the user gets a clue. (trunk r7321)

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

17 years agoFor bug #185504, document profiles/repo_name. (trunk r7319)
Zac Medico [Fri, 20 Jul 2007 03:19:43 +0000 (03:19 -0000)]
For bug #185504, document profiles/repo_name. (trunk r7319)

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

17 years agoDocument --prune and --depclean enhancements. (trunk r7317)
Zac Medico [Fri, 20 Jul 2007 02:47:37 +0000 (02:47 -0000)]
Document --prune and --depclean enhancements. (trunk r7317)

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

17 years agoUpdate --prune docs for bug #151653. (trunk r7315)
Zac Medico [Fri, 20 Jul 2007 02:25:11 +0000 (02:25 -0000)]
Update --prune docs for bug #151653. (trunk r7315)

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

17 years agoFor bug #151653, make --prune keep the highest version whenever possible (even when...
Zac Medico [Fri, 20 Jul 2007 02:03:51 +0000 (02:03 -0000)]
For bug #151653, make --prune keep the highest version whenever possible (even when there is one with a higher counter installed). (trunk r7311:7313)

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

17 years agoMerge --depclean and --prune enhancements from trunk r7304:7310.
Zac Medico [Fri, 20 Jul 2007 01:11:31 +0000 (01:11 -0000)]
Merge --depclean and --prune enhancements from trunk r7304:7310.

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

17 years agosplit up the debug/sources steps as proposed by swegener and give the whole file...
Zac Medico [Wed, 18 Jul 2007 01:24:48 +0000 (01:24 -0000)]
split up the debug/sources steps as proposed by swegener and give the whole file a cleanup (trunk r7267)

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

17 years agoUnify USE handling in the depgraph with the other metadata. (trunk r7298)
Zac Medico [Tue, 17 Jul 2007 19:18:40 +0000 (19:18 -0000)]
Unify USE handling in the depgraph with the other metadata. (trunk r7298)

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