mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-11-03 20:53:13 +03:00 
			
		
		
		
	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.
This commit is contained in:
		
				
					committed by
					
						
						Florian Weimer
					
				
			
			
				
	
			
			
			
						parent
						
							acb527929d
						
					
				
				
					commit
					ae7a94e5e3
				
			@@ -17,19 +17,6 @@ extern enum auth_stat _svcauth_des (struct svc_req *rqst,
 | 
			
		||||
				    struct rpc_msg *msg);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#define DECLARE_NSS_PROTOTYPES(service)					\
 | 
			
		||||
extern enum nss_status _nss_ ## service ## _getpublickey		\
 | 
			
		||||
		       (const char *netname, char *pkey, int *errnop);	\
 | 
			
		||||
extern enum nss_status _nss_ ## service ## _getsecretkey		\
 | 
			
		||||
		       (const char *netname, char *skey, char *passwd,	\
 | 
			
		||||
			int *errnop);
 | 
			
		||||
 | 
			
		||||
DECLARE_NSS_PROTOTYPES (files)
 | 
			
		||||
DECLARE_NSS_PROTOTYPES (nis)
 | 
			
		||||
DECLARE_NSS_PROTOTYPES (nisplus)
 | 
			
		||||
 | 
			
		||||
#undef DECLARE_NSS_PROTOTYPES
 | 
			
		||||
 | 
			
		||||
libc_hidden_proto (authdes_getucred)
 | 
			
		||||
libc_hidden_proto (xdr_authdes_cred)
 | 
			
		||||
libc_hidden_proto (xdr_authdes_verf)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user