Zac Medico [Tue, 6 Jan 2009 21:14:33 +0000 (21:14 -0000)]
When the set configuration is incomplete, notify the user that this usually
means /usr/share/portage/config/sets.conf is missing or corrupt.
svn path=/main/trunk/; revision=12384
Zac Medico [Tue, 6 Jan 2009 01:01:35 +0000 (01:01 -0000)]
Fix _setitem() to write the same format that's currently distributed in the
rsync tree.
svn path=/main/trunk/; revision=12383
Zac Medico [Mon, 5 Jan 2009 22:01:44 +0000 (22:01 -0000)]
Remove print statement from previous commit.
svn path=/main/trunk/; revision=12382
Zac Medico [Mon, 5 Jan 2009 22:00:39 +0000 (22:00 -0000)]
Do not hardlink files unless they are in the same
directory, since otherwise tar may not be able to
extract a tarball of the resulting hardlinks due to
'Invalid cross-device link' errors (depends on layout of
mount points). Also, don't hardlink zero-byte files since
it doesn't save any space. Thanks to Daniel Robbins for
reporting these issues which were noticed by funtoo users
when attempting to extract stage tarballs.
svn path=/main/trunk/; revision=12381
Zac Medico [Sun, 4 Jan 2009 03:15:49 +0000 (03:15 -0000)]
When dropping privileges inside action_sync(), set the umask to preserve
the group write bit if appropriate.
svn path=/main/trunk/; revision=12380
Zac Medico [Sun, 4 Jan 2009 02:52:17 +0000 (02:52 -0000)]
Bug #253467 - Don't allow alien $A values to leak into the ebuild environment.
svn path=/main/trunk/; revision=12379
Zac Medico [Sun, 4 Jan 2009 01:09:37 +0000 (01:09 -0000)]
Inside action_sync(), when running as root, detect if $PORTDIR has non-root
uid/gid bits and drop privileges to match the existing bits if appropriate.
svn path=/main/trunk/; revision=12378
Zac Medico [Sat, 3 Jan 2009 20:14:49 +0000 (20:14 -0000)]
Fix the 'Unrecognized configure options' check for compatibility with
output produced by Autoconf 2.63. Thanks to Arfrever Frehtes Taifersar
Arahesis for reporting.
svn path=/main/trunk/; revision=12377
Zac Medico [Sat, 3 Jan 2009 01:17:24 +0000 (01:17 -0000)]
Bug #253336 - Set PORTAGE_VERBOSE=1 so that files are displayed as they are
merge.
svn path=/main/trunk/; revision=12376
Ned Ludd [Fri, 2 Jan 2009 22:43:46 +0000 (22:43 -0000)]
- tell the user where we unpacked the source
svn path=/main/trunk/; revision=12375
Mike Frysinger [Thu, 1 Jan 2009 11:09:35 +0000 (11:09 -0000)]
export STRIP_MASK automatically
svn path=/main/trunk/; revision=12374
Mike Frysinger [Thu, 1 Jan 2009 11:07:21 +0000 (11:07 -0000)]
dont force people to match leading $D in STRIP_MASK
svn path=/main/trunk/; revision=12373
Zac Medico [Wed, 31 Dec 2008 07:38:56 +0000 (07:38 -0000)]
Bug #253210 - Fix logic inside EbuildBuild._buildpkg_exit() to avoid
triggering an AssertionError when the package phase has failed. This
bug usually isn't noticeable since the package phase usually succeeds.
svn path=/main/trunk/; revision=12371
Zac Medico [Tue, 30 Dec 2008 20:39:33 +0000 (20:39 -0000)]
Bug #252985 - Add a note about the new default behavior for `emerge world`
and `emerge system` commands.
svn path=/main/trunk/; revision=12370
Zac Medico [Tue, 30 Dec 2008 07:42:05 +0000 (07:42 -0000)]
Bug #252995 - When post_emerge() returns early because the vdb state has
not changed, still display new notifications.
svn path=/main/trunk/; revision=12369
Zac Medico [Mon, 29 Dec 2008 23:01:50 +0000 (23:01 -0000)]
Handle tree conflicts in svn status output, new in subversion 1.6. Thanks to
Arfrever Frehtes Taifersar Arahesis for reporting.
svn path=/main/trunk/; revision=12368
Zac Medico [Mon, 29 Dec 2008 22:51:42 +0000 (22:51 -0000)]
Specify that metadata variable values should only contain ASCII as per GLEP 31.
svn path=/main/trunk/; revision=12367
Zac Medico [Mon, 29 Dec 2008 21:23:27 +0000 (21:23 -0000)]
Fix 'TypeError: not all arguments converted during string formatting'
triggered by repoman -v. Thanks to Javier Villavicencio <the_paya@g.o>
for reporting.
svn path=/main/trunk/; revision=12366
Zac Medico [Mon, 29 Dec 2008 19:39:46 +0000 (19:39 -0000)]
Bug #253002 - Add a new variable.invalidchar check for metadata variables that
contain characters that are not part of the ASCII character set.
svn path=/main/trunk/; revision=12365
Zac Medico [Mon, 29 Dec 2008 03:05:07 +0000 (03:05 -0000)]
Inside _showwarning(), import sys since otherwise it's None for some reason.
svn path=/main/trunk/; revision=12364
Zac Medico [Mon, 29 Dec 2008 02:44:38 +0000 (02:44 -0000)]
Bug #252840 - Fix TypeError which is triggered by a broken override of
varnings.formatwarning(). Override warnings.showwarning() instead since
the api docs say it may be overriden while they do not say this about
formatwarning().
svn path=/main/trunk/; revision=12363
Zac Medico [Sun, 28 Dec 2008 22:29:51 +0000 (22:29 -0000)]
Add notes about FEATURES=protect-owned and move the note about
--complete-graph to NEWS.
svn path=/main/trunk/; revision=12362
Zac Medico [Sun, 28 Dec 2008 22:01:09 +0000 (22:01 -0000)]
Wrap lines to 80 columns and remove extra blank lines.
svn path=/main/trunk/; revision=12361
Zac Medico [Sun, 28 Dec 2008 20:37:04 +0000 (20:37 -0000)]
Inside git_sync_timestamps(), use git-diff-index for the same reason that
repoman now uses it since bug #252727.
svn path=/main/trunk/; revision=12360
Zac Medico [Sun, 28 Dec 2008 20:29:22 +0000 (20:29 -0000)]
Bug #252727 - Use `git diff-index --name-only --diff-filter=M HEAD` instead
of `git ls-files -m --with-tree=HEAD` since the latter doesn't behave
like we want for files that have been added to the index. Also, use `git
diff-index` instead of `git diff` since the latter is considered a high-level
"porcelain" command which means that it's interface may not be reliable.
svn path=/main/trunk/; revision=12359
Zac Medico [Sat, 27 Dec 2008 00:36:42 +0000 (00:36 -0000)]
Revert r12348 since it's not really needed and the previous version is more
efficient.
svn path=/main/trunk/; revision=12352
Zac Medico [Fri, 26 Dec 2008 21:25:30 +0000 (21:25 -0000)]
Bug #252562 - Show --onlydeps in short --help output.
svn path=/main/trunk/; revision=12351
Zac Medico [Fri, 26 Dec 2008 21:14:35 +0000 (21:14 -0000)]
Bail out earlier if the file name argument doesn't end with '.ebuild'. Thanks
to Diego 'Flameeyes' Pettenò for reporting.
svn path=/main/trunk/; revision=12350
Zac Medico [Fri, 26 Dec 2008 20:49:57 +0000 (20:49 -0000)]
Fix loop logic some more for bug #252572.
svn path=/main/trunk/; revision=12349
Zac Medico [Fri, 26 Dec 2008 20:34:18 +0000 (20:34 -0000)]
Bug #252572 - Fix a loop condition inside depgraph._serialize_tasks() which
can cause an infinite loop that's triggered by unresolvable blockers.
svn path=/main/trunk/; revision=12348
Mike Frysinger [Thu, 25 Dec 2008 11:10:19 +0000 (11:10 -0000)]
scan archives of objects for exec stacks
svn path=/main/trunk/; revision=12345
Zac Medico [Thu, 25 Dec 2008 05:36:24 +0000 (05:36 -0000)]
Fix typo.
svn path=/main/trunk/; revision=12341
Zac Medico [Thu, 25 Dec 2008 05:22:05 +0000 (05:22 -0000)]
Refactor EbuildMetadataPhase._output_handler() and _set_returncode().
svn path=/main/trunk/; revision=12339
Zac Medico [Thu, 25 Dec 2008 04:52:59 +0000 (04:52 -0000)]
Use long() instead of float() when parsing Package.mtime from the metadata.
svn path=/main/trunk/; revision=12332
Zac Medico [Thu, 25 Dec 2008 04:50:49 +0000 (04:50 -0000)]
Make vardbapi._aux_get() return _mtime_ as a long (never as a float).
svn path=/main/trunk/; revision=12331
Zac Medico [Thu, 25 Dec 2008 04:46:23 +0000 (04:46 -0000)]
Inside portdbapi._metadata_callback(), preserve _eclasses_ when the EAPI is
unsupported since the eclass timestamps might be needed in order to decide
that the cache entry should be regenerated. Also, make sure that all metadata
returned from portdbapi.aux_get() is returned as empty strings when the
EAPI is unsupported.
svn path=/main/trunk/; revision=12330
Zac Medico [Thu, 25 Dec 2008 04:22:46 +0000 (04:22 -0000)]
Handle potential KeyErrors that may be raised from get_eclass_data(), and
remove unnecessary print statements inside get_eclass_data().
svn path=/main/trunk/; revision=12329
Zac Medico [Thu, 25 Dec 2008 02:53:13 +0000 (02:53 -0000)]
Don't add any more that one "-" symbol to the front of an unsupported EAPI.
svn path=/main/trunk/; revision=12328
Zac Medico [Thu, 25 Dec 2008 02:29:45 +0000 (02:29 -0000)]
Inside mirror_cache(), handle unsupported EAPI like portdbapi does.
svn path=/main/trunk/; revision=12327
Zac Medico [Thu, 25 Dec 2008 00:31:45 +0000 (00:31 -0000)]
Add support for synchronizing ebuild and eclass timestamps with the metadata
cache timestamps which emerge --sync operates on a git repository. This is
necessary since git doesn't preserve timestamps. It is assumed that the
timestamps should be synchronized if the relevant ebuilds and eclasses are
unmodified relative to the HEAD commit (as reported by git-ls-files). This
feature was requested by Daniel Robbins, so that it's possible for the funtoo
git repository to distribute pre-generated metadata.
svn path=/main/trunk/; revision=12303
Zac Medico [Wed, 24 Dec 2008 22:49:37 +0000 (22:49 -0000)]
Make BinpkgFetcher use longs instead of floats when synchronizing timestamps,
since it's better not to rely on float comparison here.
svn path=/main/trunk/; revision=12302
Zac Medico [Wed, 24 Dec 2008 20:31:15 +0000 (20:31 -0000)]
Bug #252374 - Warn if FEATURES=fakeroot is enabled, but the fakeroot binary
is not installed.
svn path=/main/trunk/; revision=12301
Zac Medico [Wed, 24 Dec 2008 20:01:44 +0000 (20:01 -0000)]
Don't use 'local' builtin outside of a function.
svn path=/main/trunk/; revision=12300
Zac Medico [Wed, 24 Dec 2008 19:58:28 +0000 (19:58 -0000)]
Document QA_STRICT_PRESTRIPPED.
svn path=/main/trunk/; revision=12299
Zac Medico [Wed, 24 Dec 2008 19:44:52 +0000 (19:44 -0000)]
Fix typo.
svn path=/main/trunk/; revision=12298
Zac Medico [Wed, 24 Dec 2008 19:31:59 +0000 (19:31 -0000)]
Replace QA_DT_HASH with QA_PRESTRIPPED where appropriate. Thanks to Arfrever
for reporting. Also, remove array support since bash arrays don't export
anyway.
svn path=/main/trunk/; revision=12297
Zac Medico [Wed, 24 Dec 2008 03:43:44 +0000 (03:43 -0000)]
Bug #251976 - Add a QA_PRESTRIPPED variable for ebuilds to disable warnings about
pre-stripped files.
svn path=/main/trunk/; revision=12296
Zac Medico [Wed, 24 Dec 2008 01:42:38 +0000 (01:42 -0000)]
Fix PATH comparison in binarytree.inject() some more.
svn path=/main/trunk/; revision=12295
Zac Medico [Wed, 24 Dec 2008 01:15:01 +0000 (01:15 -0000)]
Fix broken PATH comparisons when eliminating duplicate entries inside
binarytree.inject().
svn path=/main/trunk/; revision=12294
Zac Medico [Wed, 24 Dec 2008 00:06:09 +0000 (00:06 -0000)]
Bug #252304 - Restore the -V/--version option.
svn path=/main/trunk/; revision=12293
Zac Medico [Tue, 23 Dec 2008 23:48:14 +0000 (23:48 -0000)]
Add SIGUSR1 signal handlers that call pdb.set_trace(). Thanks to Brian Harring for
the suggestion.
svn path=/main/trunk/; revision=12292
Zac Medico [Tue, 23 Dec 2008 23:12:56 +0000 (23:12 -0000)]
Make more code conditional on POLLIN events, where appropriate.
svn path=/main/trunk/; revision=12291
Zac Medico [Tue, 23 Dec 2008 22:43:28 +0000 (22:43 -0000)]
Move initial signal handlers to the launcher script.
svn path=/main/trunk/; revision=12290
Zac Medico [Tue, 23 Dec 2008 20:59:55 +0000 (20:59 -0000)]
Rename the PollTask class to AbstractPollTask.
svn path=/main/trunk/; revision=12289
Zac Medico [Tue, 23 Dec 2008 20:39:52 +0000 (20:39 -0000)]
Add handling for POLLERR, POLLNVAL, and POLLHUP. Hopefully this solves hung poll calls
with defunct ebuild.sh processes, reported on solaris systems by Fabian Groffen
<grobian@g.o>.
svn path=/main/trunk/; revision=12287
Zac Medico [Tue, 23 Dec 2008 18:53:13 +0000 (18:53 -0000)]
Register for poll events before forking, in order to avoid potential race conditions
in SpawnProcess._start() and EbuildMetadataPhase._start(). Hopefully this solves
hung poll calls with defunct ebuild.sh processes, reported on solaris systems by
Fabian Groffen <grobian@g.o>.
svn path=/main/trunk/; revision=12285
Zac Medico [Tue, 23 Dec 2008 10:32:00 +0000 (10:32 -0000)]
When removing entries with duplicate paths inside binarytree.inject(), handle
path collisions in $PKGDIR/All when CPV is not identical.
svn path=/main/trunk/; revision=12282
Zac Medico [Tue, 23 Dec 2008 09:45:34 +0000 (09:45 -0000)]
Fix typo.
svn path=/main/trunk/; revision=12281
Zac Medico [Tue, 23 Dec 2008 09:20:18 +0000 (09:20 -0000)]
Bug #252243 - Fix binarytree.prevent_collision() so that it won't create a circular
symlink if there happens to be a symlink in $PKGDIR/All for some reason.
svn path=/main/trunk/; revision=12280
Zac Medico [Tue, 23 Dec 2008 08:15:00 +0000 (08:15 -0000)]
Simplify the code from bug #218854. Also, ensure that the set of visible packages
thats used by depgraph._iter_atoms_for_pkg() is consistent with the packages that
have been selected by depgraph._select_pkg_highest_available(). This should correct
potential inconstencies introduced by the package selection changes from bug #252167.
svn path=/main/trunk/; revision=12279
Zac Medico [Tue, 23 Dec 2008 07:02:00 +0000 (07:02 -0000)]
Bug #252167 - If the ebuild no longer exists or it's keywords have been dropped,
reject built instances (installed or binary). If --usepkgonly is enabled, assume
that the ebuild status should be ignored.
svn path=/main/trunk/; revision=12278
Zac Medico [Mon, 22 Dec 2008 01:24:12 +0000 (01:24 -0000)]
Remove code from unused config.load_infodir() method and issue a deprecation
warning if it's called.
svn path=/main/trunk/; revision=12275
Zac Medico [Sun, 21 Dec 2008 23:07:29 +0000 (23:07 -0000)]
Fix DEFINED_PHASES code to check for pkg_config and pkg_info functions.
svn path=/main/trunk/; revision=12274
Zac Medico [Sun, 21 Dec 2008 21:41:13 +0000 (21:41 -0000)]
Add support for the new DEFINED_PHASES metadata key which is automatically generated
from the set of phase functions that are defined by the ebuild and any eclasses it
may have inherited.
svn path=/main/trunk/; revision=12273
Zac Medico [Sun, 21 Dec 2008 06:47:23 +0000 (06:47 -0000)]
Fix --clean <atom> so that it considers all packages within a given slot when
it's deciding which packages to keep, rather than just considering the ones
matched by the given atom. Any packages not matching the given atom are protected
from being unmerged. Thanks to Mart Raudsepp <leio@g.o> for reporting.
svn path=/main/trunk/; revision=12272
Zac Medico [Sun, 21 Dec 2008 04:20:12 +0000 (04:20 -0000)]
Update --depclean 'unsatisfied deps' message to recommend the same emerge update
command that's recommended earlier. Thanks to Jeremy Olexa <darkside@g.o> for
reporting.
svn path=/main/trunk/; revision=12271
Zac Medico [Sun, 21 Dec 2008 04:02:15 +0000 (04:02 -0000)]
Remove the TaskScheduler.run() method since the constructor replaces it with
the QueueScheduler.run() method.
svn path=/main/trunk/; revision=12270
Zac Medico [Sat, 20 Dec 2008 20:22:39 +0000 (20:22 -0000)]
Adjust the EbuildNestedDie pattern so that it only matches when ( is surrounded
by whitespace. This filters out false positives triggered by sed expressions in
net-analyzer/amap-5.2-r1 and media-libs/libsndfile-1.0.17-r1. Thanks to Diego
Pettenò <flameeyes@g.o> for reporting.
svn path=/main/trunk/; revision=12265
Zac Medico [Sat, 20 Dec 2008 20:11:03 +0000 (20:11 -0000)]
Simplify the InheritAutotools pattern by using \b to match word boundaries.
svn path=/main/trunk/; revision=12264
Zac Medico [Sat, 20 Dec 2008 19:36:50 +0000 (19:36 -0000)]
Bug #251591 - Adjust the InheritAutotools pattern to treat more things similar to
whitespace. Now it recognizes escaped newlines, || operators, and && operators.
svn path=/main/trunk/; revision=12260
Zac Medico [Fri, 19 Dec 2008 21:36:26 +0000 (21:36 -0000)]
Bug #251616 - Inside _check_build_log(), remove unnecessary .* patterns from regular
expressions. These patterns trigger extreme performance issues when matched against
extremely large lines such as those produced by dev-util/bzr test suite when it
uses \r to rewrite the same line thousands of times.
svn path=/main/trunk/; revision=12259
Zac Medico [Fri, 19 Dec 2008 02:43:12 +0000 (02:43 -0000)]
Fix DependencyArg.__str__() to ensure that str type is always returned.
svn path=/main/trunk/; revision=12258
Zac Medico [Wed, 17 Dec 2008 05:48:20 +0000 (05:48 -0000)]
Inside display_preserved_libs(), filter out consumers that belong to the
same package as the provider only if those consumers are also preserved.
svn path=/main/trunk/; revision=12257
Zac Medico [Mon, 15 Dec 2008 22:45:21 +0000 (22:45 -0000)]
Inside display_preserved_libs(), filter out any consumers that belong to the
same package as the provider.
svn path=/main/trunk/; revision=12253
Zac Medico [Sun, 14 Dec 2008 20:50:37 +0000 (20:50 -0000)]
Bug #250902 - Inside dblink._find_unused_preserved_libs(), show a warning
instead of raising a KeyError if the preserved libs registry contains a
symlink that points to a lib which is not preserved.
svn path=/main/trunk/; revision=12252
Zac Medico [Sun, 14 Dec 2008 20:21:32 +0000 (20:21 -0000)]
Bug #250902 - Inside dblink._find_libs_to_preserve(), prevent symlinks from
being erroneously preserved by themselves when the old instance installed
symlinks that the new instance does not install.
svn path=/main/trunk/; revision=12251
Zac Medico [Fri, 12 Dec 2008 22:49:18 +0000 (22:49 -0000)]
Detect problems with arguments and return non-zero when appropriate.
svn path=/main/trunk/; revision=12248
Zac Medico [Fri, 12 Dec 2008 22:14:19 +0000 (22:14 -0000)]
Update comment about resume opts stored as dict starting with 2.1.6_rc1.
svn path=/main/trunk/; revision=12246
Zac Medico [Fri, 12 Dec 2008 08:53:42 +0000 (08:53 -0000)]
Add a new FEATURES=test-fail-continue value which causes ebuild execution
to continue after the test phase has failed. Thanks to Diego Pettenò
<flameeyes@g.o> for the suggestion.
svn path=/main/trunk/; revision=12214
Zac Medico [Fri, 12 Dec 2008 02:19:01 +0000 (02:19 -0000)]
Fix --pretend logic in Binpkg some more.
svn path=/main/trunk/; revision=12213
Zac Medico [Fri, 12 Dec 2008 01:49:23 +0000 (01:49 -0000)]
Fix --getbinpkg to behave as expected with --pretend and --fetchonly.
svn path=/main/trunk/; revision=12212
Zac Medico [Fri, 12 Dec 2008 01:33:26 +0000 (01:33 -0000)]
Fix breakage in stale metadata logic inside binarytree._poplulate().
svn path=/main/trunk/; revision=12211
Zac Medico [Fri, 12 Dec 2008 00:51:50 +0000 (00:51 -0000)]
Fix incorrect usage of trap (only remove on signal at a time).
svn path=/main/trunk/; revision=12210
Zac Medico [Fri, 12 Dec 2008 00:35:38 +0000 (00:35 -0000)]
When using the old binhost protocol, comparison with the remote
package isn't supported, so the local package is always preferred
even if --getbinpkgonly is enabled. Simplify bintree.isremote()
so it works the same way regardless of which protocol is used.
svn path=/main/trunk/; revision=12209
Zac Medico [Fri, 12 Dec 2008 00:19:46 +0000 (00:19 -0000)]
Fix old-style binhost code binarytree.digestCheck() will use local digests when
a local package overrides a remote one.
svn path=/main/trunk/; revision=12208
Zac Medico [Fri, 12 Dec 2008 00:04:21 +0000 (00:04 -0000)]
Fix --getbinpkgonly behavior so that binaries from the remote server are
preferred over local packages if they are not identical. Thanks to Lance
Albertson <ramereth@g.o> for reporting.
svn path=/main/trunk/; revision=12207
Zac Medico [Thu, 11 Dec 2008 20:28:28 +0000 (20:28 -0000)]
Don't warn about missing repo_name for $PORTDIR when it happens to be empty.
svn path=/main/trunk/; revision=12206
Zac Medico [Thu, 11 Dec 2008 20:15:16 +0000 (20:15 -0000)]
Add --sync support for `git pull`, and also add a failsafe to prevent rsync
from being called if $PORTDIR appears to be under revision control. Thanks
to Daniel Robbins for the initial patch.
svn path=/main/trunk/; revision=12205
Zac Medico [Thu, 11 Dec 2008 19:43:01 +0000 (19:43 -0000)]
Remove stray part about 'link level dependency awareness' in the 2.1.6 section
and remove extraneous line 8. Thanks to Arun Raghavan <ford_prefect@g.g> for
reporting.
svn path=/main/trunk/; revision=12204
Zac Medico [Thu, 11 Dec 2008 08:21:39 +0000 (08:21 -0000)]
Fix exit code to return non-zero when an error occurs. Thanks to Christoph
Mende <angelos@g.o> for reporting.
svn path=/main/trunk/; revision=12202
Zac Medico [Thu, 11 Dec 2008 03:23:24 +0000 (03:23 -0000)]
Make BinpkgFetcher synchronize the local timestamp of the downloaded file
with the remote file, if the fetcher hasn't done it automatically.
svn path=/main/trunk/; revision=12201
Zac Medico [Wed, 10 Dec 2008 17:52:31 +0000 (17:52 -0000)]
Remove ManifestEntry.__cmp__() since it's not needed and py3k won't use it.
svn path=/main/trunk/; revision=12200
Zac Medico [Wed, 10 Dec 2008 17:41:36 +0000 (17:41 -0000)]
For py3k compat, remove Atom.__cmp__() and use str.__lt__() instead.
svn path=/main/trunk/; revision=12199
Zac Medico [Wed, 10 Dec 2008 08:16:14 +0000 (08:16 -0000)]
Make Binpkg clean the build dir immediately after locking it. This ensures
that a new PORTAGE_LOG_FILE is created.
svn path=/main/trunk/; revision=12198
Zac Medico [Wed, 10 Dec 2008 08:08:18 +0000 (08:08 -0000)]
Make BinpkgVerifier rename files that fail verification, similar to how
distfiles are automatically renamed.
svn path=/main/trunk/; revision=12197
Zac Medico [Wed, 10 Dec 2008 07:47:45 +0000 (07:47 -0000)]
Make the Binpkg class handle fetch logging similar to how EbuildBuild does,
directing output to PORTAGE_LOG_FILE instead of emerge-fetch.log which is
only used for prefetchers now.
svn path=/main/trunk/; revision=12196
Zac Medico [Wed, 10 Dec 2008 06:53:42 +0000 (06:53 -0000)]
Verify binary packages even when not in "strict" mode (normal distfiles are
also verified in this case).
svn path=/main/trunk/; revision=12195
Zac Medico [Wed, 10 Dec 2008 06:50:50 +0000 (06:50 -0000)]
Create a BinpkgPrefetcher composite task to handle fetch, verification,
and injection.
svn path=/main/trunk/; revision=12194
Zac Medico [Wed, 10 Dec 2008 04:02:41 +0000 (04:02 -0000)]
When the Binpkg class has fetched a package in --fetchonly mode, wait until
after the package is verified and injected before returning.
svn path=/main/trunk/; revision=12193
Zac Medico [Wed, 10 Dec 2008 03:37:03 +0000 (03:37 -0000)]
urlparse.urljoin() only works correctly with recognized protocols and
requires the base url to have a trailing slash, so join PORTAGE_BINHOST
manually. Thanks to Lance Albertson <ramereth@g.o> for reporting.
svn path=/main/trunk/; revision=12192