[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2020-11-23 Thread Benda XU
commit: f7ae36c9547d429f58be24e0416848cd25e8d8bb
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Nov 24 05:50:11 2020 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Nov 24 05:51:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ae36c9

profiles/f/p/s/kernel-2.6.16+/p.bashrc: libuv compatibility.

libuv is a dependency of cmake.

Switch off CLOEXEC related functions that are not introduced until
linux-2.6.27.

Signed-off-by: Benda Xu  gentoo.org>

 profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc 
b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index ed5226a858d..6370f687cad 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -3,6 +3,10 @@
 if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; 
then
 einfo "Removing utimensat outputs..."
 sed -e '/UTIMENSAT=/d' -i "${S}"/Source/kwsys/CMakeLists.txt || die
+elif [[ ${CATEGORY}/${PN} == dev-libs/libuv && ${EBUILD_PHASE} == prepare ]]; 
then
+einfo "Removing CLOEXEC related functions..."
+sed -e 's/defined(__FreeBSD__) || defined(__linux__)/0/' \
+-i "${S}"/src/unix/process.c || die
 elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; 
then
 einfo "Removing pipe2 definitions..."
 sed -e '/define.*HAVE_PIPE2/d' -i "${S}"/src/3rdparty/forkfd/forkfd.c || 
die
@@ -19,7 +23,7 @@ elif [[ ${CATEGORY}/${PN} == sys-apps/util-linux && 
${EBUILD_PHASE} == configure
 sed -r -e 's/inotify_init1\(.*\)/inotify_init\(\)/' \
-e '/open\(/s/\| *O_CLOEXEC//' \
-e 's/epoll_create1\(EPOLL_CLOEXEC/epoll_create\(1/' \
-   -i "${S}"/libmount/src/monitor.c
+   -i "${S}"/libmount/src/monitor.c || die
 fi
 
 # Local Variables:



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2020-11-22 Thread Benda XU
commit: 6dab4bf338cb68ba68726400eb72252bfdffcfe3
Author: Benda Xu  gentoo  org>
AuthorDate: Sun Nov 22 10:35:18 2020 +
Commit: Benda XU  gentoo  org>
CommitDate: Sun Nov 22 10:38:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dab4bf3

profiles/f/p/s/kernel-2.6.16+/p.bashrc: libmount compatibility.

Replace CLOEXEC related functions that are not introduced until
linux-2.6.27 with old ones.  The result is not thread safe, but
compiles.

Signed-off-by: Benda Xu  gentoo.org>

 profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc 
b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index dad9dcbc585..ed5226a858d 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -14,6 +14,12 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && 
${EBUILD_PHASE} == configure ]]; t
 elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure 
]]; then
 einfo "Removing dup3 and pipe2 definitions..."
 sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i "${S}"/configure || 
die
+elif [[ ${CATEGORY}/${PN} == sys-apps/util-linux && ${EBUILD_PHASE} == 
configure ]]; then
+einfo "Removing CLOEXEC related functions..."
+sed -r -e 's/inotify_init1\(.*\)/inotify_init\(\)/' \
+   -e '/open\(/s/\| *O_CLOEXEC//' \
+   -e 's/epoll_create1\(EPOLL_CLOEXEC/epoll_create\(1/' \
+   -i "${S}"/libmount/src/monitor.c
 fi
 
 # Local Variables:



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2020-05-11 Thread Benda XU
commit: 9cad245879c2e9c311452bcc81a72baf49fb933f
Author: Benda Xu  gentoo  org>
AuthorDate: Mon May 11 07:13:50 2020 +
Commit: Benda XU  gentoo  org>
CommitDate: Mon May 11 07:16:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cad2458

p/f/prefix/standalone/kernel-2.6.16+/use.mask: remove empty

Signed-off-by: Benda Xu  gentoo.org>

 profiles/features/prefix/standalone/kernel-2.6.16+/use.mask | 1 -
 1 file changed, 1 deletion(-)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
