sys-apps/portage: 2.3.53-r1 revbump for bug 673900
authorZac Medico <zmedico@gentoo.org>
Fri, 28 Dec 2018 18:18:34 +0000 (10:18 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 28 Dec 2018 18:19:09 +0000 (10:19 -0800)
Temporarily disable new FEATURES that require unshare, since
they may not fail gracefully in some cases.

Bug: https://bugs.gentoo.org/673900
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
sys-apps/portage/portage-2.3.53-r1.ebuild [moved from sys-apps/portage/portage-2.3.53.ebuild with 97% similarity]

similarity index 97%
rename from sys-apps/portage/portage-2.3.53.ebuild
rename to sys-apps/portage/portage-2.3.53-r1.ebuild
index da25940d204354a678bc34f65479da21a88c28f0..749f0d8ed97cdb54373c7882192282588865945d 100644 (file)
@@ -95,6 +95,13 @@ pkg_setup() {
 python_prepare_all() {
        distutils-r1_python_prepare_all
 
+       # Bug 673900 - FEATURES that require unshare may fail
+       # ungracefully if unshare support is somehow broken.
+       sed -e 's: ipc-sandbox::' \
+               -e 's:network-sandbox ::' \
+               -e 's: pid-sandbox::' \
+               -i cnf/make.globals || die
+
        if use gentoo-dev; then
                einfo "Disabling --dynamic-deps by default for gentoo-dev..."
                sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \