Wrap BSD r* commands in NO_RCMDS.

Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk.

Discussed with: ru, nectar
This commit is contained in:
trhodes 2005-03-02 11:53:22 +00:00
parent 271a503969
commit 792676bbc2
5 changed files with 19 additions and 7 deletions

View File

@ -37,7 +37,7 @@ SUBDIR= cat \
sync \
test
.if !defined(NO_RCMNDS)
.if !defined(NO_RCMDS)
_rcp= rcp
.endif

View File

@ -16,14 +16,14 @@ SUBDIR= atrun \
pt_chown \
rbootd \
revnetgroup \
rexecd \
rlogind \
${_rexecd} \
${_rlogind} \
rpc.rquotad \
rpc.rstatd \
rpc.rusersd \
rpc.rwalld \
rpc.sprayd \
rshd \
${_rshd} \
${_rtld-elf} \
save-entropy \
${_smrsh} \
@ -46,6 +46,12 @@ _ftp-proxy= ftp-proxy
_rtld-elf= rtld-elf
.endif
.if !defined(NO_RCMDS)
_rexecd= rexecd
_logind= rlogind
_rshd= rshd
.endif
.if !defined(NO_SENDMAIL)
_mail.local= mail.local
_smrsh= smrsh

View File

@ -81,7 +81,7 @@ CRUNCH_ALIAS_ln= link
CRUNCH_ALIAS_rm= unlink
CRUNCH_ALIAS_ed= red
.if !defined(NO_RCMNDS)
.if !defined(NO_RCMDS)
CRUNCH_PROGS_bin+= rcp
.endif

View File

@ -26,6 +26,7 @@
NOPAM:NO_PAM \
NOPIC:NO_PIC \
NOPROFILE:NO_PROFILE \
NO_RCMNDS:NO_RCMDS \
NOSHARE:NO_SHARE \
NOSHARED:NO_SHARED \
NOTAGS:NO_TAGS

View File

@ -147,11 +147,11 @@ SUBDIR= alias \
quota \
renice \
rev \
rlogin \
${_rlogin} \
rpcgen \
rpcinfo \
rs \
rsh \
${_rsh} \
rup \
ruptime \
rusers \
@ -261,6 +261,11 @@ _ypmatch= ypmatch
_ypwhich= ypwhich
.endif
.if !defined(NO_RCMDS)
_rlogin= rlogin
_rsh= rsh
.endif
.if !defined(NO_SENDMAIL)
_vacation= vacation
.endif