Fabian Groffen [Sun, 12 Aug 2012 07:49:56 +0000 (09:49 +0200)]
Merge remote-tracking branch 'overlays-gentoo-org/master' into prefix
Conflicts:
bin/chpathtool.py
bin/repoman
Fabian Groffen [Sun, 12 Aug 2012 07:43:34 +0000 (09:43 +0200)]
install_qa_check_prefix: drop removal of etc/{init,conf}.d files
This allows to use OpenRC on Prefix systems.
Signed-off-by: XU Benda <heroxbd@gmail.com>
Fabian Groffen [Sun, 12 Aug 2012 07:39:03 +0000 (09:39 +0200)]
MaskManager: remove stray comment, bug #431016
Thanks Greg Turner <gmturner007@ameritech.net> for the original patch
that git refused to apply.
Zac Medico [Sat, 11 Aug 2012 22:52:30 +0000 (15:52 -0700)]
emaint logs: simplify error output handling
Zac Medico [Sat, 11 Aug 2012 21:36:34 +0000 (14:36 -0700)]
emaint: cleanup TaskHandler isatty logic
Nico Roeser [Sat, 11 Aug 2012 19:11:06 +0000 (12:11 -0700)]
installsources: fix file permissions, bug #430962
Zac Medico [Thu, 9 Aug 2012 20:34:44 +0000 (13:34 -0700)]
emaint binhost: support compress-index
Zac Medico [Thu, 9 Aug 2012 01:59:21 +0000 (18:59 -0700)]
repoman: remove IUSE.undefined check
This was suggested in the "Don't require assignment of empty variables
in ebuilds?" thread on the gentoo-dev mailing list:
http://thread.gmane.org/gmane.linux.gentoo.devel/78806
Zac Medico [Wed, 8 Aug 2012 20:34:15 +0000 (13:34 -0700)]
bintree.inject(): write Packages.gz atomically
W-Mark Kubacki [Wed, 8 Aug 2012 16:49:36 +0000 (18:49 +0200)]
Portage writes a compressed copy of 'Packages' index file.
This behaviour is enabled by FEATURES="compress-index". The
resulting file is 'Packages.gz' and its modification time will
match that of 'Packages'.
Web-servers use that copy to avoid repeated on-the-fly compression.
In order to re-use 'atomic_ofstream' usage of 'codecs.zlib_codec'
has been considered and discarded, because 'GzipFile' yields
smaller files. (According to Mark's tests 62% smaller.)
Example usage, Nginx:
location =/Packages {
gzip_static on;
default_type text/plain;
}
Apache httpd (use with caution):
RewriteRule ^(.*)/Packages$ $1/Packages.gz [T=text/plain,E=GZIP:gzip,L]
<FilesMatch "Packages\.gz$">
Header set Content-Encoding gzip
</FilesMatch>
Zac Medico [Tue, 7 Aug 2012 21:04:34 +0000 (14:04 -0700)]
Revert "econf: add --disable-silent-rules, bug #379497#c6"
This reverts commit
1cc39de72ac5311db748341ef9183586556719d9.
It may be unsafe to call configure --help with some configure scripts,
as noted in bug #379497, comment #34.
Zac Medico [Sun, 5 Aug 2012 20:34:55 +0000 (13:34 -0700)]
man/portage.5: note GLEP 37 virtuals, bug #429978
Samuli Suominen [Sun, 5 Aug 2012 20:10:26 +0000 (13:10 -0700)]
repoman: libusb virtual.suspect, bug #417123
Zac Medico [Sun, 5 Aug 2012 08:13:03 +0000 (01:13 -0700)]
elog: enable save_summary:qa by default
QA warnings still won't be echoed by default, but they will be saved in
summary.log.
Zac Medico [Sat, 4 Aug 2012 21:18:38 +0000 (14:18 -0700)]
econf: add --disable-silent-rules, bug #379497#c6
Zac Medico [Sat, 4 Aug 2012 19:26:25 +0000 (12:26 -0700)]
WhirlpoolAdd: raise TypeError if not bytes
Zac Medico [Thu, 2 Aug 2012 20:22:02 +0000 (13:22 -0700)]
vardbapi: optimize pickle load for Python >=3.2
Zac Medico [Thu, 2 Aug 2012 19:55:09 +0000 (12:55 -0700)]
parse_desktop_entry: fix python3 bug #429544
Zac Medico [Thu, 2 Aug 2012 02:28:01 +0000 (19:28 -0700)]
_urlopen: fix python2 http password breakage
This broke in commit
e06cb6d66db37ac7ab77acf65038b1f770c13c96 since
CompressedResponseProcessor did not include password auth support.
BUG: The if_modified_since parameter appears to be ignored when using
http password authentication.
W-Mark Kubacki [Wed, 1 Aug 2012 19:12:24 +0000 (21:12 +0200)]
Fix index file's mtime, which can differ from TIMESTAMP.
This enables Portage to reliably query for remote indices with
HTTP-header If-Modified-Since.
Without this patch mtime is greater than TIMESTAMP for large
indices and slow storages - because writing a large file takes
time. If the difference spans a second (TIMESTAMP 08:00:00, mtime
08:00:01), then Portage will always fetch the remote index because
it will appear being modified (mtime is used there) after the copy
has been made (local copy's TIMESTAMP is used here).
W-Mark Kubacki [Wed, 1 Aug 2012 18:36:31 +0000 (20:36 +0200)]
Add support for HTTP compression (bzip2, gzip and deflate).
W-Mark Kubacki [Wed, 1 Aug 2012 17:49:34 +0000 (19:49 +0200)]
Use If-Modified-Since HTTP-header and avoid downloading a remote index if the local copy is recent enough.
Arfrever Frehtes Taifersar Arahesis [Tue, 31 Jul 2012 23:11:27 +0000 (01:11 +0200)]
Use nanosecond precision in chpathtool when using Python >=3.3.
Arfrever Frehtes Taifersar Arahesis [Tue, 31 Jul 2012 23:07:31 +0000 (01:07 +0200)]
Use nanosecond precision in cache for category directory mtimes
and cache for cp_list results when using Python >=3.3.
Arfrever Frehtes Taifersar Arahesis [Tue, 31 Jul 2012 23:02:48 +0000 (01:02 +0200)]
Use nanosecond precision in portage.util.movefile.movefile().
Zac Medico [Tue, 31 Jul 2012 22:01:43 +0000 (15:01 -0700)]
Check for desktop-file-validate binary.
Michael Palimaka [Tue, 31 Jul 2012 10:18:01 +0000 (03:18 -0700)]
Validate desktop entries after src_install.
Zac Medico [Fri, 27 Jul 2012 22:46:47 +0000 (15:46 -0700)]
get_term_size: handle missing stty command
Zac Medico [Fri, 27 Jul 2012 22:40:16 +0000 (15:40 -0700)]
get_term_size: pass fd to stty
Zac Medico [Fri, 27 Jul 2012 22:22:47 +0000 (15:22 -0700)]
get_term_size: pass fd to curses.setupterm()
Zac Medico [Fri, 27 Jul 2012 22:09:58 +0000 (15:09 -0700)]
get_term_size: handle temporary stdout overrides
Zac Medico [Fri, 27 Jul 2012 02:42:51 +0000 (19:42 -0700)]
_selinux/spawn_wrapper: setexec *after* fork
This avoids any interference with concurrent threads in the calling
process.
Zac Medico [Tue, 24 Jul 2012 18:34:39 +0000 (11:34 -0700)]
Makefile: drop /etc/make.globals sym, bug #427862
Any consumers of /etc/make.globals can be fixed to use
/usr/share/portage/config/make.globals directly.
Zac Medico [Mon, 23 Jul 2012 17:45:28 +0000 (10:45 -0700)]
make.conf: clarify -frecord-gcc-switches
Corentin Chary [Mon, 23 Jul 2012 07:46:26 +0000 (09:46 +0200)]
output: allow to use stderr in TermProgressBar
Brian Dolbec [Mon, 23 Jul 2012 00:50:39 +0000 (17:50 -0700)]
emaint: split into separate modules
Zac Medico [Sun, 22 Jul 2012 22:05:53 +0000 (15:05 -0700)]
TermProgressBar: fix broken ref to "image" var
Broken since commit
0623e44a500125064525413404948af9179747a9.
Federico "fox" Scrinzi [Sun, 22 Jul 2012 21:52:01 +0000 (14:52 -0700)]
get_term_size: check if sys.stderr.isatty()
Ian Stakenvicius [Fri, 20 Jul 2012 20:15:57 +0000 (13:15 -0700)]
ebuild.5: fix (-) use dep example for bug #427384
Fabian Groffen [Thu, 19 Jul 2012 16:25:19 +0000 (18:25 +0200)]
Merge remote-tracking branch 'overlays-gentoo-org/master' into prefix
Zac Medico [Wed, 18 Jul 2012 22:31:07 +0000 (15:31 -0700)]
slotmove: update comment about EAPI 4-slot-abi
Zac Medico [Wed, 18 Jul 2012 21:38:09 +0000 (14:38 -0700)]
Fix extended atom match for =* operator.
Zac Medico [Wed, 18 Jul 2012 21:07:09 +0000 (14:07 -0700)]
match_from_list: match slot for extended atoms
Zac Medico [Wed, 18 Jul 2012 20:23:38 +0000 (13:23 -0700)]
etc-update: fix --automode -5, bug #427068
Zac Medico [Wed, 18 Jul 2012 19:55:16 +0000 (12:55 -0700)]
Support =*/*-*9999* wildcard atom, bug #402197.
Zac Medico [Wed, 18 Jul 2012 17:19:07 +0000 (10:19 -0700)]
depgraph: __auto_rebuild__ KeyError, bug #427036
Zac Medico [Wed, 18 Jul 2012 01:42:10 +0000 (18:42 -0700)]
portage.update: use isvalidatom for EAPI check
Zac Medico [Wed, 18 Jul 2012 00:05:31 +0000 (17:05 -0700)]
tests/update: fix whitespace
Zac Medico [Tue, 17 Jul 2012 23:52:48 +0000 (16:52 -0700)]
move: respect EAPI wrt dots_in_PN, bug #426476
Zac Medico [Tue, 17 Jul 2012 22:21:04 +0000 (15:21 -0700)]
Propagate EAPI for update_dbentry (bug #426476).
Zac Medico [Sun, 15 Jul 2012 21:29:20 +0000 (14:29 -0700)]
prepstrip: avoid rm warning about cwd
Zac Medico [Sat, 14 Jul 2012 01:40:20 +0000 (18:40 -0700)]
test_move_slot_ent: workaround for 1s timestamps
Zac Medico [Fri, 13 Jul 2012 23:33:49 +0000 (16:33 -0700)]
slotmove: fix handling for EAPI 4-slot-abi
This is just a really minimal fix, in order to prevent slotmove from
behaving incorrectly with packages that use EAPI 4-slot-abi. Any
slotmove commands that try so specify a sub-slot are treated as invalid
for now, since that will required additional EAPI conditional logic, as
reported in bug #426476.
Zac Medico [Thu, 12 Jul 2012 20:58:30 +0000 (13:58 -0700)]
vardbapi: use float mtime for aux cache
Zac Medico [Thu, 12 Jul 2012 19:54:06 +0000 (12:54 -0700)]
manifest: remove unused mhashes variable
Zac Medico [Thu, 12 Jul 2012 19:48:49 +0000 (12:48 -0700)]
Skip whirlpool digest check when unaccelerated.
If multiple digests are available and whirlpool is unaccelerated, then
skip it. This allows extreme performance problems like bug #425046 to
be avoided whenever practical, especially for cases like stage builds
where acceleration may not be available for some hashes due to
minimization of dependencies.
Zac Medico [Wed, 11 Jul 2012 22:13:18 +0000 (15:13 -0700)]
tests: support NOCOLOR env variable
Zac Medico [Tue, 10 Jul 2012 22:50:36 +0000 (15:50 -0700)]
Fix --complete-graph-if-new-use for --autounmask.
Zac Medico [Tue, 10 Jul 2012 22:45:12 +0000 (15:45 -0700)]
emerge: add --complete-graph-if-new-use < y | n >
Trigger the --complete-graph behavior if USE or IUSE will change for
an installed package. This option is enabled by default. This will fix
bug #425558.
Mike Frysinger [Tue, 10 Jul 2012 05:41:48 +0000 (01:41 -0400)]
ebuild(5): note that keepdir/dodir accept multiple paths
Current documentation indicates these only take one path, but they both
accept an arbitrary number of paths.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Brian Dolbec [Tue, 10 Jul 2012 00:04:58 +0000 (17:04 -0700)]
migrate emaint to use the new title and label features of the progressbar.
Brian Dolbec [Tue, 10 Jul 2012 00:04:14 +0000 (17:04 -0700)]
fix a couple more inconsistancies in the progessbar title, label changes.
Brian Dolbec [Mon, 9 Jul 2012 21:49:55 +0000 (14:49 -0700)]
TermProgressBar: Fix to do 80 chars (not 81)
Zac Medico [Mon, 9 Jul 2012 21:03:01 +0000 (14:03 -0700)]
PORTAGE_GPG_SIGNING_COMMAND: --digest-algo SHA256
Brian Dolbec [Mon, 9 Jul 2012 20:34:26 +0000 (13:34 -0700)]
apply Federico "fox" Scrinzi progressbar additions of title and label display. Fix a couple bugs and add max_desc_length param.
Fabian Groffen [Sun, 8 Jul 2012 17:25:01 +0000 (19:25 +0200)]
build-sys: undo too aggressive glob change
in bin/ we DO need the local directory to be processed as well
Fabian Groffen [Sun, 8 Jul 2012 17:18:30 +0000 (19:18 +0200)]
build-sys: simplify
don't need all sed stuff and ignoring of .git, since we don't run this
in the top level, and hence never find a .git, second we don't want .*
stuff, so we can just use * and make our lives much easier
Fabian Groffen [Sun, 8 Jul 2012 16:58:35 +0000 (18:58 +0200)]
build-sys: fix installation of files
avoid using hash in the sed, the interaction of make with the shell
seems to interpret the hash somewhere, despite being quoted, resulting
in loss of half of the sed command
Fabian Groffen [Fri, 6 Jul 2012 07:02:23 +0000 (09:02 +0200)]
Merge remote-tracking branch 'overlays-gentoo-org/master' into prefix
Conflicts:
bin/dohtml.py
bin/ebuild
bin/ebuild-helpers/ecompressdir
bin/ebuild-helpers/prepstrip
bin/ebuild-ipc.py
bin/egencache
bin/emaint
bin/emerge
bin/misc-functions.sh
bin/quickpkg
pym/_emerge/actions.py
pym/portage/dbapi/vartree.py
pym/portage/dispatch_conf.py
Zac Medico [Fri, 6 Jul 2012 06:43:43 +0000 (23:43 -0700)]
PORTAGE_GPG_SIGNING_COMMAND: --digest-algo SHA512
Zac Medico [Thu, 5 Jul 2012 08:45:10 +0000 (01:45 -0700)]
SlotAbiEmergeTestCase: test new downgrade code
Zac Medico [Thu, 5 Jul 2012 03:28:42 +0000 (20:28 -0700)]
vartree.py: fix stutter in comment
Zac Medico [Thu, 5 Jul 2012 03:16:40 +0000 (20:16 -0700)]
Rebuild for slot-abi downgrades, bug #424651.
Zac Medico [Thu, 5 Jul 2012 00:38:34 +0000 (17:38 -0700)]
ConfigTestCase: fix warning about manifest-hashes
Zac Medico [Thu, 5 Jul 2012 00:20:27 +0000 (17:20 -0700)]
const: Adjust MANIFEST2_* for new defaults
Zac Medico [Tue, 3 Jul 2012 21:52:20 +0000 (14:52 -0700)]
emerge: more helpful "non-existent set" message
Zac Medico [Tue, 3 Jul 2012 21:35:19 +0000 (14:35 -0700)]
emaint: remove obsolete world category check
The reason for this check, as discussed in bug #166785, is no longer
relevant since emerge does not suggest to run `emaint --check world` in
this case anymore.
Zac Medico [Mon, 2 Jul 2012 23:11:45 +0000 (16:11 -0700)]
Atom: tweak indent for slot logic
Zac Medico [Mon, 2 Jul 2012 22:27:28 +0000 (15:27 -0700)]
Fix unmerge-backup/preserve-libs interaction.
Zac Medico [Mon, 2 Jul 2012 21:41:19 +0000 (14:41 -0700)]
_pre_unmerge_backup: show failure message
Zac Medico [Mon, 2 Jul 2012 21:34:40 +0000 (14:34 -0700)]
portage.const: tweak preserve-libs conditional
Zac Medico [Mon, 2 Jul 2012 20:27:57 +0000 (13:27 -0700)]
Atom: evaluate_conditionals slot-abi, bug #424489
Zac Medico [Mon, 2 Jul 2012 19:13:54 +0000 (12:13 -0700)]
Don't use SIGUSR1 under Jython, bug #424259.
Zac Medico [Sun, 1 Jul 2012 20:07:27 +0000 (13:07 -0700)]
_quickpkg_dblink: set PYTHONPATH for quickpkg
Zac Medico [Sun, 1 Jul 2012 08:11:12 +0000 (01:11 -0700)]
Fix bugs in binarytree.invalids usage.
Zac Medico [Sun, 1 Jul 2012 07:53:52 +0000 (00:53 -0700)]
Support FEATURES={downgrade,unmerge}-backup
This will fix bug #156282 and bug #424275.
Zac Medico [Sat, 30 Jun 2012 20:50:01 +0000 (13:50 -0700)]
man/emerge.1: note that --resume re-uses options
Mike Frysinger [Fri, 29 Jun 2012 20:41:17 +0000 (16:41 -0400)]
ebuild(5): add missing bold around EAPI {3,4} mention
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Zac Medico [Wed, 27 Jun 2012 22:45:19 +0000 (15:45 -0700)]
egencache: prune empty cache directories
Zac Medico [Wed, 27 Jun 2012 21:55:49 +0000 (14:55 -0700)]
BacktrackParameter: fix runtime_pkg_mask copy
This caused the backtracker to bail out too early sometimes.
Zac Medico [Wed, 27 Jun 2012 17:19:36 +0000 (10:19 -0700)]
slot_conflict_handler: handle slot_abi
We have to distinguish this from the "version" conflict, in order to
avoid invalid vercmp calls when there's not version.
Zac Medico [Mon, 25 Jun 2012 21:28:31 +0000 (14:28 -0700)]
_slot_abi: fix broken function refs
Zac Medico [Mon, 25 Jun 2012 17:41:11 +0000 (10:41 -0700)]
whitelist PORTAGE_DOHTML_WARN_ON_SKIPPED_FILES
Arfrever Frehtes Taifersar Arahesis [Mon, 25 Jun 2012 04:12:01 +0000 (06:12 +0200)]
dohtml: Support PORTAGE_DOHTML_WARN_ON_SKIPPED_FILES environmental variable.
Arfrever Frehtes Taifersar Arahesis [Mon, 25 Jun 2012 02:37:27 +0000 (04:37 +0200)]
dohtml: Add .ico, .svg, .xhtml and .xml extensions to default list in EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Mon, 25 Jun 2012 02:08:25 +0000 (04:08 +0200)]
Reformat documentation of EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Mon, 25 Jun 2012 01:25:10 +0000 (03:25 +0200)]
dohtml.py: Sort default list of extensions.
Zac Medico [Sun, 24 Jun 2012 21:01:26 +0000 (14:01 -0700)]
protected_symlinks: suggest course of action
See discussion in bug #423127.
Zac Medico [Sun, 24 Jun 2012 19:16:34 +0000 (12:16 -0700)]
protected_symlinks: change eerror to elog
Since bug #421165, this code will trigger more often (see bug #423127),
and eerror is too harsh because the symlinks will never be orphaned.
Zac Medico [Sun, 24 Jun 2012 08:18:12 +0000 (01:18 -0700)]
PollScheduler: schedule inside loop if max_load
This will fix a case like that reported in bug #403895, triggered when
the --load-average option is used.