[gentoo-portage-dev] [PATCH v4] Support escaping network-sandbox through SOCKSv5 proxy

2015-01-31 Thread Michał Górny
Add a minimal SOCKSv5-over-UNIX-socket proxy to Portage, and start it whenever ebuilds are started with network-sandbox enabled. Pass the socket address in PORTAGE_SOCKS5_PROXY and DISTCC_SOCKS_PROXY variables. The proxy can be used to escape the network sandbox whenever network access is really

[gentoo-portage-dev] [PATCH] lockfile: handle EINTR for bug #538314

2015-01-31 Thread Zac Medico
Use portage._eintr_func_wrapper to handle EINTR from fcntl.lockf. Since fcntl.lockf raises IOError, make _eintr_func_wrapper handle EnvironmentError (which both OSError and IOError inherit from). X-Gentoo-Bug: 538314 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=538314 ---

Re: [gentoo-portage-dev] [PATCH v3] Support USE_EXPAND prefixes in package.use and relevant files

2015-01-31 Thread Michał Górny
Dnia 2015-01-24, o godz. 10:39:37 Michał Górny mgo...@gentoo.org napisał(a): Support prefixing groups of USE_EXPAND flags with 'USE_EXPAND:' in user configuration package.use and similar files. This provides a convenient way of declaring specifying multiple USE_EXPAND flags and matches the

Re: [gentoo-portage-dev] [PATCH] Allow IPC networking during pkg_config pkg_info

2015-01-31 Thread Michał Górny
Dnia 2015-01-25, o godz. 12:42:28 Michał Górny mgo...@gentoo.org napisał(a): --- pym/portage/package/ebuild/doebuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) In master now. -- Best regards, Michał Górny pgppJO59tNRpJ.pgp Description: OpenPGP digital signature

[gentoo-portage-dev] [PATCH v5] Support escaping network-sandbox through SOCKSv5 proxy

2015-01-31 Thread Michał Górny
Add a minimal SOCKSv5-over-UNIX-socket proxy to Portage, and start it whenever ebuilds are started with network-sandbox enabled. Pass the socket address in PORTAGE_SOCKS5_PROXY and DISTCC_SOCKS_PROXY variables. The proxy can be used to escape the network sandbox whenever network access is really

Re: [gentoo-portage-dev] [PATCH v5] Support escaping network-sandbox through SOCKSv5 proxy

2015-01-31 Thread Brian Dolbec
On Sun, 1 Feb 2015 01:33:20 +0100 Michał Górny mgo...@gentoo.org wrote: raise + + @asyncio.coroutine + def handle_proxied_conn(self, proxied_reader, writer, parent_task): + + Handle the proxied connection. Relay incoming data +

Re: [gentoo-portage-dev] [PATCH] lockfile: handle EINTR for bug #538314

2015-01-31 Thread Brian Dolbec
On Sat, 31 Jan 2015 12:25:58 -0800 Zac Medico zmed...@gentoo.org wrote: Use portage._eintr_func_wrapper to handle EINTR from fcntl.lockf. Since fcntl.lockf raises IOError, make _eintr_func_wrapper handle EnvironmentError (which both OSError and IOError inherit from). X-Gentoo-Bug: 538314