Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 481450 | Differences between
and this patch

Collapse All | Expand All

(-)a/man/make.conf.5 (+4 lines)
Lines 415-420 isn't a symlink to /usr/lib64. To find the bad packages, we have a Link Here
415
portage feature called \fImultilib\-strict\fR. It will prevent emerge
415
portage feature called \fImultilib\-strict\fR. It will prevent emerge
416
from putting 64bit libraries into anything other than (/usr)/lib64.
416
from putting 64bit libraries into anything other than (/usr)/lib64.
417
.TP
417
.TP
418
.B network\-sandbox
419
Isolate the ebuild phase functions from host network interfaces.
420
Supported only on Linux. Requires network namespace support in kernel.
421
.TP
418
.B news
422
.B news
419
Enable GLEP 42 news support. See
423
Enable GLEP 42 news support. See
420
\fIhttp://www.gentoo.org/proj/en/glep/glep-0042.html\fR.
424
\fIhttp://www.gentoo.org/proj/en/glep/glep-0042.html\fR.
(-)a/pym/portage/const.py (-1 / +2 lines)
Lines 104-110 SUPPORTED_FEATURES = frozenset([ Link Here
104
                           "fail-clean", "force-mirror", "force-prefix", "getbinpkg",
104
                           "fail-clean", "force-mirror", "force-prefix", "getbinpkg",
105
                           "installsources", "keeptemp", "keepwork", "fixlafiles", "lmirror",
105
                           "installsources", "keeptemp", "keepwork", "fixlafiles", "lmirror",
106
                           "merge-sync",
106
                           "merge-sync",
107
                           "metadata-transfer", "mirror", "multilib-strict", "news",
107
                           "metadata-transfer", "mirror", "multilib-strict",
108
                           "network-sandbox", "news",
108
                           "noauto", "noclean", "nodoc", "noinfo", "noman",
109
                           "noauto", "noclean", "nodoc", "noinfo", "noman",
109
                           "nostrip", "notitles", "parallel-fetch", "parallel-install",
110
                           "nostrip", "notitles", "parallel-fetch", "parallel-install",
110
                           "prelink-checksums", "preserve-libs",
111
                           "prelink-checksums", "preserve-libs",
(-)a/pym/portage/package/ebuild/doebuild.py (-2 / +1 lines)
Lines 1460-1466 def spawn(mystring, mysettings, debug=0, free=0, droppriv=0, sesandbox=0, fakero Link Here
1460
	features = mysettings.features
1460
	features = mysettings.features
1461
1461
1462
	# Unshare network namespace to keep ebuilds sanitized
1462
	# Unshare network namespace to keep ebuilds sanitized
1463
	if not networked and uid == 0 and platform.system() == 'Linux':
1463
	if not networked and uid == 0 and platform.system() == 'Linux' and "network-sandbox" in features:
1464
		keywords['unshare_net'] = True
1464
		keywords['unshare_net'] = True
1465
1465
1466
	# TODO: Enable fakeroot to be used together with droppriv.  The
1466
	# TODO: Enable fakeroot to be used together with droppriv.  The
1467
- 

Return to bug 481450