deleted file mode 100644
index 83862097866..000
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
+++ /dev/null
@@ -1 +0,0 @@
-# >=python-3 is masked



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2019-12-22 Thread Benda XU
commit: 7d8fcc89055a18b03552f6acb20221426abd89c3
Author: Benda Xu  gentoo  org>
AuthorDate: Mon Dec 23 02:46:03 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Mon Dec 23 02:47:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d8fcc89

p/f/prefix/standalone/kernel-2.6.16+/profile.bashrc: hack qtcore to compile.

  Lower the minimal version of Linux to 2.6.18.

Signed-off-by: Benda Xu  gentoo.org>

 profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc 
b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index 049bbfe48ee..dad9dcbc585 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -8,6 +8,9 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} 
== configure ]]; t
 sed -e '/define.*HAVE_PIPE2/d' -i "${S}"/src/3rdparty/forkfd/forkfd.c || 
die
 einfo "Removing utimensat calls..."
 sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i 
"${S}"/qmake/library/ioutils.cpp || die
+einfo "Lower the minimal version of Linux..."
+sed -r -e 's/MINLINUX_PATCH[[:space:]]+28/MINLINUX_PATCH 18/' \
+-i "${S}"/src/corelib/global/minimum-linux_p.h || die
 elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure 
]]; then
 einfo "Removing dup3 and pipe2 definitions..."
 sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i "${S}"/configure || 
die



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2019-12-22 Thread Benda XU
commit: 1449cadc849bb6459f9c1425a7b1142d019435ed
Author: Benda Xu  gentoo  org>
AuthorDate: Sun Dec 22 09:52:39 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Sun Dec 22 13:57:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1449cadc

p/f/prefix/s/kernel-2.6.16+: supports python-3 now.

Signed-off-by: Benda Xu  gentoo.org>

 profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults | 4 
 1 file changed, 4 deletions(-)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults 
b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
index e8e0ce1eaea..2881aa37fc7 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
@@ -17,7 +17,3 @@ ac_cv_func_pipe2=no
 ac_cv_func_dup3=no
 # epoll_create1 requires >=linux-2.6.27.
 ac_cv_func_epoll_create1=no
-
-# >=python-3 is masked.
-PYTHON_TARGETS=python2_7
-PYTHON_SINGLE_TARGET=python2_7



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2019-10-13 Thread Benda XU
commit: 86a26b2e09c8c0451d5eb29259abdd5ea2213b0c
Author: Benda Xu  gentoo  org>
AuthorDate: Mon Oct 14 05:19:01 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Mon Oct 14 05:20:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a26b2e

p/f/prefix/s/kernel-2.6.16+/package.use.mask: mask libepoxy[egl].

  It depends on mesa[egl].

Signed-off-by: Benda Xu  gentoo.org>

 profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
index fdc243ff8a1..f571cf79f38 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
@@ -6,6 +6,7 @@
 # without checking.  That results on build time failure, because we have
 # stripped away F_DUPFD_CLOEXEC from glibc for this profile.
 media-libs/mesa egl gles2 gallium llvm
+media-libs/libepoxy egl
 
 # Benda Xu  (2018-02-21)
 # We are on an old kernel that only glibc-2.19 is supported. That glibc does



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2019-10-13 Thread Benda XU
commit: 47b6d14488f624111daa564f40ec49fc223b623c
Author: Benda Xu  gentoo  org>
AuthorDate: Mon Oct 14 03:11:31 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Mon Oct 14 03:14:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b6d144

p/f/prefix/s/kernel-2.6.16+/package.use.mask: mask mesa USE flags.

  USE='egl gles2 gallium llvm' contains unconditional code calling
  F_DUPFD_CLOEXEC.

Signed-off-by: Benda Xu  gentoo.org>

 .../features/prefix/standalone/kernel-2.6.16+/package.use.mask| 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git 
