portage.git
17 years agoBug #192341 - Eliminate the dependency on py-freebsd by implementing
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

17 years agoBugs #168772 and #193695 - During unmerge, only ignore specific
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

17 years agoBug #74615 - Quote all file paths inside dispatch-conf shell
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

17 years agoInitialize ${TMP} before registering the die trap so that
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

17 years agoBug #190179 - Use `prelink --verify filename` to write the
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

17 years agos/note/not/ reported by p-y. (trunk r7800)
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

17 years agofix possible information leak vulnerability when doing
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

17 years agotweak get_config() so that it only executes one external
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

17 years agoWhen --deep is not enabled, many dependencies are dicarded and
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

17 years agoFlush stderr and stdout if their file descriptors are in fd_pipes
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

17 years agoWhen --with-bdeps=y is enabled for built packages, pull in build time deps as
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

17 years agoMask binary packages if their CHOST does not match the one
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

17 years agoBug #190781 - Don't include --oneshot in the options that
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

17 years agoUse ensure_dirs() and apply_permissions() to avoid redundant
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

17 years agoBug #192346 - The emerge --help shows a -i option that
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

17 years agoBug #191645 - Cross-reference the `ebuild --force digest` docs with the
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

17 years agoAdd some additional notes about the behavior of FEATURES=assume-digests
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

17 years agoBug #191645 - Document the --force option. (trunk r7776)
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

17 years agoBug #110443 - Add a KEYWORDS.stable check for ebuilds that are
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

17 years agoBug #192321 - Clean dir.old cruft so that they don't prevent unmerge
Zac Medico [Wed, 26 Sep 2007 04:06:08 +0000 (04:06 -0000)]
Bug #192321 - Clean dir.old cruft so that they don't prevent unmerge
of otherwise empty directories. (trunk r7774)

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

17 years agoBug #191645 - Document the --force option. (trunk r7773)
Zac Medico [Wed, 26 Sep 2007 04:03:38 +0000 (04:03 -0000)]
Bug #191645 - Document the --force option. (trunk r7773)

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

17 years agoBug #187795 - remove pointless digest.disjointed and digest.notadded
Zac Medico [Wed, 26 Sep 2007 04:02:37 +0000 (04:02 -0000)]
Bug #187795 - remove pointless digest.disjointed and digest.notadded
warnings since they are always added to cvs automatically anyway.
(trunk r7772)

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

17 years agoBug #192195 - In dir_get_list(), append a trailing / to the address
Zac Medico [Wed, 26 Sep 2007 04:00:51 +0000 (04:00 -0000)]
Bug #192195 - In dir_get_list(), append a trailing / to the address
when necessary in order to avoid getting a 400 error from the http
server. (trunk r7771)

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

17 years agoCatch errno.ENOTDIR instead of using os.path.isdir(). (trunk r7770)
Zac Medico [Wed, 26 Sep 2007 03:59:10 +0000 (03:59 -0000)]
Catch errno.ENOTDIR instead of using os.path.isdir(). (trunk r7770)

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

17 years agoBug #192298 - Handle PermissionDenied error in
Zac Medico [Wed, 26 Sep 2007 03:57:09 +0000 (03:57 -0000)]
Bug #192298 - Handle PermissionDenied error in
cache.update_eclasses(). (trunk r7769)

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

17 years agoIn depgraph.altlist(), try to merge asap_nodes sooner by giving them an exemption... v2.1.3.9
Zac Medico [Sat, 8 Sep 2007 08:13:34 +0000 (08:13 -0000)]
In depgraph.altlist(), try to merge asap_nodes sooner by giving them an exemption from the accept_root_node flag.

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

17 years agoBug #190268 - Avoid unwanted sandbox violations in src_test().
Zac Medico [Sat, 8 Sep 2007 07:01:39 +0000 (07:01 -0000)]
Bug #190268 - Avoid unwanted sandbox violations in src_test().
  - Allow SANDBOX_* variables to pass through.
  - Don't try to create an sandbox instance inside a test case in order to
    interaction with SANDBOX_* variables in src_test(). (trunk r7759)

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

17 years agoFor bug #190268, filter SANDBOX_* from the calling environment so that they
Zac Medico [Fri, 7 Sep 2007 03:11:02 +0000 (03:11 -0000)]
For bug #190268, filter SANDBOX_* from the calling environment so that they
can't interfere with ebuild.sh. (trunk r7746)

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

17 years agoIn the topological sort for merge order, try to avoid selecting root nodes
Zac Medico [Thu, 6 Sep 2007 18:08:27 +0000 (18:08 -0000)]
In the topological sort for merge order, try to avoid selecting root nodes
whenever possible. This helps ensure that the maximimum possible number of
soft dependencies  have been removed from the graph before their parent nodes
have been selected. This is especially important when those dependencies are
going to be rebuilt by revdep-rebuild or `emerge -e system` after the CHOST
has been changed (like when building a stage3 from a stage2). With this patch,
`emerge -e system` properly rebuilds dev-lang/python before sys-apps/file,
which helps to avoid a potential build failure. (trunk r7727:7729)

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

17 years agoReformat collision-protect output so that the list of file collisions is
Zac Medico [Thu, 6 Sep 2007 18:03:10 +0000 (18:03 -0000)]
Reformat collision-protect output so that the list of file collisions is
shown below the banner. This puts more distance between the collision list
and the list of files that prepstrip often displays just above, hopefully
preventing user confusion about which files had collisions. (trunk r7720)

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

17 years agoConvert myoptions from a list to a dict. (trunk r7714)
Zac Medico [Thu, 6 Sep 2007 17:57:10 +0000 (17:57 -0000)]
Convert myoptions from a list to a dict. (trunk r7714)

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

