Zac Medico [Mon, 15 Oct 2007 18:46:12 +0000 (18:46 -0000)]
Remove the checks for files in symlinked directories
from the collision protect code since it hasn't been
needed ever since the followSymlinks parameter was
disabled for portage.listdir() calls in order to
prevent infinite recursion loops. (trunk r8120:8124)
svn path=/main/branches/2.1.2/; revision=8131
Zac Medico [Sat, 13 Oct 2007 19:06:35 +0000 (19:06 -0000)]
In some cases, openpty can be slow when it fails. Therefore,
stop trying to use it after the first failure. (trunk r8119)
svn path=/main/branches/2.1.2/; revision=8120
Zac Medico [Sat, 13 Oct 2007 18:19:34 +0000 (18:19 -0000)]
Avoid an error message from find when "${D}"/usr/share
does not exist. (trunk r8117)
svn path=/main/branches/2.1.2/; revision=8118
Zac Medico [Sat, 13 Oct 2007 17:48:01 +0000 (17:48 -0000)]
In the file collision eerror output, don't colorize the
file paths since the escape codes look ugly in the log.
(trunk r8113:8115)
svn path=/main/branches/2.1.2/; revision=8116
Zac Medico [Sat, 13 Oct 2007 06:46:15 +0000 (06:46 -0000)]
Handle the PortageException that can be raised from
portage.mail.send_mail(). (trunk r8102)
svn path=/main/branches/2.1.2/; revision=8103
Zac Medico [Sat, 13 Oct 2007 06:21:38 +0000 (06:21 -0000)]
Make the file collision eerror message less verbose
when in --quiet mode. (trunk r8100)
svn path=/main/branches/2.1.2/; revision=8101
Zac Medico [Sat, 13 Oct 2007 06:08:55 +0000 (06:08 -0000)]
In dblink.treewalk(), use os.walk() instead of portage.listdir()
in order to avoid cacheddir() bloat when listing the files to be
merged from ${D}.
Remove a chdir() call that's no longer needed for the
collision-protect symlink code.
(trunk r8095:8098)
svn path=/main/branches/2.1.2/; revision=8099
Zac Medico [Fri, 12 Oct 2007 22:36:05 +0000 (22:36 -0000)]
Bug #195370 - Filter some more bogus matches due to
old-style virtuals. (trunk r8093)
svn path=/main/branches/2.1.2/; revision=8094
Zac Medico [Fri, 12 Oct 2007 22:04:38 +0000 (22:04 -0000)]
Remove a redundant call to elog_process(). (trunk r8091)
svn path=/main/branches/2.1.2/; revision=8092
Zac Medico [Fri, 12 Oct 2007 21:44:11 +0000 (21:44 -0000)]
s:this package wants:this package will: (trunk r8089)
svn path=/main/branches/2.1.2/; revision=8090
Zac Medico [Fri, 12 Oct 2007 21:10:50 +0000 (21:10 -0000)]
Bug #195527 - Unconditionally detect file collisions and log
them as eerror messages via elog. This will allow us to
collect more file collision data but it won't be quite as
annoying as enabling collision-protect by default would be.
(trunk r8085:8087)
svn path=/main/branches/2.1.2/; revision=8088
Zac Medico [Fri, 12 Oct 2007 07:01:59 +0000 (07:01 -0000)]
Raise a PackageNotFound exception instead of a ValueError
in order to avoid ambiguity if an unexpected ValueError
occurs. (trunk r8043)
svn path=/main/branches/2.1.2/; revision=8072
Zac Medico [Fri, 12 Oct 2007 06:59:16 +0000 (06:59 -0000)]
Remove ambiguous "you should edit this file" warning.
(trunk r8040)
svn path=/main/branches/2.1.2/; revision=8071
Zac Medico [Fri, 12 Oct 2007 06:58:10 +0000 (06:58 -0000)]
Bug #195370 - Prevent bogus upgrade display when a
new-style virtual is first installed and it replaces
an old-style virtual. (trunk r8039)
svn path=/main/branches/2.1.2/; revision=8070
Zac Medico [Fri, 12 Oct 2007 06:26:39 +0000 (06:26 -0000)]
Make portdbapi.aux_get() cache more often. (trunk r8011)
svn path=/main/branches/2.1.2/; revision=8069
Zac Medico [Fri, 12 Oct 2007 06:25:26 +0000 (06:25 -0000)]
Properly exclude old-style virtuals from the
portdbapi.cp_list() cache. (trunk r8010)
svn path=/main/branches/2.1.2/; revision=8068
Zac Medico [Fri, 12 Oct 2007 06:23:04 +0000 (06:23 -0000)]
Remove a redundant os.access() call in portdbapi.aux_get()
and handle the potential OSError instead. (trunk r8009)
svn path=/main/branches/2.1.2/; revision=8067
Zac Medico [Fri, 12 Oct 2007 06:19:17 +0000 (06:19 -0000)]
Optimize away a match_from_list() call inside
portdbapi.xmatch("match-all") when given atom has no
operator or version. Also, make cp_list() use the
xmatch("match-all") cache when possible. (trunk r8008)
svn path=/main/branches/2.1.2/; revision=8066
Zac Medico [Fri, 12 Oct 2007 06:14:04 +0000 (06:14 -0000)]
Move the "commit" mode manifest generation earlier in order
to avoid digest verification issues when FEATURES="strict"
is enabled. (trunk r7994:7996)
svn path=/main/branches/2.1.2/; revision=8065
Zac Medico [Fri, 12 Oct 2007 06:09:14 +0000 (06:09 -0000)]
add --debug option and display a message about skipping
non-files so we dont get confusing loops where portage
claims there are things to update but etc-update claims
there are not (trunk r7994)
svn path=/main/branches/2.1.2/; revision=8064
Zac Medico [Fri, 12 Oct 2007 06:04:05 +0000 (06:04 -0000)]
add standard --help/--version options (trunk r7993)
svn path=/main/branches/2.1.2/; revision=8063
Zac Medico [Fri, 12 Oct 2007 06:02:31 +0000 (06:02 -0000)]
unify diff_command handling (trunk r7992)
svn path=/main/branches/2.1.2/; revision=8062
Zac Medico [Fri, 12 Oct 2007 05:56:36 +0000 (05:56 -0000)]
add support for .lzma / .tar.lzma to unpack
(trunk r7991)
svn path=/main/branches/2.1.2/; revision=8061
Zac Medico [Fri, 12 Oct 2007 05:53:05 +0000 (05:53 -0000)]
add QA check for .pyc/.pyo files in /usr/share
(trunk r7990)
svn path=/main/branches/2.1.2/; revision=8060
Zac Medico [Fri, 12 Oct 2007 05:51:13 +0000 (05:51 -0000)]
Handle Exceptions in mod_mail_summary.finalize() and
check if the server actually supports TLS, bug #183808
(trunk r7984 and r8058)
svn path=/main/branches/2.1.2/; revision=8059
Zac Medico [Fri, 12 Oct 2007 05:35:25 +0000 (05:35 -0000)]
let dohtml handle weird filenames, patch by TGL
(bug #171272) (trunk r7983)
svn path=/main/branches/2.1.2/; revision=8057
Zac Medico [Fri, 12 Oct 2007 05:32:21 +0000 (05:32 -0000)]
Add @localhost to default PORTAGE_ELOG_MAILFROM to
account for mail servers that don't accept mails
without a domainname (trunk r7982)
svn path=/main/branches/2.1.2/; revision=8056
Zac Medico [Fri, 5 Oct 2007 23:11:22 +0000 (23:11 -0000)]
Strip the - prefix from EAPI in getmaskingstatus()
if necessary. (trunk r7975)
svn path=/main/branches/2.1.2/; revision=7976
Zac Medico [Fri, 5 Oct 2007 21:39:20 +0000 (21:39 -0000)]
Shorten the reference to IUSE defaults since it's
now documented in ebuild(5). (trunk r7967)
svn path=/main/branches/2.1.2/; revision=7973
Zac Medico [Fri, 5 Oct 2007 21:38:21 +0000 (21:38 -0000)]
Document IUSE defaults. (trunk r7966)
svn path=/main/branches/2.1.2/; revision=7972
Zac Medico [Fri, 5 Oct 2007 21:36:24 +0000 (21:36 -0000)]
Document SLOT dependencies. (trunk r7962)
svn path=/main/branches/2.1.2/; revision=7971
Zac Medico [Fri, 5 Oct 2007 21:34:27 +0000 (21:34 -0000)]
Generalize the first paragraph of the MASKED PACKAGES section
and document binary package CHOST masking. (trunk r7958)
svn path=/main/branches/2.1.2/; revision=7970
Zac Medico [Fri, 5 Oct 2007 21:33:04 +0000 (21:33 -0000)]
Documnet EAPI in the MASKED PACKAGES section. (trunk r7951)
svn path=/main/branches/2.1.2/; revision=7969
Zac Medico [Fri, 5 Oct 2007 21:32:00 +0000 (21:32 -0000)]
Document the EAPI variable. (trunk r7948:7950)
svn path=/main/branches/2.1.2/; revision=7968
Zac Medico [Fri, 5 Oct 2007 04:20:56 +0000 (04:20 -0000)]
Bug #194764 - All the match* functions can raise
a ValueError if cpv_expand() receives an ambiguous
atom. Therefore, move the ValueError handling code
out of match() and use it to handle all such errors
when appropriate. (trunk r7944)
svn path=/main/branches/2.1.2/; revision=7945
Zac Medico [Fri, 5 Oct 2007 04:00:20 +0000 (04:00 -0000)]
Make the EbuildQuote check ignore lines beginning
with local or export builtins since unquoted
assignments are okay there. (trunk r7942)
svn path=/main/branches/2.1.2/; revision=7943
Zac Medico [Fri, 5 Oct 2007 03:33:12 +0000 (03:33 -0000)]
Eliminate confusing false positive error messages
for SRC_URI.syntax and digestentry.unused that are
reported when the SRC_URI for one or more ebuilds
can't be parsed for some reason. There's no point
in producing a false error here since the root
cause will produce a valid error elsewhere, such
as "SRC_URI.syntax" or "ebuild.sytax".
(trunk r7905)
svn path=/main/branches/2.1.2/; revision=7941
Zac Medico [Fri, 5 Oct 2007 03:24:17 +0000 (03:24 -0000)]
Handle UnsupportedAPIException when running the ebuild(1)
command. (trunk r7918)
svn path=/main/branches/2.1.2/; revision=7940
Zac Medico [Fri, 5 Oct 2007 03:20:50 +0000 (03:20 -0000)]
Include the package name in all exceptions raised from
portdbapi.getfetchlist() so that a redundant and
sometimes inaccurate message doesn't have to be shown
when the error is caught in digestgen(). (trunk r7917)
svn path=/main/branches/2.1.2/; revision=7939
Zac Medico [Fri, 5 Oct 2007 03:17:02 +0000 (03:17 -0000)]
Make portdbapi.getfetchlist() bail out if the EAPI
is unsupported. This makes it impossible for an
unsupported EAPI to result in invalid Manifest
generation. (trunk r7916)
svn path=/main/branches/2.1.2/; revision=7938
Zac Medico [Fri, 5 Oct 2007 03:13:52 +0000 (03:13 -0000)]
Fix logic for the message that's show when
--force is disabled. (trunk r7915)
svn path=/main/branches/2.1.2/; revision=7937
Zac Medico [Fri, 5 Oct 2007 03:12:39 +0000 (03:12 -0000)]
Make repoman bail out if it is unable to properly
access ebuild metadata for some reason. In this
case it's impossible to generate a Manifest and
therefore the --force option has to be disabled.
(trunk r7914)
svn path=/main/branches/2.1.2/; revision=7936
Zac Medico [Fri, 5 Oct 2007 03:05:50 +0000 (03:05 -0000)]
Add EAPI masking support for binary packages. (trunk r7913)
svn path=/main/branches/2.1.2/; revision=7935
Zac Medico [Fri, 5 Oct 2007 02:54:19 +0000 (02:54 -0000)]
Fix UnsupportedAPIException.__str__() to strip the leading negative
sign (-) from the EAPI, to prevent confusion. (trunk r7912)
svn path=/main/branches/2.1.2/; revision=7934
Zac Medico [Fri, 5 Oct 2007 02:50:59 +0000 (02:50 -0000)]
When the metadata cache contains a negative EAPI, it means
that the cache entry was generated by a version of portage
that did not support the eapi. When the user upgrades to a
version that now supports the previously unsupported EAPI,
those cache entries need to be regenerated. Therefore,
when a cache entry has a negative EAPI, check if the EAPI
would be supported and trigger a regen if appropriate.
(trunk r7910 and r7919)
svn path=/main/branches/2.1.2/; revision=7933
Zac Medico [Fri, 5 Oct 2007 02:46:25 +0000 (02:46 -0000)]
Bump EAPI from 0 to 1 and fix eapi_is_supported() so that
it works properly with both 0 and 1. (trunk r7909)
svn path=/main/branches/2.1.2/; revision=7932
Zac Medico [Fri, 5 Oct 2007 02:42:24 +0000 (02:42 -0000)]
no need to use "function" when defining a function (trunk r7908)
svn path=/main/branches/2.1.2/; revision=7931
Zac Medico [Fri, 5 Oct 2007 02:40:50 +0000 (02:40 -0000)]
this isnt part of gentoolkit anymore (trunk r7907)
svn path=/main/branches/2.1.2/; revision=7930
Zac Medico [Fri, 5 Oct 2007 02:40:07 +0000 (02:40 -0000)]
Update the docs for the "ebuild.syntax" error to
indicate that a digest verification failure can
trigger it. (trunk r7905)
svn path=/main/branches/2.1.2/; revision=7929
Zac Medico [Fri, 5 Oct 2007 02:32:25 +0000 (02:32 -0000)]
Port the EbuildQuote check from trunk. (trunk r7904)
svn path=/main/branches/2.1.2/; revision=7928
Zac Medico [Fri, 5 Oct 2007 02:05:15 +0000 (02:05 -0000)]
Bug #194398 - Do not log "exiting successfully" in emerge.log
unless the status really is successful. Otherwise, log
"exiting unsuccessfully". Thanks to David Watzke. (trunk r7900)
svn path=/main/branches/2.1.2/; revision=7927
Zac Medico [Fri, 5 Oct 2007 01:59:15 +0000 (01:59 -0000)]
Bug #142508 - Clear the screen each time before calling
the "diff" command so that any remnants of the previous
config are now shown with the current one. (trunk r7893)
svn path=/main/branches/2.1.2/; revision=7926
Zac Medico [Fri, 5 Oct 2007 01:54:54 +0000 (01:54 -0000)]
Reimplement portdbapi.visible() so that is works without
using self.xmatch(). This should be 100% compatible with
the previous implementation and have comparable
performance. By eliminating the xmatch() dependency, the
code becomes more generically usable, like for
visibility filtering of binary packages. It seems that
it will be necessary to move this code outside of the
dbapi since visiblity filtering is really a resolver
level function and to solve things like bug #88613 will
require a more flexible approach. (trunk r7892)
svn path=/main/branches/2.1.2/; revision=7925
Zac Medico [Fri, 5 Oct 2007 01:46:52 +0000 (01:46 -0000)]
Document interaction between config.setinst() and
old-style virtuals preferences. (trunk r7891)
svn path=/main/branches/2.1.2/; revision=7924
Zac Medico [Fri, 5 Oct 2007 01:44:47 +0000 (01:44 -0000)]
Remove redundant trailing slashes from ${D}. (trunk r7890)
svn path=/main/branches/2.1.2/; revision=7923
Zac Medico [Fri, 5 Oct 2007 01:42:57 +0000 (01:42 -0000)]
Initialize PORTAGE_TMPDIR before using it. (trunk r7887)
svn path=/main/branches/2.1.2/; revision=7922
Zac Medico [Fri, 5 Oct 2007 01:41:08 +0000 (01:41 -0000)]
Fix quoting as reported by Drac in bug 194169 (trunk r7877:7879)
svn path=/main/branches/2.1.2/; revision=7921
Zac Medico [Fri, 5 Oct 2007 01:37:04 +0000 (01:37 -0000)]
Bug #194095 - Validate dispatch-conf input in order to
prevent spurious input characters from being interpreted
as user input (which can be quite confusing and gives
an "out of control" feeling). (trunk r7877)
svn path=/main/branches/2.1.2/; revision=7920
Zac Medico [Wed, 3 Oct 2007 16:19:14 +0000 (16:19 -0000)]
Bug #179380 - Make the default src_compile() support ECONF_SOURCE
if EAPI > 0. (trunk r6567)
svn path=/main/branches/2.1.2/; revision=7906
Zac Medico [Fri, 28 Sep 2007 21:52:51 +0000 (21:52 -0000)]
Bug #193548 - When scanning for config updates and an error
occurs, send find's stdout to /dev/null so that only an
error message is shown. (trunk r7875)
svn path=/main/branches/2.1.2/; revision=7876
Zac Medico [Fri, 28 Sep 2007 20:16:48 +0000 (20:16 -0000)]
When scanning for config updates, treat a symlink to an existing
directory as if it's just a normal directory. (trunk r7873)
svn path=/main/branches/2.1.2/; revision=7874
Zac Medico [Fri, 28 Sep 2007 18:13:58 +0000 (18:13 -0000)]
Bug #193548 - When emerge spawns find to search for config updates,
show the find output if there is an error. (trunk r7871)
svn path=/main/branches/2.1.2/; revision=7872
Zac Medico [Fri, 28 Sep 2007 17:09:24 +0000 (17:09 -0000)]
Bug #194081 - Add EBUSY to the list of ignored errnos for unlink
and rmdir calls during unmerge. (trunk r7869)
svn path=/main/branches/2.1.2/; revision=7870
Zac Medico [Fri, 28 Sep 2007 06:41:36 +0000 (06:41 -0000)]
Bug #192706 - Do not print a summary at the end of --depclean if
there is nothing to clean and --quiet is enabled. (trunk r7838)
svn path=/main/branches/2.1.2/; revision=7868
Zac Medico [Thu, 27 Sep 2007 22:47:52 +0000 (22:47 -0000)]
Handle KeyError thrown from aux_get(). (trunk r7866)
svn path=/main/branches/2.1.2/; revision=7867
Zac Medico [Thu, 27 Sep 2007 22:28:56 +0000 (22:28 -0000)]
Move prelink tempfile cleanup to the finally block and
remove unused locking code. (trunk r7864)
svn path=/main/branches/2.1.2/; revision=7865
Zac Medico [Thu, 27 Sep 2007 22:03:49 +0000 (22:03 -0000)]
Avoid useless and ugly atexit tracebacks that are triggered when
portage exits during the portdbapi constructor. (trunk r6620)
svn path=/main/branches/2.1.2/; revision=7863
Zac Medico [Thu, 27 Sep 2007 20:59:42 +0000 (20:59 -0000)]
Simplify update_eclasses() a little. (trunk r7861)
svn path=/main/branches/2.1.2/; revision=7862
Zac Medico [Thu, 27 Sep 2007 20:44:28 +0000 (20:44 -0000)]
Fix portage.exception namespace typo.
svn path=/main/branches/2.1.2/; revision=7860
Zac Medico [Thu, 27 Sep 2007 20:42:18 +0000 (20:42 -0000)]
Move a newline to fix formatting. (trunk r7858)
svn path=/main/branches/2.1.2/; revision=7859
Zac Medico [Thu, 27 Sep 2007 19:24:03 +0000 (19:24 -0000)]
Ignore ENOTDIR from unmerge unlink calls. (trunk r7856)
svn path=/main/branches/2.1.2/; revision=7857
Zac Medico [Thu, 27 Sep 2007 18:11:35 +0000 (18:11 -0000)]
with help from Donnie and Ulrich, use sed to extract the statement
that led to the call to die so we can print it out in our error
message (trunk r7852)
svn path=/main/branches/2.1.2/; revision=7855
Zac Medico [Thu, 27 Sep 2007 17:55:52 +0000 (17:55 -0000)]
Bug #194025 - Lock /var/db/pkg in post_merge() during the
"Regenerating GNU info directory index" routine. (trunk r7853)
svn path=/main/branches/2.1.2/; revision=7854
Zac Medico [Thu, 27 Sep 2007 15:47:20 +0000 (15:47 -0000)]
Bug #193486 - Use echo -n and properly quote the array argument. (trunk r7850)
svn path=/main/branches/2.1.2/; revision=7851
Zac Medico [Thu, 27 Sep 2007 15:41:53 +0000 (15:41 -0000)]
Bug #193486 - Use xargs to avoid 'bash: /bin/rm: Argument list too long'
errors. This patch uses a weird tr '\001' '\000' workaround since bash
doesn't echo null bytes like one might expect. (trunk r7848)
svn path=/main/branches/2.1.2/; revision=7849
Zac Medico [Thu, 27 Sep 2007 15:35:29 +0000 (15:35 -0000)]
Do the stale env check/warning after the digest/manifest
phase when necessary. (trunk r7846)
svn path=/main/branches/2.1.2/; revision=7847
Zac Medico [Thu, 27 Sep 2007 06:52:05 +0000 (06:52 -0000)]
Display a short notification when an existing ${T}/environment
sourced since it is easy to ignore and ignorance of it often
leads to mysterious problems and general confusion. This
message should not show in cases where it is obviously
irrelevant, FEATURES=noauto, or PORTAGE_QUIET=1. (trunk r7844)
svn path=/main/branches/2.1.2/; revision=7845
Zac Medico [Thu, 27 Sep 2007 01:38:27 +0000 (01:38 -0000)]
align the filename and line numbers in the output of the stack
dump so that it is much easier to read (trunk r7842)
svn path=/main/branches/2.1.2/; revision=7843
Zac Medico [Wed, 26 Sep 2007 23:47:10 +0000 (23:47 -0000)]
Fix a typo. (trunk r7840)
svn path=/main/branches/2.1.2/; revision=7841
Zac Medico [Wed, 26 Sep 2007 21:07:15 +0000 (21:07 -0000)]
Set non-blocking mode on the pty master file descriptor while
the slave file descriptor is still held open since otherwise
the fcntl call can fail on FreeBSD (the child process might
have already exited and closed the slave file descriptor so we
have to keep it open in order to avoid FreeBSD potentially
generating an EAGAIN exception). This approach is cleaner than
triggering the exception and being forced to handle it
somehow. (trunk r7835)
svn path=/main/branches/2.1.2/; revision=7837
Zac Medico [Wed, 26 Sep 2007 20:52:25 +0000 (20:52 -0000)]
Bug #192341 - When the chflags command does not exit successfully,
try to generate an informative error. First, use stat or lstat to
try and generate an ENOENT error. It the path exists, verify that
the chflags binary exists and raise CommandNotFound if necessary.
Finally, simply generate an EPERM OSError with the output of the
command since we're not sure exactly why it failed or what the
real errno was. (trunk r7834)
svn path=/main/branches/2.1.2/; revision=7836
Zac Medico [Wed, 26 Sep 2007 04:49:11 +0000 (04:49 -0000)]
Bug #192341 - Eliminate the dependency on py-freebsd by implementing
it's chflags() and lchflags() functions as wrappers around the
chflags command (which should always be available in any case). The
functions are only called when merging/unmerging files that actually
have flags set so the performance difference should be negligible.
(trunk r7808)
svn path=/main/branches/2.1.2/; revision=7833
Zac Medico [Wed, 26 Sep 2007 04:46:33 +0000 (04:46 -0000)]
Bugs #168772 and #193695 - During unmerge, only ignore specific
exceptions raised from unlink() and rmdir() calls.
Bug #193695 - Add support for FreeBSD chflags during unmerge. This
code is adapted from the code that already exists in movefile()
for the merge phase.
In movefile() FreeBSD chflags handling, use chflags instead of
lchflags when temporarily adjusting the flags on the parent
directory since we want to follow any symlinks to the real
parent directory.
(trunk r7803:7807)
svn path=/main/branches/2.1.2/; revision=7832
Zac Medico [Wed, 26 Sep 2007 04:41:34 +0000 (04:41 -0000)]
Bug #74615 - Quote all file paths inside dispatch-conf shell
commands. (trunk r7803)
svn path=/main/branches/2.1.2/; revision=7831
Zac Medico [Wed, 26 Sep 2007 04:39:03 +0000 (04:39 -0000)]
Initialize ${TMP} before registering the die trap so that
we're sure which directory die will clean up. (trunk r7802)
svn path=/main/branches/2.1.2/; revision=7830
Zac Medico [Wed, 26 Sep 2007 04:37:40 +0000 (04:37 -0000)]
Bug #190179 - Use `prelink --verify filename` to write the
temp file via stdout since --undo fails when run as a normal
non-superuser because it tries to chown the output file. Also,
use mkstemp() to eliminate the need for locking the temp file.
Thanks to Israel G. Lugo <israel.lugo@lugosys.com> for the
initial patch. (trunk r7801)
svn path=/main/branches/2.1.2/; revision=7829
Zac Medico [Wed, 26 Sep 2007 04:36:01 +0000 (04:36 -0000)]
s/note/not/ reported by p-y. (trunk r7800)
svn path=/main/branches/2.1.2/; revision=7828
Zac Medico [Wed, 26 Sep 2007 04:35:16 +0000 (04:35 -0000)]
fix possible information leak vulnerability when doing
a merge of configuration files and be better about
handling of whitespace in $TMP in a few places (trunk
r7799)
svn path=/main/branches/2.1.2/; revision=7827
Zac Medico [Wed, 26 Sep 2007 04:33:42 +0000 (04:33 -0000)]
tweak get_config() so that it only executes one external
binary (sed) instead of chaining multiple ones (trunk r7798)
svn path=/main/branches/2.1.2/; revision=7826
Zac Medico [Wed, 26 Sep 2007 04:30:04 +0000 (04:30 -0000)]
When --deep is not enabled, many dependencies are dicarded and
left out of the digraph. This patch prevents dependencies from
being discarded in some cases where the are needed in order to
optimize merge order. It also modifies the DepPriority.rebuild
attribute so that it only applies to build time dependencies.
This leads to better merge order in some cases when --deep is
not enabled. For example, `emerge xf86-input-keyboard
xorg-server` will now properly merge xorg-server before
xf86-input-keyboard (problem from bug #192254, comment #5).
(trunk r7797)
svn path=/main/branches/2.1.2/; revision=7825
Zac Medico [Wed, 26 Sep 2007 04:28:14 +0000 (04:28 -0000)]
Flush stderr and stdout if their file descriptors are in fd_pipes
at the beginning of spawn(). (trunk r7793:7796)
svn path=/main/branches/2.1.2/; revision=7824
Zac Medico [Wed, 26 Sep 2007 04:25:25 +0000 (04:25 -0000)]
When --with-bdeps=y is enabled for built packages, pull in build time deps as
requested, but marked them as "satisfied" since they are not strictly
required. This allows more freedom in the merge order calculation for solving
circular dependencies. Don't convert to PDEPEND since that could make
--with-bdeps=y less effective if it is used to adjust merge order to prevent
built_with_use() calls from failing. (trunk r7793)
svn path=/main/branches/2.1.2/; revision=7823
Zac Medico [Wed, 26 Sep 2007 04:23:11 +0000 (04:23 -0000)]
Mask binary packages if their CHOST does not match the one
defined in make.conf. (trunk r7792)
svn path=/main/branches/2.1.2/; revision=7822
Zac Medico [Wed, 26 Sep 2007 04:20:22 +0000 (04:20 -0000)]
Bug #190781 - Don't include --oneshot in the options that
--update implies. (trunk r7790)
svn path=/main/branches/2.1.2/; revision=7821
Zac Medico [Wed, 26 Sep 2007 04:19:04 +0000 (04:19 -0000)]
Use ensure_dirs() and apply_permissions() to avoid redundant
chown/chmod calls. This helps avoid 'Permission denied'
errors during elog_process() when the ebuild command is run
by normal user (issue reported by graaff). (trunk r7789)
svn path=/main/branches/2.1.2/; revision=7820
Zac Medico [Wed, 26 Sep 2007 04:11:59 +0000 (04:11 -0000)]
Bug #192346 - The emerge --help shows a -i option that
does not exist. (trunk r7779)
svn path=/main/branches/2.1.2/; revision=7819
Zac Medico [Wed, 26 Sep 2007 04:10:42 +0000 (04:10 -0000)]
Bug #191645 - Cross-reference the `ebuild --force digest` docs with the
FEATURES=assume-digests docs. (trunk r7778)
svn path=/main/branches/2.1.2/; revision=7818
Zac Medico [Wed, 26 Sep 2007 04:09:30 +0000 (04:09 -0000)]
Add some additional notes about the behavior of FEATURES=assume-digests
under various conditions. (trunk r7777)
svn path=/main/branches/2.1.2/; revision=7817
Zac Medico [Wed, 26 Sep 2007 04:08:08 +0000 (04:08 -0000)]
Bug #191645 - Document the --force option. (trunk r7776)
svn path=/main/branches/2.1.2/; revision=7816
Zac Medico [Wed, 26 Sep 2007 04:07:21 +0000 (04:07 -0000)]
Bug #110443 - Add a KEYWORDS.stable check for ebuilds that are
added directly with stable KEYWORDS. (trunk r7775)
svn path=/main/branches/2.1.2/; revision=7815