a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
index b5f69351385..fdc243ff8a1 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
@@ -1,6 +1,12 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Benda Xu  (2019-10-14)
+# The following mesa components calls fcntl(fd, F_DUPFD_CLOEXEC, 3) directly
+# without checking.  That results on build time failure, because we have
+# stripped away F_DUPFD_CLOEXEC from glibc for this profile.
+media-libs/mesa egl gles2 gallium llvm
+
 # Benda Xu  (2018-02-21)
 # We are on an old kernel that only glibc-2.19 is supported. That glibc does
 # not build with PIE enabled.  glibc-2.19 and linux-2.6.16 is end of life



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2019-10-11 Thread Benda XU
commit: 0a96e2b065ec8d36db5057c6ee9ce3f4309c1f54
Author: Benda Xu  gentoo  org>
AuthorDate: Fri Oct 11 06:55:30 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Fri Oct 11 06:57:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a96e2b0

p/f/prefix/s/kernel-2.6.16+/profile.bashrc: drop hacks for glibc.

  The hacks have been converted into ebuild patches in glibc-2.19.

Closes: https://bugs.gentoo.org/666982
Signed-off-by: Benda Xu  gentoo.org>

 .../features/prefix/standalone/kernel-2.6.16+/profile.bashrc   | 10 --
 1 file changed, 10 deletions(-)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc 
b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index c08217181df..049bbfe48ee 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -11,16 +11,6 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && 
${EBUILD_PHASE} == configure ]]; t
 elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure 
]]; then
 einfo "Removing dup3 and pipe2 definitions..."
 sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i "${S}"/configure || 
die
-elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; 
then
-einfo "Removing F_DUPFD_CLOEXEC definitions..."
-sed -e '/define.*F_DUPFD_CLOEXEC/,/*\//d' -i 
"${S}"/sysdeps/unix/sysv/linux/bits/fcntl-linux.h || die
-einfo "Removing pipe2 definitions..."
-sed -e '/^extern int pipe2/d' -i "${S}"/posix/unistd.h || die
-einfo "Removing epoll_create1 definitions..."
-sed -e '/^extern int epoll_create1/d' -i 
"${S}"/sysdeps/unix/sysv/linux/sys/epoll.h || die
-einfo "Removing lutimes and utimensat definitions..."
-sed -e '/^extern int lutimes/,/__THROW/d' -i "${S}"/time/sys/time.h || die
-sed -e '/^extern int utimensat/,/__THROW/d' -i "${S}"/io/sys/stat.h || die
 fi
 
 # Local Variables:



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2019-07-20 Thread Benda XU
commit: 4bdcfa8a58717443d1f52d3c854d07bb498506c6
Author: Benda Xu  gentoo  org>
AuthorDate: Sat Jul 20 14:17:47 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Sat Jul 20 14:20:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bdcfa8a

p/f/prefix/s/kernel-2.6.16+/package.mask: mask a ebuild version.

net-analyzer/openbsd-netcat-1.190 requires >=linux-2.6.27.

Signed-off-by: Benda Xu  gentoo.org>

 profiles/features/prefix/standalone/kernel-2.6.16+/package.mask | 5 +
 1 file changed, 5 insertions(+)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
index 252f00524ee..ea94fc471ff 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
@@ -2,6 +2,11 @@
 # https://lwn.net/Articles/611162
 >=sys-libs/glibc-2.20
 
+# Benda Xu  (2019-07-20)
+# openbsd-netcat-1.190 requires SOCK_NONBLOCK from socket,
+# which is available since Linux 2.6.27.
+>=net-analyzer/openbsd-netcat-1.190
+
 # Tupone Alfredo  (2018-11-04)
 # require newer glibc
 dev-lang/gnat-gpl



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2019-07-17 Thread Benda XU
commit: b57fffdff5e050324c6f218ec3ef2f750e58eb0d
Author: Benda Xu  gentoo  org>
AuthorDate: Wed Jul 17 03:00:12 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Thu Jul 18 04:08:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b57fffdf

p/f/prefix/s/kernel-2.6.16+/package.use: glibc should enable suid.

  On Prefix, we do not have control over /dev/pts, suid is needed
  everywhere.

Signed-off-by: Benda Xu  gentoo.org>

 profiles/features/prefix/standalone/kernel-2.6.16+/package.use | 5 +
 1 file changed, 5 insertions(+)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use 
