1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

Don't install the rsh and telnetd pam.d files if MK_RCMDS == no

or MK_TELNET == no, respectively
This commit is contained in:
Enji Cooper 2014-11-26 02:59:37 +00:00
parent 4bbfcad580
commit 961281fa16
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/building-blocks/; revision=275099
2 changed files with 12 additions and 2 deletions

View File

@ -2,6 +2,8 @@
NO_OBJ=
.include <src.opts.mk>
FILES= README \
atrun \
cron \
@ -10,11 +12,17 @@ FILES= README \
login \
other \
passwd pop3 \
rsh \
sshd su system \
telnetd \
xdm
.if ${MK_RCMDS} != "no"
FILES+= rsh
.endif
.if ${MK_TELNET} != "no"
FILES+= telnetd
.endif
FILESDIR= /etc/pam.d
FILESMODE= 644
FILESMODE_README= 444

View File

@ -3913,6 +3913,7 @@ OLD_FILES+=usr/lib/private/libssh_p.a
.if ${MK_RCMDS} == no
OLD_FILES+=bin/rcp
OLD_FILES+=etc/pam.d/rsh
OLD_FILES+=etc/rc.d/rwho
OLD_FILES+=etc/periodic/daily/140.clean-rwho
OLD_FILES+=etc/periodic/daily/430.status-rwho
@ -4279,6 +4280,7 @@ OLD_FILES+=usr/share/nls/uk_UA.UTF-8/tcsh.cat
.endif
.if ${MK_TELNET} == no
OLD_FILES+=etc/pam.d/telnetd
OLD_FILES+=usr/bin/telnet
OLD_FILES+=usr/libexec/telnetd
OLD_FILES+=usr/share/man/man1/telnet.1.gz