1 |
commit: 7998e81a4b5423a4501ee8faee05089c9f3df7c5 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 30 19:55:57 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 30 22:01:21 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7998e81a |
7 |
|
8 |
sys-libs/glibc: add USE=rpc to control obsolete RPC/NIS APIs #381391 #576278 |
9 |
|
10 |
sys-libs/glibc/files/eblits/src_configure.eblit | 2 +- |
11 |
sys-libs/glibc/glibc-2.23.ebuild | 2 +- |
12 |
sys-libs/glibc/glibc-9999.ebuild | 2 +- |
13 |
sys-libs/glibc/metadata.xml | 1 + |
14 |
4 files changed, 4 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/sys-libs/glibc/files/eblits/src_configure.eblit b/sys-libs/glibc/files/eblits/src_configure.eblit |
17 |
index 99964fb..41ba5dd 100644 |
18 |
--- a/sys-libs/glibc/files/eblits/src_configure.eblit |
19 |
+++ b/sys-libs/glibc/files/eblits/src_configure.eblit |
20 |
@@ -113,7 +113,7 @@ glibc_do_configure() { |
21 |
--with-bugurl=http://bugs.gentoo.org/ |
22 |
--with-pkgversion="$(glibc_banner)" |
23 |
$(use_multiarch || echo --disable-multi-arch) |
24 |
- --enable-obsolete-rpc |
25 |
+ $(in_iuse rpc && use_enable rpc obsolete-rpc || echo --enable-obsolete-rpc) |
26 |
$(in_iuse systemtap && use_enable systemtap) |
27 |
$(in_iuse nscd && use_enable nscd) |
28 |
${EXTRA_ECONF} |
29 |
|
30 |
diff --git a/sys-libs/glibc/glibc-2.23.ebuild b/sys-libs/glibc/glibc-2.23.ebuild |
31 |
index a9d384a..c8cb72a 100644 |
32 |
--- a/sys-libs/glibc/glibc-2.23.ebuild |
33 |
+++ b/sys-libs/glibc/glibc-2.23.ebuild |
34 |
@@ -30,7 +30,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1" |
35 |
PATCH_VER="3" # Gentoo patchset |
36 |
: ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires |
37 |
|
38 |
-IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only" |
39 |
+IUSE="debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only" |
40 |
|
41 |
# Here's how the cross-compile logic breaks down ... |
42 |
# CTARGET - machine that will target the binaries |
43 |
|
44 |
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild |
45 |
index d2b9c01..3263afe 100644 |
46 |
--- a/sys-libs/glibc/glibc-9999.ebuild |
47 |
+++ b/sys-libs/glibc/glibc-9999.ebuild |
48 |
@@ -30,7 +30,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1" |
49 |
PATCH_VER="" # Gentoo patchset |
50 |
: ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires |
51 |
|
52 |
-IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only" |
53 |
+IUSE="debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only" |
54 |
|
55 |
# Here's how the cross-compile logic breaks down ... |
56 |
# CTARGET - machine that will target the binaries |
57 |
|
58 |
diff --git a/sys-libs/glibc/metadata.xml b/sys-libs/glibc/metadata.xml |
59 |
index 4fdcae4..e6ebe22 100644 |
60 |
--- a/sys-libs/glibc/metadata.xml |
61 |
+++ b/sys-libs/glibc/metadata.xml |
62 |
@@ -9,6 +9,7 @@ |
63 |
<flag name="debug">When USE=hardened, allow fortify/stack violations to dump core (SIGABRT) and not kill self (SIGKILL)</flag> |
64 |
<flag name="gd">build memusage and memusagestat tools</flag> |
65 |
<flag name="nscd">Build, and enable support for, the Name Service Cache Daemon</flag> |
66 |
+ <flag name="rpc">Enable obsolete RPC/NIS layers (disabling is experimental -- see bug 381391)</flag> |
67 |
<flag name="suid">Make internal pt_chown helper setuid -- not needed if using Linux and have /dev/pts mounted with gid=5</flag> |
68 |
<flag name="systemtap">enable systemtap static probe points</flag> |
69 |
</use> |