b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use
new file mode 100644
index 000..0358fd9248e
--- /dev/null
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use
@@ -0,0 +1,5 @@
+# Benda Xu  (2019-07-17)
+# We are on an old kernel and without root privilege, the suid mode of
+# glibc should enabled everywhere to avoid extra assumptions of the
+# environment we do not control.
+sys-libs/glibc suid



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2019-07-17 Thread Benda XU
commit: fb4d361aa84e1c6b9ec313bfceb4307bb0eb615b
Author: Benda Xu  gentoo  org>
AuthorDate: Wed Jul 17 13:16:44 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Thu Jul 18 04:08:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4d361a

p/f/prefix/s/kernel-2.6.16+/package.mask: remove python-3 mask.

  The missing kernel feature is encoded in sys-libs/glibc.  Therefore
  python-3 could configure correctly.

Signed-off-by: Benda Xu  gentoo.org>

 profiles/features/prefix/standalone/kernel-2.6.16+/package.mask | 5 -
 1 file changed, 5 deletions(-)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
index 3dd562a06e8..252f00524ee 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
@@ -2,11 +2,6 @@
 # https://lwn.net/Articles/611162
 >=sys-libs/glibc-2.20
 
-# >=python-3.4 assumes F_DUPFD_CLOEXEC of fcntl,
-# which requires >=linux-2.6.24.
-# python-3.3 seems to be unconditionally using utimensat.
->=dev-lang/python-3
-
 # Tupone Alfredo  (2018-11-04)
 # require newer glibc
 dev-lang/gnat-gpl



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/, profiles/desc/, ...

2019-03-21 Thread Michał Górny
commit: 3e98710246263543d31b34ce552fc85d8dd852c4
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 21 13:42:54 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 21 18:01:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e987102

profiles: Remove python3_4 flags

Signed-off-by: Michał Górny  gentoo.org>

 profiles/base/package.use.force | 3 +--
 profiles/desc/python_single_target.desc | 3 +--
 profiles/desc/python_targets.desc   | 3 +--
 profiles/features/prefix/standalone/kernel-2.6.16+/use.mask | 2 --
 profiles/prefix/windows/cygwin/use.mask | 3 +--
 5 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force
index 834d98c7952..a4f67f42aa5 100644
--- a/profiles/base/package.use.force
+++ b/profiles/base/package.use.force
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Lars Wendler  (20 Mar 2019)
@@ -76,7 +76,6 @@ app-shells/bash:0 readline
 # Force-enable all PYTHON_TARGETS for python-exec to avoid using private
 # API. Please remember to keep it in sync with python_targets.desc.
 dev-lang/python-exec python_targets_python2_7
-dev-lang/python-exec python_targets_python3_4
 dev-lang/python-exec python_targets_python3_5
 dev-lang/python-exec python_targets_python3_6
 dev-lang/python-exec python_targets_python3_7

diff --git a/profiles/desc/python_single_target.desc 
b/profiles/desc/python_single_target.desc
index 806875d947a..b6813fd288f 100644
--- a/profiles/desc/python_single_target.desc
+++ b/profiles/desc/python_single_target.desc
@@ -1,10 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation.
+# Copyright 1999-2019 Gentoo Authors.
 # Distributed under the terms of the GNU General Public License v2
 
 # This file contains descriptions of PYTHON_SINGLE_TARGET USE_EXPAND flags.
 
 python2_7 - Build for Python 2.7 only
-python3_4 - Build for Python 3.4 only
 python3_5 - Build for Python 3.5 only
 python3_6 - Build for Python 3.6 only
 python3_7 - Build for Python 3.7 only

diff --git a/profiles/desc/python_targets.desc 
b/profiles/desc/python_targets.desc
index d338bba3b19..960c0f96e4d 100644
--- a/profiles/desc/python_targets.desc
+++ b/profiles/desc/python_targets.desc
@@ -1,10 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation.
+# Copyright 1999-2019 Gentoo Authors.
 # Distributed under the terms of the GNU General Public License v2
 
 # This file contains descriptions of PYTHON_TARGETS USE_EXPAND flags.
 
 python2_7 - Build with Python 2.7
-python3_4 - Build with Python 3.4
 python3_5 - Build with Python 3.5
 python3_6 - Build with Python 3.6
 python3_7 - Build with Python 3.7

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
index d465a4d7db1..b7f146f8d4a 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
@@ -1,5 +1,3 @@
 # >=python-3 is masked
 python_single_target_python3_5
