[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r2969 - in /trunk/libc: ChangeLog.eglibc option-groups.def option-groups.defaults sunrpc/Makefile
- To: commits@xxxxxxxxxx
- Subject: [commits] r2969 - in /trunk/libc: ChangeLog.eglibc option-groups.def option-groups.defaults sunrpc/Makefile
- From: jimb@xxxxxxxxxx
- Date: Sat, 28 Jul 2007 07:20:20 -0000
Author: jimb
Date: Sat Jul 28 00:20:20 2007
New Revision: 2969
Log:
Implement the OPTION_EGLIBC_SUNRPC option group.
* option-groups.def (OPTION_EGLIBC_SUNRPC): New entry.
* option-groups.defaults (OPTION_EGLIBC_SUNRPC): Initialize
(OPTION_EGLIBC_NIS): Note dependency on OPTION_EGLIBC_SUNRPC.
* sunrpc/Makefile (others-y, install-bin-y)
(install-sbin-y, extra-objs-y, install-others-y, tests-y)
(xtests-y, extra-libs-y): Use OPTION_EGLIBC_SUNRPC as the
condition, instead of OPTION_EGLIBC_INET.
(routines-y): Same. Include xcrypt, des_crypt, des_impl, and
des_soft unconditionally.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/option-groups.def
trunk/libc/option-groups.defaults
trunk/libc/sunrpc/Makefile
Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Sat Jul 28 00:20:20 2007
@@ -1,6 +1,21 @@
+2007-07-28 Jim Blandy <jimb@xxxxxxxxxxxxxxxx>
+
+ Implement the OPTION_EGLIBC_SUNRPC option group.
+
+ * option-groups.def (OPTION_EGLIBC_SUNRPC): New entry.
+ * option-groups.defaults (OPTION_EGLIBC_SUNRPC): Initialize
+ (OPTION_EGLIBC_NIS): Note dependency on OPTION_EGLIBC_SUNRPC.
+ * sunrpc/Makefile (others-y, install-bin-y)
+ (install-sbin-y, extra-objs-y, install-others-y, tests-y)
+ (xtests-y, extra-libs-y): Use OPTION_EGLIBC_SUNRPC as the
+ condition, instead of OPTION_EGLIBC_INET.
+ (routines-y): Same. Include xcrypt, des_crypt, des_impl, and
+ des_soft unconditionally.
+
2007-07-26 Jim Blandy <jimb@xxxxxxxxxxxxxxxx>
Implement the OPTION_EGLIBC_NIS option group.
+
* option-groups.def (OPTION_EGLIBC_NIS): New entry.
* option-groups.defaults (OPTION_EGLIBC_NIS): Initialize.
* nis/Makefile (services-y, extra-libs-y): Use OPTION_EGLIBC_NIS
Modified: trunk/libc/option-groups.def
==============================================================================
--- trunk/libc/option-groups.def (original)
+++ trunk/libc/option-groups.def Sat Jul 28 00:20:20 2007
@@ -291,6 +291,7 @@
config OPTION_EGLIBC_NIS
bool "Support for NIS, NIS+, and the special 'compat' services."
depends OPTION_EGLIBC_INET
+ depends OPTION_EGLIBC_SUNRPC
help
This option group includes the NIS, NIS+, and 'compat' Name
Service Switch service libraries. When it is disabled, those
@@ -372,6 +373,13 @@
System and Network Information Service network protocols to
answer queries.
+config OPTION_EGLIBC_SUNRPC
+ bool "Support for the Sun 'RPC' protocol."
+ depends OPTION_EGLIBC_INET
+ help
+ This option group includes support for the Sun RPC protocols,
+ including the 'rpcgen' and 'rpcinfo' programs.
+
config OPTION_POSIX_REGEXP
bool "Regular expressions"
help
Modified: trunk/libc/option-groups.defaults
==============================================================================
--- trunk/libc/option-groups.defaults (original)
+++ trunk/libc/option-groups.defaults Sat Jul 28 00:20:20 2007
@@ -16,4 +16,5 @@
OPTION_EGLIBC_LOCALE_CODE = y
OPTION_EGLIBC_NIS = y
OPTION_EGLIBC_NSSWITCH = y
+OPTION_EGLIBC_SUNRPC = y
OPTION_POSIX_REGEXP = y
Modified: trunk/libc/sunrpc/Makefile
==============================================================================
--- trunk/libc/sunrpc/Makefile (original)
+++ trunk/libc/sunrpc/Makefile Sat Jul 28 00:20:20 2007
@@ -58,7 +58,7 @@
$(rpcsvc:%.x=rpcsvc/%.stmp) rpcgen
generated-dirs := rpcsvc
-routines-$(OPTION_EGLIBC_INET) \
+routines-$(OPTION_EGLIBC_SUNRPC) \
+= auth_none auth_unix authuxprot bindrsvprt \
clnt_gen clnt_perr clnt_raw clnt_simp clnt_tcp \
clnt_udp rpc_dtable get_myaddr getrpcport \
@@ -67,13 +67,16 @@
svc svc_auth svc_authux svc_raw svc_run svc_simple \
svc_tcp svc_udp xdr xdr_array xdr_float xdr_mem \
xdr_rec xdr_ref xdr_stdio publickey xdr_sizeof \
- auth_des authdes_prot des_crypt des_impl des_soft \
- key_call key_prot netname openchild rtime svcauth_des xcrypt\
+ auth_des authdes_prot \
+ key_call key_prot netname openchild rtime svcauth_des \
clnt_unix svc_unix create_xid xdr_intXX_t
-others-$(OPTION_EGLIBC_INET) += rpcinfo
-install-bin-$(OPTION_EGLIBC_INET) += rpcgen
-install-sbin-$(OPTION_EGLIBC_INET) += rpcinfo
+# xdecrypt is also used by nss/nss_files/files-key.c.
+routines-y += xcrypt des_crypt des_impl des_soft
+
+others-$(OPTION_EGLIBC_SUNRPC) += rpcinfo
+install-bin-$(OPTION_EGLIBC_SUNRPC) += rpcgen
+install-sbin-$(OPTION_EGLIBC_SUNRPC) += rpcinfo
rpcgen-objs = rpc_main.o rpc_hout.o rpc_cout.o rpc_parse.o \
rpc_scan.o rpc_util.o rpc_svcout.o rpc_clntout.o \
rpc_tblout.o rpc_sample.o
@@ -81,19 +84,19 @@
distribute := proto.h rpc_util.h rpc_parse.h rpc_scan.h \
$(rpcgen-objs:.o=.c) etc.rpc \
errqueue.h
-extra-objs-$(OPTION_EGLIBC_INET) += $(rpcgen-objs)
+extra-objs-$(OPTION_EGLIBC_SUNRPC) += $(rpcgen-objs)
all: # Make this the default target; it will be defined in Rules.
include ../Makeconfig
-install-others-$(OPTION_EGLIBC_INET) += $(inst_sysconfdir)/rpc
-
-tests-$(OPTION_EGLIBC_INET) = tst-xdrmem tst-xdrmem2
-xtests-$(OPTION_EGLIBC_INET) := tst-getmyaddr
+install-others-$(OPTION_EGLIBC_SUNRPC) += $(inst_sysconfdir)/rpc
+
+tests-$(OPTION_EGLIBC_SUNRPC) = tst-xdrmem tst-xdrmem2
+xtests-$(OPTION_EGLIBC_SUNRPC) := tst-getmyaddr
ifeq ($(have-thread-library),yes)
-xtests-$(OPTION_EGLIBC_INET) += thrsvc
+xtests-$(OPTION_EGLIBC_SUNRPC) += thrsvc
endif
distribute += thrsvc.c
@@ -106,7 +109,7 @@
ifneq (yes,$(install-bootstrap-headers))
# We can only build this library if we can run the rpcgen we build.
headers += $(rpcsvc:%.x=rpcsvc/%.h)
-extra-libs-$(OPTION_EGLIBC_INET) += librpcsvc
+extra-libs-$(OPTION_EGLIBC_SUNRPC) += librpcsvc
# Make it in `others' pass, not `lib' pass.
extra-libs-others-y += $(extra-libs-y)
librpcsvc-routines = $(rpcsvc:%.x=x%)