17 years agoMove some of the less expensive QA checks before dep_check() so that they're
Zac Medico [Thu, 6 Sep 2007 17:55:56 +0000 (17:55 -0000)]
Move some of the less expensive QA checks before dep_check() so that they're
still done even in --force mode. (trunk r7718)

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

17 years agoSkip the most expensive QA tests when --force in enabled since there's no
Zac Medico [Thu, 6 Sep 2007 17:52:39 +0000 (17:52 -0000)]
Skip the most expensive QA tests when --force in enabled since there's no
point in wasting time on them when the user is intent on forcing the commit
anyway. (trunk r7713)

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

17 years agoFix RepoMan's grammar. (trunk r7711)
Zac Medico [Thu, 6 Sep 2007 17:50:06 +0000 (17:50 -0000)]
Fix RepoMan's grammar. (trunk r7711)

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

17 years agoBug #110443 - Add a KEYWORDS.stable check for ebuilds that are added directly
Zac Medico [Thu, 6 Sep 2007 17:49:28 +0000 (17:49 -0000)]
Bug #110443 - Add a KEYWORDS.stable check for ebuilds that are added directly
              with stable KEYWORDS. (trunk r7710)

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

17 years agoMake the commit message indicate when the --force option is used. (trunk r7712)
Zac Medico [Thu, 6 Sep 2007 17:45:59 +0000 (17:45 -0000)]
Make the commit message indicate when the --force option is used. (trunk r7712)

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

17 years agoAdd a --force option that forces commit to proceed. This is useful for cases
Zac Medico [Thu, 6 Sep 2007 17:44:26 +0000 (17:44 -0000)]
Add a --force option that forces commit to proceed. This is useful for cases
like bug #110443 where the commit normally isn't allowed but there are
exceptional circumstances where it may be acceptable. (trunk r7709)

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

17 years agoBug #190406 - Filter the myheaders list so that it doesn't include binary
Zac Medico [Thu, 6 Sep 2007 17:41:01 +0000 (17:41 -0000)]
Bug #190406 - Filter the myheaders list so that it doesn't include binary
              blobs added to cvs with the -kb option. (trunk r7705)

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

17 years agochange directory to / in case $PWD doesnt exist (trunk r7702)
Zac Medico [Thu, 6 Sep 2007 17:14:49 +0000 (17:14 -0000)]
change directory to / in case $PWD doesnt exist (trunk r7702)

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

17 years agoremove $Id$ as it gives us nothing useful (trunk r7699)
Zac Medico [Thu, 6 Sep 2007 17:13:47 +0000 (17:13 -0000)]
remove $Id$ as it gives us nothing useful (trunk r7699)

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

17 years agoMove blocker handling from depgraph.create() to select_dep(). (trunk r7701)
Zac Medico [Thu, 6 Sep 2007 17:10:29 +0000 (17:10 -0000)]
Move blocker handling from depgraph.create() to select_dep(). (trunk r7701)

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

17 years agoBug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.
Zac Medico [Thu, 6 Sep 2007 17:08:51 +0000 (17:08 -0000)]
Bug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.
Bug #190144 - Use the realpath of DISTDIR so that things like
              subversion.eclass are compatible with sandbox. (trunk r7700)

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

17 years agoRemove pointless information from --info output (trunk r7695)
Zac Medico [Thu, 6 Sep 2007 17:03:16 +0000 (17:03 -0000)]
Remove pointless information from --info output (trunk r7695)

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

17 years agoDon't cache results from match_from_list() since *dbapi.match() caches do the job...
Zac Medico [Thu, 6 Sep 2007 17:00:37 +0000 (17:00 -0000)]
Don't cache results from match_from_list() since *dbapi.match() caches do the job. (trunk r7694)

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

17 years agoMove the note about not needing pycrypto with python-2.5 to the 2.1.3 section. (trunk...
Zac Medico [Tue, 4 Sep 2007 20:42:56 +0000 (20:42 -0000)]
Move the note about not needing pycrypto with python-2.5 to the 2.1.3 section. (trunk r7726)

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

17 years agoAdd * and ~* to the list of valid values for ACCEPT_KEYWORDS. (trunk r7688)
Zac Medico [Thu, 23 Aug 2007 20:29:10 +0000 (20:29 -0000)]
Add * and ~* to the list of valid values for ACCEPT_KEYWORDS. (trunk r7688)

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

17 years agoMake depgraph.select_dep() node reuse work when in --usepkgonly mode. (trunk r7686)
Zac Medico [Thu, 23 Aug 2007 19:51:05 +0000 (19:51 -0000)]
Make depgraph.select_dep() node reuse work when in --usepkgonly mode. (trunk r7686)

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

17 years agoBug #189791 - Define EBUILD_PHASE=unpack during the nofetch phase since otherwise...
Zac Medico [Thu, 23 Aug 2007 09:11:40 +0000 (09:11 -0000)]
Bug #189791 - Define EBUILD_PHASE=unpack during the nofetch phase since otherwise we get EBUILD_PHASE=merge which isn't in our list of valid EBUILD_PHASES recognized by elog. (trunk r7684)

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

17 years agoIn config.regenerate(), skip loading /etc/profile.env if it's mtime hasn't changed...
Zac Medico [Thu, 23 Aug 2007 08:41:15 +0000 (08:41 -0000)]
In config.regenerate(), skip loading /etc/profile.env if it's mtime hasn't changed. (trunk r7682)

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

17 years agoMake depgraph.create() avoid metadata lookups for binary packages and ebuilds in...
Zac Medico [Thu, 23 Aug 2007 08:11:52 +0000 (08:11 -0000)]
Make depgraph.create() avoid metadata lookups for binary packages and ebuilds in cases where an installed package has already been added to the graph. This greatly improves performance when the graph contains a large number of installed packages. (trunk r7680)

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

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