-python_single_target_python3_4
 python_targets_python3_5
-python_targets_python3_4

diff --git a/profiles/prefix/windows/cygwin/use.mask 
b/profiles/prefix/windows/cygwin/use.mask
index a443b8e0a5e..392ef405f2e 100644
--- a/profiles/prefix/windows/cygwin/use.mask
+++ b/profiles/prefix/windows/cygwin/use.mask
@@ -1,10 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Re-add Cygwin's libc
 -elibc_Cygwin
 
 # we do have only python-3.6 ready on cygwin
-python_targets_python3_4
 python_targets_python3_5
 python_targets_python3_7



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2018-11-04 Thread Alfredo Tupone
commit: ff6926105c895b7d7ef268cb8786eca69b4f1f3c
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sun Nov  4 15:29:57 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Nov  4 15:32:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff692610

Add dev-lang/gnat-gpl to package.mask

Signed-off-by: Alfredo Tupone  gentoo.org>

 profiles/features/prefix/standalone/kernel-2.6.16+/package.mask | 4 
 1 file changed, 4 insertions(+)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
index 0aa01a72efb..eb862b370f5 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
@@ -6,3 +6,7 @@
 # which requires >=linux-2.6.24.
 # python-3.3 seems to be unconditionally using utimensat.
 >=dev-lang/python-3
+
+# Tupone Alfredo  (4 Nov 2018)
+# require newer glibc
+dev-lang/gnat-gpl



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2018-08-30 Thread Benda XU
commit: 8f5b08e5a94376b0d02238b1cd3bad035050b315
Author: Benda Xu  gentoo  org>
AuthorDate: Thu Aug 30 23:28:16 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Thu Aug 30 23:28:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f5b08e5

p/f/p/s/kernel-2.6.16+: remove definitions of lutimes.

 profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults  | 7 ++-
 profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 3 +++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults 
b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
index c64a419f389..e8e0ce1eaea 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
@@ -9,9 +9,14 @@
 
 # utimensat is missing or not reliable until linux-2.6.32.
 # needed by python-3.
+# lutimes requires utimensat
 ac_cv_func_utimensat=no
-# pipe2 requires >=linux-2.6.27.  Needed by python-3.
+ac_cv_func_lutimes=no
+# pipe2 and dup3 requires >=linux-2.6.27.  Needed by python-3.
 ac_cv_func_pipe2=no
+ac_cv_func_dup3=no
+# epoll_create1 requires >=linux-2.6.27.
+ac_cv_func_epoll_create1=no
 
 # >=python-3 is masked.
 PYTHON_TARGETS=python2_7

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc 
b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index 0fc68db876a..c08217181df 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -18,6 +18,9 @@ elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && 
${EBUILD_PHASE} == compile ]]; th
 sed -e '/^extern int pipe2/d' -i "${S}"/posix/unistd.h || die
 einfo "Removing epoll_create1 definitions..."
 sed -e '/^extern int epoll_create1/d' -i 
"${S}"/sysdeps/unix/sysv/linux/sys/epoll.h || die
+einfo "Removing lutimes and utimensat definitions..."
+sed -e '/^extern int lutimes/,/__THROW/d' -i "${S}"/time/sys/time.h || die
+sed -e '/^extern int utimensat/,/__THROW/d' -i "${S}"/io/sys/stat.h || die
 fi
 
 # Local Variables:



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2018-08-30 Thread Benda XU
commit: 085f50f00ae2751c88eaba887e20b4e5808345f7
Author: Benda Xu  gentoo  org>
AuthorDate: Thu Aug 30 07:29:41 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Thu Aug 30 07:33:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=085f50f0

p/f/p/s/kernel-2.6.16+/profile.bashrc: glibc to be well to linux-2.6.16.

  F_DUPFD_CLOEXEC is available from linux-2.6.24.

  pipe2 and dup3 is introduced in linux-2.6.27.

 .../prefix/standalone/kernel-2.6.16+/profile.bashrc   | 15 +++
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc 
b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index eeba17808ec..0fc68db876a 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -2,15 +2,22 @@
 
 if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; 
