[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patches] PATCH: Implement OPTION_EGLIBC_RCMD option group



I've committed this.

ChangeLog.eglibc:
2007-08-16  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>

	Implement the OPTION_EGLIBC_RCMD option group.

	* option-groups.def (OPTION_EGLIBC_RCMD): New entry.
	* option-groups.defaults (OPTION_EGLIBC_RCMD): Initialize.
	* inet/Makefile (routines): Put the rcmd, rexec, and ruserpass
	files in the group.

Index: inet/Makefile
===================================================================
--- inet/Makefile	(revision 3161)
+++ inet/Makefile	(working copy)
@@ -45,12 +45,13 @@
 	    getrpcent_r getrpcbyname_r getrpcbynumber_r \
 	    ether_aton ether_aton_r ether_hton ether_line \
 	    ether_ntoa ether_ntoa_r ether_ntoh \
-	    rcmd rexec ruserpass \
 	    getnetgrent_r getnetgrent \
 	    getaliasent_r getaliasent getaliasname getaliasname_r \
 	    in6_addr getnameinfo if_index ifaddrs inet6_option \
 	    getipv4sourcefilter setipv4sourcefilter \
 	    getsourcefilter setsourcefilter inet6_opt inet6_rth
+routines-$(OPTION_EGLIBC_RCMD) \
+	 += rcmd rexec ruserpass
 
 aux-$(OPTION_EGLIBC_INET) += check_pf ifreq
 
Index: option-groups.defaults
===================================================================
--- option-groups.defaults	(revision 3161)
+++ option-groups.defaults	(working copy)
@@ -17,5 +17,6 @@
 OPTION_EGLIBC_LOCALE_CODE = y
 OPTION_EGLIBC_NIS = y
 OPTION_EGLIBC_NSSWITCH = y
+OPTION_EGLIBC_RCMD = y
 OPTION_EGLIBC_SUNRPC = y
 OPTION_POSIX_REGEXP = y
Index: option-groups.def
===================================================================
--- option-groups.def	(revision 3161)
+++ option-groups.def	(working copy)
@@ -388,6 +388,24 @@
        System and Network Information Service network protocols to
        answer queries.
 
+config OPTION_EGLIBC_RCMD
+   bool "Support for 'rcmd' and related library functions"
+   depends OPTION_EGLIBC_INET
+   help
+      This option group includes functions for running commands on
+      remote machines via the 'rsh' protocol, and doing authentication
+      related to those functions.  This also includes functions that
+      use the 'rexec' protocol.
+
+      This option group includes the following functions:
+
+        rcmd            ruserok
+        rcmd_af         ruserok_af
+        rexec           iruserok
+        rexec_af        iruserok_af
+        rresvport       ruserpass
+        rresvport_af
+        
 config OPTION_EGLIBC_SUNRPC
    bool "Support for the Sun 'RPC' protocol."
    depends OPTION_EGLIBC_INET