sys-apps/busybox: Disable RPC support explicitly
authorMikle Kolyada <zlogene@gentoo.org>
Sat, 24 Nov 2018 16:44:42 +0000 (19:44 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Sat, 24 Nov 2018 16:48:06 +0000 (19:48 +0300)
Closes: https://bugs.gentoo.org/665216
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

sys-apps/busybox/busybox-1.29.3.ebuild

index 4d493a7ed4f52a8d8335205716dac677b76811de..7b785c457f3869829f80dcf7ffdc173507106bc3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # See `man savedconfig.eclass` for info on how to use USE=savedconfig.
@@ -178,6 +178,10 @@ src_configure() {
        # this opt only controls mounting with <linux-2.6.23
        busybox_config_option n FEATURE_MOUNT_NFS
 
+       # glibc-2.26 and later does not ship RPC implientation
+       busybox_config_option n FEATURE_HAVE_RPC
+       busybox_config_option n FEATURE_INETD_RPC
+
        # default a bunch of uncommon options to off
        local opt
        for opt in \