then
 einfo "Removing utimensat outputs..."
-sed -e '/UTIMENSAT=/d' -i ${S}/Source/kwsys/CMakeLists.txt || die
+sed -e '/UTIMENSAT=/d' -i "${S}"/Source/kwsys/CMakeLists.txt || die
 elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; 
then
 einfo "Removing pipe2 definitions..."
-sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die
+sed -e '/define.*HAVE_PIPE2/d' -i "${S}"/src/3rdparty/forkfd/forkfd.c || 
die
 einfo "Removing utimensat calls..."
-sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i 
${S}/qmake/library/ioutils.cpp || die
+sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i 
"${S}"/qmake/library/ioutils.cpp || die
 elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure 
]]; then
 einfo "Removing dup3 and pipe2 definitions..."
-sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i ${S}/configure || 
die
+sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i "${S}"/configure || 
die
+elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; 
then
+einfo "Removing F_DUPFD_CLOEXEC definitions..."
+sed -e '/define.*F_DUPFD_CLOEXEC/,/*\//d' -i 
"${S}"/sysdeps/unix/sysv/linux/bits/fcntl-linux.h || die
+einfo "Removing pipe2 definitions..."
+sed -e '/^extern int pipe2/d' -i "${S}"/posix/unistd.h || die
+einfo "Removing epoll_create1 definitions..."
+sed -e '/^extern int epoll_create1/d' -i 
"${S}"/sysdeps/unix/sysv/linux/sys/epoll.h || die
 fi
 
 # Local Variables:



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2018-08-28 Thread Benda XU
commit: 74f62a4b59e09b7c44cb1d76ac0fd106ed28ef13
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Aug 28 13:07:01 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Aug 28 13:08:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f62a4b

p/f/p/s/kernel-2.6.16+/profile.bashrc: no dup3 or pipe2 for ocaml.

  They are not defined by kernel-2.6.16.

 profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc 
b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index 2a505554239..eeba17808ec 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -8,9 +8,9 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} 
== configure ]]; t
 sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die
 einfo "Removing utimensat calls..."
 sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i 
${S}/qmake/library/ioutils.cpp || die
-elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == compile ]]; 
then
-einfo "Removing dup3 definitions..."
-sed -e '/define.*HAS_DUP3/d' -i ${S}/config/s.h || die
+elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure 
]]; then
+einfo "Removing dup3 and pipe2 definitions..."
+sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i ${S}/configure || 
die
 fi
 
 # Local Variables:



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2018-08-28 Thread Benda XU
commit: fb887e90dd9b95083f7dfad563f1756ebe8124de
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Aug 28 12:48:09 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Aug 28 12:48:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb887e90

p/f/p/s/kernel-2.6.16+/use.mask: >=python3.6 actually works!

  The newer versions of python have better compatibility on old linux
  kernels.

 profiles/features/prefix/standalone/kernel-2.6.16+/use.mask | 4 
 1 file changed, 4 deletions(-)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
index a2ccaca4c8e..d465a4d7db1 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
@@ -1,9 +1,5 @@
 # >=python-3 is masked
-python_single_target_python3_7
-python_single_target_python3_6
 python_single_target_python3_5
 python_single_target_python3_4
-python_targets_python3_7
-python_targets_python3_6
 python_targets_python3_5
 python_targets_python3_4



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2018-08-28 Thread Benda XU
commit: 565ec9369ff37d2cec6cb5e7a01488d8ac46ec72
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Aug 28 12:35:41 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Aug 28 12:40:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565ec936

p/f/p/s/kernel-2.6.16+/profile.bashrc: avoid dup3 definitions.

 profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc 
b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index fb926138685..2a505554239 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -8,6 +8,9 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} 
== configure ]]; t
 sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die
 einfo "Removing utimensat calls..."
 sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i 
