freebsd-nq/etc/pam.d/Makefile
Enji Cooper 2f4a73322e Conditionally install /etc/pam.d/ftp* and /etc/pam.d/telnetd
/etc/pam.d/ftp* should be installed with MK_FTP != no and
/etc/pam.d/telnetd should be installed when MK_TELNET != no.

MFC after:	7 weeks
Sponsored by:	Dell EMC Isilon
2017-04-14 06:42:46 +00:00

57 lines
785 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
NO_OBJ=
FILESGROUPS= FILES
FILES= README \
cron \
imap \
login \
other \
passwd pop3 \
sshd su system \
xdm
FILESDIR= /etc/pam.d
FILESMODE= 644
.if ${MK_AT} != "no"
FILESGROUPS+= AT
AT+= atrun
ATPACKAGE+= at
ATDIR= ${FILESDIR}
ATMODE= ${FILESMODE}
.endif
.if ${MK_FTP} != "no"
FILESGROUPS+= FTP
FTP+= ftpd
FTPPACKAGE+= ftp
FTPDIR= ${FILESDIR}
FTPMODE= ${FILESMODE}
LINKS= ${FILESDIR}/ftpd ${FILESDIR}/ftp
.endif
.if ${MK_RCMDS} != "no"
FILESGROUPS+= RCMDS
RCMDS+= rsh
RCMDSPACKAGE+= rcmds
RCMDSDIR= ${FILESDIR}
RCMDSMODE= ${FILESMODE}
.endif
.if ${MK_TELNET} != "no"
FILESGROUPS+= TELNET
TELNET+= telnetd
TELNETPACKAGE+= telnet
TELNETDIR= ${FILESDIR}
TELNETMODE= ${FILESMODE}
.endif
FILESMODE_README= 444
.include <bsd.prog.mk>