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:
Tom Rhodes 2005-03-02 11:53:22 +00:00
parent 2682e7b661
commit c71158d453
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143026
5 changed files with 19 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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

View File

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