${S}/qmake/library/ioutils.cpp || die
+elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == compile ]]; 
then
+einfo "Removing dup3 definitions..."
+sed -e '/define.*HAS_DUP3/d' -i ${S}/config/s.h || die
 fi
 
 # Local Variables:



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2018-08-17 Thread Benda XU
commit: 94b0c25e55cf4477438ddca4884589421748c428
Author: Benda Xu  gentoo  org>
AuthorDate: Sat Aug 18 05:35:12 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Sat Aug 18 05:37:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b0c25e

p/f/p/s/kernel-2.6.16+/profile.bashrc: disable pipe2, utimensat

  qtcore incorrectly uses kernel features without testing. Fix it.

 .../features/prefix/standalone/kernel-2.6.16+/profile.bashrc  | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc 
b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
index e537cc0fa31..fb926138685 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -2,5 +2,14 @@
 
 if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; 
then
 einfo "Removing utimensat outputs..."
-sed -i '/UTIMENSAT=/d' ${S}/Source/kwsys/CMakeLists.txt
+sed -e '/UTIMENSAT=/d' -i ${S}/Source/kwsys/CMakeLists.txt || die
+elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; 
then
+einfo "Removing pipe2 definitions..."
+sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die
+einfo "Removing utimensat calls..."
+sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i 
${S}/qmake/library/ioutils.cpp || die
 fi
+
+# Local Variables:
+# mode: shell-script
+# End:



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2018-02-20 Thread Benda XU
commit: b746bc3e9dffac056b7576071ecba7fee79910ee
Author: Benda Xu  gentoo  org>
AuthorDate: Wed Feb 21 01:56:51 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Wed Feb 21 02:00:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b746bc3e

profiles/f/p/s/kernel-2.6.16+: mask PIE.

  We cannot support PIE on linux-2.6.16 unless we know how to build
  glibc-2.19 with PIE.

 .../features/prefix/standalone/kernel-2.6.16+/package.use.mask| 8 
 1 file changed, 8 insertions(+)

diff --git 
a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
new file mode 100644
index 000..9ddfe805a61
--- /dev/null
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Benda Xu  (Feb 21, 2018)
+# We are on an old kernel that only glibc-2.19 is supported. That glibc does
+# not build with PIE enabled.  glibc-2.19 and linux-2.6.16 is end of life
+# anyway, so we don't care about security.
+sys-devel/gcc pie



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/

2018-01-13 Thread Benda XU
commit: dd3ecd84e266d963e57d332ca1a3a8972f8fcedc
Author: Benda Xu  gentoo  org>
AuthorDate: Sat Jan 13 13:20:39 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Sat Jan 13 13:21:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd3ecd84

profiles/f/prefix/s/kernel-2.6.16+/make.defaults: fix PYTHON_TARGETS

 profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults 
b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
index 510e5e21b3c..c64a419f389 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
@@ -14,5 +14,5 @@ ac_cv_func_utimensat=no
 ac_cv_func_pipe2=no
 
 # >=python-3 is masked.
-PYTHON_TARGETS="-python3_*"
+PYTHON_TARGETS=python2_7
 PYTHON_SINGLE_TARGET=python2_7



[gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/, ...

2018-01-12 Thread Benda XU
commit: 68e67c1806e9f3f7f6352718cd3ce2870ff156d6
Author: Benda Xu  gentoo  org>
AuthorDate: Fri Jan 12 13:28:01 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Fri Jan 12 13:31:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68e67c18

profiles/prefix: rename beyond-kernel-? to kernel-?+

  In addition, mask python 3 USE flags for kernel-2.6.16+.

 .../{beyond-kernel-2.6.16 => kernel-2.6.16+}/make.defaults | 3 ++-
 .../{beyond-kernel-2.6.16 => kernel-2.6.16+}/package.mask  | 0
 .../{beyond-kernel-2.6.16 => kernel-2.6.16+}/package.unmask| 0
 .../standalone/{beyond-kernel-2.6.16 => kernel-2.6.16+}/parent | 0
 .../{beyond-kernel-2.6.16 => kernel-2.6.16+}/profile.bashrc| 0
 profiles/features/prefix/standalone/kernel-2.6.16+/use.mask| 7 +++
 .../{beyond-kernel-2.6.32 => kernel-2.6.32+}/package.mask  | 0
 .../{beyond-kernel-2.6.32 => kernel-2.6.32+}/package.unmask| 0
 .../standalone/{beyond-kernel-2.6.32 => kernel-2.6.32+}/parent | 0
 profiles/prefix/linux-standalone/amd64/legacy/parent   | 2 +-
 profiles/prefix/linux-standalone/x86/legacy/parent | 2 +-
 11 files changed, 11 insertions(+), 3 deletions(-)

diff --git 
a/profiles/features/prefix/standalone/beyond-kernel-2.6.16/make.defaults 
b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
similarity index 89%
rename from 
profiles/features/prefix/standalone/beyond-kernel-2.6.16/make.defaults
rename to profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
index 22044de8763..510e5e21b3c 100644
--- a/profiles/features/prefix/standalone/beyond-kernel-2.6.16/make.defaults
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults
@@ -14,4 +14,5 @@ ac_cv_func_utimensat=no
 ac_cv_func_pipe2=no
 
 # >=python-3 is masked.
-PYTHON_TARGETS="-python3_5"
+PYTHON_TARGETS="-python3_*"
+PYTHON_SINGLE_TARGET=python2_7

diff --git 
a/profiles/features/prefix/standalone/beyond-kernel-2.6.16/package.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/package.mask
similarity index 100%
rename from 
profiles/features/prefix/standalone/beyond-kernel-2.6.16/package.mask
rename to profiles/features/prefix/standalone/kernel-2.6.16+/package.mask

diff --git 
a/profiles/features/prefix/standalone/beyond-kernel-2.6.16/package.unmask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/package.unmask
similarity index 100%
rename from 
profiles/features/prefix/standalone/beyond-kernel-2.6.16/package.unmask
rename to profiles/features/prefix/standalone/kernel-2.6.16+/package.unmask

diff --git a/profiles/features/prefix/standalone/beyond-kernel-2.6.16/parent 
b/profiles/features/prefix/standalone/kernel-2.6.16+/parent
similarity index 100%
rename from profiles/features/prefix/standalone/beyond-kernel-2.6.16/parent
rename to profiles/features/prefix/standalone/kernel-2.6.16+/parent

diff --git 
a/profiles/features/prefix/standalone/beyond-kernel-2.6.16/profile.bashrc 
b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
similarity index 100%
rename from 
profiles/features/prefix/standalone/beyond-kernel-2.6.16/profile.bashrc
rename to profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc

diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
new file mode 100644
index 000..2a1686418a8
--- /dev/null
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/use.mask
@@ -0,0 +1,7 @@
+# >=python-3 is masked
+python_single_target_python3_6
+python_single_target_python3_5
+python_single_target_python3_4
+python_targets_python3_6
+python_targets_python3_5
+python_targets_python3_4

diff --git 
a/profiles/features/prefix/standalone/beyond-kernel-2.6.32/package.mask 
b/profiles/features/prefix/standalone/kernel-2.6.32+/package.mask
similarity index 100%
rename from 
profiles/features/prefix/standalone/beyond-kernel-2.6.32/package.mask
rename to profiles/features/prefix/standalone/kernel-2.6.32+/package.mask

diff --git 
a/profiles/features/prefix/standalone/beyond-kernel-2.6.32/package.unmask 
b/profiles/features/prefix/standalone/kernel-2.6.32+/package.unmask
similarity index 100%
rename from 
profiles/features/prefix/standalone/beyond-kernel-2.6.32/package.unmask
rename to profiles/features/prefix/standalone/kernel-2.6.32+/package.unmask

diff --git a/profiles/features/prefix/standalone/beyond-kernel-2.6.32/parent 
b/profiles/features/prefix/standalone/kernel-2.6.32+/parent
similarity index 100%
rename from profiles/features/prefix/standalone/beyond-kernel-2.6.32/parent
rename to profiles/features/prefix/standalone/kernel-2.6.32+/parent

diff --git a/profiles/prefix/linux-standalone/amd64/legacy/parent 
b/profiles/prefix/linux-standalone/amd64/legacy/parent
index a0af8587772..f8002c688eb 100644
--- a/profiles/prefix/linux-standalone/amd64/legacy/parent
+++