Introduce the variable USE_PAM_D, which, if set, will cause pam.d to be

installed instead of pam.conf.  This is for testing; the conditionals will
be removed once we are confident that pam.d works as intended.

Sponsored by:	DARPA, NAI Labs
This commit is contained in:
Dag-Erling Smørgrav 2001-12-06 13:18:32 +00:00
parent c5a332f021
commit c26c7886d1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87447

View File

@ -11,7 +11,7 @@ BIN1= amd.map apmd.conf auth.conf \
hosts hosts.allow hosts.equiv hosts.lpd \
inetd.conf login.access login.conf \
motd modems netconfig networks newsyslog.conf \
pam.conf phones printcap profile protocols \
phones printcap profile protocols \
rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \
rc.network rc.network6 rc.pccard rc.serial rc.shutdown \
rc.syscons rc.sysctl remote rpc security services shells sysctl.conf \
@ -23,6 +23,10 @@ BIN1= amd.map apmd.conf auth.conf \
${.CURDIR}/../usr.bin/mail/misc/mail.rc \
${.CURDIR}/../usr.bin/locate/locate/locate.rc
.if !defined(USE_PAM_D)
BIN1+= pam.conf
.endif
.if !defined(NO_I4B)
BIN1+= rc.isdn
.endif
@ -79,6 +83,9 @@ distribution:
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; )
.if defined(USE_PAM_D)
( cd ${.CURDIR}/pam.d; ${MAKE} install )
.endif
.if !defined(NO_I4B)
( cd ${.CURDIR}/isdn; ${MAKE} install )
.endif