about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorPetr Vorel <pvorel@suse.cz>2020-07-08 13:06:55 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-07-08 17:25:57 +0200
commitae7a94e5e3edf78f4da562edc05ece229614c716 (patch)
treebe0969c61080fc1dbd69293944a3362b20db7cff /sysdeps
parentacb527929d0c2b3bb0798472c42ddb3203729708 (diff)
downloadglibc-ae7a94e5e3edf78f4da562edc05ece229614c716.tar.gz
glibc-ae7a94e5e3edf78f4da562edc05ece229614c716.tar.xz
glibc-ae7a94e5e3edf78f4da562edc05ece229614c716.zip
Remove --enable-obsolete-nsl configure flag
this means that *always* libnsl is only built as shared library for
backward compatibility and the NSS modules libnss_nis and libnss_nisplus
are not built at all, libnsl's headers aren't installed.

This compatibility is kept only for architectures and ABIs that have
been added in or before version 2.28.

Replacement implementations based on TIRPC, which additionally support
IPv6, are available from <https://github.com/thkukuk/>.

This change does not affect libnss_compat which does not depended
on libnsl since 2.27 and thus can be used without NIS.

libnsl code depends on Sun RPC, e.g. on --enable-obsolete-rpc (installed
libnsl headers use installed Sun RPC headers), which will be removed in
the following commit.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/Makefile2
-rw-r--r--sysdeps/unix/sysv/linux/mips/shlib-versions2
2 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/mach/Makefile b/sysdeps/mach/Makefile
index b4e31d35f7..c3ba6c91cd 100644
--- a/sysdeps/mach/Makefile
+++ b/sysdeps/mach/Makefile
@@ -56,8 +56,6 @@ else ifeq (dlfcn,$(subdir))
   LDLIBS-dl.so += $(objdir)/mach/libmachuser.so
 else ifeq (nis,$(subdir))
   LDLIBS-nsl.so += $(objdir)/mach/libmachuser.so
-  LDLIBS-nss_nis.so += $(objdir)/mach/libmachuser.so
-  LDLIBS-nss_nisplus.so += $(objdir)/mach/libmachuser.so
   LDLIBS-nss_compat.so += $(objdir)/mach/libmachuser.so
 else ifeq (nss,$(subdir))
   LDLIBS-nss.so += $(objdir)/mach/libmachuser.so
diff --git a/sysdeps/unix/sysv/linux/mips/shlib-versions b/sysdeps/unix/sysv/linux/mips/shlib-versions
index c5bd7db098..ecfe1845f4 100644
--- a/sysdeps/unix/sysv/linux/mips/shlib-versions
+++ b/sysdeps/unix/sysv/linux/mips/shlib-versions
@@ -15,8 +15,6 @@ libresolv=2		GLIBC_2.0 GLIBC_2.2
 libnss_files=2		GLIBC_2.0 GLIBC_2.2
 libnss_dns=2		GLIBC_2.0 GLIBC_2.2
 libnss_compat=2		GLIBC_2.0 GLIBC_2.2
-libnss_nis=2		GLIBC_2.0 GLIBC_2.2
-libnss_nisplus=2	GLIBC_2.0 GLIBC_2.2
 libnss_ldap=2		GLIBC_2.0 GLIBC_2.2
 libnss_hesiod=2		GLIBC_2.0 GLIBC_2.2