Move all pam related config to lib/libpam/

Approved by:	re (rgrimes), will (mentor), des
Differential Revision:	https://reviews.freebsd.org/D17122
This commit is contained in:
Brad Davis 2018-09-13 04:08:48 +00:00
parent 19b4f0dca0
commit 219cf81b4d
18 changed files with 8 additions and 18 deletions

View File

@ -121,7 +121,6 @@ distribution:
${_+_}cd ${.CURDIR}/mtree; ${MAKE} install
${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap
${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt
${_+_}cd ${.CURDIR}/pam.d; ${MAKE} install
.if ${MK_UNBOUND} != "no"
if [ ! -e ${DESTDIR}/etc/unbound ]; then \
${INSTALL_SYMLINK} ../var/unbound ${DESTDIR}/etc/unbound; \

View File

@ -25,7 +25,7 @@
# $FreeBSD$
# The modules link in libpam. They build the static modules as well.
SUBDIR+= libpam modules
SUBDIR+= libpam modules pam.d
SUBDIR_DEPEND_modules= libpam
SUBDIR+= static_libpam
SUBDIR_DEPEND_static_libpam= modules

View File

@ -4,9 +4,8 @@
NO_OBJ=
FILESGROUPS= FILES
FILES= README \
CONFGROUPS= CONFS
CONFS= README \
cron \
imap \
login \
@ -15,34 +14,26 @@ FILES= README \
sshd su system \
xdm
FILESDIR= /etc/pam.d
FILESMODE= 644
CONFDIR= /etc/pam.d
CONFSMODE_README= 444
.if ${MK_AT} != "no"
FILESGROUPS+= AT
CONFGROUPS+= AT
AT+= atrun
ATPACKAGE+= at
ATDIR= ${FILESDIR}
ATMODE= ${FILESMODE}
.endif
.if ${MK_FTP} != "no"
FILESGROUPS+= FTP
CONFGROUPS+= FTP
FTP+= ftpd
FTPPACKAGE+= ftp
FTPDIR= ${FILESDIR}
FTPMODE= ${FILESMODE}
LINKS= ${FILESDIR}/ftpd ${FILESDIR}/ftp
.endif
.if ${MK_TELNET} != "no"
FILESGROUPS+= TELNET
CONFGROUPS+= TELNET
TELNET+= telnetd
TELNETPACKAGE+= telnet
TELNETDIR= ${FILESDIR}
TELNETMODE= ${FILESMODE}
.endif
FILESMODE_README= 444
.include <bsd.prog.mk>