diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-03-30 15:55:57 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-03-30 18:01:21 -0400 |
commit | 7998e81a4b5423a4501ee8faee05089c9f3df7c5 (patch) | |
tree | abe8d8a8fb8e2e7279e9d64217a446ac2f240256 | |
parent | sys-libs/glibc: add few more upstream fixes #578602 (diff) | |
download | gentoo-7998e81a4b5423a4501ee8faee05089c9f3df7c5.tar.gz gentoo-7998e81a4b5423a4501ee8faee05089c9f3df7c5.tar.bz2 gentoo-7998e81a4b5423a4501ee8faee05089c9f3df7c5.zip |
sys-libs/glibc: add USE=rpc to control obsolete RPC/NIS APIs #381391 #576278
-rw-r--r-- | sys-libs/glibc/files/eblits/src_configure.eblit | 2 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-2.23.ebuild | 2 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-9999.ebuild | 2 | ||||
-rw-r--r-- | sys-libs/glibc/metadata.xml | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/sys-libs/glibc/files/eblits/src_configure.eblit b/sys-libs/glibc/files/eblits/src_configure.eblit index 99964fbee98e..41ba5ddf7ad0 100644 --- a/sys-libs/glibc/files/eblits/src_configure.eblit +++ b/sys-libs/glibc/files/eblits/src_configure.eblit @@ -113,7 +113,7 @@ glibc_do_configure() { --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion="$(glibc_banner)" $(use_multiarch || echo --disable-multi-arch) - --enable-obsolete-rpc + $(in_iuse rpc && use_enable rpc obsolete-rpc || echo --enable-obsolete-rpc) $(in_iuse systemtap && use_enable systemtap) $(in_iuse nscd && use_enable nscd) ${EXTRA_ECONF} diff --git a/sys-libs/glibc/glibc-2.23.ebuild b/sys-libs/glibc/glibc-2.23.ebuild index a9d384a9b29b..c8cb72a81459 100644 --- a/sys-libs/glibc/glibc-2.23.ebuild +++ b/sys-libs/glibc/glibc-2.23.ebuild @@ -30,7 +30,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1" PATCH_VER="3" # Gentoo patchset : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only" +IUSE="debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only" # Here's how the cross-compile logic breaks down ... # CTARGET - machine that will target the binaries diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index d2b9c01ed965..3263afea8618 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -30,7 +30,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1" PATCH_VER="" # Gentoo patchset : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only" +IUSE="debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only" # Here's how the cross-compile logic breaks down ... # CTARGET - machine that will target the binaries diff --git a/sys-libs/glibc/metadata.xml b/sys-libs/glibc/metadata.xml index 4fdcae4d830a..e6ebe220ca6b 100644 --- a/sys-libs/glibc/metadata.xml +++ b/sys-libs/glibc/metadata.xml @@ -9,6 +9,7 @@ <flag name="debug">When USE=hardened, allow fortify/stack violations to dump core (SIGABRT) and not kill self (SIGKILL)</flag> <flag name="gd">build memusage and memusagestat tools</flag> <flag name="nscd">Build, and enable support for, the Name Service Cache Daemon</flag> + <flag name="rpc">Enable obsolete RPC/NIS layers (disabling is experimental -- see bug 381391)</flag> <flag name="suid">Make internal pt_chown helper setuid -- not needed if using Linux and have /dev/pts mounted with gid=5</flag> <flag name="systemtap">enable systemtap static probe points</flag> </use> |