Move rpc and netconfig to lib/libc/rpc/

This uses relative paths to make it more specific to avoid any potential
future problems with .PATH and leverages CONFS.

libc was picked as the destination location for these because of the syscalls
that use these files as the lowest level place they are referenced.

Approved by:	re (gjb), will (mentor)
Differential Revision:	https://reviews.freebsd.org/D17163
This commit is contained in:
brd 2018-09-17 19:20:50 +00:00
parent e75acd8acc
commit 99ef26440a
4 changed files with 1 additions and 2 deletions

View File

@ -21,12 +21,10 @@ BIN1= \
libmap.conf \
login.access \
mac.conf \
netconfig \
phones \
rc.bsdextended \
rc.firewall \
remote \
rpc \
termcap.small
# NB: keep these sorted by MK_* knobs

View File

@ -2,6 +2,7 @@
# $FreeBSD$
.PATH: ${LIBC_SRCTOP}/rpc ${LIBC_SRCTOP}/.
CONFS= rpc/netconfig rpc/rpc
SRCS+= auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \
clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \
clnt_vc.c rpc_dtablesize.c getnetconfig.c getnetpath.c getrpcent.c \